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.ArithmeticGeometry.Models.SpreadingOut.SplitGroupDiagram |
| 2 | import Mathlib.CategoryTheory.Monoidal.CommMon_ |
| 3 | |
| 4 | /-! # Split Diagram -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.SplitDiagram.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth proper arithmetic models of finite diagrams with designated |
| 11 | commutative group objects, preserving the chosen generic group isomorphisms. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | universe u v w z |
| 18 | |
| 19 | theorem finite_split_group_diagram_arithmetic_model |
| 20 | {K : Type u} [Field K] [NumberField K] |
| 21 | {I : Type v} {α : Type w} {β : Type z} [Finite I] [Finite α] [Finite β] |
| 22 | (X : I → Over (Base.Construction.fieldBase K)) (hs : ∀ i, Smooth (X i).hom) |
| 23 | (hp : ∀ i, IsProper (X i).hom) (hX : ∀ i, Base.Construction.HasSplitGeometricComponents (X i)) |
| 24 | (src dst : α → I) |
| 25 | (f : ∀ a, X (src a) ⟶ X (dst a)) |
| 26 | (index : β → I) (group : ∀ b, GrpObj (X (index b))) |
| 27 | (hcomm : ∀ b, letI := group b; IsCommMonObj (X (index b))) |
| 28 | (hconn : ∀ b, GeometricallyConnected (X (index b)).hom) : |
| 29 | ∃ (B : Base.Construction.ArithmeticOpen K) (M : I → Over B.U.toScheme) |
| 30 | (fM : ∀ a, M (src a) ⟶ M (dst a)) |
| 31 | (e : ∀ i, (Over.pullback B.generic).obj (M i) ≅ X i) |
| 32 | (groupM : ∀ b, GrpObj (M (index b))), |
| 33 | (∀ i, Smooth (M i).hom ∧ IsProper (M i).hom ∧ Base.Construction.HasSplitGeometricComponents (M i)) ∧ |
| 34 | (∀ a, (Over.pullback B.generic).map (fM a) ≫ (e (dst a)).hom = |
| 35 | (e (src a)).hom ≫ f a) ∧ |
| 36 | (∀ b, |
| 37 | letI := group b |
| 38 | letI := groupM b |
| 39 | letI : GrpObj ((Over.pullback B.generic).obj (M (index b))) := Functor.grpObjObj |
| 40 | IsCommMonObj (M (index b)) ∧ GeometricallyConnected (M (index b)).hom ∧ |
| 41 | IsMonHom (e (index b)).hom) := by |
| 42 | obtain ⟨s, M, fM, e, groupM, hM, he, hgroup⟩ := |
| 43 | SplitGroupDiagram.Construction.finite_split_group_diagram_coefficient_model X hs hp hX src dst f index group hcomm hconn |
| 44 | obtain ⟨B, b, hb⟩ := Diagram.Construction.coefficient_arithmetic_base s |
| 45 | let F := Over.pullback b |
| 46 | let G := Over.pullback B.generic |
| 47 | let H := Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s) |
| 48 | let c : F ⋙ G ≅ H := Classical.choice ⟨ |
| 49 | (Over.pullbackComp B.generic b).symm ≪≫ |
| 50 | eqToIso (congrArg (fun k : Base.Construction.fieldBase K ⟶ CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s ↦ Over.pullback k) hb)⟩ |
| 51 | let ec (i : I) : G.obj (F.obj (M i)) ≅ H.obj (M i) := c.app (M i) |
| 52 | let groupN (j : β) : GrpObj (F.obj (M (index j))) := by |
| 53 | let := groupM j |
| 54 | exact Functor.grpObjObj (F := F) |
| 55 | refine ⟨B, (fun i ↦ F.obj (M i)), (fun a ↦ F.map (fM a)), |
| 56 | (fun i ↦ ec i ≪≫ e i), groupN, ?_, ?_, ?_⟩ |
| 57 | · intro i |
| 58 | have := (hM i).1 |
| 59 | have := (hM i).2.1 |
| 60 | exact ⟨inferInstanceAs (Smooth (pullback.snd (M i).hom b)), |
| 61 | inferInstanceAs (IsProper (pullback.snd (M i).hom b)), |
| 62 | SplitComponentsBaseChange.Construction.hasSplitGeometricComponents_baseChange b (M i) (hM i).2.2⟩ |
| 63 | · intro a |
| 64 | have hc : G.map (F.map (fM a)) ≫ (ec (dst a)).hom = |
| 65 | (ec (src a)).hom ≫ H.map (fM a) := c.hom.naturality (fM a) |
| 66 | change G.map (F.map (fM a)) ≫ (ec (dst a)).hom ≫ (e (dst a)).hom = |
| 67 | ((ec (src a)).hom ≫ (e (src a)).hom) ≫ f a |
| 68 | rw [← Category.assoc, hc, Category.assoc, he, Category.assoc] |
| 69 | · intro j |
| 70 | let := group j |
| 71 | let := groupM j |
| 72 | let : GrpObj (F.obj (M (index j))) := groupN j |
| 73 | let : GrpObj (G.obj (F.obj (M (index j)))) := Functor.grpObjObj (F := G) |
| 74 | let : GrpObj (H.obj (M (index j))) := Functor.grpObjObj (F := H) |
| 75 | have : IsCommMonObj (M (index j)) := (hgroup j).1 |
| 76 | have : GeometricallyConnected (M (index j)).hom := (hgroup j).2.1 |
| 77 | refine ⟨inferInstanceAs (IsCommMonObj (F.obj (M (index j)))), |
| 78 | inferInstanceAs (GeometricallyConnected (pullback.snd (M (index j)).hom b)), ?_⟩ |
| 79 | have hc : IsMonHom (ec (index j)).hom := GroupBaseChange.Construction.baseChange_comparison_group_hom F G H c (M (index j)) |
| 80 | have he' : IsMonHom (e (index j)).hom := (hgroup j).2.2 |
| 81 | exact inferInstanceAs (IsMonHom ((ec (index j)).hom ≫ (e (index j)).hom)) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.ArithmeticGeometry.Models.SpreadingOut.SplitDiagram.Construction |