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.FiniteGroups |
| 2 | |
| 3 | /-! # Group Diagram -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.GroupDiagram.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Designated commutative group objects in a finite diagram retain their |
| 10 | structures and chosen generic-fiber identifications. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 14 | open scoped _root_.NumberField |
| 15 | |
| 16 | universe u v w z |
| 17 | |
| 18 | theorem finite_group_structures_on_models |
| 19 | {K : Type u} [Field K] {s : Finset K} {I : Type v} {β : Type w} [Finite β] |
| 20 | (M : I → Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s)) |
| 21 | (hM : ∀ i, Smooth (M i).hom ∧ IsProper (M i).hom) |
| 22 | (X : I → Over (Spec (.of K))) |
| 23 | (e : ∀ i, (Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s)).obj (M i) ≅ X i) |
| 24 | (index : β → I) (group : ∀ b, GrpObj (X (index b))) |
| 25 | (hcomm : ∀ b, letI := group b; IsCommMonObj (X (index b))) : |
| 26 | ∃ (t : Finset K) (h : s ⊆ t), |
| 27 | let F := Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K h) |
| 28 | let G := Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K t) |
| 29 | ∃ groupN : ∀ b, GrpObj (F.obj (M (index b))), |
| 30 | ∀ b, |
| 31 | (letI := groupN b; IsCommMonObj (F.obj (M (index b)))) ∧ |
| 32 | (letI := group b |
| 33 | letI := groupN b |
| 34 | letI : GrpObj (G.obj (F.obj (M (index b)))) := Functor.grpObjObj (F := G) |
| 35 | IsMonHom ((GenericMorphisms.Construction.coefficientGenericComparisonAt h (M (index b)) ≪≫ e (index b)).hom)) := by |
| 36 | let H := Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s) |
| 37 | let A := fun b ↦ M (index b) |
| 38 | have (b : β) : Smooth (A b).hom := (hM (index b)).1 |
| 39 | have (b : β) : IsProper (A b).hom := (hM (index b)).2 |
| 40 | let groupA (b : β) : GrpObj (H.obj (A b)) := by |
| 41 | let := group b |
| 42 | exact GrpObj.ofIso (e (index b)).symm |
| 43 | have (b : β) : IsCommMonObj (H.obj (A b)) := by |
| 44 | let := group b |
| 45 | have := hcomm b |
| 46 | exact GroupReflection.Construction.commutative_group_of_iso (e (index b)).symm |
| 47 | obtain ⟨t, h, groupN, hgN⟩ := FiniteGroups.Construction.finite_commutative_group_models_after_enlargement A |
| 48 | let F := Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K h) |
| 49 | let G := Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K t) |
| 50 | let c := GenericMorphisms.Construction.coefficientGenericComparison h |
| 51 | refine ⟨t, h, groupN, fun b ↦ ⟨(hgN b).1, ?_⟩⟩ |
| 52 | let := group b |
| 53 | let := groupN b |
| 54 | let : GrpObj (G.obj (F.obj (A b))) := Functor.grpObjObj (F := G) |
| 55 | let ec : G.obj (F.obj (A b)) ≅ H.obj (A b) := GenericMorphisms.Construction.coefficientGenericComparisonAt h (A b) |
| 56 | have hc : IsMonHom ec.hom := |
| 57 | GroupReflection.Construction.image_group_iso_isMonHom G (F.obj (A b)) (H.obj (A b)) ec (groupN b) (hgN b).2 |
| 58 | have he : IsMonHom (e (index b)).hom := GroupReflection.Construction.transported_group_iso_isMonHom (e (index b)) |
| 59 | exact inferInstanceAs (IsMonHom (ec.hom ≫ (e (index b)).hom)) |
| 60 | |
| 61 | theorem finite_smooth_proper_group_diagram_coefficient_model |
| 62 | {K : Type u} [Field K] [NumberField K] |
| 63 | {I : Type v} {α : Type w} {β : Type z} [Finite I] [Finite α] [Finite β] |
| 64 | (X : I → Over (Base.Construction.fieldBase K)) (hs : ∀ i, Smooth (X i).hom) |
| 65 | (hp : ∀ i, IsProper (X i).hom) (src dst : α → I) |
| 66 | (f : ∀ a, X (src a) ⟶ X (dst a)) |
| 67 | (index : β → I) (group : ∀ b, GrpObj (X (index b))) |
| 68 | (hcomm : ∀ b, letI := group b; IsCommMonObj (X (index b))) : |
| 69 | ∃ (s : Finset K) (M : I → Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s)) |
| 70 | (fM : ∀ a, M (src a) ⟶ M (dst a)) |
| 71 | (e : ∀ i, (Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s)).obj (M i) ≅ X i) |
| 72 | (groupM : ∀ b, GrpObj (M (index b))), |
| 73 | (∀ i, Smooth (M i).hom ∧ IsProper (M i).hom) ∧ |
| 74 | (∀ a, (Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s)).map (fM a) ≫ (e (dst a)).hom = |
| 75 | (e (src a)).hom ≫ f a) ∧ |
| 76 | (∀ b, |
| 77 | letI := group b |
| 78 | letI := groupM b |
| 79 | letI : GrpObj ((Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s)).obj (M (index b))) := |
| 80 | Functor.grpObjObj |
| 81 | IsCommMonObj (M (index b)) ∧ IsMonHom (e (index b)).hom) := by |
| 82 | obtain ⟨s, M, p, fM, hM, hcart, hfM⟩ := |
| 83 | SpreadingOut.Finite.Construction.finite_smooth_proper_arrows_coefficient_model X hs hp src dst f |
| 84 | let H := Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s) |
| 85 | let e (i : I) : H.obj (M i) ≅ X i := |
| 86 | Over.isoMk (hcart i).isoPullback.symm (hcart i).isoPullback_inv_snd |
| 87 | have he (a : α) : H.map (fM a) ≫ (e (dst a)).hom = (e (src a)).hom ≫ f a := |
| 88 | Diagram.Construction.cartesian_generic_iso_compatibility _ _ _ (hcart _) (hcart _) (f a) (fM a) (hfM a) |
| 89 | obtain ⟨t, h, groupN, hgroupN⟩ := finite_group_structures_on_models M hM X e index group hcomm |
| 90 | let F := Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K h) |
| 91 | let G := Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K t) |
| 92 | let c := GenericMorphisms.Construction.coefficientGenericComparison h |
| 93 | refine ⟨t, (fun i ↦ F.obj (M i)), (fun a ↦ F.map (fM a)), |
| 94 | (fun i ↦ GenericMorphisms.Construction.coefficientGenericComparisonAt h (M i) ≪≫ e i), groupN, ?_, ?_, ?_⟩ |
| 95 | · intro i |
| 96 | have := (hM i).1 |
| 97 | have := (hM i).2 |
| 98 | exact ⟨inferInstanceAs (Smooth (pullback.snd (M i).hom _)), |
| 99 | inferInstanceAs (IsProper (pullback.snd (M i).hom _))⟩ |
| 100 | · intro a |
| 101 | have hc : G.map (F.map (fM a)) ≫ (c.app (M (dst a))).hom = |
| 102 | (c.app (M (src a))).hom ≫ H.map (fM a) := c.hom.naturality (fM a) |
| 103 | change G.map (F.map (fM a)) ≫ (c.app (M (dst a))).hom ≫ (e (dst a)).hom = |
| 104 | ((c.app (M (src a))).hom ≫ (e (src a)).hom) ≫ f a |
| 105 | rw [← Category.assoc, hc, Category.assoc, he, Category.assoc] |
| 106 | · intro b |
| 107 | exact hgroupN b |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.ArithmeticGeometry.Models.SpreadingOut.GroupDiagram.Construction |