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.FamilyEvaluationMatrix |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionSectionEvaluationInjection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisEvaluationMatrices |
| 4 | |
| 5 | /-! # Graph Family Evaluation Matrix -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphFamilyEvaluationMatrix.PolarizedAbelianWithLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Framed evaluation of a geometrically complete family of sections |
| 12 | of an even graph power is injective on every geometric fiber. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _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 | private theorem geometricallyComplete_id_fiber |
| 19 | {S X : Scheme.{u}} (f : X ⟶ S) (M : X.Modules) {r : ℕ} |
| 20 | (s : Fin r → (Line.Bundles.structureModule X ⟶ M)) |
| 21 | (hs : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily f M s (𝟙 S)) |
| 22 | (K : Type u) [Field K] (q : Spec (.of K) ⟶ S) : |
| 23 | Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination |
| 24 | (pullback.snd f q).appTop.hom |
| 25 | ((Scheme.Modules.pullback (pullback.fst f q)).obj M) |
| 26 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst f q) (s i))) := by |
| 27 | have h := hs K q |
| 28 | change Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination |
| 29 | (pullback.snd f (q ≫ 𝟙 S)).appTop.hom |
| 30 | ((Scheme.Modules.pullback (pullback.fst f (q ≫ 𝟙 S))).obj M) |
| 31 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst f (q ≫ 𝟙 S)) (s i))) at h |
| 32 | rw [Category.comp_id] at h |
| 33 | exact h |
| 34 | |
| 35 | variable {S : Scheme.{u}} {g N n : ℕ} {δ : Fin g → ℕ} [NeZero n] |
| 36 | variable {r : ℕ} |
| 37 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 38 | |
| 39 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.evenGraphFamilyEvaluationMatrix (level : A.abelian.FullLevel n) (t : ℕ) |
| 40 | (s : Fin r → (Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower (2 * t)).sheaf)) |
| 41 | (e : ∀ c : Multiplicative (Fin (2 * g) → ZMod n), |
| 42 | ((A.graphBundle.tensorPower (2 * t)).pullback (A.abelian.fullLevelGlobalSection level c)).sheaf ≅ |
| 43 | Line.Bundles.structureModule S) : Matrix (Multiplicative (Fin (2 * g) → ZMod n)) (Fin r) Γ(S, ⊤) := |
| 44 | fun c j => Family.FramedSectionEvaluation.familyFramedSectionValue (A.graphBundle.tensorPower (2 * t)) |
| 45 | (A.abelian.fullLevelGlobalSection level c) (e c) (s j) |
| 46 | |
| 47 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.evenGraphFamilyEvaluationMatrix_geometric_injective |
| 48 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) |
| 49 | (level : A.abelian.FullLevel n) (t : ℕ) (ht : 0 < t) |
| 50 | (htlarge : Graph.EmbeddingNumerics.graphSquareSectionRank g δ ≤ t) |
| 51 | (hlarge : EvenGraphTorsionBound.evenGraphTorsionDegree g δ t < n ^ 2) |
| 52 | (s : Fin r → (Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower (2 * t)).sheaf)) |
| 53 | (hs : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily A.abelian.scheme.hom |
| 54 | (A.graphBundle.tensorPower (2 * t)).sheaf s (𝟙 S)) |
| 55 | (e : ∀ c : Multiplicative (Fin (2 * g) → ZMod n), |
| 56 | ((A.graphBundle.tensorPower (2 * t)).pullback (A.abelian.fullLevelGlobalSection level c)).sheaf ≅ |
| 57 | Line.Bundles.structureModule S) |
| 58 | (K : Type u) [Field K] [IsAlgClosed K] (q : Spec (.of K) ⟶ S) : |
| 59 | Function.Injective (Matrix.toLin' ((A.evenGraphFamilyEvaluationMatrix level t s e).map |
| 60 | (Geometric.FrameOpenCover.fieldPointGlobalScalarMap q))) := by |
| 61 | let B := A.pullback q |
| 62 | let π := pullback.fst A.abelian.scheme.hom q |
| 63 | let L := A.graphBundle.tensorPower (2 * t) |
| 64 | let H : (L.pullback π).sheaf ≅ (B.graphBundle.tensorPower (2 * t)).sheaf := |
| 65 | A.graphBundle.powerBaseChangeIso π (2 * t) ≪≫ |
| 66 | (TensorPower.Maps.tensorPowerFunctor B.abelian.scheme.left (2 * t)).mapIso (A.graphBundle_baseChangeIso q).symm |
| 67 | let a := fun j => Ample.LineBundles.pullbackSection π (s j) ≫ H.hom |
| 68 | have hq : Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination B.abelian.scheme.hom.appTop.hom |
| 69 | (L.pullback π).sheaf (fun j => Ample.LineBundles.pullbackSection π (s j))) := by |
| 70 | exact geometricallyComplete_id_fiber A.abelian.scheme.hom L.sheaf s hs K q |
| 71 | have ha : Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination B.abelian.scheme.hom.appTop.hom |
| 72 | (B.graphBundle.tensorPower (2 * t)).sheaf a) := by |
| 73 | dsimp only [a] |
| 74 | erw [Coefficient.SectionBundleTransport.coefficientSectionLinearCombination_postcomp] |
| 75 | exact (Coefficient.SectionBundleTransport.coefficientBundleSectionEquiv B.abelian.scheme.hom.appTop.hom H).bijective.comp hq |
| 76 | obtain ⟨b, hb⟩ := HilbertConstruction.Field.CoefficientSectionBasis.field_completeSectionFamily_has_basis B.abelian.scheme.hom |
| 77 | (B.graphBundle.tensorPower (2 * t)).sheaf a ha |
| 78 | let x := A.abelian.fullLevelGlobalSection level |
| 79 | let y := B.abelian.fullLevelGlobalSection (level.pullback q) |
| 80 | have hy (c : Multiplicative (Fin (2 * g) → ZMod n)) : y c ≫ π = q ≫ x c := |
| 81 | A.abelian.fullLevelGlobalSection_pullback level q c |
| 82 | let e₀ := fun c => Family.FramedEvaluationBaseChange.familySectionFrameBaseChange L q π (x c) (y c) (hy c) (e c) |
| 83 | let e₁ := fun c => Framed.SectionBundleTransport.transportedSectionFrame (y c) H (e₀ c) |
| 84 | choose z hz using fun c : Multiplicative (Fin (2 * g) → ZMod n) => |
| 85 | HilbertConstruction.Field.FramedEvaluationComparison.fieldFramedSectionValue_eq_unit_mul (B.graphBundle.tensorPower (2 * t)) (y c) (e₁ c) |
| 86 | let F := BasisEvaluationMatrices.basisEvaluationMatrix b (B.fullLevelEvenGraphEvaluation (level.pullback q) t) |
| 87 | have hF : Function.Injective (Matrix.toLin' F) := |
| 88 | BasisEvaluationMatrices.basisEvaluationMatrix_injective b _ |
| 89 | (B.fullLevelEvenGraphEvaluation_injective hg hδ hN |
| 90 | (Geometric.NormalizedGraphPolynomial.fieldPoint_natCast_ne_zero_of_global_unit hunit q) (level.pullback q) t ht htlarge hlarge) |
| 91 | have heq : (A.evenGraphFamilyEvaluationMatrix level t s e).map (Geometric.FrameOpenCover.fieldPointGlobalScalarMap q) = |
| 92 | (fun c j => (z c : K) * F c j) := by |
| 93 | funext c j |
| 94 | have hc : F c j = Rational.LineBundleEvaluation.rationalLineBundleSectionValue (B.graphBundle.tensorPower (2 * t)) (y c) (a j) := by |
| 95 | change Rational.LineBundleEvaluation.rationalLineBundleSectionValue (B.graphBundle.tensorPower (2 * t)) (y c) |
| 96 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap B.abelian.scheme.hom) |
| 97 | (B.graphBundle.tensorPower (2 * t)).sheaf).symm (b j)) = _ |
| 98 | exact congrArg (Rational.LineBundleEvaluation.rationalLineBundleSectionValue (B.graphBundle.tensorPower (2 * t)) (y c)) |
| 99 | (congrFun hb j) |
| 100 | rw [hc] |
| 101 | calc |
| 102 | _ = Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K))) |
| 103 | (q.appTop (Family.FramedSectionEvaluation.familyFramedSectionValue L (x c) (e c) (s j))) := by |
| 104 | simp only [Geometric.FrameOpenCover.fieldPointGlobalScalarMap, Scheme.Hom.id_appTop, RingHom.comp_apply] |
| 105 | rfl |
| 106 | _ = Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K))) |
| 107 | (Family.FramedSectionEvaluation.familyFramedSectionValue (L.pullback π) (y c) (e₀ c) (Ample.LineBundles.pullbackSection π (s j))) := |
| 108 | congrArg (Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K)))) |
| 109 | (Family.FramedEvaluationBaseChange.familyFramedSectionValue_baseChange L q π (x c) (y c) (hy c) (e c) (s j)).symm |
| 110 | _ = Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K))) |
| 111 | (Family.FramedSectionEvaluation.familyFramedSectionValue (B.graphBundle.tensorPower (2 * t)) (y c) (e₁ c) (a j)) := |
| 112 | congrArg (Geometric.FrameOpenCover.fieldPointGlobalScalarMap (𝟙 (Spec (.of K)))) |
| 113 | (Framed.SectionBundleTransport.familyFramedSectionValue_bundleIso (y c) H (e₀ c) (Ample.LineBundles.pullbackSection π (s j))).symm |
| 114 | _ = _ := hz c (a j) |
| 115 | rw [heq] |
| 116 | exact BasisEvaluationMatrices.matrix_rowUnits_injective F z hF |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphFamilyEvaluationMatrix.PolarizedAbelianWithLevel |