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.HeckeCycles.GroupBaseChange |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimeFieldPoints |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Comparisons |
| 4 | |
| 5 | /-! # Iterated Group Points -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.IteratedGroupPoints.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The group-scheme associativity isomorphism for base change induces |
| 12 | the same point equivalence as the two pullback adjunctions. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GroupBaseChange.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberGeneration.CM |
| 18 | |
| 19 | variable {S T : Scheme} (G : CommGrp (Over S)) {k : Type} [Field k] |
| 20 | (b : T ⟶ S) (c : Spec (.of k) ⟶ T) (d : Spec (.of k) ⟶ S) (hd : c ≫ b = d) |
| 21 | |
| 22 | def factorIso : (GroupBaseChange.CM.changedGroup G d).X ≅ (GroupBaseChange.CM.changedGroup (GroupBaseChange.CM.changedGroup G b) c).X := |
| 23 | (Grp.forget _).mapIso (GroupBaseChange.CM.factorGroupIso G c b d hd) |
| 24 | |
| 25 | theorem compGroupIso_hom : |
| 26 | ((Grp.forget _).mapIso (GroupBaseChange.CM.compGroupIso G c b)).hom = (Over.pullbackComp c b).hom.app G.X := by |
| 27 | change (Over.pullbackComp c b).hom.app G.X ≫ 𝟙 _ = _ |
| 28 | exact Category.comp_id _ |
| 29 | |
| 30 | theorem factorIso_hom_eq : |
| 31 | (factorIso G b c d hd).hom = |
| 32 | (eqToHom (congrArg (fun f => (Over.pullback f).obj G.X) hd.symm)) ≫ |
| 33 | (Over.pullbackComp c b).hom.app G.X := by |
| 34 | cases hd |
| 35 | change (𝟙 _) ≫ ((Grp.forget _).mapIso (GroupBaseChange.CM.compGroupIso G c b)).hom = |
| 36 | (𝟙 _) ≫ (Over.pullbackComp c b).hom.app G.X |
| 37 | exact congrArg (𝟙 _ ≫ ·) (compGroupIso_hom G b c) |
| 38 | |
| 39 | def plainFactorIso : (GroupBaseChange.CM.changedGroup G d).X ≅ (GroupBaseChange.CM.changedGroup (GroupBaseChange.CM.changedGroup G b) c).X := |
| 40 | (eqToIso (congrArg (fun f => (Over.pullback f).obj G.X) hd)).symm ≪≫ |
| 41 | (Over.pullbackComp c b).app G.X |
| 42 | |
| 43 | theorem factorIso_eq_plain : factorIso G b c d hd = plainFactorIso G b c d hd := |
| 44 | Iso.ext (factorIso_hom_eq G b c d hd) |
| 45 | |
| 46 | theorem pullbackEq_fst {U V : Scheme} (X : Over U) (f h : V ⟶ U) (w : f = h) : |
| 47 | (eqToHom (congrArg (fun z => (Over.pullback z).obj X) w)).left ≫ |
| 48 | pullback.fst X.hom h = pullback.fst X.hom f := by |
| 49 | cases w |
| 50 | exact Category.id_comp _ |
| 51 | |
| 52 | def factorMap : pullback G.X.hom d ⟶ pullback (pullback.snd G.X.hom b) c := |
| 53 | (factorIso G b c d hd).hom.left |
| 54 | |
| 55 | theorem factorIso_hom_fst_fst : |
| 56 | factorMap G b c d hd ≫ pullback.fst (pullback.snd G.X.hom b) c ≫ |
| 57 | pullback.fst G.X.hom b = pullback.fst G.X.hom d := by |
| 58 | let r : (Over.pullback d).obj G.X ⟶ (Over.pullback (c ≫ b)).obj G.X := |
| 59 | eqToHom (congrArg (fun f => (Over.pullback f).obj G.X) hd.symm) |
| 60 | let t : (Over.pullback (c ≫ b)).obj G.X ⟶ |
| 61 | (Over.pullback c).obj ((Over.pullback b).obj G.X) := (Over.pullbackComp c b).hom.app G.X |
| 62 | have he : (factorIso G b c d hd).hom = r ≫ t := factorIso_hom_eq G b c d hd |
| 63 | let r₀ : pullback G.X.hom d ⟶ pullback G.X.hom (c ≫ b) := r.left |
| 64 | let t₀ : pullback G.X.hom (c ≫ b) ⟶ pullback (pullback.snd G.X.hom b) c := t.left |
| 65 | have he₀ : factorMap G b c d hd = r₀ ≫ t₀ := congrArg Over.Hom.left he |
| 66 | calc |
| 67 | _ = (r₀ ≫ t₀) ≫ pullback.fst (pullback.snd G.X.hom b) c ≫ |
| 68 | pullback.fst G.X.hom b := congrArg (fun z => z ≫ |
| 69 | pullback.fst (pullback.snd G.X.hom b) c ≫ pullback.fst G.X.hom b) he₀ |
| 70 | _ = r₀ ≫ (t₀ ≫ pullback.fst (pullback.snd G.X.hom b) c ≫ pullback.fst G.X.hom b) := |
| 71 | Category.assoc _ _ _ |
| 72 | _ = r₀ ≫ pullback.fst G.X.hom (c ≫ b) := congrArg (r₀ ≫ ·) |
| 73 | (AbelianModuli.HilbertConstruction.Pullback.Comparisons.pullbackComp_hom_fst_fst G.X b c) |
| 74 | _ = pullback.fst G.X.hom d := pullbackEq_fst G.X d (c ≫ b) hd.symm |
| 75 | |
| 76 | theorem factorIso_points (p : Geometric.PointExt.CM.pointBase k ⟶ (GroupBaseChange.CM.changedGroup G d).X) : |
| 77 | FiberGeneration.CM.fiberPointsEquiv (GroupBaseChange.CM.changedGroup G b).X c (p ≫ (factorIso G b c d hd).hom) = |
| 78 | PrimeFieldPoints.CM.pointEquiv b c d hd G.X p := by |
| 79 | apply Over.OverMorphism.ext |
| 80 | apply pullback.hom_ext |
| 81 | · have hp := PrimeFieldPoints.CM.pointEquiv_projection b c d hd G.X p |
| 82 | have hf := congrArg (p.left ≫ ·) (factorIso_hom_fst_fst G b c d hd) |
| 83 | change (𝟙 _ ≫ ((p.left ≫ (factorIso G b c d hd).hom.left) ≫ |
| 84 | pullback.fst (pullback.snd G.X.hom b) c)) ≫ pullback.fst G.X.hom b = _ |
| 85 | have hh : (𝟙 _ ≫ ((p.left ≫ (factorIso G b c d hd).hom.left) ≫ |
| 86 | pullback.fst (pullback.snd G.X.hom b) c)) ≫ pullback.fst G.X.hom b = |
| 87 | p.left ≫ pullback.fst G.X.hom d := by |
| 88 | erw [Category.id_comp, Category.assoc, Category.assoc] |
| 89 | exact hf |
| 90 | exact hh.trans hp.symm |
| 91 | · exact (FiberGeneration.CM.fiberPointsEquiv (GroupBaseChange.CM.changedGroup G b).X c |
| 92 | (p ≫ (factorIso G b c d hd).hom)).w.trans |
| 93 | (PrimeFieldPoints.CM.pointEquiv b c d hd G.X p).w.symm |
| 94 | |
| 95 | theorem plainFactorIso_points (p : Geometric.PointExt.CM.pointBase k ⟶ (GroupBaseChange.CM.changedGroup G d).X) : |
| 96 | FiberGeneration.CM.fiberPointsEquiv (GroupBaseChange.CM.changedGroup G b).X c (p ≫ (plainFactorIso G b c d hd).hom) = |
| 97 | PrimeFieldPoints.CM.pointEquiv b c d hd G.X p := by |
| 98 | rw [← factorIso_eq_plain] |
| 99 | exact factorIso_points G b c d hd p |
| 100 | |
| 101 | theorem plainFactorIso_group : IsMonHom (plainFactorIso G b c d hd).hom := by |
| 102 | rw [← factorIso_eq_plain] |
| 103 | exact (GroupBaseChange.CM.factorGroupIso G c b d hd).hom.hom.isMonHom_hom |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.IteratedGroupPoints.CM |