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.GraphPower.BasisGeometricCompleteness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphPower.SectionsProjective |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.SpectrumLineBundleFrames |
| 5 | import Mathlib.RingTheory.LocalRing.Module |
| 6 | |
| 7 | /-! # Framed Graph Sections -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! On a local noetherian affine base, the complete basis and all |
| 14 | torsion fiber frames required for section detection exist. The basis |
| 15 | comes from the proved finite projectivity of positive graph sections. -/ |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | universe u |
| 18 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 19 | variable [IsNoetherianRing Γ(Spec (.of R), ⊤)] |
| 20 | variable {g N n : ℕ} {δ : Fin g → ℕ} |
| 21 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 22 | |
| 23 | theorem PolarizationData.PolarizedAbelianWithFullLevel.local_exists_completeFramedEvenGraphSections |
| 24 | (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 25 | (level : A.abelian.FullLevel n) (t : ℕ) (ht : 0 < t) : |
| 26 | Nonempty (A.CompleteFramedEvenGraphSections level t) := by |
| 27 | let C := Γ(Spec (.of R), ⊤) |
| 28 | let e := (Scheme.ΓSpecIso (.of R)).commRingCatIsoToRingEquiv |
| 29 | have : Nontrivial C := ⟨⟨e.symm 0, e.symm 1, e.symm.injective.ne zero_ne_one⟩⟩ |
| 30 | have : IsLocalRing C := IsLocalRing.of_surjective' e.symm.toRingHom e.symm.surjective |
| 31 | let L := A.graphBundle.tensorPower (2 * t) |
| 32 | let V := (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor A.abelian.scheme.hom.appTop.hom).obj L.sheaf |
| 33 | obtain ⟨hf, hp⟩ := A.graphBundle_positivePower_sections_finite_projective hN hunit |
| 34 | (2 * t) (Nat.mul_pos (by decide) ht) |
| 35 | have : Module.Finite C V := hf |
| 36 | have : Module.Projective C V := hp |
| 37 | have : Module.Free C V := Module.free_of_flat_of_isLocalRing |
| 38 | let b := Module.finBasis C V |
| 39 | refine ⟨{ |
| 40 | rank := Module.finrank C V |
| 41 | basis := Affine.CoefficientSectionBasis.affineCoefficientSectionBasis A.abelian.scheme.hom L.sheaf b |
| 42 | geometricComplete := ?_ |
| 43 | frames := fun c => Local.SpectrumLineBundleFrames.localSpectrumLineBundleIso |
| 44 | (L.pullback (A.abelian.fullLevelGlobalSection level c)) }⟩ |
| 45 | rw [Affine.CoefficientSectionBasis.affineCoefficientSectionBasis_family] |
| 46 | exact A.graphPower_coefficientBasis_geometricComplete hN hunit |
| 47 | (2 * t) (Nat.mul_pos (by decide) ht) b |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |