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
{{ message }}
Repository navigation
Commit 89deef7
Browse filesBrowse the repository at this point in the historyBrowse files
fix(coq/cno): discharge eval_respects_state_eq_{left,right} via existential reformulation
PR #25's Stage 3 left these two as Axiom after the agent discovered
that the original universal form is unsound under the Stage-2
relaxed state_eq: the eval_empty base case requires s1 = s2
syntactically, but the hypothesis only provides s1 =st= s2 (pc-blind
after Stage 2). The sound replacement uses an existential
conclusion:
forall p s1 s2 s',
s1 =st= s2 ->
eval p s1 s' ->
exists s'', eval p s2 s'' /\ s' =st= s''.
This is provable by induction on the eval derivation. The
eval_empty case witnesses s'' = s2 directly. The eval_step case
uses a new step_respects_state_eq helper that shows step
preserves =st=-equivalence on inputs.
Two callers updated to destructure the existential conclusion:
- cno_eval_on_equal_states (in this file)
- cno_logically_reversible (proofs/coq/physics/StatMech.v)
The StatMech caller also required relaxing the logically_reversible
definition: the inverse-run conclusion is now phrased modulo =st=
rather than strict equality on the start state, since rerunning a
CNO from its output can only recover the start state pc-modulo
(state_pc is ignored by Stage-2 state_eq). The single downstream
consumer bennett_logical_implies_thermodynamic does not use the
hypothesis structurally, so it is unaffected.
Net axiom count in proofs/coq/common/CNO.v: 2 -> 0.
Stage 3 complete; the file is now Admitted-free AND Axiom-free.
Note: physics/StatMech.v requires Coq.Reals which the local sandbox
cannot exercise; the edit is CI-verifiable only (same pattern as
prior PR's downstream files). common/CNO.v builds locally green.
Refs metadatastician/standards#124, scoping doc standards#157 (Stage 3).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments