Repository navigation
Conversation
Add a lemma about the interaction of `map` and `mk'` for affine subspaces:
```lean
lemma map_mk' (p : P₁) (direction : Submodule k V₁) :
(mk' p direction).map f = mk' (f p) (direction.map f.linear) := by
```
Add a lemma about mapping orthogonal complements under a `LinearIsometryEquiv`: ```lean lemma map_orthogonal (f : E ≃ₗᵢ[𝕜] F) : Kᗮ.map f = (K.map f)ᗮ := by ```
Add further lemmas about tangency, the common theme of which is that they relate in some way to `orthRadius` (the full tangent space rather than only a subspace thereof). In particular, give its `finrank` in a finite-dimensional space and describe tangent spaces that have that `finrank`, and, not limited to a finite-dimensional space, the two tangent spaces that are parallel to a given `orthRadius` space.
Add lemmas, in the case where the dimensions are such that the simplex spans the whole space, exspheres are not merely tangent to the faces but the faces are the full tangent spaces (`orthRadius`).
PR summary b07a5845d5Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Co-authored-by: Monica Omar <[email protected]>
|
This pull request has conflicts, please merge |
ocfnash
left a comment
There was a problem hiding this comment.
One suggestion, which I encourage you to consider, but I am content to let you decide.
Otherwise LGTM, thanks!
bors d+
| affineSpan ℝ (Set.range (s.faceOpposite i).points) = | ||
| (s.exsphere signs).orthRadius (s.touchpoint signs i) := by |
There was a problem hiding this comment.
Bearing in mind that Affine.Simplex.range_faceOpposite_points carries simp, what do you think of making the statement here:
| affineSpan ℝ (Set.range (s.faceOpposite i).points) = | |
| (s.exsphere signs).orthRadius (s.touchpoint signs i) := by | |
| affineSpan ℝ (s.points '' {i}ᶜ) = (s.exsphere signs).orthRadius (s.touchpoint signs i) := by |
I note the lemma will need renaming if we do this
There was a problem hiding this comment.
I think range_faceOpposite_points is only really a good simp lemma in certain contexts where the set of points matters more than the involvement of the face in the API. Rather than (a) changing the single lemma here to use the particular value of the set of points, or (b) making such a change globally, if we want to put more lemmas in simp normal form in that regard then I think the right approach would be (c) implement Simplex.span as was suggested in passing in discussion in #23752 and then move all statements involving the span of a simplex to use that definition. (But we should get #30853 in before adding any such new Simplex.span API, given the size of conflicts that would otherwise result for places referring to the span of a simplex.)
| lemma affineSpan_faceOpposite_eq_orthRadius_insphere [Fact (Module.finrank ℝ V = n)] | ||
| (i : Fin (n + 1)) : | ||
| affineSpan ℝ (Set.range (s.faceOpposite i).points) = s.insphere.orthRadius (s.touchpoint ∅ i) := |
There was a problem hiding this comment.
If we do opt for the spelling above, then this should be able to carry the simp attribute:
| lemma affineSpan_faceOpposite_eq_orthRadius_insphere [Fact (Module.finrank ℝ V = n)] | |
| (i : Fin (n + 1)) : | |
| affineSpan ℝ (Set.range (s.faceOpposite i).points) = s.insphere.orthRadius (s.touchpoint ∅ i) := | |
| @[simp] lemma affineSpan_points_compl_eq_orthRadius_insphere [Fact (Module.finrank ℝ V = n)] | |
| (i : Fin (n + 1)) : | |
| affineSpan ℝ (s.points '' {i}ᶜ) = s.insphere.orthRadius (s.touchpoint ∅ i) := |
There was a problem hiding this comment.
I don't think this (translating from a purely affine reference to the span of a face, to something involving the insphere which you might not care about at all in that context) would be a good simp lemma. The reverse direction would be more plausible as a simp lemma, but I still think it would be too contextual whether "span of face" or "tangent at touchpoint" is the form that is wanted.
|
✌️ jsm28 can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
Add lemmas, in the case where the dimensions are such that the simplex spans the whole space, exspheres are not merely tangent to the faces but the faces are the full tangent spaces (`orthRadius`).
|
Pull request successfully merged into master. Build succeeded: |
orthRadius lemmasorthRadius lemmas
Add lemmas, in the case where the dimensions are such that the simplex spans the whole space, exspheres are not merely tangent to the faces but the faces are the full tangent spaces (
orthRadius).map_mk'#31727map_orthogonal#31728orthRadius-related lemmas #31731