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.Picard.Homomorphisms.DualGroupComparison |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.GroupDescent |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.CanonicalDualData |
| 4 | |
| 5 | /-! # Group Rigidity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Field.GroupRigidity.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Group-law rigidity descends from an algebraic closure along a faithfully |
| 13 | flat base change. Thus the original normalized Picard representation has |
| 14 | its given group law over every field, with no characteristic restriction. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | theorem isMonHom_of_faithful_monoidal_map |
| 24 | {C D : Type*} [Category* C] [Category* D] [MonoidalCategory C] [MonoidalCategory D] |
| 25 | (F : C ⥤ D) [F.Monoidal] [F.Faithful] {X Y : C} [MonObj X] [MonObj Y] |
| 26 | (f : X ⟶ Y) [IsMonHom (F.map f)] : IsMonHom f where |
| 27 | one_hom := by |
| 28 | apply F.map_injective |
| 29 | apply (cancel_epi (Functor.LaxMonoidal.ε F)).mp |
| 30 | have h := IsMonHom.one_hom (F.map f) |
| 31 | change (Functor.LaxMonoidal.ε F ≫ F.map MonObj.one) ≫ F.map f = |
| 32 | Functor.LaxMonoidal.ε F ≫ F.map MonObj.one at h |
| 33 | simpa only [Category.assoc, F.map_comp] using h |
| 34 | mul_hom := by |
| 35 | apply F.map_injective |
| 36 | apply (cancel_epi (Functor.LaxMonoidal.μ F X X)).mp |
| 37 | have h := IsMonHom.mul_hom (F.map f) |
| 38 | change (Functor.LaxMonoidal.μ F X X ≫ F.map MonObj.mul) ≫ F.map f = |
| 39 | (F.map f ⊗ₘ F.map f) ≫ Functor.LaxMonoidal.μ F Y Y ≫ F.map MonObj.mul at h |
| 40 | rw [Functor.LaxMonoidal.μ_natural_assoc] at h |
| 41 | simpa only [Category.assoc, F.map_comp] using h |
| 42 | |
| 43 | theorem pointed_isMonHom_over_field |
| 44 | {k : Type u} [Field k] |
| 45 | (A B : Over (Spec (.of k))) [groupA : GrpObj A] [commA : IsCommMonObj A] [groupB : GrpObj B] |
| 46 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 47 | [LocallyOfFiniteType B.hom] [IsSeparated B.hom] |
| 48 | (f : A ⟶ B) (hf : η[A] ≫ f = η[B]) : IsMonHom f := by |
| 49 | let s := Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k))) |
| 50 | have : Flat s := inferInstanceAs |
| 51 | (Flat (Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k))))) |
| 52 | have : Surjective s := ⟨Function.surjective_to_subsingleton _⟩ |
| 53 | have : QuasiCompact s := inferInstanceAs |
| 54 | (QuasiCompact (Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k))))) |
| 55 | have (Z : Scheme.{u}) (g : Z ⟶ Spec (.of k)) : Epi (pullback.fst g s) := inferInstance |
| 56 | let F := Over.pullback s |
| 57 | have : F.Faithful := inferInstance |
| 58 | let A' := F.obj A |
| 59 | let B' := F.obj B |
| 60 | have : Smooth A'.hom := inferInstanceAs (Smooth (pullback.snd A.hom s)) |
| 61 | have : IsProper A'.hom := inferInstanceAs (IsProper (pullback.snd A.hom s)) |
| 62 | have : GeometricallyConnected A'.hom := inferInstanceAs (GeometricallyConnected (pullback.snd A.hom s)) |
| 63 | have : LocallyOfFiniteType B'.hom := inferInstanceAs (LocallyOfFiniteType (pullback.snd B.hom s)) |
| 64 | have : IsSeparated B'.hom := inferInstanceAs (IsSeparated (pullback.snd B.hom s)) |
| 65 | have hunit : η[A'] ≫ F.map f = η[B'] := by |
| 66 | change (Functor.LaxMonoidal.ε F ≫ F.map η[A]) ≫ F.map f = |
| 67 | Functor.LaxMonoidal.ε F ≫ F.map η[B] |
| 68 | rw [Category.assoc, ← F.map_comp, hf] |
| 69 | have : IsMonHom (F.map f) := Picard.Homomorphisms.GroupRigidity.Construction.pointed_isMonHom A' B' (F.map f) hunit |
| 70 | exact isMonHom_of_faithful_monoidal_map F f |
| 71 | |
| 72 | theorem groupStructure_eq_of_origin_over_field |
| 73 | {k : Type u} [Field k] (X : Over (Spec (.of k))) |
| 74 | (G H : GrpObj X) (hcomm : letI := G; IsCommMonObj X) |
| 75 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 76 | (hunit : G.toMonObj.one = H.toMonObj.one) : G = H := by |
| 77 | have h := pointed_isMonHom_over_field (groupA := G) (commA := hcomm) (groupB := H) X X (𝟙 X) |
| 78 | ((Category.comp_id G.toMonObj.one).trans hunit) |
| 79 | have hm := @IsMonHom.mul_hom _ _ _ _ _ G.toMonObj H.toMonObj (𝟙 X) h |
| 80 | have hmul : G.toMonObj.mul = H.toMonObj.mul := by |
| 81 | simpa only [Category.comp_id, tensorHom_id, id_whiskerRight, Category.id_comp] using hm |
| 82 | exact GrpObj.ext G H (Picard.Homomorphisms.DualGroupComparison.Construction.monObj_eq_of_operations G.toMonObj H.toMonObj hunit hmul) |
| 83 | |
| 84 | theorem dualPicardGroup_eq_given_over_field |
| 85 | {k : Type u} [Field k] {A : Over (Spec (.of k))} [GrpObj A] |
| 86 | (D : Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData A) : |
| 87 | Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup D = D.group := |
| 88 | groupStructure_eq_of_origin_over_field D.abelian _ _ |
| 89 | (Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup_commutative D) |
| 90 | (Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup_origin D) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Field.GroupRigidity.Construction |