Skip to content

[Merged by Bors] - feat(Geometry/Euclidean/Basic): projection of vertex to opposite face of simplex - #23712

Closed
jsm28 wants to merge 2 commits into
masterfrom
jsm28/orthogonalProjection_faceOpposite
Closed

jsm28 wants to merge 2 commits into
masterfrom
jsm28/orthogonalProjection_faceOpposite

Conversation

@jsm28

@jsm28 jsm28 commented Apr 5, 2025 •

Copy link
Copy Markdown
Contributor

Add two simple lemmas about the projection of a vertex of a simplex onto the opposite face (that arise while setting up the theory of incenter and excenter).

@[simp] lemma ne_orthogonalProjection_faceOpposite (i : Fin (n + 1)) : s.points i ≠
    orthogonalProjection (affineSpan ℝ (Set.range (s.faceOpposite i).points)) (s.points i) := by
lemma dist_orthogonalProjection_faceOpposite_pos (i : Fin (n + 1)) :
    0 < dist (s.points i)
      (orthogonalProjection (affineSpan ℝ (Set.range (s.faceOpposite i).points)) (s.points i)) := by

Open in Gitpod

… of simplex

Add two simple lemmas about the projection of a vertex of a simplex
onto the opposite face (that arise while setting up the theory of
`incenter` and `excenter`).

```lean
@[simp] lemma ne_orthogonalProjection_faceOpposite (i : Fin (n + 1)) : s.points i ≠
    orthogonalProjection (affineSpan ℝ (Set.range (s.faceOpposite i).points)) (s.points i) := by
```

```lean
lemma dist_orthogonalProjection_faceOpposite_pos (i : Fin (n + 1)) :
    0 < dist (s.points i)
      (orthogonalProjection (affineSpan ℝ (Set.range (s.faceOpposite i).points)) (s.points i)) := by
```
@jsm28 jsm28 changed the title of simpl… feat(Geometry/Euclidean/Basic): projection of vertex to opposite face of simplex Apr 5, 2025
@jsm28 jsm28 added easy < 20s of review time. See the lifecycle page for guidelines. t-euclidean-geometry Affine and axiomatic geometry labels Apr 5, 2025
@github-actions

github-actions Bot commented Apr 5, 2025 •

Copy link
Copy Markdown

PR summary 15298f9b67

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ dist_orthogonalProjection_faceOpposite_pos
+ ne_orthogonalProjection_faceOpposite

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

Comment thread Mathlib/Geometry/Euclidean/Basic.lean Resolved
@PatrickMassot

Copy link
Copy Markdown
Member

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Apr 7, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Apr 7, 2025
… of simplex (#23712)

Add two simple lemmas about the projection of a vertex of a simplex onto the opposite face (that arise while setting up the theory of `incenter` and `excenter`).

```lean
@[simp] lemma ne_orthogonalProjection_faceOpposite (i : Fin (n + 1)) : s.points i ≠
    orthogonalProjection (affineSpan ℝ (Set.range (s.faceOpposite i).points)) (s.points i) := by
```

```lean
lemma dist_orthogonalProjection_faceOpposite_pos (i : Fin (n + 1)) :
    0 < dist (s.points i)
      (orthogonalProjection (affineSpan ℝ (Set.range (s.faceOpposite i).points)) (s.points i)) := by
```
@mathlib-bors

mathlib-bors Bot commented Apr 7, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Geometry/Euclidean/Basic): projection of vertex to opposite face of simplex [Merged by Bors] - feat(Geometry/Euclidean/Basic): projection of vertex to opposite face of simplex Apr 7, 2025
@mathlib-bors mathlib-bors Bot closed this Apr 7, 2025
@mathlib-bors
mathlib-bors Bot deleted the jsm28/orthogonalProjection_faceOpposite branch April 7, 2025 07:26
tannerduve pushed a commit that referenced this pull request May 13, 2025
… of simplex (#23712)

Add two simple lemmas about the projection of a vertex of a simplex onto the opposite face (that arise while setting up the theory of `incenter` and `excenter`).

```lean
@[simp] lemma ne_orthogonalProjection_faceOpposite (i : Fin (n + 1)) : s.points i ≠
    orthogonalProjection (affineSpan ℝ (Set.range (s.faceOpposite i).points)) (s.points i) := by
```

```lean
lemma dist_orthogonalProjection_faceOpposite_pos (i : Fin (n + 1)) :
    0 < dist (s.points i)
      (orthogonalProjection (affineSpan ℝ (Set.range (s.faceOpposite i).points)) (s.points i)) := by
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge This PR has been sent to bors. t-euclidean-geometry Affine and axiomatic geometry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants