Repository navigation
[Merged by Bors] - feat(LinearAlgebra/PiTensorProduct): add version of subsingletonEquiv for dependent case - #32598
PrParadoxy wants to merge 6 commits into
Conversation
…v` for dependent case Dependent `PiTensorProduct`s over singleton types occur naturally when using `tmulEquivDep` to split off one index from a dependent `PiTensorProduct`. This PR creates `subsingletonEquivDep` to deal with this situation. The non-dependent `subsingletonEquiv` is re-defined as a specialization of the general case. This breaks `toDirectSum_ι` in TensorAlgebra/ToTensorPower, which relies on the precise definition of `subsingletonEquiv`. Its proof is therefore changed to use `simp` lemmas.
PR summary 88aaf58be6Import 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
|
872f7cf to
e8bbc86
Compare
Co-authored-by: Oliver Nash <[email protected]>
Co-authored-by: Oliver Nash <[email protected]>
Co-authored-by: Oliver Nash <[email protected]>
Replaced it by the dependent one. Updated simp lemmas.
|
Thanks, Kevin & Oliver!! New version ready for review. As suggested:
On the other hand:
We don't feel very strongly about the two last points, though. BTW: Our initial formulation mirrored the pair |
|
-awaiting-author |
|
!bench |
|
Benchmark results for 5e5a247 against 88aaf58 are in! @PrParadoxy No significant changes detected. |
|
I can't quite tell what you mean by this:
but if you comment further here or open a PR I will answer. The comparison to The point about my "function coercion formulation" version versus Thanks! bors merge |
…v` for dependent case (#32598) Dependent `PiTensorProduct`s over singleton types occur naturally when using `tmulEquivDep` to split off one index from a dependent `PiTensorProduct`. This PR creates `subsingletonEquivDep` to deal with this situation. The non-dependent `subsingletonEquiv` is re-defined as a specialization of the general case. This changes the definition of `toDirectSum_ι` in TensorAlgebra/ToTensorPower, and so its proof is therefore changed. [](https://gitpod.io/from-referrer/) Co-authored-by: david <[email protected]> Co-authored-by: David Gross <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
subsingletonEquiv for dependent casesubsingletonEquiv for dependent case
Dependent
PiTensorProducts over singleton types occur naturally whenusing
tmulEquivDepto split off one index from a dependentPiTensorProduct. This PR createssubsingletonEquivDepto deal withthis situation.
The non-dependent
subsingletonEquivis re-defined as a specializationof the general case. This changes the definition of
toDirectSum_ιinTensorAlgebra/ToTensorPower, and so its proof is therefore changed.