@@ -138,23 +138,23 @@ lemma single_add_apply (a : ι) (m₁ m₂ : M) (b : ι) :
138138lemma support_single_add {a : ι} {b : M} {f : ι →₀ M} (ha : a ∉ f.support) (hb : b ≠ 0 ) :
139139 support (single a b + f) = cons a f.support ha := by
140140 classical
141- have H := support_single_ne_zero a hb
141+ have H := support_single a hb
142142 rw [support_add_eq, H, cons_eq_insert, insert_eq]
143143 rwa [H, disjoint_singleton_left]
144144
145145lemma support_add_single {a : ι} {b : M} {f : ι →₀ M} (ha : a ∉ f.support) (hb : b ≠ 0 ) :
146146 support (f + single a b) = cons a f.support ha := by
147147 classical
148- have H := support_single_ne_zero a hb
148+ have H := support_single a hb
149149 rw [support_add_eq, H, union_comm, cons_eq_insert, insert_eq]
150150 rwa [H, disjoint_singleton_right]
151151
152152lemma support_single_add_single [DecidableEq ι] {f₁ f₂ : ι} {g₁ g₂ : M}
153153 (H : f₁ ≠ f₂) (hg₁ : g₁ ≠ 0 ) (hg₂ : g₂ ≠ 0 ) :
154154 (single f₁ g₁ + single f₂ g₂).support = {f₁, f₂} := by
155- rw [support_add_eq, support_single_ne_zero _ hg₁, support_single_ne_zero _ hg₂]
155+ rw [support_add_eq, support_single _ hg₁, support_single _ hg₂]
156156 · simp
157- · simp [support_single_ne_zero , *]
157+ · simp [support_single , *]
158158
159159lemma support_single_add_single_subset [DecidableEq ι] {f₁ f₂ : ι} {g₁ g₂ : M} :
160160 (single f₁ g₁ + single f₂ g₂).support ⊆ {f₁, f₂} := by
@@ -257,7 +257,7 @@ lemma induction₂ {motive : (ι →₀ M) → Prop} (f : ι →₀ M) (zero : m
257257 refine f.induction zero ?_
258258 convert add_single using 7
259259 apply (addCommute_of_disjoint _).eq
260- simp_all [disjoint_iff_inter_eq_empty, eq_empty_iff_forall_notMem, single_apply]
260+ simp_all
261261
262262@[elab_as_elim]
263263lemma induction_linear {motive : (ι →₀ M) → Prop } (f : ι →₀ M) (zero : motive 0 )
@@ -304,7 +304,7 @@ lemma induction_on_max₂ (f : ι →₀ M) (zero : motive 0)
304304 convert add_single using 7 with _ _ _ H
305305 have := fun c hc ↦ (H c hc).ne
306306 apply (addCommute_of_disjoint _).eq
307- simp_all [disjoint_iff_inter_eq_empty, eq_empty_iff_forall_notMem, single_apply, not_imp_not]
307+ simp_all [not_imp_not]
308308
309309/-- A finitely supported function can be built by adding up `single a b` for decreasing `a`.
310310
0 commit comments