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.Polarized.AutomorphismSourcePolynomial |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.AutomorphismRestriction |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.GraphFiberCoordinates |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.BoundedEndomorphismTuples |
| 5 | |
| 6 | /-! # Automorphism Presentations Graphs -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.AutomorphismPresentationsGraphs |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The exact Presentations graph predicate holds for polarized automorphisms on |
| 13 | every test scheme lying in the corresponding source-polynomial stratum. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | variable {S : Scheme.{0}} [IsAffine S] [IsLocallyNoetherian S] |
| 20 | {g N : ℕ} {δ : Fin g → ℕ} (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 21 | (P : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.abelian.scheme.left) (d : ℕ) |
| 22 | (hP : AbelianModuli.HilbertConstruction.Tensor.Powers.IsTensorPower (Relative.PoincareSimilitude.RelativePoincareClasses.polarizationLine A.dual |
| 23 | A.polarization.isogeny.hom).sheaf d P.sheaf) |
| 24 | {n : ℕ} (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.abelian.scheme.left ⟶ P.sheaf)) |
| 25 | (hs : ∀ x : A.abelian.scheme.left, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 26 | (he : IsClosedImmersion (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom s hs).left) |
| 27 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (A.abelian.scheme ⨯ A.abelian.scheme)) |
| 28 | (hB : HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) |
| 29 | (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) B) |
| 30 | |
| 31 | include hP hB in |
| 32 | theorem polarized_automorphism_e34_graph_polynomial_on_stratum |
| 33 | (Q : Polynomial ℚ) (T : Over S) |
| 34 | (hT : ∀ t : T.left, AutomorphismSourcePolynomial.polarizedAutomorphismGraphPolynomial |
| 35 | (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) (T.hom t) = Q) |
| 36 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom)) : |
| 37 | HilbertScheme.Presentations.Has.Core.HasFiberHilbertPolynomial B |
| 38 | (HilbertScheme.Presentations.HomFunctor.Hom.graphFamily A.abelian.scheme A.abelian.scheme |
| 39 | (EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A.abelian T e.abelian.hom)) Q := by |
| 40 | apply Presentations.GraphFiberCoordinates.graphFamily_hasFiberHilbertPolynomial_of_coordinates A.abelian.scheme A.abelian.scheme |
| 41 | B (EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A.abelian T e.abelian.hom) Q |
| 42 | intro K _ a |
| 43 | let t : Over S := Over.mk (a ≫ T.hom) |
| 44 | let b : t ⟶ T := Over.homMk a rfl |
| 45 | let e' := AutomorphismRestriction.restrictPolarizedAutomorphism A b e |
| 46 | let c := EndomorphismHom.EndomorphismFamilies.homSourceSchemeIso A.abelian t |
| 47 | let j := Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding A.abelian B (a ≫ T.hom) e'.abelian.hom |
| 48 | have : IsClosedImmersion j := Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding_closed A.abelian B _ _ |
| 49 | have hr : EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A.abelian t e'.abelian.hom = |
| 50 | prod.map b (𝟙 A.abelian.scheme) ≫ EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A.abelian T e.abelian.hom := by |
| 51 | rw [AutomorphismRestriction.restrictPolarizedAutomorphism_hom] |
| 52 | exact EndomorphismHom.EndomorphismFamilies.relativeHom_restrict A.abelian b (Finite.Actions.GroupEndRing.ofHom _ e.abelian.hom) |
| 53 | refine ⟨AbelianModuli.HilbertConstruction.AffineProjective.Charts.affineProjectiveChartMap (a ≫ T.hom) B.dimension, c.hom ≫ j, |
| 54 | AbelianModuli.HilbertConstruction.AffineProjective.Charts.affineProjectiveChartMap_isPullback (a ≫ T.hom) B.dimension, ?_, ?_, ?_, ?_⟩ |
| 55 | · infer_instance |
| 56 | · change (c.hom ≫ (c.inv ≫ |
| 57 | (HilbertScheme.Presentations.HomFunctor.Hom.graph A.abelian.scheme A.abelian.scheme (EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A.abelian t e'.abelian.hom)).left ≫ |
| 58 | Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding B (a ≫ T.hom))) ≫ _ = _ |
| 59 | simp only [Category.assoc, Iso.hom_inv_id_assoc, Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding_projective] |
| 60 | rw [hr] |
| 61 | · rw [Category.assoc, Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding_over] |
| 62 | exact EndomorphismHom.EndomorphismFamilies.homSourceSchemeIso_snd A.abelian t |
| 63 | · rw [Scheme.Hom.ker_comp_of_isIso] |
| 64 | have hp := AutomorphismSourcePolynomial.polarized_automorphism_field_graph_source_polynomial A P d hP s hs he B hB |
| 65 | (a ≫ T.hom) e' |
| 66 | have hQ : AutomorphismSourcePolynomial.polarizedAutomorphismGraphPolynomial (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) |
| 67 | ((a ≫ T.hom) (IsLocalRing.closedPoint K)) = Q := hT (a (IsLocalRing.closedPoint K)) |
| 68 | exact hQ ▸ hp |
| 69 | |
| 70 | include hP hB in |
| 71 | theorem polarized_automorphism_inverse_pair_e34_graphs |
| 72 | (Q : Polynomial ℚ) (T : Over S) |
| 73 | (hT : ∀ t : T.left, AutomorphismSourcePolynomial.polarizedAutomorphismGraphPolynomial |
| 74 | (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) (T.hom t) = Q) |
| 75 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom)) : |
| 76 | HilbertScheme.Presentations.Has.Core.HasGraphPolynomials A.abelian.scheme A.abelian.scheme 2 B (fun _ => Q) |
| 77 | ((HilbertScheme.Presentations.Endomorphisms.Core.forgetGroupLaw A.abelian.scheme 2).app (op T) |
| 78 | (Presentations.BoundedEndomorphismTuples.e34GroupEndTuple A.abelian T |
| 79 | ![Finite.Actions.GroupEndRing.ofHom _ e.abelian.hom, Finite.Actions.GroupEndRing.ofHom _ e.abelian.inv])) := by |
| 80 | intro i |
| 81 | fin_cases i |
| 82 | · exact polarized_automorphism_e34_graph_polynomial_on_stratum A P d hP s hs he B hB Q T hT e |
| 83 | · exact polarized_automorphism_e34_graph_polynomial_on_stratum A P d hP s hs he B hB Q T hT e.symm |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.AutomorphismPresentationsGraphs |