Commit 93547ef
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 hyperpolymath/standards#124, scoping doc standards#157 (Stage 3).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8466ddc commit 93547ef
2 files changed
Lines changed: 170 additions & 67 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
766 | 766 | | |
767 | 767 | | |
768 | 768 | | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
808 | 904 | | |
809 | 905 | | |
810 | 906 | | |
| |||
817 | 913 | | |
818 | 914 | | |
819 | 915 | | |
820 | | - | |
821 | | - | |
822 | | - | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
823 | 919 | | |
824 | 920 | | |
825 | 921 | | |
826 | | - | |
827 | | - | |
828 | | - | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
829 | 926 | | |
830 | 927 | | |
831 | 928 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
242 | 250 | | |
243 | 251 | | |
244 | 252 | | |
245 | 253 | | |
246 | | - | |
| 254 | + | |
247 | 255 | | |
248 | 256 | | |
249 | 257 | | |
| |||
279 | 287 | | |
280 | 288 | | |
281 | 289 | | |
282 | | - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
283 | 297 | | |
284 | 298 | | |
285 | 299 | | |
| |||
290 | 304 | | |
291 | 305 | | |
292 | 306 | | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | 307 | | |
298 | 308 | | |
299 | 309 | | |
300 | 310 | | |
301 | 311 | | |
302 | 312 | | |
303 | | - | |
304 | | - | |
| 313 | + | |
| 314 | + | |
305 | 315 | | |
306 | | - | |
307 | | - | |
308 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
309 | 319 | | |
310 | 320 | | |
311 | 321 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
| 322 | + | |
| 323 | + | |
321 | 324 | | |
322 | | - | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
323 | 329 | | |
324 | 330 | | |
325 | 331 | | |
| |||
0 commit comments