@@ -109,7 +109,7 @@ theorem affineCombination_mem_shift {ι : Type*} [Fintype ι] [Nontrivial ι]
109109 simp
110110 classical
111111 obtain ⟨j, hj⟩ : Set.Nonempty {i}ᶜ := by
112- by_contra!
112+ by_contra
113113 simp at this
114114 rw [shift_eq ⟨p j, mem_affineSpan k <| Set.mem_image_of_mem _ hj⟩]
115115 suffices ∃ q ∈ affineSpan k (p '' {i}ᶜ), w i • (p i -ᵥ p j) +ᵥ q = affineCombination k univ p w by
@@ -132,7 +132,7 @@ theorem _root_.AffineIndependent.affineCombination_mem_shift_iff
132132 refine ⟨?_, fun h ↦ by simpa [h] using affineCombination_mem_shift p i hw⟩
133133 classical
134134 obtain ⟨j, hj⟩ : Set.Nonempty {i}ᶜ := by
135- by_contra!
135+ by_contra
136136 simp at this
137137 rw [shift_eq ⟨p j, mem_affineSpan k <| Set.mem_image_of_mem _ hj⟩]
138138 suffices ∀ q ∈ affineSpan k (p '' {i}ᶜ),
@@ -217,9 +217,9 @@ theorem closedInterior_inter_shift_zero [ZeroLEOneClass k] :
217217 · simp [h i (mem_univ i)]
218218 · apply iff_of_false
219219 · apply not_and_of_not_left
220- contrapose! hp
220+ contrapose hp
221221 exact Set.mem_of_mem_of_subset hp s.closedInterior_subset_affineSpan
222- · contrapose! hp
222+ · contrapose hp
223223 rw [Set.mem_singleton_iff] at hp
224224 rw [hp]
225225 exact mem_affineSpan _ (by simp)
@@ -293,9 +293,9 @@ theorem closedInterior_inter_shift (hx : x ∈ Set.Icc 0 1) :
293293 simp [lineMap_apply, hj]
294294 · apply iff_of_false
295295 · apply not_and_of_not_left
296- contrapose! hp
296+ contrapose hp
297297 exact Set.mem_of_mem_of_subset hp s.closedInterior_subset_affineSpan
298- · contrapose! hp
298+ · contrapose hp
299299 rw [Set.mem_image] at hp
300300 obtain ⟨q, hq, rfl⟩ := hp
301301 apply homothety_mem (mem_affineSpan _ (by simp))
0 commit comments