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.HodgeConjecture.CMExtraction.PEL.PELRestriction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.SquareProjection |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PullbackHomExt |
| 4 | |
| 5 | /-! # PEL Restriction Naturality -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.PELRestrictionNaturality.CM.Projection |
| 12 | |
| 13 | /-! The PEL restriction comparison preserves the map to the original |
| 14 | universal abelian scheme on every branch of the correspondence. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PEL.PELRestriction.IsogenyQuotient |
| 19 | |
| 20 | variable {S T V : Scheme} {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 21 | |
| 22 | theorem factor_projection (f : V ⟶ T) (h : T ⟶ S) (x : V ⟶ S) (w : f ≫ h = x) : |
| 23 | (AbelianScheme.TateComparison.BaseChangeCoherence.baseChangeFactorIso A f h x w).hom.left ≫ |
| 24 | pullback.fst (pullback.snd A.scheme.hom h) f ≫ pullback.fst A.scheme.hom h = |
| 25 | pullback.fst A.scheme.hom x := by |
| 26 | rw [BaseChangeSquare.CM.groupFactor_hom] |
| 27 | exact Source.SquareProjection.CM.factor_hom_projection f h x w A.scheme |
| 28 | |
| 29 | variable {R : Type} [CommRing R] {N : ℕ} {X Y Q Q' : Scheme} |
| 30 | (F : AbelianScheme.TateComparison.PEL.PELFamilyData R g N X) (U : AbelianScheme.TateComparison.PEL.PELFamilyData R g N Y) |
| 31 | (i : X ⟶ Y) (e : AbelianScheme.TateComparison.PELModuli.PELFamilyIso F (U.pullback i)) |
| 32 | (r : Q' ⟶ Q) (s : Q ⟶ Y) (s' : Q' ⟶ X) (hs : r ≫ s = s' ≫ i) |
| 33 | |
| 34 | theorem scheme_projection (A₀ : Over X) (U₀ : Over Y) |
| 35 | (e₀ : A₀ ⟶ (Over.pullback i).obj U₀) : |
| 36 | (((Over.pullback s').map e₀).left ≫ |
| 37 | ((Over.pullbackComp s' i).app U₀).inv.left ≫ |
| 38 | (BaseChangeSquare.CM.factorIso r s (s' ≫ i) hs U₀).hom.left) ≫ |
| 39 | pullback.fst (pullback.snd U₀.hom s) r ≫ pullback.fst U₀.hom s = |
| 40 | pullback.fst A₀.hom s' ≫ e₀.left ≫ pullback.fst U₀.hom i := by |
| 41 | simp only [Category.assoc] |
| 42 | rw [Source.SquareProjection.CM.factor_hom_projection] |
| 43 | rw [Source.SquareProjection.CM.pullbackComp_inv_projection] |
| 44 | rw [← Category.assoc] |
| 45 | exact (congrArg (fun f => f ≫ pullback.fst U₀.hom i) |
| 46 | (AbelianModuli.HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst e₀ s')).trans (Category.assoc _ _ _) |
| 47 | |
| 48 | theorem restriction_projection : |
| 49 | (CMExtraction.PEL.PELRestriction.IsogenyQuotient.restrictionFamilyIso F U i e r s s' hs).abelian.hom.left ≫ |
| 50 | pullback.fst (pullback.snd U.abelian.scheme.hom s) r ≫ pullback.fst U.abelian.scheme.hom s = |
| 51 | pullback.fst F.abelian.scheme.hom s' ≫ e.abelian.hom.left ≫ |
| 52 | pullback.fst U.abelian.scheme.hom i := by |
| 53 | change (((Over.pullback s').map e.abelian.hom).left ≫ |
| 54 | (U.abelian.pullbackCompIso i s').inv.left ≫ |
| 55 | (U.pullbackFactor r s (s' ≫ i) hs).abelian.hom.left) ≫ _ ≫ _ = _ |
| 56 | rw [AbelianScheme.TateComparison.PEL.PELFamilyData.pullbackFactor_abelian] |
| 57 | rw [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv, BaseChangeSquare.CM.groupFactor_hom] |
| 58 | exact scheme_projection i r s s' hs F.abelian.scheme U.abelian.scheme e.abelian.hom |
| 59 | |
| 60 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.PELRestrictionNaturality.CM.Projection |
| 61 | |
| 62 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.PELRestrictionNaturality.CM.Scheme |
| 63 | |
| 64 | /-! Restricting an original family and then following a correspondence |
| 65 | branch gives the same scheme map as following its original branch. -/ |
| 66 | |
| 67 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 68 | |
| 69 | variable {X Y Q Q' : Scheme.{0}} (A : Over X) (U : Over Y) |
| 70 | (i : X ⟶ Y) (e : A ⟶ (Over.pullback i).obj U) |
| 71 | (r : Q' ⟶ Q) (s : Q ⟶ Y) (s' : Q' ⟶ X) (hs : r ≫ s = s' ≫ i) |
| 72 | |
| 73 | def map : (Over.pullback s').obj A ⟶ |
| 74 | (Over.pullback r).obj ((Over.pullback s).obj U) := |
| 75 | (Over.pullback s').map e ≫ ((Over.pullbackComp s' i).app U).inv ≫ |
| 76 | (BaseChangeSquare.CM.factorIso r s (s' ≫ i) hs U).hom |
| 77 | |
| 78 | theorem projection : |
| 79 | (CM.Scheme.map A U i e r s s' hs).left ≫ |
| 80 | pullback.fst (pullback.snd U.hom s) r ≫ pullback.fst U.hom s = |
| 81 | pullback.fst A.hom s' ≫ e.left ≫ pullback.fst U.hom i := by |
| 82 | unfold CM.Scheme.map |
| 83 | rw [Over.comp_left, Over.comp_left] |
| 84 | have h := Projection.scheme_projection i r s s' hs A U e |
| 85 | simp only [Category.assoc] at h ⊢ |
| 86 | exact h |
| 87 | |
| 88 | theorem factor_projection {S T V : Scheme.{0}} (B : Over S) |
| 89 | (f : V ⟶ T) (h : T ⟶ S) (x : V ⟶ S) (w : f ≫ h = x) : |
| 90 | (BaseChangeSquare.CM.factorIso f h x w B).hom.left ≫ |
| 91 | pullback.fst (pullback.snd B.hom h) f ≫ pullback.fst B.hom h = |
| 92 | pullback.fst B.hom x := |
| 93 | Source.SquareProjection.CM.factor_hom_projection f h x w B |
| 94 | |
| 95 | theorem at_branch {Z : Scheme.{0}} (c : Z ⟶ Q') (x : Z ⟶ X) (wc : c ≫ s' = x) |
| 96 | (hc : (c ≫ r) ≫ s = x ≫ i) : |
| 97 | (BaseChangeSquare.CM.factorIso c s' x wc A).hom ≫ |
| 98 | (Over.pullback c).map (CM.Scheme.map A U i e r s s' hs) = |
| 99 | CM.Scheme.map A U i e (c ≫ r) s x hc ≫ |
| 100 | (BaseChangeSquare.CM.factorIso c r (c ≫ r) rfl ((Over.pullback s).obj U)).hom := by |
| 101 | apply PullbackHomExt.CM.thrice U s r c |
| 102 | have h₀ := congrArg (fun z => |
| 103 | (BaseChangeSquare.CM.factorIso c s' x wc A).hom.left ≫ z ≫ |
| 104 | pullback.fst (pullback.snd U.hom s) r ≫ pullback.fst U.hom s) |
| 105 | (AbelianModuli.HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst (CM.Scheme.map A U i e r s s' hs) c) |
| 106 | have h₁ := congrArg (fun z => |
| 107 | (BaseChangeSquare.CM.factorIso c s' x wc A).hom.left ≫ |
| 108 | pullback.fst (pullback.snd A.hom s') c ≫ z) |
| 109 | (projection A U i e r s s' hs) |
| 110 | have h₂ := congrArg (fun z => z ≫ e.left ≫ pullback.fst U.hom i) |
| 111 | (factor_projection A c s' x wc) |
| 112 | have h₃ := congrArg (fun z => (CM.Scheme.map A U i e (c ≫ r) s x hc).left ≫ z ≫ |
| 113 | pullback.fst U.hom s) |
| 114 | (factor_projection ((Over.pullback s).obj U) c r (c ≫ r) rfl) |
| 115 | have h₄ := projection A U i e (c ≫ r) s x hc |
| 116 | simp only [Over.comp_left, Category.assoc] at h₀ h₁ h₂ h₃ h₄ ⊢ |
| 117 | exact (h₀.trans (h₁.trans h₂)).trans (h₃.trans h₄).symm |
| 118 | |
| 119 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.PELRestrictionNaturality.CM.Scheme |
| 120 | |
| 121 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.PELRestrictionNaturality.CM |
| 122 | |
| 123 | /-! Canonical PEL-family comparisons commute with following a branch, |
| 124 | before passing to its kernel subgroup. -/ |
| 125 | |
| 126 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 127 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 128 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PEL.PELRestriction.IsogenyQuotient |
| 129 | |
| 130 | variable {R : Type} [CommRing R] {g N : ℕ} {X Y Q Q' : Scheme} |
| 131 | (A : AbelianScheme.TateComparison.PEL.PELFamilyData R g N X) (U : AbelianScheme.TateComparison.PEL.PELFamilyData R g N Y) |
| 132 | (i : X ⟶ Y) (e : AbelianScheme.TateComparison.PELModuli.PELFamilyIso A (U.pullback i)) |
| 133 | (r : Q' ⟶ Q) (s : Q ⟶ Y) (s' : Q' ⟶ X) (hs : r ≫ s = s' ≫ i) |
| 134 | |
| 135 | def atPoint {Z : Scheme} (x : Z ⟶ X) : |
| 136 | AbelianScheme.TateComparison.PELModuli.PELFamilyIso (A.pullback x) (U.pullback (x ≫ i)) := |
| 137 | (e.pullback x).trans (U.pullbackComp i x) |
| 138 | |
| 139 | theorem restriction_abelian : |
| 140 | (CMExtraction.PEL.PELRestriction.IsogenyQuotient.restrictionFamilyIso A U i e r s s' hs).abelian.hom = |
| 141 | CM.Scheme.map A.abelian.scheme U.abelian.scheme i |
| 142 | e.abelian.hom r s s' hs := by |
| 143 | change (Over.pullback s').map e.abelian.hom ≫ |
| 144 | (U.abelian.pullbackCompIso i s').inv ≫ |
| 145 | (U.pullbackFactor r s (s' ≫ i) hs).abelian.hom = _ |
| 146 | rw [AbelianScheme.TateComparison.PEL.PELFamilyData.pullbackFactor_abelian, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv, |
| 147 | BaseChangeSquare.CM.groupFactor_hom] |
| 148 | rfl |
| 149 | |
| 150 | theorem atPoint_abelian {Z : Scheme} (x : Z ⟶ X) : |
| 151 | (atPoint A U i e x).abelian.hom = |
| 152 | (Over.pullback x).map e.abelian.hom ≫ |
| 153 | ((Over.pullbackComp x i).app U.abelian.scheme).inv := by |
| 154 | change (Over.pullback x).map e.abelian.hom ≫ (U.abelian.pullbackCompIso i x).inv = _ |
| 155 | rw [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv] |
| 156 | rfl |
| 157 | |
| 158 | theorem at_branch {Z : Scheme} (c : Z ⟶ Q') (x : Z ⟶ X) (wc : c ≫ s' = x) |
| 159 | (hc : (c ≫ r) ≫ s = x ≫ i) : |
| 160 | (AbelianScheme.TateComparison.BaseChangeCoherence.baseChangeFactorIso A.abelian c s' x wc).hom ≫ |
| 161 | (Over.pullback c).map (CMExtraction.PEL.PELRestriction.IsogenyQuotient.restrictionFamilyIso A U i e r s s' hs).abelian.hom = |
| 162 | (atPoint A U i e x).abelian.hom ≫ |
| 163 | (AbelianScheme.TateComparison.BaseChangeCoherence.baseChangeFactorIso U.abelian (c ≫ r) s (x ≫ i) hc).hom ≫ |
| 164 | (AbelianScheme.TateComparison.BaseChangeCoherence.baseChangeFactorIso (U.abelian.pullback s) c r (c ≫ r) rfl).hom := by |
| 165 | rw [restriction_abelian, atPoint_abelian, |
| 166 | BaseChangeSquare.CM.groupFactor_hom, BaseChangeSquare.CM.groupFactor_hom, |
| 167 | BaseChangeSquare.CM.groupFactor_hom] |
| 168 | have h := CM.Scheme.at_branch A.abelian.scheme U.abelian.scheme i |
| 169 | e.abelian.hom r s s' hs c x wc hc |
| 170 | unfold CM.Scheme.map at h ⊢ |
| 171 | simp only [Category.assoc] at h ⊢ |
| 172 | exact h |
| 173 | |
| 174 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.PELRestrictionNaturality.CM |
| 175 | |
| 176 | end |
| 177 | |
| 178 | end OAI |