Skip to content

Conversation

jsm28
Copy link
Collaborator

@jsm28 jsm28 commented Oct 19, 2025

Add a lemma that, if the orthogonal projections of a point onto two subspaces are equal, so is the projection onto their supremum.


Open in Gitpod

jsm28 added 4 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).
Add instances that the supremum of two affine subspaces, either one
nonempty, is nonempty.  These are useful when working with orthogonal projections onto such a supremum.
Add a lemma that, if the orthogonal projections of a point onto two
subspaces are equal, so is the projection onto their supremum.
@jsm28 jsm28 added the t-euclidean-geometry Affine and axiomatic geometry label Oct 19, 2025
Copy link

github-actions bot commented Oct 19, 2025

PR summary 560872a203

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ coe_orthogonalProjection_eq_iff_mem
+ orthogonalProjection_eq_iff_mem
+ orthogonalProjection_eq_orthogonalProjection_iff_vsub_mem
+ orthogonalProjection_sup_of_orthogonalProjection_eq

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

@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
Copy link
Collaborator

mathlib4-dependent-issues-bot commented Oct 19, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) t-euclidean-geometry Affine and axiomatic geometry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants