nx_kernel_v2.nx
buildroot/runtime/nx_kernel_v2.nx
about
dependencies 5 imports · 70 importers
diagram shows first 10 each side; +0 more imports, +60 more importers in the complete lists below.
imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_result.nxnx_unify.nx
imported by: _min2.nx_pp_minimal.nx_pp_minimal2.nxnx_arith.nxnx_atomic_intrinsic_test.nxnx_calc.nxnx_chan_mpmc_test.nxnx_chem.nxnx_chem_molecule.nxnx_chem_smiles.nxnx_classical.nxnx_compare_systems.nxnx_dot_simd_demo.nxnx_fn_ptr_assign_test.nxnx_fn_ptr_test.nxnx_fn_ptr_typed_test.nxnx_hw_simd_caps_test.nxnx_ident_len_gate.nxnx_kernel_v2_discharge_test.nxnx_kernel_v2_test.nxnx_legal_audit.nxnx_lemma_import.nxnx_lia.nxnx_linalg.nxnx_log_v2_test.nxnx_macro_argcap_probe.nxnx_macro_axis_gate.nxnx_macro_nest_gate.nxnx_macro_test.nxnx_macro_v2_test.nxnx_macro_v3_test.nxnx_macro_v4_test.nxnx_macro_v5_test.nxnx_macro_v6_test.nxnx_macro_v7_test.nxnx_macro_v8_test.nxnx_mutex_race_test.nxnx_net_chan_blob_test.nxnx_net_chan_test.nxnx_parallel_simd_reduce.nxnx_parallel_test.nxnx_pipeline_test.nxnx_primitive_registry.nxnx_probability.nxnx_proof_emit.nxnx_proof_sqrt2_v2.nxnx_proof_sqrt2_v2_test.nxnx_proof_sqrt2_v3.nxnx_proof_sqrt2_v3_test.nxnx_prove_propositional.nxnx_remote_worker_test.nxnx_render_cli.nxnx_render_svg.nxnx_rewrite.nxnx_rpc_test.nxnx_simd_bench.nxnx_simd_i16x16_test.nxnx_simd_i32x8_test.nxnx_simd_i8x32_test.nxnx_simd_minmax_test.nxnx_simd_sat_test.nxnx_simd_usat_shift_test.nxnx_simd_vdot_test.nxnx_socket_pingpong_test.nxnx_sum_bench.nxnx_sum_bench_all.nxnx_task_graph_test.nxnx_thread_pool_test.nxnx_thread_spawn_test.nxnx_units.nx
structs
| 112 | struct K2Thm |
| 122 | struct K2Chain |
consts
| 63 | const NX_K2_AXIOM: nx_int = 1 |
| 64 | const NX_K2_ASSUMPTION: nx_int = 2 |
| 65 | const NX_K2_MODUS_PONENS: nx_int = 3 |
| 66 | const NX_K2_AND_INTRO: nx_int = 4 |
| 67 | const NX_K2_AND_ELIM_L: nx_int = 5 |
| 68 | const NX_K2_AND_ELIM_R: nx_int = 6 |
| 69 | const NX_K2_IMP_INTRO: nx_int = 7 |
| 70 | const NX_K2_SUBST: nx_int = 8 |
| 71 | const NX_K2_REFL: nx_int = 9 |
| 72 | const NX_K2_CONTRADICTION: nx_int = 10 |
| 73 | const NX_K2_NOT_INTRO: nx_int = 11 |
| 74 | const NX_K2_OR_INTRO_L: nx_int = 12 |
| 75 | const NX_K2_OR_INTRO_R: nx_int = 13 |
| 76 | const NX_K2_OR_ELIM: nx_int = 14 |
| 77 | const NX_K2_EQ_SYM: nx_int = 15 |
| 78 | const NX_K2_EQ_TRANS: nx_int = 16 |
| 79 | const NX_K2_EX_FALSO: nx_int = 17 |
| 85 | const NX_K2_SYM_IMP: nx_int = 400001 // implication => |
| 86 | const NX_K2_SYM_AND: nx_int = 400002 // conjunction & |
| 87 | const NX_K2_SYM_OR: nx_int = 400003 // disjunction | |
| 88 | const NX_K2_SYM_NOT: nx_int = 400004 // negation ~ |
| 89 | const NX_K2_SYM_EQ: nx_int = 400005 // equality == |
| 90 | const NX_K2_SYM_FALSE: nx_int = 400006 // contradiction false |
| 93 | const NX_K2_OK: nx_int = 0 |
| 94 | const NX_K2_ERR_BAD_ARITY: nx_int = 1 |
| 95 | const NX_K2_ERR_BAD_PREMISE: nx_int = 2 |
| 96 | const NX_K2_ERR_NOT_IMPL: nx_int = 3 |
| 97 | const NX_K2_ERR_NOT_AND: nx_int = 4 |
| 98 | const NX_K2_ERR_MISMATCH: nx_int = 5 |
| 99 | const NX_K2_ERR_BAD_INDEX: nx_int = 6 |
| 100 | const NX_K2_ERR_NO_THEOREM: nx_int = 7 |
| 101 | const NX_K2_ERR_NOT_ASSUMP: nx_int = 8 |
| 102 | const NX_K2_ERR_NOT_FALSE: nx_int = 9 |
| 103 | const NX_K2_ERR_NOT_OR: nx_int = 10 |
| 104 | const NX_K2_ERR_NOT_EQ: nx_int = 11 |
| 105 | const NX_K2_ERR_HYP_NOT_FND: nx_int = 12 |
| 120 | const NX_K2_THM_BYTES: nx_int = 48 |
| 128 | const NX_K2_CHAIN_BYTES: nx_int = 24 |
functions
| 130 | func nx_k2_chain_new(cap: nx_int) -> *K2Chain called by 36: af_decidemainmaintest_axiom_macrotest_multiple_axiom_macrostest_for_axiom_emission+30 calls 1: sys_mmap |
| 139 | func nx_k2_at(ch: *K2Chain, i: nx_int) -> *K2Thm |
| 145 | func nx_k2_imp(a: *Term, b: *Term) -> *Term called by 27: af_derive_ltaf_derive_leaf_derive_sumaf_derive_multaf_decidenx_classical_dne+21 calls 2: sys_mmapnx_term_app |
| 154 | func nx_k2_and(a: *Term, b: *Term) -> *Term |
| 163 | func nx_k2_or(a: *Term, b: *Term) -> *Term |
| 172 | func nx_k2_not(a: *Term) -> *Term |
| 178 | func nx_k2_eq(a: *Term, b: *Term) -> *Term |
| 187 | func nx_k2_false() -> *Term |
| 196 | func nx_k2_hyps_alloc(cap: nx_int) -> *Term |
| 201 | func nx_k2_hyps_at(hyps: *Term, i: nx_int) -> *Term |
| 205 | func nx_k2_hyps_copy_in(dst: *Term, di: nx_int, src: *Term) called by 5: nx_k2_hyps_unionnx_k2_hyps_removenx_k2_assumenx_k2_or_intro_lnx_k2_or_intro_r calls 1: nx_k2_hyps_at |
| 214 | func nx_k2_hyps_contains(hyps: *Term, n: nx_int, t: *Term) -> nx_int |
| 227 | func nx_k2_hyps_union(a: *Term, na: nx_int, b: *Term, nb: nx_int, out_n: *nx_int) -> *Term |
| 261 | func nx_k2_hyps_remove(src: *Term, n: nx_int, target: *Term, out_n: *nx_int) -> *Term called by 2: nx_k2_imp_intronx_k2_not_intro calls 4: nx_k2_hyps_atnx_term_eqnx_k2_hyps_allocnx_k2_hyps_copy_in |
| 304 | func nx_k2_inherit_2(ch: *K2Chain, t: *K2Thm, pa_idx: nx_int, pb_idx: nx_int) |
| 314 | func nx_k2_inherit_1(ch: *K2Chain, t: *K2Thm, pa_idx: nx_int) |
| 332 | func nx_k2_axiom(ch: *K2Chain, stmt: *Term) -> nx_int |
| 348 | func nx_k2_assume(ch: *K2Chain, stmt: *Term) -> nx_int |
| 366 | func nx_k2_imp_intro(ch: *K2Chain, prem_assumption: nx_int, prem_b: nx_int) -> nx_int called by 4: mainnx_ot_stepnx_prove_auxnx_tac_exact calls 4: nx_k2_atsys_mmapnx_k2_hyps_removenx_k2_imp |
| 398 | func nx_k2_not_intro(ch: *K2Chain, prem_assumption: nx_int, prem_false: nx_int) -> nx_int |
| 428 | func nx_k2_or_intro_l(ch: *K2Chain, prem_a: nx_int, b: *Term) -> nx_int |
| 450 | func nx_k2_or_intro_r(ch: *K2Chain, a: *Term, prem_b: nx_int) -> nx_int |
| 472 | func nx_k2_eq_sym(ch: *K2Chain, prem: nx_int) -> nx_int |
| 496 | func nx_k2_ex_falso(ch: *K2Chain, prem_false: nx_int, c: *Term) -> nx_int |
| 517 | func nx_k2_eq_trans(ch: *K2Chain, prem_ab: nx_int, prem_bc: nx_int) -> nx_int |
| 550 | func nx_k2_modus_ponens(ch: *K2Chain, prem_imp: nx_int, prem_a: nx_int) -> nx_int |
| 579 | func nx_k2_and_intro(ch: *K2Chain, prem_a: nx_int, prem_b: nx_int) -> nx_int |
| 602 | func nx_k2_and_elim_l(ch: *K2Chain, prem: nx_int) -> nx_int |
| 623 | func nx_k2_and_elim_r(ch: *K2Chain, prem: nx_int) -> nx_int |
| 644 | func nx_k2_refl(ch: *K2Chain, a: *Term) -> nx_int |
| 660 | func nx_k2_contradiction(ch: *K2Chain, prem_a: nx_int, prem_neg: nx_int) -> nx_int |
| 689 | func nx_k2_mark_theorem(ch: *K2Chain) -> nx_int |
| 701 | func nx_k2_mark_theorem_open(ch: *K2Chain) -> nx_int |
| 710 | func nx_k2_verify(ch: *K2Chain) -> nx_int |