nx_derive_test.nx
buildroot/runtime/nx_derive_test.nx
about
nx_derive_test.nx -- smoke for axiom + derivation primitives.
Concrete derivation: from Peano PA1 (zero exists) + PA2 (successor)
+ PA5 (induction) we derive a trivial theorem "1 exists" by
universal-instantiation-style application of PA2 to PA1.
(The substrate doesn't interpret the statements -- it verifies the
STRUCTURE: axioms cited are valid; rules match arity; theorem marked.)
dependencies 3 imports · 0 importers
imports: syscalls.nxnx_axioms.nxnx_derive.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
| 13 | const STMT_ZERO_EXISTS: i64 = 1 |
| 14 | const STMT_SUCCESSOR_OF_ZERO_EXISTS: i64 = 2 |
functions
| 16 | func main() -> i64 { |