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.AbelianScheme.TateComparison.PELModuli |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Coherence |
| 3 | |
| 4 | /-! # Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.BaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical PEL identifications for base change, retaining the action, |
| 11 | polarization, Poincare bundle, and every full-level label. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Coherence |
| 18 | |
| 19 | universe u |
| 20 | variable {R : Type u} [CommRing R] {g N : ℕ} {S S' S'' : Scheme.{u}} |
| 21 | |
| 22 | def pelIsoPullback {A B : TateComparison.PEL.PELFamilyData R g N S} |
| 23 | (e : TateComparison.PELModuli.PELFamilyIso A B) (f : S' ⟶ S) : TateComparison.PELModuli.PELFamilyIso (A.pullback f) (B.pullback f) where |
| 24 | abelian := (Over.pullback f).mapIso e.abelian |
| 25 | dual := (Over.pullback f).mapIso e.dual |
| 26 | abelianGroup := inferInstanceAs (IsMonHom ((Over.pullback f).map e.abelian.hom)) |
| 27 | dualGroup := inferInstanceAs (IsMonHom ((Over.pullback f).map e.dual.hom)) |
| 28 | polarization := ((Over.pullback f).map_comp A.polarizationMap.hom e.dual.hom).symm.trans |
| 29 | ((congrArg (fun h => (Over.pullback f).map h) e.polarization).trans |
| 30 | ((Over.pullback f).map_comp e.abelian.hom B.polarizationMap.hom)) |
| 31 | poincare := |
| 32 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp |
| 33 | ((Over.pullback f).map e.dual.hom ⊗ₘ (Over.pullback f).map e.abelian.hom).left |
| 34 | (B.dual.poincarePullbackOverMap f).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf B.dual.poincare)).symm.trans |
| 35 | ((congrArg (fun h => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass h (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf B.dual.poincare)) |
| 36 | (AbelianModuli.HilbertConstruction.Moduli.BaseChange.poincarePullbackOverMap_naturality A.dual B.dual e.dual.hom e.abelian.hom f)).trans |
| 37 | ((AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp (A.dual.poincarePullbackOverMap f).left |
| 38 | (e.dual.hom ⊗ₘ e.abelian.hom).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf B.dual.poincare)).trans |
| 39 | (congrArg (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (A.dual.poincarePullbackOverMap f).left) e.poincare))) |
| 40 | equivariant r := by |
| 41 | rw [TateComparison.PEL.PELFamilyData.pullback_action_schemeMap, TateComparison.PEL.PELFamilyData.pullback_action_schemeMap] |
| 42 | exact ((Over.pullback f).map_comp _ _).symm.trans |
| 43 | ((congrArg (fun a => (Over.pullback f).map a) (e.equivariant r)).trans |
| 44 | ((Over.pullback f).map_comp _ _)) |
| 45 | marking T c := by |
| 46 | apply (B.abelian.baseChangePointsEquiv f T).injective |
| 47 | exact (AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_map e.abelian.hom f T |
| 48 | ((A.marking.pullback f).hom.app (.op T) c).val).trans |
| 49 | ((congrArg (fun h => h ≫ e.abelian.hom) (A.marking.pullback_basis f T c)).trans |
| 50 | ((e.marking ((Over.map f).obj T) c).trans (B.marking.pullback_basis f T c).symm)) |
| 51 | |
| 52 | def pelPullbackComp (A : TateComparison.PEL.PELFamilyData R g N S) (f : S' ⟶ S) (h : S'' ⟶ S') : |
| 53 | TateComparison.PELModuli.PELFamilyIso ((A.pullback f).pullback h) (A.pullback (h ≫ f)) where |
| 54 | abelian := (A.abelian.pullbackCompIso f h).symm |
| 55 | dual := (A.dual.abelian.pullbackCompIso f h).symm |
| 56 | abelianGroup := inferInstanceAs (IsMonHom (A.abelian.pullbackCompIso f h).inv) |
| 57 | dualGroup := inferInstanceAs (IsMonHom (A.dual.abelian.pullbackCompIso f h).inv) |
| 58 | polarization := by |
| 59 | change (Over.pullback h).map ((Over.pullback f).map A.polarizationMap.hom) ≫ |
| 60 | (A.dual.abelian.pullbackCompIso f h).inv = |
| 61 | (A.abelian.pullbackCompIso f h).inv ≫ |
| 62 | (Over.pullback (h ≫ f)).map A.polarizationMap.hom |
| 63 | rw [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv] |
| 64 | exact (Over.pullbackComp h f).inv.naturality A.polarizationMap.hom |
| 65 | poincare := |
| 66 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp |
| 67 | ((A.dual.abelian.pullbackCompIso f h).inv ⊗ₘ (A.abelian.pullbackCompIso f h).inv).left |
| 68 | (A.dual.poincarePullbackOverMap (h ≫ f)).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.dual.poincare)).symm.trans |
| 69 | ((congrArg (fun a => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass a (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.dual.poincare)) |
| 70 | (AbelianModuli.HilbertConstruction.Moduli.Coherence.poincarePullbackOverMap_comp A.dual f h).symm).trans |
| 71 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp ((A.dual.pullback f).poincarePullbackOverMap h).left |
| 72 | (A.dual.poincarePullbackOverMap f).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.dual.poincare))) |
| 73 | equivariant r := by |
| 74 | change (Over.pullback h).map ((Over.pullback f).map |
| 75 | (TateComparison.End.endSchemeMap A.abelian.scheme (A.action r))) ≫ |
| 76 | (A.abelian.pullbackCompIso f h).inv = _ |
| 77 | rw [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv] |
| 78 | exact (Over.pullbackComp h f).inv.naturality (TateComparison.End.endSchemeMap A.abelian.scheme (A.action r)) |
| 79 | marking T c := A.marking.pullback_comp_basis f h T c |
| 80 | |
| 81 | def pelPullbackId (A : TateComparison.PEL.PELFamilyData R g N S) : TateComparison.PELModuli.PELFamilyIso (A.pullback (𝟙 S)) A where |
| 82 | abelian := A.abelian.pullbackIdIso |
| 83 | dual := A.dual.abelian.pullbackIdIso |
| 84 | abelianGroup := A.abelian.pullbackIdIso_preservesGroup |
| 85 | dualGroup := A.dual.abelian.pullbackIdIso_preservesGroup |
| 86 | polarization := by |
| 87 | change (Over.pullback (𝟙 S)).map A.polarizationMap.hom ≫ |
| 88 | A.dual.abelian.pullbackIdIso.hom = |
| 89 | A.abelian.pullbackIdIso.hom ≫ A.polarizationMap.hom |
| 90 | rw [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackIdIso_hom, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackIdIso_hom] |
| 91 | exact Over.pullbackId.hom.naturality A.polarizationMap.hom |
| 92 | poincare := congrArg (fun z => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass z |
| 93 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.dual.poincare)) (AbelianModuli.HilbertConstruction.Moduli.Coherence.poincarePullbackOverMap_id A.dual) |
| 94 | equivariant r := by |
| 95 | rw [TateComparison.PEL.PELFamilyData.pullback_action_schemeMap, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackIdIso_hom] |
| 96 | exact Over.pullbackId.hom.naturality (TateComparison.End.endSchemeMap A.abelian.scheme (A.action r)) |
| 97 | marking T c := by |
| 98 | apply Over.OverMorphism.ext |
| 99 | exact (congrArg (fun z => ((A.marking.pullback (𝟙 S)).hom.app (.op T) c).val.left ≫ z) |
| 100 | A.abelian.pullbackIdIso_hom_left).trans |
| 101 | ((congrArg (fun x : A.abelian.Points ((Over.map (𝟙 S)).obj T) => x.left) |
| 102 | (A.marking.pullback_basis (𝟙 S) T c)).trans (A.marking.basis_mapId_left T c)) |
| 103 | |
| 104 | variable {E : Type u} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 105 | {s : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {B : Scheme.{u}} |
| 106 | |
| 107 | /-- A PEL isomorphism of classified families forces equality of the |
| 108 | classifying maps, with all markings and polarization data retained. -/ |
| 109 | theorem classifying_maps_eq_of_pelIso |
| 110 | (M : TateComparison.PELModuli.PELModuliCandidate P N B) |
| 111 | (baseAction : NumberField.RingOfIntegers E →+* Γ(B, ⊤)) |
| 112 | (hclass : M.ClassifiesReduced baseAction) |
| 113 | (T : Over B) [IsReduced T.left] (x y : T ⟶ M.space) |
| 114 | (e : TateComparison.PELModuli.PELFamilyIso (M.family.pullback x.left) (M.family.pullback y.left)) : x = y := by |
| 115 | obtain ⟨z, _, hu⟩ := hclass.2 T (M.family.pullback y.left) (hclass.1 T y) |
| 116 | exact (hu x ⟨e⟩).trans (hu y ⟨TateComparison.PELModuli.PELFamilyIso.refl _⟩).symm |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.BaseChange.Construction |