Repository navigation
Conversation
PR summary 828a97fdd0Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| 5160 | -1 | exposed public sections |
Current commit 828a97fdd0
Reference commit 13152f691c
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).
artie2000
left a comment
There was a problem hiding this comment.
Thanks - just some small comments
maintainer merge?
| * `QuadraticAlgebra.polynomial_discr_eq_discr`: the discriminant of the polynomial | ||
| `X ^ 2 - C b * X - C a` equals `discr a b`. | ||
| * `QuadraticAlgebra.minpoly_omega`: the minimal polynomial of `ω` over `R` is |
There was a problem hiding this comment.
I think this is a bit clearer given we don't mention QuadraticAlgebra.omega in the file header.
| * `QuadraticAlgebra.minpoly_omega`: the minimal polynomial of `ω` over `R` is | |
| * `QuadraticAlgebra.minpoly_omega`: the minimal polynomial of the root `ω` over `R` is |
Also, I notice in the docstring of QuadraticAlgebra, ω is called
| obtain ⟨rfl, rfl⟩ : s = 0 ∧ r = 0 := by simpa [QuadraticAlgebra.ext_iff] using hq₁ | ||
| rw [map_zero, zero_mul, add_zero] |
There was a problem hiding this comment.
| obtain ⟨rfl, rfl⟩ : s = 0 ∧ r = 0 := by simpa [QuadraticAlgebra.ext_iff] using hq₁ | |
| rw [map_zero, zero_mul, add_zero] | |
| simp_all [QuadraticAlgebra.ext_iff] |
| refine (minpoly.unique' R ω (by monicity!) (aeval_omega_eq_zero a b) fun q hq ↦ ?_).symm | ||
| refine or_not_of_imp fun h ↦ eq_zero_of_aeval_omega_eq_zero h ?_ |
There was a problem hiding this comment.
| refine (minpoly.unique' R ω (by monicity!) (aeval_omega_eq_zero a b) fun q hq ↦ ?_).symm | |
| refine or_not_of_imp fun h ↦ eq_zero_of_aeval_omega_eq_zero h ?_ | |
| refine Eq.symm <| minpoly.unique' R ω (by monicity!) (aeval_omega_eq_zero a b) fun q hq ↦ | |
| or_not_of_imp fun h ↦ eq_zero_of_aeval_omega_eq_zero h ?_ |
if you like 🙂
|
🚀 Pull request has been placed on the maintainer queue by artie2000. |
We prove that the minimal polynomial of
ωinQuadraticAlgebra R a bisX ^ 2 - C b * X - C a, for any commutative ringR.We also clean up the file a bit: the results are grouped into the namespaces
QuadraticAlgebraandAlgebra, and@[expose]is removed since the file has no definitions.The mathematics and design are mine. Claude Code was used as a coding assistant and for the housekeeping around this PR. 🤖