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.FrobeniusKernel.EtaleSubgroups |
| 2 | |
| 3 | /-! # Etale Group Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EtaleGroupFunctor.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native functoriality of finite constant group schemes, verified on |
| 10 | all test schemes through their original locally constant sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (S : Scheme.{u}) {G H K : Type u} [Group G] [Group H] [Group K] |
| 18 | |
| 19 | theorem etaleGroupHom_ext |
| 20 | {a b : EtaleSubgroups.Construction.etaleGroupScheme S G ⟶ EtaleSubgroups.Construction.etaleGroupScheme S H} |
| 21 | (h : ∀ (T : Over S) (t : T ⟶ (EtaleSubgroups.Construction.etaleGroupScheme S G).X) (x : T.left), |
| 22 | LocallyConstant.toFun ((EtaleSubgroups.Construction.etaleGroupPointIso S H).hom.app (op T) |
| 23 | (t ≫ a.hom.hom)) x = |
| 24 | LocallyConstant.toFun ((EtaleSubgroups.Construction.etaleGroupPointIso S H).hom.app (op T) |
| 25 | (t ≫ b.hom.hom)) x) : a = b := by |
| 26 | apply yonedaGrp.map_injective |
| 27 | apply NatTrans.ext |
| 28 | funext T |
| 29 | apply GrpCat.hom_ext |
| 30 | apply MonoidHom.ext |
| 31 | intro t |
| 32 | apply ((EtaleSubgroups.Construction.etaleGroupPointIso S H).app T).groupIsoToMulEquiv.injective |
| 33 | exact LocallyConstant.ext (h T.unop t) |
| 34 | |
| 35 | theorem etaleGroupMap_id : EtaleSubgroups.Construction.etaleGroupMap S (MonoidHom.id G) = 𝟙 _ := by |
| 36 | apply etaleGroupHom_ext |
| 37 | intro T t x |
| 38 | exact EtaleSubgroups.Construction.etaleGroupMap_sections S (MonoidHom.id G) T t x |
| 39 | |
| 40 | theorem etaleGroupMap_comp (f : G →* H) (g : H →* K) : |
| 41 | EtaleSubgroups.Construction.etaleGroupMap S f ≫ EtaleSubgroups.Construction.etaleGroupMap S g = EtaleSubgroups.Construction.etaleGroupMap S (g.comp f) := by |
| 42 | apply etaleGroupHom_ext |
| 43 | intro T t x |
| 44 | change LocallyConstant.toFun ((EtaleSubgroups.Construction.etaleGroupPointIso S K).hom.app (op T) |
| 45 | (t ≫ (EtaleSubgroups.Construction.etaleGroupMap S f).hom.hom ≫ (EtaleSubgroups.Construction.etaleGroupMap S g).hom.hom)) x = _ |
| 46 | rw [← Category.assoc, EtaleSubgroups.Construction.etaleGroupMap_sections, EtaleSubgroups.Construction.etaleGroupMap_sections, |
| 47 | EtaleSubgroups.Construction.etaleGroupMap_sections] |
| 48 | rfl |
| 49 | |
| 50 | /-- An isomorphism of the original labels induces an actual native |
| 51 | group-scheme isomorphism. -/ |
| 52 | def etaleGroupIso (a : G ≃* H) : EtaleSubgroups.Construction.etaleGroupScheme S G ≅ EtaleSubgroups.Construction.etaleGroupScheme S H where |
| 53 | hom := EtaleSubgroups.Construction.etaleGroupMap S a.toMonoidHom |
| 54 | inv := EtaleSubgroups.Construction.etaleGroupMap S a.symm.toMonoidHom |
| 55 | hom_inv_id := by |
| 56 | rw [etaleGroupMap_comp] |
| 57 | convert etaleGroupMap_id S using 1 |
| 58 | exact congrArg (EtaleSubgroups.Construction.etaleGroupMap S) (MonoidHom.ext a.symm_apply_apply) |
| 59 | inv_hom_id := by |
| 60 | rw [etaleGroupMap_comp] |
| 61 | convert etaleGroupMap_id S using 1 |
| 62 | exact congrArg (EtaleSubgroups.Construction.etaleGroupMap S) (MonoidHom.ext a.apply_symm_apply) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EtaleGroupFunctor.Construction |