import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.ChartNormalizedRankPoints import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.IntersectionAlgebraMaps import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.BalancedChartIntersections /-! # Polynomial Rank Left -/ namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableIntersection.PolynomialRankLeft noncomputable section /-! On the actual product-denominator chart, the two normalized coordinate configurations have the same polynomial flat-rank condition. This comparison holds on every coefficient-algebra point and uses the actual intersection restriction maps. -/ open scoped Classical universe u set_option backward.isDefEq.respectTransparency false set_option backward.isDefEq.respectTransparency.types false variable (R : Type u) [CommRing R] {A : Type u} [CommRing A] [Algebra R A] variable {n m : ℕ} (i : Fin m) (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) variable (ρ : Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i (j.intersection k).exponent (j.intersection k).balanced →ₐ[R] A) theorem stableChartIntersection_polynomialRank_left (D q : ℕ) : BalancedChart.PolynomialRankInvariance.ConfigurationPolynomialFlatRank (Stable.ChartNormalizedRankPoints.stableChartNormalizedPointVectors R i j (ρ.comp (Balanced.IntersectionAlgebraMaps.balancedChartIntersectionLeftAlg R i j.exponent k.exponent j.balanced k.balanced))) D q ↔ BalancedChart.PolynomialRankInvariance.ConfigurationPolynomialFlatRank (Stable.ChartNormalizedRankPoints.stableChartNormalizedPointVectors R i (j.intersection k) ρ) D q := by let v := Stable.ChartNormalizedRankPoints.stableChartNormalizedPointVectors R i (j.intersection k) ρ have hv : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) (j.exponent + k.exponent)) := Stable.ChartNormalizedRankPoints.stableChartNormalizedPoint_denominatorUnit R i (j.intersection k) ρ have hvprod := hv rw [Balanced.MonomialAlgebra.exponentMonomial_add] at hvprod have hvj : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) j.exponent) := (IsUnit.mul_iff.mp hvprod).1 have he : Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i v (j.exponent + k.exponent) ((Balanced.ExponentFiniteGeneration.balancedExponentMonoid _).add_mem j.balanced k.balanced) hv = ρ.toRingHom := Stable.ChartNormalizedRankPoints.stableChartNormalizedPoint_evaluation R i (j.intersection k) ρ have hej : Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i v j.exponent j.balanced hvj = (ρ.comp (Balanced.IntersectionAlgebraMaps.balancedChartIntersectionLeftAlg R i j.exponent k.exponent j.balanced k.balanced)).toRingHom := by rw [← BalancedChart.IntersectionMaps.balancedConfigurationChartEvaluation_intersection_left R i j.exponent k.exponent j.balanced k.balanced v hvj hv, he] rfl exact Stable.ChartNormalizedRankPoints.stableChartNormalizedPoint_rank_iff R i j _ v hvj hej D q end end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableIntersection.PolynomialRankLeft