You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per owner ruling on hyperpolymath/standards#157 Stage 2, [state_eq] is
relaxed from four clauses to three:
state_eq s1 s2 := mem_eq s1.mem s2.mem
/\ s1.regs = s2.regs
/\ s1.io = s2.io
Dropping the pc-equality clause matches the intuition that "Nop does
nothing": Nop only differs from the input state on the pc field, which
state_eq now ignores. This is the canonical relaxation needed to make
nop_is_cno provable.
Changes to common/CNO.v:
- state_eq definition: dropped 4th conjunct, added comment citing
standards#157 Stage 2.
- state_eq_refl, state_eq_trans, state_eq_sym: destructure pattern
reduced from [Hm [Hr [Hi Hp]]] to [Hm [Hr Hi]], proof bodies trimmed
by one [split] / one bullet each.
- nop_is_cno: proof body replaced. Now uses eval_cons_inv +
eval_nil_inv (from Stage 1) to invert evaluation, then
inversion-on-step_nop, then discharges the 3-clause state_eq goal
by reflexivity on each field.
Downstream files updated to match the new 3-clause shape:
- physics/StatMech_helpers.v: its local state_eq_sym / state_eq_trans
copy the 4-clause destructure pattern from CNO.v. Updated to drop
the pc clause + restructure with { } blocks for 8.18 hygiene.
- malbolge/MalbolgeCore.v: malbolge_cno_implies_cno's [repeat split.]
produced 4 bullets (incl. "PC"). Updated to 3 fields with { } blocks;
the PC bullet is removed entirely.
- category/CNOCategory.v: one destructure of state_eq's conjuncts
updated from [H_mem [H_reg [H_io H_pc]]] to [H_mem [H_reg H_io]].
Note: the downstream files (StatMech_helpers, MalbolgeCore,
CNOCategory) could not be verified locally from this worktree due to
sandbox restrictions on the physics/, malbolge/, category/
subdirectories. CI must verify them. The CNO.v changes are verified:
coqc -R common CNO common/CNO.v exits 0, 0 Admitted, 4 Axioms.
Refs hyperpolymath/standards#124
Refs hyperpolymath/standards#157
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments