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.EtaleGroupFunctor |
| 2 | import Mathlib.Algebra.Module.ZMod |
| 3 | |
| 4 | /-! # Etale Label Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EtaleLabelTransport.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | An actual isomorphism of the native active etale group schemes induces a |
| 12 | linear isomorphism of their F_q label planes and a bijection of all lines. |
| 13 | The linearity and line bijection are derived from the original group map. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | /-- A locally constant section over the spectrum of a field is its |
| 22 | single value, with the original group operations. -/ |
| 23 | def fieldConstantSectionsEquiv (k : Type u) [Field k] (G : Type u) [Group G] : |
| 24 | LocallyConstant (Spec (.of k)) G ≃* G where |
| 25 | toFun f := f (IsLocalRing.closedPoint k) |
| 26 | invFun g := LocallyConstant.const _ g |
| 27 | left_inv f := by |
| 28 | apply LocallyConstant.ext |
| 29 | intro x |
| 30 | exact congrArg f (Subsingleton.elim _ _) |
| 31 | right_inv _ := rfl |
| 32 | map_mul' _ _ := rfl |
| 33 | |
| 34 | /-- The rational points of the actual finite etale model are its |
| 35 | original labels, rather than a separately assumed marking. -/ |
| 36 | def fieldEtalePointsEquiv (k : Type u) [Field k] (G : Type u) [Group G] : |
| 37 | (Over.mk (𝟙 (Spec (.of k))) ⟶ (EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) G).X) ≃* G := |
| 38 | (((EtaleSubgroups.Construction.etaleGroupPointIso (Spec (.of k)) G).app (op (Over.mk (𝟙 _)))).groupIsoToMulEquiv).trans |
| 39 | (fieldConstantSectionsEquiv k G) |
| 40 | |
| 41 | /-- Recover the label-group isomorphism from a native etale isomorphism. -/ |
| 42 | def fieldEtaleLabelIso (k : Type u) [Field k] {G H : Type u} [Group G] [Group H] |
| 43 | (a : EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) G ≅ EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) H) : G ≃* H := |
| 44 | (fieldEtalePointsEquiv k G).symm.trans |
| 45 | ((((yonedaGrp.mapIso a).app (op (Over.mk (𝟙 _)))).groupIsoToMulEquiv).trans |
| 46 | (fieldEtalePointsEquiv k H)) |
| 47 | |
| 48 | /-- The recovered label map describes the original native map on |
| 49 | every test scheme, including disconnected and nonreduced tests. -/ |
| 50 | theorem fieldEtaleLabelIso_sections (k : Type u) [Field k] |
| 51 | {G H : Type u} [Group G] [Group H] |
| 52 | (a : EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) G ≅ EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) H) |
| 53 | (T : Over (Spec (.of k))) (t : T ⟶ (EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) G).X) |
| 54 | (x : T.left) : |
| 55 | LocallyConstant.toFun ((EtaleSubgroups.Construction.etaleGroupPointIso (Spec (.of k)) H).hom.app (op T) |
| 56 | (t ≫ a.hom.hom.hom)) x = |
| 57 | fieldEtaleLabelIso k a |
| 58 | (LocallyConstant.toFun ((EtaleSubgroups.Construction.etaleGroupPointIso (Spec (.of k)) G).hom.app (op T) t) x) := by |
| 59 | let α := (EtaleSubgroups.Construction.etaleGroupPointIso (Spec (.of k)) G).inv ≫ yonedaGrp.map a.hom ≫ |
| 60 | (EtaleSubgroups.Construction.etaleGroupPointIso (Spec (.of k)) H).hom |
| 61 | have h : (EtaleSubgroups.Construction.etaleGroupPointIso (Spec (.of k)) G).hom ≫ α = |
| 62 | yonedaGrp.map a.hom ≫ (EtaleSubgroups.Construction.etaleGroupPointIso (Spec (.of k)) H).hom := by |
| 63 | simp only [α, ← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 64 | have ht := congrArg (fun β => (β.app (op T)).hom t) h |
| 65 | have hx := congrArg (fun c : LocallyConstant T.left H => c x) ht |
| 66 | refine hx.symm.trans ((AbelianModuli.HilbertConstruction.Constant.GroupMaps.constantGroupMap_apply α T |
| 67 | ((EtaleSubgroups.Construction.etaleGroupPointIso (Spec (.of k)) G).hom.app (op T) t) x).trans ?_) |
| 68 | rw [show T.hom x = IsLocalRing.closedPoint k from Subsingleton.elim _ _] |
| 69 | rfl |
| 70 | |
| 71 | theorem fieldEtaleLabelIso_recovers (k : Type u) [Field k] |
| 72 | {G H : Type u} [Group G] [Group H] |
| 73 | (a : EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) G ≅ EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) H) : |
| 74 | a.hom = EtaleSubgroups.Construction.etaleGroupMap (Spec (.of k)) (fieldEtaleLabelIso k a).toMonoidHom := by |
| 75 | apply EtaleGroupFunctor.Construction.etaleGroupHom_ext |
| 76 | intro T t x |
| 77 | exact (fieldEtaleLabelIso_sections k a T t x).trans |
| 78 | (EtaleSubgroups.Construction.etaleGroupMap_sections _ (fieldEtaleLabelIso k a).toMonoidHom T t x).symm |
| 79 | |
| 80 | /-- Additive maps of F_q spaces are F_q-linear because q is prime. -/ |
| 81 | def activeEtaleLinearEquiv (q : ℕ) [Fact q.Prime] (k : Type u) [Field k] |
| 82 | (a : EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q ≅ EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q) : |
| 83 | EtaleSubgroups.Construction.ActiveEtalePlane q ≃ₗ[ZMod q] EtaleSubgroups.Construction.ActiveEtalePlane q := by |
| 84 | let big : ULift.{u} (Multiplicative (EtaleSubgroups.Construction.ActiveEtalePlane q)) ≃* |
| 85 | ULift.{u} (Multiplicative (EtaleSubgroups.Construction.ActiveEtalePlane q)) := fieldEtaleLabelIso k a |
| 86 | let small : Multiplicative (EtaleSubgroups.Construction.ActiveEtalePlane q) ≃* Multiplicative (EtaleSubgroups.Construction.ActiveEtalePlane q) := |
| 87 | MulEquiv.ulift.symm.trans big |>.trans MulEquiv.ulift |
| 88 | let additive : EtaleSubgroups.Construction.ActiveEtalePlane q ≃+ EtaleSubgroups.Construction.ActiveEtalePlane q := AddEquiv.toMultiplicative.symm small |
| 89 | exact LinearEquiv.ofBijective (additive.toAddMonoidHom.toZModLinearMap q) additive.bijective |
| 90 | |
| 91 | /-- Every linear change of the actual active plane permutes all its |
| 92 | lines, with each source line and target line appearing once. -/ |
| 93 | def activeEtaleLineEquiv (q : ℕ) [Fact q.Prime] |
| 94 | (a : EtaleSubgroups.Construction.ActiveEtalePlane q ≃ₗ[ZMod q] EtaleSubgroups.Construction.ActiveEtalePlane q) : |
| 95 | EtaleSubgroups.Construction.ActiveEtaleLine q ≃ EtaleSubgroups.Construction.ActiveEtaleLine q := |
| 96 | (Submodule.orderIsoMapComap a).toEquiv.subtypeEquiv (by |
| 97 | intro L |
| 98 | change Module.finrank (ZMod q) L = 1 ↔ Module.finrank (ZMod q) (L.map a.toLinearMap) = 1 |
| 99 | rw [a.finrank_map_eq L]) |
| 100 | |
| 101 | /-- The line permutation comes from the given native group-scheme |
| 102 | isomorphism, without a supplied choice bijection or linearity premise. -/ |
| 103 | def nativeActiveEtaleLineEquiv (q : ℕ) [Fact q.Prime] (k : Type u) [Field k] |
| 104 | (a : EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q ≅ EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q) : |
| 105 | EtaleSubgroups.Construction.ActiveEtaleLine q ≃ EtaleSubgroups.Construction.ActiveEtaleLine q := |
| 106 | activeEtaleLineEquiv q (activeEtaleLinearEquiv q k a) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EtaleLabelTransport.Construction |