nx_prove_propositional_test.nx
buildroot/runtime/nx_prove_propositional_test.nx
about
nx_prove_propositional_test.nx
Exercises the auto-prover engine across every Wikipedia-documented
propositional proof method. Per user 2026-05-15: "make sure it
exceeds or matches everything wikipedia called out on proofs that
are required".
dependencies 1 imports · 0 importers
imports: nx_prove_propositional.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 10 | const SYM_A: nx_int = 1001 |
| 11 | const SYM_B: nx_int = 1002 |
| 12 | const SYM_C: nx_int = 1003 |
functions
| 14 | func two_axioms(a: nx_int, b: nx_int) -> *nx_int |
| 21 | func three_axioms(a: nx_int, b: nx_int, c: nx_int) -> *nx_int called by 1: test_direct |
| 29 | func one_axiom(a: nx_int) -> *nx_int |
| 35 | func empty_axioms() -> *nx_int |
| 40 | func attempt(ch: *K2Chain, idx: nx_int) -> nx_int |
| 49 | func report(name: *u8, ok: nx_int, chain_len: nx_int) -> nx_int |
| 63 | func test_direct() -> nx_int |
| 77 | func test_construction_and() -> nx_int |
| 90 | func test_and_comm() -> nx_int |
| 102 | func test_identity() -> nx_int |
| 112 | func test_k_combinator() -> nx_int |
| 123 | func test_hyp_syllogism() -> nx_int |
| 137 | func test_modus_tollens() -> nx_int |
| 150 | func test_contraposition() -> nx_int |
| 162 | func test_or_intro() -> nx_int |
| 174 | func test_double_negation() -> nx_int |
| 185 | func main() -> nx_exit |