Skip to content

Commit 31204e7

Browse files
committed
Proof.expand_onlyAtomicAxioms
1 parent 0dc60b0 commit 31204e7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Cslib/Logics/LinearLogic/CLL/EtaExpansion.lean

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,18 @@ private lemma Proof.expand_onlyAtomicAxioms_dual {a : Proposition Atom} :
123123
open Proposition Proof in
124124
/-- η-expansion is correct: the proof returned by η-expansion contains only atomic axioms. -/
125125
theorem Proof.expand_onlyAtomicAxioms (a : Proposition Atom) : a.expand.onlyAtomicAxioms := by
126-
induction a <;> grind [onlyAtomicAxioms_rwConclusion]
126+
#adaptation_note
127+
/-- A grind regression found moving to nightly-2026-03-31 (changes from lean#13166) -/
128+
induction a with
129+
| one =>
130+
rw [←dual_involution .one]
131+
apply expand_onlyAtomicAxioms_dual
132+
simp [expand, onlyAtomicAxioms, dual]
133+
| zero =>
134+
rw [←dual_involution .zero]
135+
apply expand_onlyAtomicAxioms_dual
136+
simp [expand, onlyAtomicAxioms, dual]
137+
| top | bot => simp [expand, onlyAtomicAxioms]
138+
| _ => grind
127139

128140
end Cslib.CLL

0 commit comments

Comments
 (0)