Skip to content

[Merged by Bors] - feat(Geometry/Euclidean/Projection): orthogonalProjection_orthogonalProjection_of_le#30474

Closed
jsm28 wants to merge 13 commits intoleanprover-community:masterfrom
jsm28:orthogonalProjection_orthogonalProjection_of_le
Closed

[Merged by Bors] - feat(Geometry/Euclidean/Projection): orthogonalProjection_orthogonalProjection_of_le#30474
jsm28 wants to merge 13 commits intoleanprover-community:masterfrom
jsm28:orthogonalProjection_orthogonalProjection_of_le

Conversation

@jsm28
Copy link
Copy Markdown
Contributor

@jsm28 jsm28 commented Oct 12, 2025

Add a lemma that orthogonalProjection s₁ (orthogonalProjection s₂ p) = orthogonalProjection s₁ p for s₁ ≤ s₂. (A similar lemma for projection onto submodules rather than affine subspaces already exists.)


Open in Gitpod

…Projection_of_le`

Add a lemma that `orthogonalProjection s₁ (orthogonalProjection s₂ p)
= orthogonalProjection s₁ p` for `s₁ ≤ s₂`. (A similar lemma for
projection onto submodules rather than affine subspaces already
exists.)
@jsm28 jsm28 added the t-euclidean-geometry Affine and axiomatic geometry label Oct 12, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 12, 2025

PR summary 4086670d5a

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ orthogonalProjection_orthogonalProjection_of_le

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).

jsm28 added 3 commits October 19, 2025 21:39
Add a lemma

```lean
lemma orthogonalProjection_eq_iff_mem {s : AffineSubspace ℝ P} [Nonempty s]
    [s.direction.HasOrthogonalProjection] {p q : P} :
    orthogonalProjection s p = q ↔ q ∈ s ∧ p -ᵥ q ∈ s.directionᗮ := by
```

that gives the characteristic property of the orthogonal projection in
a more convenient form to use than the existing
`inter_eq_singleton_orthogonalProjection` (from which it is derived).
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Oct 19, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Oct 27, 2025
@mathlib4-dependent-issues-bot
Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Oct 28, 2025
mathlib-bors bot pushed a commit that referenced this pull request Oct 28, 2025
…Projection_of_le` (#30474)

Add a lemma that `orthogonalProjection s₁ (orthogonalProjection s₂ p) = orthogonalProjection s₁ p` for `s₁ ≤ s₂`. (A similar lemma for projection onto submodules rather than affine subspaces already exists.)
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Oct 28, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Geometry/Euclidean/Projection): orthogonalProjection_orthogonalProjection_of_le [Merged by Bors] - feat(Geometry/Euclidean/Projection): orthogonalProjection_orthogonalProjection_of_le Oct 28, 2025
@mathlib-bors mathlib-bors bot closed this Oct 28, 2025
@jsm28 jsm28 deleted the orthogonalProjection_orthogonalProjection_of_le branch October 28, 2025 10:46
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Nov 7, 2025
…Projection_of_le` (leanprover-community#30474)

Add a lemma that `orthogonalProjection s₁ (orthogonalProjection s₂ p) = orthogonalProjection s₁ p` for `s₁ ≤ s₂`. (A similar lemma for projection onto submodules rather than affine subspaces already exists.)
FormulaRabbit81 pushed a commit to FormulaRabbit81/mathlib4 that referenced this pull request Nov 8, 2025
…Projection_of_le` (leanprover-community#30474)

Add a lemma that `orthogonalProjection s₁ (orthogonalProjection s₂ p) = orthogonalProjection s₁ p` for `s₁ ≤ s₂`. (A similar lemma for projection onto submodules rather than affine subspaces already exists.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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