Skip to content

Commit 90f43c9

Browse files
committed
small golf
1 parent cb2168f commit 90f43c9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • Mathlib/LinearAlgebra/AffineSpace/Simplex

Mathlib/LinearAlgebra/AffineSpace/Simplex/Basic.lean

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,9 +636,7 @@ theorem closedInterior_face_subset_closedInterior [ZeroLEOneClass k] {n : ℕ} (
636636
rw [affineCombination_mem_closedInterior_face_iff_mem_Icc _ _ hw1] at hp
637637
rw [affineCombination_mem_closedInterior_iff hw1]
638638
intro i
639-
by_cases hi : i ∈ fs
640-
· exact hp.1 i hi
641-
· simp [hp.2 i hi]
639+
by_cases hi : i ∈ fs <;> aesop
642640

643641
theorem closedInterior_faceOpposite_subset_closedInterior [ZeroLEOneClass k] {n : ℕ} [NeZero n]
644642
(s : Simplex k P n) (i : Fin (n + 1)) :

0 commit comments

Comments
 (0)