Repository navigation
[Merged by Bors] - feat: add orthogonality lemmas for 2-dimensional inner product spaces - #35956
Scarlett-le wants to merge 13 commits into
Conversation
PR summary 1e540354c5Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
0b154d7 to
bc4f03e
Compare
| /-- If a nonzero vector `w` and a vector `u` are both orthogonal to the same nonzero vector `v` | ||
| in a two-dimensional inner product space, then `u` lies in the span of `w`. -/ | ||
| theorem mem_span_singleton_of_inner_eq_zero_of_inner_eq_zero | ||
| {𝕜 E : Type*} [RCLike 𝕜] [NormedAddCommGroup E] [InnerProductSpace 𝕜 E] | ||
| [Fact (finrank 𝕜 E = 2)] {u v w : E} | ||
| (hv : v ≠ 0) (hw : w ≠ 0) | ||
| (huv : ⟪v, u⟫_𝕜 = 0) (hwv : ⟪v, w⟫_𝕜 = 0) : | ||
| u ∈ Submodule.span 𝕜 {w} := by |
There was a problem hiding this comment.
Can I also ask what you need this result for? It's rather specialized.
There was a problem hiding this comment.
Regarding mem_span_singleton_of_inner_eq_zero_of_inner_eq_zero: I use it three times in the Arc file (through_right, mem_interior_through, and not_mem_avoiding), so inlining would introduce significant duplication. It also captures a natural and reusable geometric fact — in a 2-dimensional inner product space, the orthogonal complement of any nonzero vector is 1-dimensional, so any two vectors orthogonal to the same nonzero vector are linearly dependent. I think this is general enough to be useful API beyond just this file.
bc4f03e to
baf9b35
Compare
…nner_self_eq_zero
…m_span_singleton_of_inner_eq_zero_of_inner_eq_zero
…nrank-1 submodules
baf9b35 to
f278820
Compare
j-loreaux
left a comment
There was a problem hiding this comment.
@Scarlett-le I'm sorry this sat for a very long time. The reason is that you never removed the awaiting-author tag, so this PR did not appear in the queue.
…l.lean Co-authored-by: Jireh Loreaux <[email protected]>
…l.lean Co-authored-by: Jireh Loreaux <[email protected]>
…l.lean Co-authored-by: Jireh Loreaux <[email protected]>
…l.lean Co-authored-by: Jireh Loreaux <[email protected]>
…t-rejection-orthogonal
Sorry about that! I didn't have write access to the repository, so I wasn't able to change the label myself. I've now addressed the review feedback and pushed the changes. Waiting for review. |
|
You can remove tag by typing -awaiting-author |
|
-awaiting-author |
Co-authored-by: Jireh Loreaux <[email protected]>
…rejection-orthogonal
|
As this PR is labelled bors merge |
…#35956) In a two-dimensional inner product space over `𝕜`, if `u` is orthogonal to `v` and `v` is orthogonal to `w` (with `v ≠ 0` and `w ≠ 0`), then `u ∈ 𝕜 ∙ w`. Co-authored-by: Scarlett-le <[email protected]> Co-authored-by: Jireh Loreaux <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
…leanprover-community#35956) In a two-dimensional inner product space over `𝕜`, if `u` is orthogonal to `v` and `v` is orthogonal to `w` (with `v ≠ 0` and `w ≠ 0`), then `u ∈ 𝕜 ∙ w`. Co-authored-by: Scarlett-le <[email protected]> Co-authored-by: Jireh Loreaux <[email protected]>
…leanprover-community#35956) In a two-dimensional inner product space over `𝕜`, if `u` is orthogonal to `v` and `v` is orthogonal to `w` (with `v ≠ 0` and `w ≠ 0`), then `u ∈ 𝕜 ∙ w`. Co-authored-by: Scarlett-le <[email protected]> Co-authored-by: Jireh Loreaux <[email protected]>
…leanprover-community#35956) In a two-dimensional inner product space over `𝕜`, if `u` is orthogonal to `v` and `v` is orthogonal to `w` (with `v ≠ 0` and `w ≠ 0`), then `u ∈ 𝕜 ∙ w`. Co-authored-by: Scarlett-le <[email protected]> Co-authored-by: Jireh Loreaux <[email protected]>
…leanprover-community#35956) In a two-dimensional inner product space over `𝕜`, if `u` is orthogonal to `v` and `v` is orthogonal to `w` (with `v ≠ 0` and `w ≠ 0`), then `u ∈ 𝕜 ∙ w`. Co-authored-by: Scarlett-le <[email protected]> Co-authored-by: Jireh Loreaux <[email protected]>
In a two-dimensional inner product space over
𝕜, ifuis orthogonal tovandvis orthogonal tow(withv ≠ 0andw ≠ 0), thenu ∈ 𝕜 ∙ w.