code wiki / (root) / nx_cuad_gate.nx

nx_cuad_gate.nx

buildroot/runtime/nx_cuad_gate.nx

5973 B75 linesdepth 9pulls 15 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_cuad_gate.nx -- INDEPENDENT GATE: the CUAD 41-type taxonomy, on real clause text. INHERITS nx_gate_verdict (D001): counters, PASS/FAIL vector, verdict line and the harness.jrnl frame all come from the base class, so nx_gate_green can judge this gate and its flake/erosion is visible. A gate that rolls its own verdict is unreadable to the harness -- it can be green forever and nothing downstream can tell. The teeth: u2605u2605COVERAGE CANNOT BE SELF-FLATTERED: 41 types are declared but coverage is scored ONLY against the CUED subset, so adding a constant can never raise a number. u2605u2605BITE-PROVEN CONTRADICTION: the cap-vs-uncapped check must FIRE on a contract asserting both and stay SILENT on one asserting only a cap -- a detector green before the defect exists proves nothing. u2605UNCLASSIFIABLE IS UNKNOWN, never the nearest type. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_cuad_lib.nx nx_gate_verdict.nx nx_cuad_gate.nx

imports: nx_cuad_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 ↻ cuad_declared_count cuad_cued_count cuad_is_cued cuad_uncued_count cuad_cued_count ↻ cuad_is_cued ↻ cuad_cue_hit cl_has_word cl_word_at cl_is_word cl_lower mt_streq cuad_classify cuad_is_cued ↻ cuad_cue_hit ↻ gv_bite gv_puts ↻ cuad_liability_contradicti cuad_cue_hit ↻ cuad_types_present cuad_is_cued ↻ cuad_cue_hit ↻ cuad_coverage_permille cuad_cued_count ↻ cuad_types_present ↻ cuad_is_high_risk cuad_high_risk_present cuad_is_cued ↻ cuad_is_high_risk ↻ cuad_cue_hit ↻ gv_verdict gv_puts ↻

structs

none

consts

none

functions

18func main(argc: i64, argv: *i64) -> i64