Commit db7723f
fix: make Semantics.v compile with Rocq 9.1.1 (-R . "")
The file was broken by Rocq 9.1.1 auto-naming changes (H5→different
names from inversion). Fixed the typing_types_agree proof to use
match-goal patterns instead of fragile auto-generated names.
Also restructured no_consumption_at_true_linear to use automated
tactic dispatch for compound cases via typing_preserves_types_agree
and flags_monotone.
Status: 28 Qed, 4 Admitted (unchanged count).
The 4 Admitted are:
1. no_consumption_at_true_linear — compound/binding cases
2. typing_ctx_transfer — T_Case/T_If + consumption tracking
3. subst_preserves_typing — binding cases at depth k
4. preservation — depends on #2 and #3
Root cause of remaining admits: compound cases need IH threading
through intermediate contexts, but induction-generated IH names
are fragile across Rocq versions. Proper fix: refactor all
induction calls to use explicit `as [IH1 IH2]` naming.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1e5740c commit db7723f
1 file changed
Lines changed: 28 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
914 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
915 | 935 | | |
916 | 936 | | |
917 | 937 | | |
| |||
0 commit comments