code wiki / (root) / nx_bit_provenance_pipeline_test.nx

nx_bit_provenance_pipeline_test.nx

buildroot/runtime/nx_bit_provenance_pipeline_test.nx

4381 B97 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic bit
docsdependenciesstructsconstsfunctions

about

nx_bit_provenance_pipeline_test.nx -- BP-2 proof: bit-provenance composes through a multi-layer pipeline silicon-to-death. Pipeline simulated: L-1 silicon: 4 input bits born (b_a / b_b / b_c / b_d) L0 ISA: each input bit consumed by a load instruction L3 primitive: XOR composes b_a^b_b -> b_x, b_c^b_d -> b_y L3.5 ML: weighted sum composes b_x * w + b_y * (1-w) -> b_z L7 browser: b_z displayed (death) Audit at end: zombies = 0 (every produced bit consumed somewhere). expect_exit: 0

dependencies 1 imports · 0 importers

nx_bit_provenance.nx nx_bit_provenance_pipeline_tes

imports: nx_bit_provenance.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_bprov_init nx_bprov_alloc nx_bprov_init ↻ nx_bprov_emit _nx_bprov_write nx_bprov_init ↻ nx_bprov_join nx_bprov_init ↻ nx_bprov_emit3 _nx_bprov_write ↻ nx_bprov_audit_zombies nx_bprov_init ↻ nx_bprov_lookup_join nx_bprov_init ↻ nx_bprov_n_records nx_bprov_init ↻

structs

none

consts

19const TAG_SILICON: i64 = 0xCAFE0000
20const TAG_LOAD: i64 = 0xC0DE0001
21const TAG_XOR: i64 = 0xC0DE0002
22const TAG_WSUM: i64 = 0xC0DE0003
23const TAG_DISPLAY: i64 = 0xC0DE0004

functions

25func main() -> i64