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.GroupSchemes.FiniteEtale |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.BaseChange |
| 3 | |
| 4 | /-! # Group Field Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GroupFieldBaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar extension of FiniteEtale's actual finite commutative group schemes. |
| 11 | The new coordinate algebra is the tensor product, and its group law is |
| 12 | transported from the native scheme pullback, retaining nonreduced structure. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 15 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | attribute [local instance] BaseChange.Construction.pulledBackGroup |
| 20 | |
| 21 | variable {k k' : Type u} [Field k] [Field k'] [Algebra k k'] |
| 22 | variable (G : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k) |
| 23 | |
| 24 | def finiteGroupFieldBaseMap : Spec (.of k') ⟶ Spec (.of k) := |
| 25 | Spec.map (CommRingCat.ofHom (algebraMap k k')) |
| 26 | |
| 27 | def finiteGroupFieldBaseChangeSchemeIso : |
| 28 | (Over.pullback (finiteGroupFieldBaseMap (k := k) (k' := k'))).obj G.scheme ≅ |
| 29 | GroupSchemes.FiniteEtale.affine k' (CommAlgCat.of k' (k' ⊗[k] G.algebra)) := |
| 30 | (pullbackSymmetry .. ≪≫ pullbackSpecIso' k k' G.algebra).asOver (Spec (.of k')) |
| 31 | |
| 32 | @[instance_reducible] |
| 33 | def finiteGroupFieldBaseChangeGroup : |
| 34 | CommGrpObj (GroupSchemes.FiniteEtale.affine k' (CommAlgCat.of k' (k' ⊗[k] G.algebra))) := by |
| 35 | let F := Over.pullback (finiteGroupFieldBaseMap (k := k) (k' := k')) |
| 36 | let e := finiteGroupFieldBaseChangeSchemeIso (k' := k') G |
| 37 | let : GrpObj (F.obj G.scheme) := Functor.grpObjObj |
| 38 | let : IsCommMonObj (F.obj G.scheme) := Functor.isCommMonObj_obj (F := F) (M := G.scheme) |
| 39 | let : GrpObj (GroupSchemes.FiniteEtale.affine k' (CommAlgCat.of k' (k' ⊗[k] G.algebra))) := GrpObj.ofIso e |
| 40 | have : IsMonHom e.hom := isMonHom_ofIso e |
| 41 | have : IsCommMonObj (GroupSchemes.FiniteEtale.affine k' (CommAlgCat.of k' (k' ⊗[k] G.algebra))) := by |
| 42 | apply (isCommMonObj_iff_isMulCommutative _).mpr |
| 43 | intro T |
| 44 | refine ⟨⟨fun a b => ?_⟩⟩ |
| 45 | apply (cancel_mono e.inv).mp |
| 46 | rw [MonObj.mul_comp, MonObj.mul_comp] |
| 47 | exact mul_comm _ _ |
| 48 | infer_instance |
| 49 | |
| 50 | def finiteGroupFieldBaseChange : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k' where |
| 51 | algebra := CommAlgCat.of k' (k' ⊗[k] G.algebra) |
| 52 | finite := inferInstance |
| 53 | group := finiteGroupFieldBaseChangeGroup G |
| 54 | |
| 55 | theorem finiteGroupFieldBaseChange_finrank : |
| 56 | Module.finrank k' (finiteGroupFieldBaseChange (k' := k') G).algebra = |
| 57 | Module.finrank k G.algebra := |
| 58 | Module.finrank_baseChange |
| 59 | |
| 60 | instance finiteGroupFieldBaseChangeSchemeIso_isMonHom : |
| 61 | IsMonHom (show (Over.pullback (finiteGroupFieldBaseMap (k := k) (k' := k'))).obj G.scheme ⟶ |
| 62 | (finiteGroupFieldBaseChange (k' := k') G).scheme from |
| 63 | (finiteGroupFieldBaseChangeSchemeIso (k' := k') G).hom) := |
| 64 | isMonHom_ofIso (finiteGroupFieldBaseChangeSchemeIso (k' := k') G) |
| 65 | |
| 66 | def finiteGroupFieldBaseChangeGroupIso : |
| 67 | (Over.pullback (finiteGroupFieldBaseMap (k := k) (k' := k'))).mapGrp.obj (Grp.mk G.scheme) ≅ |
| 68 | Grp.mk (finiteGroupFieldBaseChange (k' := k') G).scheme := by |
| 69 | letI := finiteGroupFieldBaseChangeGroup (k' := k') G |
| 70 | exact Grp.mkIso' (finiteGroupFieldBaseChangeSchemeIso (k' := k') G) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GroupFieldBaseChange.Construction |