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.FamilyEvaluationData |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.SectionEvaluationData |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.FramedEvaluationComparison |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.SectionBundleTransport |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.CoefficientSectionBasis |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.SectionFiberCriterion |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionIsomorphismCriteria |
| 8 | |
| 9 | /-! # Evaluation Basis Coverage -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.EvaluationBasisCoverage.PolarizedAbelianWithLevel |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! An actual geometrically complete family of sections evaluates on |
| 16 | each geometric fiber as a complete field basis, up to the units coming |
| 17 | from its chosen marked-fiber frames. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | open scoped Classical |
| 21 | universe u |
| 22 | |
| 23 | private theorem geometricallyComplete_id_fiber |
| 24 | {S X : Scheme.{u}} (f : X ⟶ S) (M : X.Modules) {r : ℕ} |
| 25 | (s : Fin r → (Line.Bundles.structureModule X ⟶ M)) |
| 26 | (hs : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily f M s (𝟙 S)) |
| 27 | (K : Type u) [Field K] (q : Spec (.of K) ⟶ S) : |
| 28 | Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination |
| 29 | (pullback.snd f q).appTop.hom |
| 30 | ((Scheme.Modules.pullback (pullback.fst f q)).obj M) |
| 31 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst f q) (s i))) := by |
| 32 | have h := hs K q |
| 33 | change Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination |
| 34 | (pullback.snd f (q ≫ 𝟙 S)).appTop.hom |
| 35 | ((Scheme.Modules.pullback (pullback.fst f (q ≫ 𝟙 S))).obj M) |
| 36 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst f (q ≫ 𝟙 S)) (s i))) at h |
| 37 | rw [Category.comp_id] at h |
| 38 | exact h |
| 39 | |
| 40 | variable {S : Scheme.{u}} {g N n : ℕ} {δ : Fin g → ℕ} [NeZero n] |
| 41 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 42 | |
| 43 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.fullLevelFamilyEvaluationMatrix_geometric_basis |
| 44 | (level : A.abelian.FullLevel n) |
| 45 | (s : Fin (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ) → |
| 46 | (Line.Bundles.structureModule A.abelian.scheme.left ⟶ A.uniformFrameLineBundle.sheaf)) |
| 47 | (hs : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily A.abelian.scheme.hom A.uniformFrameLineBundle.sheaf s (𝟙 S)) |
| 48 | (e : ∀ i : Fin (n ^ (2 * g)), |
| 49 | (A.uniformFrameLineBundle.pullback (A.fullLevelSectionAtIndex level i)).sheaf ≅ Line.Bundles.structureModule S) |
| 50 | (K : Type u) [Field K] [IsAlgClosed K] (q : Spec (.of K) ⟶ S) : |
| 51 | ∃ b : Module.Basis (Fin (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ)) K |
| 52 | ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor (A.pullback q).abelian.scheme.hom).obj |
| 53 | (A.pullback q).uniformFrameLineBundle.sheaf), |
| 54 | ∃ z : Fin (n ^ (2 * g)) → Kˣ, |
| 55 | (fun i k => Geometric.FrameOpenCover.fieldPointGlobalScalarMap q (A.fullLevelFamilyEvaluationMatrix level s e i k)) = |
| 56 | (fun i => (z i : K) • (fun k => |
| 57 | (A.pullback q).fullLevelSectionEvaluation (level.pullback q) |
| 58 | (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration i) (b k))) := by |
| 59 | let B := A.pullback q |
| 60 | let π := pullback.fst A.abelian.scheme.hom q |
| 61 | let L := A.uniformFrameLineBundle |
| 62 | let d := Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ |
| 63 | let H : (L.pullback π).sheaf ≅ B.uniformFrameLineBundle.sheaf := |
| 64 | A.graphBundle.powerBaseChangeIso π d ≪≫ |
| 65 | (TensorPower.Maps.tensorPowerFunctor B.abelian.scheme.left d).mapIso (A.graphBundle_baseChangeIso q).symm |
| 66 | let t := fun k => Ample.LineBundles.pullbackSection π (s k) ≫ H.hom |
| 67 | have hq : Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination B.abelian.scheme.hom.appTop.hom |
| 68 | (L.pullback π).sheaf (fun k => Ample.LineBundles.pullbackSection π (s k))) := by |
| 69 | exact geometricallyComplete_id_fiber A.abelian.scheme.hom L.sheaf s hs K q |
| 70 | have ht : Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination B.abelian.scheme.hom.appTop.hom |
| 71 | B.uniformFrameLineBundle.sheaf t) := by |
| 72 | exact (Coefficient.SectionIsomorphismCriteria.coefficientSections_bijective_bundleIso_iff B.abelian.scheme.hom.appTop.hom |
| 73 | H (fun k => Ample.LineBundles.pullbackSection π (s k))).mpr hq |
| 74 | obtain ⟨b, hb⟩ := HilbertConstruction.Field.CoefficientSectionBasis.field_completeSectionFamily_has_basis B.abelian.scheme.hom |
| 75 | B.uniformFrameLineBundle.sheaf t ht |
| 76 | let x := A.fullLevelSectionAtIndex level |
| 77 | let y := B.fullLevelSectionAtIndex (level.pullback q) |
| 78 | have hy (i : Fin (n ^ (2 * g))) : y i ≫ π = q ≫ x i := |
| 79 | A.abelian.fullLevelGlobalSection_pullback level q (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration i) |
| 80 | let e₀ := fun i => Family.FramedEvaluationBaseChange.familySectionFrameBaseChange L q π (x i) (y i) (hy i) (e i) |
| 81 | let e₁ := fun i => Framed.SectionBundleTransport.transportedSectionFrame (y i) H (e₀ i) |
| 82 | choose z hz using fun i : Fin (n ^ (2 * g)) => |
| 83 | HilbertConstruction.Field.FramedEvaluationComparison.fieldFramedSectionValue_eq_unit_mul B.uniformFrameLineBundle (y i) (e₁ i) |
| 84 | have heq (i : Fin (n ^ (2 * g))) (k : Fin (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ)) : |
| 85 | Geometric.FrameOpenCover.fieldPointGlobalScalarMap q (A.fullLevelFamilyEvaluationMatrix level s e i k) = |
| 86 | (z i : K) * B.fullLevelSectionEvaluation (level.pullback q) (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration i) (b k) := by |
| 87 | have hc : B.fullLevelSectionEvaluation (level.pullback q) (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration i) (b k) = |
| 88 | Rational.LineBundleEvaluation.rationalLineBundleSectionValue B.uniformFrameLineBundle (y i) (t k) := by |
| 89 | change Rational.LineBundleEvaluation.rationalLineBundleSectionValue B.uniformFrameLineBundle (y i) |
| 90 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap B.abelian.scheme.hom) |
| 91 | B.uniformFrameLineBundle.sheaf).symm (b k)) = _ |
| 92 | exact congrArg (Rational.LineBundleEvaluation.rationalLineBundleSectionValue B.uniformFrameLineBundle (y i)) (congrFun hb k) |
| 93 | rw [hc] |
| 94 | calc |
| 95 | _ = Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K))) |
| 96 | (q.appTop (Family.FramedSectionEvaluation.familyFramedSectionValue L (x i) (e i) (s k))) := by |
| 97 | simp only [Geometric.FrameOpenCover.fieldPointGlobalScalarMap, Scheme.Hom.id_appTop, RingHom.comp_apply] |
| 98 | rfl |
| 99 | _ = Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K))) |
| 100 | (Family.FramedSectionEvaluation.familyFramedSectionValue (L.pullback π) (y i) (e₀ i) (Ample.LineBundles.pullbackSection π (s k))) := |
| 101 | congrArg (Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K)))) |
| 102 | (Family.FramedEvaluationBaseChange.familyFramedSectionValue_baseChange L q π (x i) (y i) (hy i) (e i) (s k)).symm |
| 103 | _ = Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K))) |
| 104 | (Family.FramedSectionEvaluation.familyFramedSectionValue B.uniformFrameLineBundle (y i) (e₁ i) (t k)) := |
| 105 | congrArg (Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K)))) |
| 106 | (Framed.SectionBundleTransport.familyFramedSectionValue_bundleIso (y i) H (e₀ i) (Ample.LineBundles.pullbackSection π (s k))).symm |
| 107 | _ = _ := hz i (t k) |
| 108 | have hfun : (fun i k => Geometric.FrameOpenCover.fieldPointGlobalScalarMap q |
| 109 | (A.fullLevelFamilyEvaluationMatrix level s e i k)) = |
| 110 | (fun i => (z i : K) • (fun k => B.fullLevelSectionEvaluation (level.pullback q) |
| 111 | (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration i) (b k))) := by |
| 112 | funext i k |
| 113 | exact heq i k |
| 114 | exact ⟨b, z, hfun⟩ |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.EvaluationBasisCoverage.PolarizedAbelianWithLevel |