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.EvenGraphEvaluationSplitting |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FramedSectionEvaluation |
| 3 | |
| 4 | /-! # Torsion Section Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A geometrically complete basis and sufficiently high auxiliary |
| 11 | level detect actual global graph-power sections over any affine ring. |
| 12 | The conclusion is an equality of sections over the original ring. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped 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] {g N n r : ℕ} {δ : Fin g → ℕ} [NeZero n] |
| 19 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 20 | |
| 21 | def PolarizationData.PolarizedAbelianWithFullLevel.fullLevelAffineEvenGraphEvaluation (level : A.abelian.FullLevel n) (t : ℕ) |
| 22 | (e : ∀ c : Multiplicative (Fin (2 * g) → ZMod n), |
| 23 | ((A.graphBundle.tensorPower (2 * t)).pullback (A.abelian.fullLevelGlobalSection level c)).sheaf ≅ |
| 24 | Line.Bundles.structureModule (Spec (.of R))) : |
| 25 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj (A.graphBundle.tensorPower (2 * t)).sheaf →ₗ[R] |
| 26 | (Multiplicative (Fin (2 * g) → ZMod n) → R) := |
| 27 | LinearMap.pi (fun c => Affine.FramedSectionEvaluation.affineFramedSectionEvaluation A.abelian.scheme.hom |
| 28 | (A.graphBundle.tensorPower (2 * t)) (A.abelian.fullLevelGlobalSection level c) |
| 29 | (A.abelian.fullLevelGlobalSection_comp level c) (e c)) |
| 30 | |
| 31 | theorem PolarizationData.PolarizedAbelianWithFullLevel.fullLevelAffineEvenGraphEvaluation_injective |
| 32 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) |
| 33 | (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 34 | (level : A.abelian.FullLevel n) (t : ℕ) (ht : 0 < t) |
| 35 | (htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t) |
| 36 | (hlarge : EvenGraphTorsionBound.evenGraphTorsionDegree g δ t < n ^ 2) |
| 37 | (b : Module.Basis (Fin r) R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 38 | (A.graphBundle.tensorPower (2 * t)).sheaf)) |
| 39 | (hs : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily A.abelian.scheme.hom |
| 40 | (A.graphBundle.tensorPower (2 * t)).sheaf |
| 41 | (Coefficient.RingSectionBasis.coefficientRingBasisFamily (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) |
| 42 | (A.graphBundle.tensorPower (2 * t)).sheaf b) (𝟙 (Spec (.of R)))) |
| 43 | (e : ∀ c : Multiplicative (Fin (2 * g) → ZMod n), |
| 44 | ((A.graphBundle.tensorPower (2 * t)).pullback (A.abelian.fullLevelGlobalSection level c)).sheaf ≅ |
| 45 | Line.Bundles.structureModule (Spec (.of R))) : |
| 46 | Function.Injective (A.fullLevelAffineEvenGraphEvaluation level t e) := by |
| 47 | let s := Coefficient.RingSectionBasis.coefficientRingBasisFamily (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) |
| 48 | (A.graphBundle.tensorPower (2 * t)).sheaf b |
| 49 | let ev := A.fullLevelAffineEvenGraphEvaluation level t e |
| 50 | have heq : Affine.GeometricMatrixSplitting.affineCoordinateMatrix (A.evenGraphFamilyEvaluationMatrix level t s e) = |
| 51 | BasisEvaluationMatrices.basisEvaluationMatrix b ev := rfl |
| 52 | have hM := A.evenGraphFamilyEvaluationMatrix_injective_all_baseChanges hg hδ hN hunit |
| 53 | level t ht htlarge hlarge s hs e (RingHom.id R) |
| 54 | change Function.Injective (Matrix.toLin' |
| 55 | (Affine.GeometricMatrixSplitting.affineCoordinateMatrix (A.evenGraphFamilyEvaluationMatrix level t s e))) at hM |
| 56 | rw [heq, BasisEvaluationMatrices.basisEvaluationMatrix_linearMap] at hM |
| 57 | intro v w hvw |
| 58 | apply b.equivFun.injective |
| 59 | apply hM |
| 60 | simpa only [LinearMap.comp_apply, LinearEquiv.coe_coe, LinearEquiv.symm_apply_apply] using hvw |
| 61 | |
| 62 | theorem PolarizationData.PolarizedAbelianWithFullLevel.affineEvenGraphPower_section_eq_zero_of_framed_values |
| 63 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) |
| 64 | (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 65 | (level : A.abelian.FullLevel n) (t : ℕ) (ht : 0 < t) |
| 66 | (htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t) |
| 67 | (hlarge : EvenGraphTorsionBound.evenGraphTorsionDegree g δ t < n ^ 2) |
| 68 | (b : Module.Basis (Fin r) R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 69 | (A.graphBundle.tensorPower (2 * t)).sheaf)) |
| 70 | (hs : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily A.abelian.scheme.hom |
| 71 | (A.graphBundle.tensorPower (2 * t)).sheaf |
| 72 | (Coefficient.RingSectionBasis.coefficientRingBasisFamily (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) |
| 73 | (A.graphBundle.tensorPower (2 * t)).sheaf b) (𝟙 (Spec (.of R)))) |
| 74 | (e : ∀ c : Multiplicative (Fin (2 * g) → ZMod n), |
| 75 | ((A.graphBundle.tensorPower (2 * t)).pullback (A.abelian.fullLevelGlobalSection level c)).sheaf ≅ |
| 76 | Line.Bundles.structureModule (Spec (.of R))) |
| 77 | (a : Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower (2 * t)).sheaf) |
| 78 | (ha : ∀ c, Affine.FramedSectionEvaluation.affineFramedSectionValue (A.graphBundle.tensorPower (2 * t)) |
| 79 | (A.abelian.fullLevelGlobalSection level c) (e c) a = 0) : a = 0 := by |
| 80 | let E := Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) |
| 81 | (A.graphBundle.tensorPower (2 * t)).sheaf |
| 82 | apply E.injective |
| 83 | apply A.fullLevelAffineEvenGraphEvaluation_injective hg hδ hN hunit |
| 84 | level t ht htlarge hlarge b hs e |
| 85 | rw [map_zero, map_zero] |
| 86 | funext c |
| 87 | exact (Affine.FramedSectionEvaluation.affineFramedSectionEvaluation_section A.abelian.scheme.hom |
| 88 | (A.graphBundle.tensorPower (2 * t)) (A.abelian.fullLevelGlobalSection level c) |
| 89 | (A.abelian.fullLevelGlobalSection_comp level c) (e c) a).trans (ha c) |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |