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.Over.MorphismPropertyOpenDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonoidHomOpenLocality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Isogeny.ParameterPullback |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PolarizationPositiveTransport |
| 5 | import Mathlib.AlgebraicGeometry.Sites.EtalePoint |
| 6 | |
| 7 | /-! # Open Descent -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Original polarizations descend on an open cover once their actual |
| 14 | maps glue. Finite-flat degree and geometric kernel groups are both |
| 15 | retained, and positivity uses the original ample fiber witnesses. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} {g : ℕ} |
| 22 | |
| 23 | section |
| 24 | |
| 25 | theorem Abelian.Schemes.AbelianScheme.Isogeny.hasPolarizationType_of_openCover |
| 26 | {A B : Abelian.Schemes.AbelianScheme g S} (p : Abelian.Schemes.AbelianScheme.Isogeny A B) (δ : Fin g → ℕ) |
| 27 | (C : S.OpenCover.{u}) (h : ∀ i, (p.pullback (C.f i)).HasPolarizationType δ) : |
| 28 | p.HasPolarizationType δ where |
| 29 | degree b := by |
| 30 | obtain ⟨i, x, hx⟩ := C.exists_eq (B.scheme.hom b) |
| 31 | obtain ⟨z, hzb, _⟩ := Scheme.Pullback.exists_preimage_pullback |
| 32 | (f := B.scheme.hom) (g := C.f i) b x hx.symm |
| 33 | have hr := Scheme.Hom.finrank_of_isPullback _ _ _ _ |
| 34 | (Projective.PresentationBaseChange.overPullback_map_isPullback p.hom (C.f i)) z |
| 35 | exact (congrArg p.hom.left.finrank hzb).symm.trans (hr.symm.trans ((h i).degree z)) |
| 36 | geometricKernel K _ _ s := by |
| 37 | obtain ⟨i, x, hx⟩ := C.exists_eq (s default) |
| 38 | obtain ⟨a, ha, _⟩ := Scheme.exists_fac_of_etale_of_isSepClosed (C.f i) s x hx |
| 39 | subst s |
| 40 | exact ⟨(p.kernelBaseChangeEquiv (C.f i) (Over.mk a)).symm.trans |
| 41 | ((h i).geometricKernel K a).some⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | theorem Polarization.OpenDescent.positiveOnGeometricFibers_of_openCover |
| 46 | {A : Abelian.Schemes.AbelianScheme g S} (D : Dual.Data.DualAbelianData A) |
| 47 | (p : A.scheme ⟶ D.abelian.scheme) (C : S.OpenCover.{u}) |
| 48 | (h : ∀ i, ∀ (K : Type u) [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ C.X i), |
| 49 | PolarizationData.PositiveOnGeometricFiber (D.pullback (C.f i)) ((Over.pullback (C.f i)).map p) K s) |
| 50 | (K : Type u) [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ S) : |
| 51 | PolarizationData.PositiveOnGeometricFiber D p K s := by |
| 52 | obtain ⟨i, x, hx⟩ := C.exists_eq (s default) |
| 53 | obtain ⟨a, ha, _⟩ := Scheme.exists_fac_of_etale_of_isSepClosed (C.f i) s x hx |
| 54 | have hp := PELModuli.IntegralModel.PolarizationPositiveTransport.positiveOnGeometricFiber_of_pullback D p (C.f i) a (h i K a) |
| 55 | exact ha ▸ hp |
| 56 | |
| 57 | def Polarization.OpenDescent.polarizationOfOpenCover |
| 58 | {A : Abelian.Schemes.AbelianScheme g S} (D : Dual.Data.DualAbelianData A) (δ : Fin g → ℕ) |
| 59 | (p : A.scheme ⟶ D.abelian.scheme) (C : S.OpenCover.{u}) |
| 60 | (q : ∀ i, PolarizationData.Polarization (D.pullback (C.f i)) δ) |
| 61 | (hq : ∀ i, (Over.pullback (C.f i)).map p = (q i).isogeny.hom) : |
| 62 | PolarizationData.Polarization D δ := by |
| 63 | let : IsMonHom p := MonoidHomOpenLocality.isMonHom_of_openCover p C (fun i => |
| 64 | (hq i).symm ▸ (q i).isogeny.preservesGroup) |
| 65 | let : IsZariskiLocalAtTarget (@IsFinite : MorphismProperty Scheme.{u}) := |
| 66 | @HasAffineProperty.instIsZariskiLocalAtTarget _ _ |
| 67 | IsFinite.instHasAffinePropertyAndIsAffineFiniteCarrierObjOppositeOpensCarrierCarrierCommRingCatPresheafOpOpensTopHomAppTop |
| 68 | let : IsZariskiLocalAtTarget (@Flat : MorphismProperty Scheme.{u}) := |
| 69 | HasRingHomProperty.instIsZariskiLocalAtTarget (P := @Flat) (Q := RingHom.Flat) |
| 70 | let hf : IsFinite p.left := HilbertConstruction.Over.MorphismPropertyOpenDescent.overMorphism_property_of_openCover p C (@IsFinite) |
| 71 | (fun i => (congrArg Over.Hom.left (hq i)).symm ▸ (q i).isogeny.finite) |
| 72 | let hfl : Flat p.left := HilbertConstruction.Over.MorphismPropertyOpenDescent.overMorphism_property_of_openCover p C (@Flat) |
| 73 | (fun i => (congrArg Over.Hom.left (hq i)).symm ▸ (q i).isogeny.flat) |
| 74 | let hs : Surjective p.left := HilbertConstruction.Over.MorphismPropertyOpenDescent.overMorphism_property_of_openCover p C (@Surjective) |
| 75 | (fun i => (congrArg Over.Hom.left (hq i)).symm ▸ (q i).isogeny.surjective) |
| 76 | let m : Abelian.Schemes.AbelianScheme.Isogeny A D.abelian := ⟨p, inferInstance, hf, hfl, hs⟩ |
| 77 | refine ⟨m, m.hasPolarizationType_of_openCover δ C ?_, ?_⟩ |
| 78 | · intro i |
| 79 | have he : m.pullback (C.f i) = (q i).isogeny := Isogeny.ParameterPullback.isogeny_eq_of_hom_eq (hq i) |
| 80 | exact he.symm ▸ (q i).kernelType |
| 81 | · exact Polarization.OpenDescent.positiveOnGeometricFibers_of_openCover D p C (fun i K _ _ s => |
| 82 | (hq i).symm ▸ (q i).positive K s) |
| 83 | |
| 84 | theorem Polarization.OpenDescent.polarizationOfOpenCover_hom |
| 85 | {A : Abelian.Schemes.AbelianScheme g S} (D : Dual.Data.DualAbelianData A) (δ : Fin g → ℕ) |
| 86 | (p : A.scheme ⟶ D.abelian.scheme) (C : S.OpenCover.{u}) |
| 87 | (q : ∀ i, PolarizationData.Polarization (D.pullback (C.f i)) δ) |
| 88 | (hq : ∀ i, (Over.pullback (C.f i)).map p = (q i).isogeny.hom) : |
| 89 | (Polarization.OpenDescent.polarizationOfOpenCover D δ p C q hq).isogeny.hom = p := rfl |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |