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.Configuration.FrameRankInvariance |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.OrbitPointEquivalence |
| 3 | |
| 4 | /-! # Polynomial Rank Invariance -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.PolynomialRankInvariance |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The polynomial flat-rank condition is well defined on the |
| 11 | balanced chart's actual configuration orbits. Equal chart evaluation |
| 12 | maps give the same rank condition over arbitrary coefficient rings. -/ |
| 13 | open scoped Classical |
| 14 | universe u |
| 15 | variable {A : Type u} [CommRing A] {n m : ℕ} |
| 16 | |
| 17 | def ConfigurationPolynomialFlatRank (w : Fin m → Fin (n + 1) → A) (D k : ℕ) : Prop := |
| 18 | Module.Flat A ((Fin m → A) ⧸ (Matrix.toLin' (Configuration.MonomialMatrix.configurationMonomialMatrix w D)).range) ∧ |
| 19 | ∀ p : PrimeSpectrum A, Module.rankAtStalk (R := A) |
| 20 | ((Fin m → A) ⧸ (Matrix.toLin' (Configuration.MonomialMatrix.configurationMonomialMatrix w D)).range) p + k = m |
| 21 | |
| 22 | theorem configurationPolynomialFlatRank_of_frameOrbit |
| 23 | (v w : Fin m → Fin (n + 1) → A) |
| 24 | (T : (Fin (n + 1) → A) ≃ₗ[A] (Fin (n + 1) → A)) (s : Fin m → Aˣ) |
| 25 | (h : ∀ z, w z = (s z : A) • T (v z)) (D k : ℕ) : |
| 26 | ConfigurationPolynomialFlatRank w D k ↔ ConfigurationPolynomialFlatRank v D k := by |
| 27 | have hw : w = fun z j => (s z : A) * T (v z) j := |
| 28 | funext (fun z => funext (fun j => congrFun (h z) j)) |
| 29 | rw [hw] |
| 30 | exact Configuration.FrameRankInvariance.configurationMonomialMatrix_flatRank_frameChange_iff v D T s k m |
| 31 | |
| 32 | variable {R : Type u} [CommRing R] [Algebra R A] |
| 33 | |
| 34 | theorem balancedChart_equal_evaluation_polynomialFlatRank |
| 35 | (i : Fin m) (σ : Fin (n + 1) → Fin m) (e : Fin m) (c : Fin m → Fin (n + 1)) |
| 36 | (a : (Fin (n + 1) → Fin m) → ℕ) (C : Fin m → (Fin (n + 1) → Fin m) → ℕ) |
| 37 | (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 38 | (hC : ∀ z, C z + Frame.CoordinateExponents.frameCoordinateExponent σ e z (c z) = a) |
| 39 | (hframe : Frame.ChartDenominators.frameDiscriminantExponent σ e ≤ a) |
| 40 | (v w : Fin m → Fin (n + 1) → A) |
| 41 | (hv : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) a)) |
| 42 | (hw : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ w) a)) |
| 43 | (heval : Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i v a ha hv = |
| 44 | Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i w a ha hw) (D k : ℕ) : |
| 45 | ConfigurationPolynomialFlatRank w D k ↔ ConfigurationPolynomialFlatRank v D k := by |
| 46 | obtain ⟨T, s, hs⟩ := FiberOrbits.balancedChart_equal_evaluation_implies_same_orbit |
| 47 | i σ e c a C ha hC hframe v w hv hw heval |
| 48 | exact configurationPolynomialFlatRank_of_frameOrbit v w T s hs D k |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.PolynomialRankInvariance |