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.BalancedChart.FiberOrbits |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.HomogeneousTransformations |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ChartEvaluationEquality |
| 4 | |
| 5 | /-! # Orbit Invariance -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.OrbitInvariance |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ring points of the balanced frame chart are constant on the orbits |
| 12 | of invertible coordinate transformations and independent unit scalings. -/ |
| 13 | open scoped BigOperators Classical |
| 14 | universe u v |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {R : Type u} [CommRing R] {A : Type v} [CommRing A] [Algebra R A] {r m : ℕ} |
| 18 | |
| 19 | theorem balancedConfigurationChartEvaluation_invariant (hr : 0 < r) |
| 20 | (i : Fin m) (v w : Fin m → Fin r → A) |
| 21 | (a : (Fin r → Fin m) → ℕ) (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 22 | (hv : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) a)) |
| 23 | (hw : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ w) a)) |
| 24 | (T : (Fin r → A) ≃ₗ[A] (Fin r → A)) (s : Fin m → Aˣ) |
| 25 | (h : ∀ z, w z = (s z : A) • T (v z)) : |
| 26 | Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i v a ha hv = |
| 27 | Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i w a ha hw := by |
| 28 | apply Homogeneous.ChartEvaluationEquality.homogeneousAwayEvaluation_eq_of_cross (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i) |
| 29 | (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha) |
| 30 | (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement_mem_grading R a ha i) |
| 31 | (Balanced.ConfigurationChartEvaluation.balancedConfigurationPolynomialEvaluation (R := R) v).toRingHom |
| 32 | (Balanced.ConfigurationChartEvaluation.balancedConfigurationPolynomialEvaluation (R := R) w).toRingHom |
| 33 | ((Balanced.ConfigurationChartEvaluation.balancedConfigurationPolynomialEvaluation_denominator (R := R) v a ha).symm ▸ hv) |
| 34 | ((Balanced.ConfigurationChartEvaluation.balancedConfigurationPolynomialEvaluation_denominator (R := R) w a ha).symm ▸ hw) |
| 35 | intro k p hp |
| 36 | have hka : k • a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight := |
| 37 | (Balanced.ExponentFiniteGeneration.balancedExponentMonoid _).nsmul_mem ha k |
| 38 | have hp' : p.val ∈ Balanced.MonomialSpan.balancedMonomialDegreeSpan (R := R) (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) |
| 39 | DeterminantBlockDegrees.labeledDeterminantWeight i (Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (k • a) i) := by |
| 40 | rw [Balanced.ExponentCompletion.monomialMultiDegree_nsmul] |
| 41 | exact hp |
| 42 | have hq : Balanced.MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (k • a) ∈ |
| 43 | Balanced.MonomialSpan.balancedMonomialDegreeSpan (R := R) (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) DeterminantBlockDegrees.labeledDeterminantWeight i |
| 44 | (Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (k • a) i) := |
| 45 | Submodule.subset_span ⟨k • a, ⟨hka, rfl⟩, rfl⟩ |
| 46 | have hc := Balanced.HomogeneousTransformations.balancedHomogeneousPolynomial_cross_invariant hr v T.toLinearMap (fun z => (s z : A)) |
| 47 | (k • a) hka i p.val (Balanced.MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (k • a)) hp' hq |
| 48 | have he : (fun jk : Fin m × Fin r => (s jk.1 : A) * T.toLinearMap (v jk.1) jk.2) = |
| 49 | (fun jk : Fin m × Fin r => w jk.1 jk.2) := by |
| 50 | funext jk |
| 51 | exact (congrFun (h jk.1) jk.2).symm |
| 52 | rw [he, NonvanishingMonomialCompletion.exponentMonomial_nsmul, map_pow, map_pow] at hc |
| 53 | exact (mul_comm _ _).trans hc.symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.OrbitInvariance |