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.AbelianScheme.IsogenyQuotient.Field.GroupRigidity |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth |
| 3 | |
| 4 | /-! # Reduced Group Rigidity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ReducedGroupRigidity.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Field-valued base changes detect maps from a reduced scheme. Applied to |
| 12 | the multiplication diagram, this identifies the two dual group laws |
| 13 | over reduced locally Noetherian bases. Reducedness is an explicit |
| 14 | hypothesis; the lemma does not discard infinitesimal test schemes. |
| 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 overHom_eq_of_field_baseChanges |
| 24 | {S : Scheme.{u}} {X Y : Over S} [IsReduced X.left] [IsSeparated Y.hom] |
| 25 | (f g : X ⟶ Y) |
| 26 | (h : ∀ (k : Type u) [Field k] (s : Spec (.of k) ⟶ S), |
| 27 | (Over.pullback s).map f = (Over.pullback s).map g) : f = g := by |
| 28 | ext1 |
| 29 | apply ext_of_fromSpecResidueField_eq f.left g.left Y.hom Set.univ dense_univ |
| 30 | · intro x _ |
| 31 | let a := X.left.fromSpecResidueField x |
| 32 | let s := a ≫ X.hom |
| 33 | let l : Spec (X.left.residueField x) ⟶ pullback X.hom s := |
| 34 | pullback.lift a (𝟙 _) (by simp [s]) |
| 35 | have H := congrArg (fun z => l ≫ z.left ≫ pullback.fst Y.hom s) |
| 36 | (h (X.left.residueField x) s) |
| 37 | simpa only [Over.pullback_map_left, ← Category.assoc, l, pullback.lift_fst, a] using H |
| 38 | · exact (Over.w f).trans (Over.w g).symm |
| 39 | |
| 40 | theorem pointed_isMonHom_of_reduced_square |
| 41 | {S : Scheme.{u}} (A B : Over S) [GrpObj A] [IsCommMonObj A] [GrpObj B] |
| 42 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 43 | [LocallyOfFiniteType B.hom] [IsSeparated B.hom] [IsReduced (A ⊗ A).left] |
| 44 | (f : A ⟶ B) (hf : η[A] ≫ f = η[B]) : IsMonHom f := by |
| 45 | refine ⟨hf, ?_⟩ |
| 46 | apply overHom_eq_of_field_baseChanges |
| 47 | intro k _ s |
| 48 | let F := Over.pullback s |
| 49 | let A' := F.obj A |
| 50 | let B' := F.obj B |
| 51 | have : Smooth A'.hom := inferInstanceAs (Smooth (pullback.snd A.hom s)) |
| 52 | have : IsProper A'.hom := inferInstanceAs (IsProper (pullback.snd A.hom s)) |
| 53 | have : GeometricallyConnected A'.hom := inferInstanceAs (GeometricallyConnected (pullback.snd A.hom s)) |
| 54 | have : LocallyOfFiniteType B'.hom := inferInstanceAs (LocallyOfFiniteType (pullback.snd B.hom s)) |
| 55 | have : IsSeparated B'.hom := inferInstanceAs (IsSeparated (pullback.snd B.hom s)) |
| 56 | have hunit : η[A'] ≫ F.map f = η[B'] := by |
| 57 | change (Functor.LaxMonoidal.ε F ≫ F.map η[A]) ≫ F.map f = |
| 58 | Functor.LaxMonoidal.ε F ≫ F.map η[B] |
| 59 | rw [Category.assoc, ← F.map_comp, hf] |
| 60 | have : IsMonHom (F.map f) := IsogenyQuotient.Field.GroupRigidity.Construction.pointed_isMonHom_over_field A' B' (F.map f) hunit |
| 61 | change F.map (μ[A] ≫ f) = F.map ((f ⊗ₘ f) ≫ μ[B]) |
| 62 | apply (cancel_epi (Functor.LaxMonoidal.μ F A A)).mp |
| 63 | have hmul := IsMonHom.mul_hom (F.map f) |
| 64 | change (Functor.LaxMonoidal.μ F A A ≫ F.map μ[A]) ≫ F.map f = |
| 65 | (F.map f ⊗ₘ F.map f) ≫ Functor.LaxMonoidal.μ F B B ≫ F.map μ[B] at hmul |
| 66 | rw [Functor.LaxMonoidal.μ_natural_assoc] at hmul |
| 67 | simpa only [Category.assoc, F.map_comp] using hmul |
| 68 | |
| 69 | theorem pointed_isMonHom_over_reduced_base |
| 70 | {S : Scheme.{u}} [IsReduced S] [IsLocallyNoetherian S] |
| 71 | (A B : Over S) [groupA : GrpObj A] [commA : IsCommMonObj A] [groupB : GrpObj B] |
| 72 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 73 | [LocallyOfFiniteType B.hom] [IsSeparated B.hom] |
| 74 | (f : A ⟶ B) (hf : η[A] ≫ f = η[B]) : IsMonHom f := by |
| 75 | have : Smooth (A ⊗ A).hom := by dsimp; infer_instance |
| 76 | have : GeometricallyReduced (A ⊗ A).hom := |
| 77 | Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.geometricallyReduced_of_smooth (A ⊗ A).hom |
| 78 | have : IsReduced (A ⊗ A).left := |
| 79 | GeometricallyReduced.isReduced_of_flat_of_isLocallyNoetherian (A ⊗ A).hom |
| 80 | exact pointed_isMonHom_of_reduced_square A B f hf |
| 81 | |
| 82 | theorem groupStructure_eq_of_origin_over_reduced_base |
| 83 | {S : Scheme.{u}} [IsReduced S] [IsLocallyNoetherian S] (X : Over S) |
| 84 | (G H : GrpObj X) (hcomm : letI := G; IsCommMonObj X) |
| 85 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 86 | (hunit : G.toMonObj.one = H.toMonObj.one) : G = H := by |
| 87 | have h := pointed_isMonHom_over_reduced_base (groupA := G) (commA := hcomm) (groupB := H) X X (𝟙 X) |
| 88 | ((Category.comp_id G.toMonObj.one).trans hunit) |
| 89 | have hm := @IsMonHom.mul_hom _ _ _ _ _ G.toMonObj H.toMonObj (𝟙 X) h |
| 90 | have hmul : G.toMonObj.mul = H.toMonObj.mul := by |
| 91 | simpa only [Category.comp_id, tensorHom_id, id_whiskerRight, Category.id_comp] using hm |
| 92 | exact GrpObj.ext G H (Picard.Homomorphisms.DualGroupComparison.Construction.monObj_eq_of_operations G.toMonObj H.toMonObj hunit hmul) |
| 93 | |
| 94 | theorem dualPicardGroup_eq_given_over_reduced_base |
| 95 | {S : Scheme.{u}} [IsReduced S] [IsLocallyNoetherian S] {A : Over S} [GrpObj A] |
| 96 | (D : Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData A) : |
| 97 | Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup D = D.group := |
| 98 | groupStructure_eq_of_origin_over_reduced_base D.abelian _ _ |
| 99 | (Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup_commutative D) |
| 100 | (Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup_origin D) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ReducedGroupRigidity.Construction |