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.Level.BasisCoordinateFrames |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.SparseCoverage |
| 3 | |
| 4 | /-! # Field Evaluation Coverage -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The vectors obtained from the actual torsion evaluations satisfy the |
| 11 | strict subspace inequalities used by the stable balanced frame charts. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped Classical |
| 15 | universe u |
| 16 | variable {K : Type u} [Field K] [IsAlgClosed K] {g N n : ℕ} {δ : Fin g → ℕ} [NeZero n] |
| 17 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 18 | |
| 19 | omit [IsAlgClosed K] [NeZero n] in |
| 20 | theorem PolarizationData.PolarizedAbelianWithFullLevel.fullLevelSectionEvaluation_ne_zero |
| 21 | (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) |
| 22 | (level : A.abelian.FullLevel n) (i : Multiplicative (Fin (2 * g) → ZMod n)) : |
| 23 | A.fullLevelSectionEvaluation level i ≠ 0 := by |
| 24 | let L := A.graphBundle.tensorPower (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) |
| 25 | let x := ((A.abelian.fullLevelRationalTorsionEquiv level).symm i).val |
| 26 | obtain ⟨s, hs⟩ := A.uniformGraphPower_pointwise_sections hδ hN hNk |
| 27 | (x.left (IsLocalRing.closedPoint K)) |
| 28 | let v := Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) L.sheaf s |
| 29 | intro h |
| 30 | have hz : A.fullLevelSectionEvaluation level i v = 0 := by rw [h]; rfl |
| 31 | have he := (Rational.LineBundleEvaluation.rationalLineBundleEvaluation_eq_zero A.abelian.scheme.hom L x.left x.w v).mp hz |
| 32 | have hv : (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) |
| 33 | L.sheaf).symm v = s := AddEquiv.symm_apply_apply _ _ |
| 34 | rw [hv] at he |
| 35 | exact he hs |
| 36 | |
| 37 | theorem PolarizationData.PolarizedAbelianWithFullLevel.fullLevelSectionEvaluation_sparse |
| 38 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) |
| 39 | (level : A.abelian.FullLevel n) |
| 40 | (hlarge : Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ * Uniform.GraphIntersectionData.graphTorsionHyperplaneDegree g δ < n ^ 2) |
| 41 | (U : Submodule K (Module.Dual K |
| 42 | ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 43 | (A.graphBundle.tensorPower (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ)).sheaf))) |
| 44 | (hU : U ≠ ⊤) : |
| 45 | Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ * |
| 46 | (Finset.univ.filter (fun i => A.fullLevelSectionEvaluation level i ∈ U)).card < |
| 47 | Fintype.card (Multiplicative (Fin (2 * g) → ZMod n)) := by |
| 48 | let L := A.graphBundle.tensorPower (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) |
| 49 | let V := (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj L.sheaf |
| 50 | let : Module.Finite K V := |
| 51 | A.graphBundle_positivePower_sections_finite_overField (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) |
| 52 | have hr : Module.finrank K V = Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ := |
| 53 | A.graphBundle_positivePower_sections_finrank_normalized hg hN hNk |
| 54 | (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree_pos g δ hδ) |
| 55 | have hs : ∀ v : V, v ≠ 0 → Module.finrank K V * |
| 56 | (Finset.univ.filter (fun i => A.fullLevelSectionEvaluation level i v = 0)).card < |
| 57 | Fintype.card (Multiplicative (Fin (2 * g) → ZMod n)) := by |
| 58 | intro v hv |
| 59 | let a := (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) L.sheaf).symm v |
| 60 | have ha : a ≠ 0 := by |
| 61 | intro h |
| 62 | apply hv |
| 63 | exact (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv |
| 64 | (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) L.sheaf).symm.injective |
| 65 | (h.trans (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv |
| 66 | (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) L.sheaf).symm.map_zero.symm) |
| 67 | have h := A.uniformGraphPower_fullLevel_hyperplanes_sparse hg hδ hN hNk level hlarge a ha |
| 68 | have heq (i : Multiplicative (Fin (2 * g) → ZMod n)) : |
| 69 | A.fullLevelSectionEvaluation level i v = 0 ↔ |
| 70 | A.abelian.fullLevelGeometricPoint level i ∉ Ample.LineBundles.sectionNonvanishing a := |
| 71 | Rational.LineBundleEvaluation.rationalLineBundleEvaluation_eq_zero A.abelian.scheme.hom L |
| 72 | ((A.abelian.fullLevelRationalTorsionEquiv level).symm i).val.left |
| 73 | ((A.abelian.fullLevelRationalTorsionEquiv level).symm i).val.w v |
| 74 | simpa only [hr, heq, show Fintype.card (Multiplicative (Fin (2 * g) → ZMod n)) = |
| 75 | n ^ (2 * g) by simp] using h |
| 76 | have hsparse : Module.finrank K (Module.Dual K V) * |
| 77 | (Finset.univ.filter (fun i => A.fullLevelSectionEvaluation level i ∈ U)).card < |
| 78 | Fintype.card (Multiplicative (Fin (2 * g) → ZMod n)) := |
| 79 | SparseDualEvaluationFrames.dualEvaluation_family_sparse (A.fullLevelSectionEvaluation level) hs U hU |
| 80 | simpa only [Subspace.dual_finrank_eq, hr] using hsparse |
| 81 | |
| 82 | theorem PolarizationData.PolarizedAbelianWithFullLevel.fullLevelBasisCoordinates_enumerated_sparse |
| 83 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) |
| 84 | (level : A.abelian.FullLevel n) |
| 85 | (hlarge : Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ * Uniform.GraphIntersectionData.graphTorsionHyperplaneDegree g δ < n ^ 2) |
| 86 | (b : Module.Basis (Fin (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ)) K |
| 87 | ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 88 | (A.graphBundle.tensorPower (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ)).sheaf)) |
| 89 | (U : Submodule K (Fin (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ) → K)) (hU : U ≠ ⊤) : |
| 90 | Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ * (Finset.univ.filter |
| 91 | (fun i : Fin (n ^ (2 * g)) => |
| 92 | (fun k => A.fullLevelSectionEvaluation level (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration i) (b k)) ∈ U)).card < |
| 93 | n ^ (2 * g) := by |
| 94 | have hs := StableHilbert.SparseCoverage.StableHilbertCoverage.sparse_linearEquiv _ _ |
| 95 | (A.fullLevelSectionEvaluation_sparse hg hδ hN hNk level hlarge) b.dualBasis.equivFun |
| 96 | have he := StableHilbert.SparseCoverage.StableHilbertCoverage.sparse_reindex _ _ hs |
| 97 | (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration (g := g) (n := n)) U hU |
| 98 | have hcoords (z : Fin (n ^ (2 * g))) : |
| 99 | b.dualBasis.equivFun (A.fullLevelSectionEvaluation level (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration z)) = |
| 100 | fun k => A.fullLevelSectionEvaluation level (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration z) (b k) := by |
| 101 | funext k |
| 102 | exact b.dualBasis_equivFun _ k |
| 103 | simpa only [hcoords, Fintype.card_fin] using he |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |