Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameChartCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ChartCrossMultiplication |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.MonomialFractions |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonomialExponentExtension |
| 5 | |
| 6 | /-! # Ambient Frame -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.AmbientFrame |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! In the ambient localization the balanced coordinates are the |
| 13 | normalized point coordinates. The frame and chosen coordinates are units. -/ |
| 14 | open scoped BigOperators Classical |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable (R : Type u) [CommRing R] {r m : ℕ} |
| 19 | |
| 20 | abbrev balancedChartAmbientRing (a : (Fin r → Fin m) → ℕ) := |
| 21 | Localization.Away (Balanced.MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) a) |
| 22 | |
| 23 | def balancedChartAmbientVectors (a : (Fin r → Fin m) → ℕ) : |
| 24 | Fin m → Fin r → balancedChartAmbientRing R a := |
| 25 | fun i j => algebraMap (MvPolynomial (Fin m × Fin r) R) (balancedChartAmbientRing R a) |
| 26 | (MvPolynomial.X (i, j)) |
| 27 | |
| 28 | theorem balancedChartAmbientVectors_monomial (a b : (Fin r → Fin m) → ℕ) : |
| 29 | Balanced.MonomialAlgebra.exponentMonomial (fun σ => LabeledDeterminantPolynomials.labeledDeterminant σ (balancedChartAmbientVectors R a)) b = |
| 30 | algebraMap (MvPolynomial (Fin m × Fin r) R) (balancedChartAmbientRing R a) |
| 31 | (Balanced.MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) b) := by |
| 32 | rw [MonomialExponentExtension.exponentMonomial_map] |
| 33 | congr 1 |
| 34 | funext σ |
| 35 | exact (LabeledDeterminantPolynomials.labeledDeterminant_map |
| 36 | (algebraMap (MvPolynomial (Fin m × Fin r) R) (balancedChartAmbientRing R a)) |
| 37 | σ (fun i j => MvPolynomial.X (i, j))).symm |
| 38 | |
| 39 | theorem balancedChartAmbientVectors_denominator_isUnit (a : (Fin r → Fin m) → ℕ) : |
| 40 | IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun σ => LabeledDeterminantPolynomials.labeledDeterminant σ (balancedChartAmbientVectors R a)) a) := by |
| 41 | rw [balancedChartAmbientVectors_monomial] |
| 42 | exact IsLocalization.Away.algebraMap_isUnit _ |
| 43 | |
| 44 | theorem balancedChartAmbientVectors_frame_isUnit (σ : Fin r → Fin m) (e : Fin m) |
| 45 | (a : (Fin r → Fin m) → ℕ) (h : Frame.ChartDenominators.frameDiscriminantExponent σ e ≤ a) : |
| 46 | IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant (Pi.basisFun (balancedChartAmbientRing R a) (Fin r)) |
| 47 | (fun j => balancedChartAmbientVectors R a (σ j)) (balancedChartAmbientVectors R a e)) := by |
| 48 | rw [← Frame.ChartDenominators.frameDiscriminantExponent_monomial] |
| 49 | exact Unit.MonomialFractions.exponentMonomial_isUnit_of_le _ h (balancedChartAmbientVectors_denominator_isUnit R a) |
| 50 | |
| 51 | theorem balancedChartAmbientVectors_coordinate_isUnit (σ : Fin r → Fin m) (e z : Fin m) (c : Fin r) |
| 52 | (a : (Fin r → Fin m) → ℕ) (h : Frame.CoordinateExponents.frameCoordinateExponent σ e z c ≤ a) : |
| 53 | IsUnit (DeterminantFrameLinearMap.determinantFrameLinearMap (Pi.basisFun (balancedChartAmbientRing R a) (Fin r)) |
| 54 | (fun j => balancedChartAmbientVectors R a (σ j)) (balancedChartAmbientVectors R a e) |
| 55 | (balancedChartAmbientVectors R a z) c) := by |
| 56 | rw [← Frame.CoordinateMonomials.frameCoordinateExponent_linearMap] |
| 57 | exact Unit.MonomialFractions.exponentMonomial_isUnit_of_le _ h (balancedChartAmbientVectors_denominator_isUnit R a) |
| 58 | |
| 59 | theorem balancedFrameChartCoordinate_ambient_crossMultiply |
| 60 | (i : Fin m) (σ : Fin r → Fin m) (e z : Fin m) (c k : Fin r) |
| 61 | (a C : (Fin r → Fin m) → ℕ) (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 62 | (hC : C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c = a) : |
| 63 | (show balancedChartAmbientRing R a from |
| 64 | Homogeneous.SubalgebraChartEmbedding.homogeneousSubalgebraChartEmbedding (Balanced.DeterminantAlgebra.balancedDeterminantAlgebra R r m) |
| 65 | (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i) (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha) |
| 66 | (Balanced.FrameChartCoordinates.balancedFrameChartCoordinate R i σ e z c k a C ha hC)) * |
| 67 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (balancedChartAmbientVectors R a)) |
| 68 | (Frame.CoordinateExponents.frameCoordinateExponent σ e z c) = |
| 69 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (balancedChartAmbientVectors R a)) |
| 70 | (Frame.CoordinateExponents.frameCoordinateExponent σ e z k) := by |
| 71 | rw [balancedChartAmbientVectors_monomial, balancedChartAmbientVectors_monomial] |
| 72 | exact Homogeneous.ChartCrossMultiplication.homogeneousSubalgebraChartEmbedding_crossMultiply (Balanced.DeterminantAlgebra.balancedDeterminantAlgebra R r m) |
| 73 | (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i) (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha) |
| 74 | (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement_mem_grading R a ha i) |
| 75 | (Balanced.FrameCoordinatePolynomials.balancedFrameCoordinateNumerator R σ e z c k a C ha hC) |
| 76 | (Balanced.FrameCoordinatePolynomials.balancedFrameCoordinateNumerator_mem_grading R σ e z c k a C ha hC i) _ _ |
| 77 | (Balanced.FrameCoordinatePolynomials.balancedFrameCoordinateNumerator_crossMultiply R σ e z c k a C ha hC) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.AmbientFrame |