Skip to content

Commit d044337

Browse files
committed
chore: fix Archive build
1 parent 39ef8de commit d044337

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Archive/Examples/IfNormalization/Result.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ We add some local simp lemmas so we can unfold the definitions of the normalizat
2424
attribute [local simp] normalized hasNestedIf hasConstantIf hasRedundantIf disjoint vars
2525
List.disjoint
2626

27+
set_option warning.simp.varHead false in
2728
attribute [local simp] apply_ite ite_eq_iff'
2829

2930
variable {b : Bool} {f : ℕ → Bool} {i : ℕ} {t e : IfExpr}

Archive/Imo/Imo2024Q6.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ lemma Aquaesulian.injective : Function.Injective f := by
5555
· exact (h.eq_of_apply_eq_inl he.symm hc).symm
5656
· exact h.eq_of_apply_eq_inl he hc
5757

58+
set_option warning.simp.varHead false in
5859
@[simp]
5960
lemma Aquaesulian.apply_zero : f 0 = 0 := by
6061
refine h.injective ?_
@@ -68,6 +69,7 @@ lemma Aquaesulian.apply_neg_apply_add (x : G) : f (-(f x)) + x = 0 := by
6869
· rw [add_neg_cancel, h.apply_zero] at hc
6970
exact hc.symm
7071

72+
set_option warning.simp.varHead false in
7173
@[simp]
7274
lemma Aquaesulian.apply_neg_apply (x : G) : f (-(f x)) = -x := by
7375
rw [← add_eq_zero_iff_eq_neg]

0 commit comments

Comments
 (0)