Repository navigation
Conversation
PR summary 78f45e1742Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| 4920 | 1 | exposed public sections |
Current commit 78f45e1742
Reference commit 1ae49302b2
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.sh 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).
|
This pull request has conflicts, please merge |
…-map # Conflicts: # Mathlib/Algebra/QuadraticAlgebra/Basic.lean
…ratic-algebra-discr # Conflicts: # Mathlib/Algebra/QuadraticAlgebra/Basic.lean
| section discr | ||
|
|
||
| /-- The discriminant of the quadratic algebra `QuadraticAlgebra R a b`, that is, the | ||
| discriminant `b ^ 2 + 4 * a` of the polynomial `X ^ 2 - b * X - a`. -/ |
There was a problem hiding this comment.
Could you make this claim explicit by adding:
open Polynomial in
theorem polynomialDiscr_eq_discr [CommRing R] (a b : R) :
(X ^ 2 - b * X - a).discr = discr a b := ...There was a problem hiding this comment.
Thanks for the suggestion but stating this needs to import Mathlib.RingTheory.Polynomial.Resultant.Basic which pulls a lot imports for a foundational file which I tried to keep slim. Furthermore, I am not sure how useful the lemma would be in practice, so I would rather leave it out.
There was a problem hiding this comment.
@xroblot I do think it's good to have the connection though. If you don't want to add the import to this file, could you have a separate new file that provides this bit of API/glue?
There was a problem hiding this comment.
I could add it to #42297 that relates different invariants to their classical algebra version and thus as heavier imports.
|
This PR/issue depends on: |
…-discr # Conflicts: # Mathlib/Algebra/QuadraticAlgebra/Basic.lean
Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Pxa1HLgwZQg6sssxyFg2o1
Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Pxa1HLgwZQg6sssxyFg2o1
) Add the discriminant `discr a b = b ^ 2 + 4 * a` of `QuadraticAlgebra R a b`, describe how it transforms under a change of generator, and derive, over a field with `2 ≠ 0`, a criterion for `QuadraticAlgebra K a b` to be a field (it is a field iff `discr a b` is not a square). This also renames `omega_re`/`omega_im` to `re_omega`/`im_omega` with deprecated aliases. Prepared with Claude Code 🤖
|
Pull request successfully merged into master. Build succeeded: |
…nprover-community#42206) Add the discriminant `discr a b = b ^ 2 + 4 * a` of `QuadraticAlgebra R a b`, describe how it transforms under a change of generator, and derive, over a field with `2 ≠ 0`, a criterion for `QuadraticAlgebra K a b` to be a field (it is a field iff `discr a b` is not a square). This also renames `omega_re`/`omega_im` to `re_omega`/`im_omega` with deprecated aliases. Prepared with Claude Code 🤖
Add the discriminant
discr a b = b ^ 2 + 4 * aofQuadraticAlgebra R a b, describe how ittransforms under a change of generator, and derive, over a field with
2 ≠ 0, a criterion forQuadraticAlgebra K a bto be a field (it is a field iffdiscr a bis not a square).This also renames
omega_re/omega_imtore_omega/im_omegawith deprecated aliases.Prepared with Claude Code 🤖