Repository navigation
feat(LinearAlgebra/SesquilinearForm): add instances for SeparatingLeft, SeparatingRight and Nondegenerate - #43143
Conversation
PR summary cbf391c058Import changes exceeding 2%
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Geometry.Convex.Cone.Dual | 1224 | 1652 | +428 (+34.97%) |
Import changes for all files
| Files | Import difference |
|---|---|
4 filesMathlib.Analysis.Convex.Cone.Dual Mathlib.Analysis.Convex.Cone.InnerDual Mathlib.Analysis.Convex.Cone.TensorProduct Mathlib.Geometry.Convex.Cone.TensorProduct |
1 |
Mathlib.Geometry.Convex.Cone.DualFinite |
399 |
Mathlib.Geometry.Convex.Cone.Dual |
428 |
Declarations diff (regex)
+ SeparatingLeft.ker_eq_bot
+ dual_univ_eq_ker
+ instance : Fact (Dual.eval R M).SeparatingRight := ⟨.eval⟩
+ instance : Fact (SeparatingLeft (M₁ := M₁ →ₛₗ[I₁] M) .id) := ⟨.id⟩
+ instance : Fact p.Nondegenerate := ⟨‹p.IsPerfPair›.nondegenerate⟩
+ instance [inst : Fact B.Nondegenerate] : Fact B.SeparatingLeft := ⟨inst.elim.1⟩
+ instance [inst : Fact B.Nondegenerate] : Fact B.SeparatingRight := ⟨inst.elim.2⟩
+ instance [inst : Fact B.SeparatingLeft] : Fact B.flip.SeparatingRight
+ instance [inst : Fact B.SeparatingRight] : Fact B.flip.SeparatingLeft
You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.
Declarations diff (Lean)
✅ Lean-aware diff — post-build, computed from the Lean environment (commit
cbf391c).
- +9 new declarations
- −0 removed declarations
+LinearMap.SeparatingLeft.ker_eq_bot
+LinearMap.instFactNondegenerate
+LinearMap.instFactSeparatingLeftFlipOfSeparatingRight
+LinearMap.instFactSeparatingLeftId
+LinearMap.instFactSeparatingLeftOfNondegenerate
+LinearMap.instFactSeparatingRightDualEval
+LinearMap.instFactSeparatingRightFlipOfSeparatingLeft
+LinearMap.instFactSeparatingRightOfNondegenerate
+PointedCone.dual_univ_eq_kerNo changes to strong technical debt.
No changes to weak technical debt.
Current commit cbf391c058
Reference commit 17e9f587d8
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
…orms (#34487) Some file cleanup and adding minor lemmas. This is an extract from and in preparation for #43143. Co-authored-by: Martin Winter <[email protected]>
|
This PR/issue depends on: |
…ilinear-separating-fact
…orms (leanprover-community#34487) Some file cleanup and adding minor lemmas. This is an extract from and in preparation for leanprover-community#43143. Co-authored-by: Martin Winter <[email protected]>
themathqueen
left a comment
There was a problem hiding this comment.
I don't know how I feel about all these Fact global instances
I also don't think this is great. The alternative is to make If this needs discussion, happy to have it here: #mathlib4 > More typeclass instances for bilinear forms |
|
Sure, let's discuss this on the Zulip thread. Maybe mentioning what the "end goal" here is would help? |
|
This pull request has conflicts, please merge |
Add typeclass instances for
Fact B.SeparatingLeft,Fact B.SeparatingRight,Fact B.Nondegenerate:Fact B.flip.SeparatingLeftfromFact B.SeparatingRightand vice versaFact B.SeparatingLeftandFact B.SeparatingRightfromFact B.NondegenerateFact B.SeparatingLeftandFact B.Nondegeneratefor.idandDual.evalFact B.NondegeneratefromB.IsPerfPairI also updated
PointedCone.dual_univto demonstrate a use for these additions. Note that I needed to add an import toCone/Dual.leanwhich somehow imports cardinals. So I needed to remove cardinals fromassert_not_exists.Zulip: #mathlib4 > Typeclass instances for separating bilinear forms
awaiting-zulip: #mathlib4 > Typeclass instances for separating bilinear forms
depends on: [Merged by Bors] - feat(LinearAlgebra/SesquilinearForm): add basic lemmas for bilinear forms #34487