Repository navigation
[Merged by Bors] - feat(LinearAlgebra/AffineSpace/Independent): injectivity of spans of images - #31979
Closed
jsm28 wants to merge 6 commits into
Closed
[Merged by Bors] - feat(LinearAlgebra/AffineSpace/Independent): injectivity of spans of images#31979jsm28 wants to merge 6 commits into
jsm28 wants to merge 6 commits into
Conversation
…subsingleton sets
Add two lemmas about `vectorSpan` of subsingleton sets:
```lean
lemma vectorSpan_of_subsingleton {s : Set P} (h : s.Subsingleton) : vectorSpan k s = ⊥ := by
rcases h.eq_empty_or_singleton with rfl | ⟨p, rfl⟩ <;> simp
```
```lean
lemma vectorSpan_eq_bot_iff_subsingleton {s : Set P} : vectorSpan k s = ⊥ ↔ s.Subsingleton := by
```
…images
Add the lemma
```lean
lemma AffineIndependent.injective_affineSpan_image [Nontrivial k] {p : ι → P}
(ha : AffineIndependent k p) : Injective fun (s : Set ι) ↦ affineSpan k (p '' s) := by
```
which is straightforward given existing lemmas, and the corresponding
`vectorSpan` lemma
```lean
lemma AffineIndependent.vectorSpan_image_eq_iff [Nontrivial k] {p : ι → P}
(ha : AffineIndependent k p) {s₁ s₂ : Set ι} :
vectorSpan k (p '' s₁) = vectorSpan k (p '' s₂) ↔
s₁ = s₂ ∨ s₁.Subsingleton ∧ s₂.Subsingleton := by
```
(feel free to golf).
PR summary 0918ede558Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diff
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 No changes to technical debt.You can run this locally as
|
Closed
8 tasks done
|
This PR/issue depends on: |
25 tasks done
mathlib-bors Bot
pushed a commit
that referenced
this pull request
Dec 5, 2025
…images (#31979) Add the lemma ```lean lemma AffineIndependent.injective_affineSpan_image [Nontrivial k] {p : ι → P} (ha : AffineIndependent k p) : Injective fun (s : Set ι) ↦ affineSpan k (p '' s) := by ``` which is straightforward given existing lemmas, and the corresponding `vectorSpan` lemma ```lean lemma AffineIndependent.vectorSpan_image_eq_iff [Nontrivial k] {p : ι → P} (ha : AffineIndependent k p) {s₁ s₂ : Set ι} : vectorSpan k (p '' s₁) = vectorSpan k (p '' s₂) ↔ s₁ = s₂ ∨ s₁.Subsingleton ∧ s₂.Subsingleton := by ``` (feel free to golf).
Contributor
|
Pull request successfully merged into master. Build succeeded: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the lemma
which is straightforward given existing lemmas, and the corresponding
vectorSpanlemma(feel free to golf).
vectorSpanof subsingleton sets #31978