Skip to content

Commit 4328d75

Browse files
committed
Merge branch 'incenter_map' into angle_incenter_unoriented
2 parents 92d2dc5 + af66e9b commit 4328d75

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Mathlib/Geometry/Euclidean/Incenter.lean

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ variable {s} in
386386
haveI := Nonempty.map (AffineSubspace.inclusion hS) inferInstance
387387
(s.restrict S hS).excenter signs = s.excenter signs := by
388388
rw [← s.excenterExists_restrict S hS] at h
389-
rw [eq_comm]
390-
convert h.excenter_map S.subtypeₐᵢ
389+
haveI := Nonempty.map (AffineSubspace.inclusion hS) inferInstance
390+
exact (h.excenter_map S.subtypeₐᵢ).symm
391391

392392
/-- The incenter of a simplex. -/
393393
def incenter : P :=
@@ -796,8 +796,8 @@ variable {s} in
796796
haveI := Nonempty.map (AffineSubspace.inclusion hS) inferInstance
797797
(s.restrict S hS).touchpoint signs i = s.touchpoint signs i := by
798798
rw [← s.excenterExists_restrict S hS] at h
799-
rw [eq_comm]
800-
convert h.touchpoint_map S.subtypeₐᵢ i
799+
haveI := Nonempty.map (AffineSubspace.inclusion hS) inferInstance
800+
exact (h.touchpoint_map S.subtypeₐᵢ i).symm
801801

802802
lemma touchpoint_mem_affineSpan (signs : Finset (Fin (n + 1))) (i : Fin (n + 1)) :
803803
s.touchpoint signs i ∈ affineSpan ℝ (Set.range (s.faceOpposite i).points) :=
@@ -1144,8 +1144,8 @@ variable {s} in
11441144
haveI := Nonempty.map (AffineSubspace.inclusion hS) inferInstance
11451145
(s.restrict S hS).touchpointWeights signs = s.touchpointWeights signs := by
11461146
rw [← s.excenterExists_restrict S hS] at h
1147-
rw [eq_comm]
1148-
convert h.touchpointWeights_map S.subtypeₐᵢ
1147+
haveI := Nonempty.map (AffineSubspace.inclusion hS) inferInstance
1148+
exact (h.touchpointWeights_map S.subtypeₐᵢ).symm
11491149

11501150
variable {s} in
11511151
lemma ExcenterExists.sign_touchpointWeights {signs : Finset (Fin (n + 1))}

0 commit comments

Comments
 (0)