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.PELModuli.IntegralModel.Relative.CMFieldGraphBounds |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.SourcePolynomial |
| 3 | |
| 4 | /-! # CM Graph Source Polynomial -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.PELModuli.IntegralModel |
| 11 | |
| 12 | /-! The actual CM graph polynomial is the fixed scaling of the source |
| 13 | fiber polynomial at the base point, including actions first acquired |
| 14 | over an arbitrary coefficient field. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.SourcePolynomial.PolarizationEmbedding |
| 21 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 22 | (D : CM.GeneratorReconstruction.CMIntegralGeneratorData E) |
| 23 | {S : Scheme.{0}} [IsAffine S] [IsLocallyNoetherian S] |
| 24 | {g N : ℕ} {δ : Fin g → ℕ} (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 25 | (P : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.abelian.scheme.left) (d : ℕ) |
| 26 | (hP : AbelianModuli.HilbertConstruction.Tensor.Powers.IsTensorPower (Relative.PoincareSimilitude.RelativePoincareClasses.polarizationLine A.dual |
| 27 | A.polarization.isogeny.hom).sheaf d P.sheaf) |
| 28 | {n : ℕ} (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.abelian.scheme.left ⟶ P.sheaf)) |
| 29 | (hs : ∀ x : A.abelian.scheme.left, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 30 | (he : IsClosedImmersion (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom s hs).left) |
| 31 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (A.abelian.scheme ⨯ A.abelian.scheme)) |
| 32 | (hB : HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) |
| 33 | (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) B) |
| 34 | |
| 35 | include hP hB in |
| 36 | theorem CM.GeneratorReconstruction.CMIntegralGeneratorData.relative_geometric_graph_source_polynomial |
| 37 | {K : Type} [Field K] [IsAlgClosed K] (a : Spec (.of K) ⟶ S) |
| 38 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.pullback a).abelian) |
| 39 | (hρ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation (A.pullback a) ρ) : |
| 40 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf |
| 41 | (Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding A.abelian B a (ρ.map D.generator)).ker).toIdeal |
| 42 | ((Relative.SourcePolynomial.PolarizationEmbedding.e34SourceHilbertPolynomial (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) |
| 43 | (a (IsLocalRing.closedPoint K))).comp |
| 44 | (Polynomial.C ((D.multiplier ^ 2 + 1 : ℕ) : ℚ) * Polynomial.X)) := by |
| 45 | let BA := SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he |
| 46 | let j := Relative.FieldSourceEmbedding.PolarizationEmbedding.relativeFieldSourceEmbedding BA a |
| 47 | let v := ρ.map D.generator |
| 48 | let f := Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding A.abelian B a v |
| 49 | have : IsClosedImmersion j := Relative.FieldSourceEmbedding.PolarizationEmbedding.relativeFieldSourceEmbedding_closed BA a |
| 50 | have : IsClosedImmersion f := Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding_closed A.abelian B a v |
| 51 | have hb : f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) = |
| 52 | j ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) := |
| 53 | (Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding_over A.abelian B a v).trans |
| 54 | (Relative.FieldSourceEmbedding.PolarizationEmbedding.relativeFieldSourceEmbedding_over BA a).symm |
| 55 | have hv := D.geometric_relative_polarization_power A a P d hP ρ hρ |
| 56 | apply ScaledTwistHilbertPolynomial.PolarizationEmbedding.e34HilbertPolynomial_of_scaled_twists j f hb (D.multiplier ^ 2 + 1) (Nat.succ_pos _) |
| 57 | _ _ (Relative.SourcePolynomial.PolarizationEmbedding.relativeFieldSourceEmbedding_hasHilbertPolynomial BA a) |
| 58 | intro m |
| 59 | obtain ⟨e⟩ := Relative.FieldGraphTwists.PolarizationEmbedding.relativeFieldGraphEmbedding_twists A.abelian B a v P s hs he hB 0 m |
| 60 | obtain ⟨q⟩ := Relative.GraphPolarizationPowers.PolarizationEmbedding.relativeGraphToProduct_power A.abelian (Over.mk a) v P (D.multiplier ^ 2) m hv |
| 61 | obtain ⟨t⟩ := Relative.FieldSourceTwists.PolarizationEmbedding.relativeFieldSourceEmbedding_twists A.abelian.scheme P s hs he a 0 |
| 62 | ((D.multiplier ^ 2 + 1) * m) |
| 63 | exact ⟨e ≪≫ q ≪≫ t.symm⟩ |
| 64 | |
| 65 | include hP hB in |
| 66 | theorem CM.GeneratorReconstruction.CMIntegralGeneratorData.relative_field_graph_source_polynomial |
| 67 | {K : Type} [Field K] (a : Spec (.of K) ⟶ S) |
| 68 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.pullback a).abelian) |
| 69 | (hρ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation (A.pullback a) ρ) : |
| 70 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf |
| 71 | (Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding A.abelian B a (ρ.map D.generator)).ker).toIdeal |
| 72 | ((Relative.SourcePolynomial.PolarizationEmbedding.e34SourceHilbertPolynomial (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) |
| 73 | (a (IsLocalRing.closedPoint K))).comp |
| 74 | (Polynomial.C ((D.multiplier ^ 2 + 1 : ℕ) : ℚ) * Polynomial.X)) := by |
| 75 | let L := AlgebraicClosure K |
| 76 | let β := Spec.map (CommRingCat.ofHom (algebraMap K L)) |
| 77 | let b : Over.mk (β ≫ a) ⟶ Over.mk a := Over.homMk β rfl |
| 78 | let σ := Integral.ActionScheme.restrictIntegralAction A.abelian ρ b |
| 79 | have hσ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation (A.pullback (β ≫ a)) σ := |
| 80 | RosatiRestriction.rosati_restrictIntegralAction (T := Over.mk (β ≫ a)) (U := Over.mk a) |
| 81 | (E := E) A ρ hρ b |
| 82 | have hp := D.relative_geometric_graph_source_polynomial A P d hP s hs he B hB (β ≫ a) σ hσ |
| 83 | have hx : (β ≫ a) (IsLocalRing.closedPoint L) = a (IsLocalRing.closedPoint K) := by |
| 84 | change a (β (IsLocalRing.closedPoint L)) = a (IsLocalRing.closedPoint K) |
| 85 | exact congrArg (fun x => a x) (Subsingleton.elim _ _) |
| 86 | have hQ := congrArg (fun x : S => |
| 87 | (Relative.SourcePolynomial.PolarizationEmbedding.e34SourceHilbertPolynomial (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) x).comp |
| 88 | (Polynomial.C ((D.multiplier ^ 2 + 1 : ℕ) : ℚ) * Polynomial.X)) hx |
| 89 | exact (FieldGraphBaseChange.PolarizationEmbedding.relativeIntegralGraph_hilbertPolynomial_baseChange_iff |
| 90 | a (algebraMap K L) A.abelian B ρ D.generator _).mp (hQ ▸ hp) |
| 91 | |
| 92 | end AlgebraicGeometry.PELModuli.IntegralModel |
| 93 | |
| 94 | namespace AlgebraicGeometry.PELModuli.IntegralModel.Relative.CMGraphSourcePolynomial |
| 95 | |
| 96 | /-! The scaled source polynomial gives finitely many open-and-closed |
| 97 | strata of the base, chosen independently of all actions and tests. -/ |
| 98 | |
| 99 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 100 | |
| 101 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.SourcePolynomial.PolarizationEmbedding |
| 102 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 103 | (D : CM.GeneratorReconstruction.CMIntegralGeneratorData E) |
| 104 | {S : Scheme.{0}} {X : Over S} (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) |
| 105 | |
| 106 | def relativeCMGraphPolynomial (x : S) : Polynomial ℚ := |
| 107 | (SourcePolynomial.PolarizationEmbedding.e34SourceHilbertPolynomial B x).comp |
| 108 | (Polynomial.C ((D.multiplier ^ 2 + 1 : ℕ) : ℚ) * Polynomial.X) |
| 109 | |
| 110 | variable [IsAffine S] [IsLocallyNoetherian S] [Flat X.hom] |
| 111 | |
| 112 | theorem relativeCMGraphPolynomial_isLocallyConstant : IsLocallyConstant (relativeCMGraphPolynomial D B) := |
| 113 | (SourcePolynomial.PolarizationEmbedding.e34SourceHilbertPolynomial_isLocallyConstant B).comp |
| 114 | (fun P => P.comp (Polynomial.C ((D.multiplier ^ 2 + 1 : ℕ) : ℚ) * Polynomial.X)) |
| 115 | |
| 116 | def relativeCMPolynomialOpen (Q : Polynomial ℚ) : S.Opens := |
| 117 | ⟨{x | relativeCMGraphPolynomial D B x = Q}, |
| 118 | (relativeCMGraphPolynomial_isLocallyConstant D B).isOpen_fiber Q⟩ |
| 119 | |
| 120 | theorem relativeCMPolynomialOpen_isClopen (Q : Polynomial ℚ) : |
| 121 | IsClopen (relativeCMPolynomialOpen D B Q : Set S) := |
| 122 | (relativeCMGraphPolynomial_isLocallyConstant D B).isClopen_fiber Q |
| 123 | |
| 124 | theorem relativeCMPolynomialOpen_disjoint {Q P : Polynomial ℚ} (h : Q ≠ P) : |
| 125 | Disjoint (relativeCMPolynomialOpen D B Q : Set S) (relativeCMPolynomialOpen D B P : Set S) := by |
| 126 | apply Set.disjoint_left.mpr |
| 127 | intro x hQ hP |
| 128 | exact h (hQ.symm.trans hP) |
| 129 | |
| 130 | theorem exists_finite_relativeCMPolynomial_cover : |
| 131 | ∃ F : Finset (Polynomial ℚ), ∀ x : S, ∃ Q ∈ F, x ∈ relativeCMPolynomialOpen D B Q := by |
| 132 | classical |
| 133 | let hF := (relativeCMGraphPolynomial_isLocallyConstant D B).range_finite |
| 134 | refine ⟨hF.toFinset, fun x => ?_⟩ |
| 135 | exact ⟨relativeCMGraphPolynomial D B x, hF.mem_toFinset.mpr ⟨x, rfl⟩, rfl⟩ |
| 136 | |
| 137 | end AlgebraicGeometry.PELModuli.IntegralModel.Relative.CMGraphSourcePolynomial |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI |