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.Affine.EmbeddedTorsionDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisEvaluationRetraction |
| 3 | |
| 4 | /-! # Even Graph Evaluation Retraction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The high-torsion evaluation map has an actual linear retraction |
| 11 | on a complete framed affine chart. This is the splitting needed for |
| 12 | the cokernel flatness of polynomial evaluation. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped Classical |
| 15 | universe u |
| 16 | variable {R : Type u} [CommRing R] {g N n : ℕ} {δ : Fin g → ℕ} [NeZero n] |
| 17 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 18 | |
| 19 | theorem PolarizationData.PolarizedAbelianWithFullLevel.completeFramedEvenGraphEvaluation_leftInverse |
| 20 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) |
| 21 | (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 22 | (level : A.abelian.FullLevel n) (t : ℕ) (ht : 0 < t) |
| 23 | (htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t) (hlarge : EvenGraphTorsionBound.evenGraphTorsionDegree g δ t < n ^ 2) |
| 24 | (B : A.CompleteFramedEvenGraphSections level t) : |
| 25 | ∃ q : (Multiplicative (Fin (2 * g) → ZMod n) → R) →ₗ[R] |
| 26 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj (A.graphBundle.tensorPower (2 * t)).sheaf, |
| 27 | q.comp (A.fullLevelAffineEvenGraphEvaluation level t B.frames) = LinearMap.id := by |
| 28 | let s := Coefficient.RingSectionBasis.coefficientRingBasisFamily (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) |
| 29 | (A.graphBundle.tensorPower (2 * t)).sheaf B.basis |
| 30 | obtain ⟨Q, hQ⟩ := A.evenGraphFamilyEvaluationMatrix_leftInverse hg hδ hN hunit |
| 31 | level t ht htlarge hlarge s B.geometricComplete B.frames |
| 32 | have heq : Affine.GeometricMatrixSplitting.affineCoordinateMatrix (A.evenGraphFamilyEvaluationMatrix level t s B.frames) = |
| 33 | BasisEvaluationMatrices.basisEvaluationMatrix B.basis (A.fullLevelAffineEvenGraphEvaluation level t B.frames) := rfl |
| 34 | rw [heq] at hQ |
| 35 | exact BasisEvaluationRetraction.linearEvaluation_leftInverse_of_basisMatrix B.basis _ Q hQ |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |