Skip to content

[Merged by Bors] - feat(LinearAlgebra/AffineSpace/AffineSubspace/Defs): vectorSpan of subsingleton sets - #31978

Closed
jsm28 wants to merge 3 commits into
leanprover-community:masterfrom
jsm28:vectorSpan_of_subsingleton
Closed

jsm28 wants to merge 3 commits into
leanprover-community:masterfrom
jsm28:vectorSpan_of_subsingleton

Conversation

@jsm28

@jsm28 jsm28 commented Nov 23, 2025

Copy link
Copy Markdown
Contributor

Add two lemmas about vectorSpan of subsingleton sets:

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
lemma vectorSpan_eq_bot_iff_subsingleton {s : Set P} : vectorSpan k s = ⊥ ↔ s.Subsingleton := by

Open in Gitpod

…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
```
@jsm28 jsm28 added easy < 20s of review time. See the lifecycle page for guidelines. t-algebra Algebra (groups, rings, fields, etc) labels Nov 23, 2025
@github-actions

github-actions Bot commented Nov 23, 2025 •

Copy link
Copy Markdown

PR summary 7cb828c104

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ vectorSpan_eq_bot_iff_subsingleton
+ vectorSpan_of_subsingleton

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

@ocfnash ocfnash left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

bors d+

@mathlib-bors

mathlib-bors Bot commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

✌️ jsm28 can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Nov 24, 2025
@jsm28

jsm28 commented Nov 24, 2025

Copy link
Copy Markdown
Contributor Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Nov 24, 2025
…subsingleton sets (#31978)

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
```
@mathlib-bors

mathlib-bors Bot commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(LinearAlgebra/AffineSpace/AffineSubspace/Defs): vectorSpan of subsingleton sets [Merged by Bors] - feat(LinearAlgebra/AffineSpace/AffineSubspace/Defs): vectorSpan of subsingleton sets Nov 24, 2025
@mathlib-bors mathlib-bors Bot closed this Nov 24, 2025
@jsm28
jsm28 deleted the vectorSpan_of_subsingleton branch November 24, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). easy < 20s of review time. See the lifecycle page for guidelines. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants