code wiki / eqsat

topic: eqsat

15 modules sharing the eqsat name family (derived from the tree's prefix discipline).

The 'eqsat' topic family in the Nishi sovereign ecosystem provides a framework for equality saturation, focusing on symbolic reasoning and rule-based transformations. The nx_eqsat module serves as the core equality-saturation framework, integrating techniques from the egg/SpEC family. Supporting this is nx_eqsat_bw_witness_gate, which manages bounded-width truncation for efficient rule application, and nx_eqsat_constfold_test, which validates constant folding through egg-style equivalence classes. These modules collectively enable rigorous structural and data-driven reasoning within the NishiLang environment.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_eqsat.nxequality-saturation framework (egg/SpEC family).220156
nx_eqsat_bw_witness_gate.nxthe BOUNDED-WIDTH TRUNCATION GATE underneath the whole mul_pow2 rule.721
nx_eqsat_congruence_bench.nxNON-TOY CONGRUENCE-HEAVY race vs egg 0.11.0.1675
nx_eqsat_congruence_test.nxSTRUCTURAL-WITNESS GATE for the egg-style2054
nx_eqsat_constfold_bench.nxCONST-FOLD-HEAVY race vs egg 0.11.0.1315
nx_eqsat_constfold_test.nxthe CONST-FOLD GATE: proves the egg-style e-class2115
nx_eqsat_dsl_bench.nxRULE-HEAVY race: the sovereign NishiLang DSL e-matcher1396
nx_eqsat_dsl_parity_test.nxthe 24th GATE: proves the egg-style DATA-driven3288
nx_eqsat_membership_proof.nxMEMBERSHIP-AS-PROOF CERTIFICATE for the eqsat62325
nx_eqsat_membership_proof_test.nxproves the MEMBERSHIP-AS-PROOF3544
nx_eqsat_race_bench.nxRACE TIMING HARNESS vs egg 0.11.0 on the SAME task.1515
nx_eqsat_rule_proof_test.nxSOVEREIGN soundness proof for the eqsat rewrite rules982
nx_eqsat_test.nxproof-of-life + correctness GATE for the equality-903
nx_eqsat_vs_gcc_battery_test.nxFAIR apples-to-apples op-count battery1787
nx_eqsat_wire_probe.nxLN8 WIRING WITNESS (lang.plan rung LN8, symbol opt_eqsat_pass).323