feat(Algebra/Ring/Subring/Polynomial): existence of polynomials that can represent elements of a subring#40344
Conversation
PR summary bdc43c9104Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| 4925 | 1 | exposed public sections |
Current commit bdc43c9104
Reference commit ba6dea3d06
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).
|
|
||
| -/ | ||
|
|
||
| @[expose] public section |
There was a problem hiding this comment.
| @[expose] public section | |
| public section |
There are no definition, so no need to @[expose].
| theorem exists_polynomial_of_le_range_of_mem_closure | ||
| {A R : Type*} [CommRing A] [CommRing R] {x y : R} {B : Subring R} | ||
| {h : A →+* R} (hB : B ≤ h.range) (hy : y ∈ closure (B.carrier.insert x)) : | ||
| ∃ p : Polynomial A, (p.map h).eval x = y := by |
There was a problem hiding this comment.
I think normally, instead of having {h : A →+* R}, you would add a [Algebra A R] assumption and remove h. Then you can also remove B and have hy : y ∈ Algebra.adjoin A {x}. And actually, after you make these changes, it becomes identical to the existing lemma Algebra.adjoin_mem_exists_aeval.
In this pull request, I have mainly proved the two results:
Ris a commutative ring,xis an element ofR, andAis a subring ofR. Ifyis an element of the subring ofRgenerated byAandx, then there exists a univariate polynomialpwith coefficents inAsuch thatp(x)=y.Ris a commutative ring,Sis a subset ofR, andAis a subring ofR. Ifris an element of the subring ofRgenerated byAandS, then there exists a multivariate polynomialpwith coefficents inAsuch thatp(S)=r.