[Merged by Bors] - feat: Scaling of affine bases#14863
[Merged by Bors] - feat: Scaling of affine bases#14863YaelDillies wants to merge 13 commits intomasterfrom
Conversation
PR summary feee1d67b9Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Provide the multiplication action of the units of the ring `k` over the `k`-affine bases of a `k`-module `V`.
e19495c to
9e834eb
Compare
| rw [Pi.smul_def, ← smul_set_range, Units.smul_def, ← AffineSubspace.smul_span, b.tot, | ||
| AffineSubspace.smul_top a.isUnit] } | ||
|
|
||
| @[simp, norm_cast] lemma coe_smul (a : kˣ) (b : AffineBasis ι k V) : ⇑(a • b) = a • ⇑b := rfl |
There was a problem hiding this comment.
Can you add some lemmas about the other basic operations too, like we did for vadd?
There was a problem hiding this comment.
The ones I don't have here are the ones I failed to prove. Feel free to add them yourself though
| @[simp] lemma smul_top (ha : IsUnit a) : a • (⊤ : AffineSubspace k V) = ⊤ := by | ||
| ext x; simpa [smul_eq_map, map_top] using ⟨ha.unit⁻¹ • x, smul_inv_smul ha.unit _⟩ | ||
|
|
||
| lemma smul_span (a : M) (s : Set V) : a • affineSpan k s = affineSpan k (a • s) := map_span _ s |
There was a problem hiding this comment.
| lemma smul_span (a : M) (s : Set V) : a • affineSpan k s = affineSpan k (a • s) := map_span _ s | |
| lemma smul_affineSpan (a : M) (s : Set V) : a • affineSpan k s = affineSpan k (a • s) := map_span _ s |
(unless there is precedent otherwise)
There was a problem hiding this comment.
Sadly, there is precedent here: AffineSubspace.span_union. I would like to clean things up but I already have too many things on my plate
eric-wieser
left a comment
There was a problem hiding this comment.
bors d+
Please fix the PR description before merging, it no longer reflects the state of the PR
|
✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors merge |
|
Canceled. |
|
bors merge |
Given a group `G` acting on the ring `k`, provide the `G`-action over the `k`-affine bases of a `k`-module `V`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
Pull request successfully merged into master. Build succeeded: |
Given a group `G` acting on the ring `k`, provide the `G`-action over the `k`-affine bases of a `k`-module `V`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Given a group `G` acting on the ring `k`, provide the `G`-action over the `k`-affine bases of a `k`-module `V`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Given a group `G` acting on the ring `k`, provide the `G`-action over the `k`-affine bases of a `k`-module `V`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Given a group
Gacting on the ringk, provide theG-action over thek-affine bases of ak-moduleV.This could be generalised using some
IsScalarTowerconditions but I'm a bit lazy to sort out exactly what those are and what API we are missing.