code wiki / _hdl_build / nx_ecomat_trend_gate.nx

nx_ecomat_trend_gate.nx

buildroot/runtime/_hdl_build/nx_ecomat_trend_gate.nx

5891 B79 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic ecomat
docsdependenciesstructsconstsfunctions

about

nx_ecomat_trend_gate.nx -- executable proof for the advancement/expansion decomposition. NON-VACUITY IS THE POINT. T7 and T8 run the SAME code path over two fixtures that differ only in whether the domain count moved. If the instrument were stuck reporting RISING (the flattering answer) T8 fails; if it were stuck reporting FLAT, T7 fails. A gauge that cannot return both answers is not measuring anything, so the pair is the neg-control, not decoration. Fixtures are in-memory string literals: the core is pure, so this gate touches no filesystem and cannot pass by reading a stale artifact it wrote itself. Inherits the nx_gate_verdict base class (D001 DRY: gv_ctr/gv_head/gv_check/gv_verdict). license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 2 imports · 0 importers

nx_ecomat_trend_lib.nx nx_gate_verdict.nx nx_ecomat_trend_gate.nx

imports: nx_ecomat_trend_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap gv_head gv_puts sys_write gv_check gv_puts ↻ tg_eq tr_field el_len el_match em_trend_buf tr_field ↻ tr_finding gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻

structs

none

consts

none

functions

15func tg_eq(a: i64, b: i64) -> i64 { if a == b { return 1 } return 0 }
called by 1: main
17func main(argc: i64, argv: *i64) -> i64