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.AbelianModuli.ReferenceFamily.ConstantSectionsOn |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.GroupIsomorphisms |
| 3 | |
| 4 | /-! # Group Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.GroupIso.FiniteGroupIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An injective map of finite constant group functors of equal degree |
| 11 | is an isomorphism. The proof handles variation over disconnected bases. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.Topology |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 17 | |
| 18 | variable {S : Scheme.{0}} {G H : Type} [Group G] [Group H] |
| 19 | (α : HilbertConstruction.Constant.GroupMaps.constantGroupFunctor S G ⟶ HilbertConstruction.Constant.GroupMaps.constantGroupFunctor S H) |
| 20 | |
| 21 | theorem label_injective |
| 22 | (hinj : ∀ T : Over S, Function.Injective (α.app (.op T))) (s : S) : |
| 23 | Function.Injective (HilbertConstruction.Constant.GroupMaps.constantGroupMapAt α s) := by |
| 24 | apply (MonoidHom.ker_eq_bot_iff _).mp |
| 25 | apply le_antisymm ?_ bot_le |
| 26 | intro c hc |
| 27 | change c = 1 |
| 28 | let d : LocallyConstant S H := α.app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) (LocallyConstant.const S c) |
| 29 | let U := ConstantSectionsOn.ConstantSections.fiberTest (ConstantSectionsOn.ConstantSections.baseTest S) d 1 |
| 30 | let j := ConstantSectionsOn.ConstantSections.fiberInclusion (ConstantSectionsOn.ConstantSections.baseTest S) d 1 |
| 31 | have hs : d s = 1 := hc |
| 32 | let t : U.left := ⟨s, hs⟩ |
| 33 | have hn := ConcreteCategory.congr_hom (α.naturality j.op) (LocallyConstant.const S c) |
| 34 | change α.app (.op U) (LocallyConstant.const U.left c) = |
| 35 | d.comap ⟨j.left, j.left.continuous⟩ at hn |
| 36 | have hd : d.comap ⟨j.left, j.left.continuous⟩ = 1 := by |
| 37 | apply LocallyConstant.ext |
| 38 | intro x |
| 39 | exact x.property |
| 40 | have hconst : LocallyConstant.const U.left c = 1 := |
| 41 | hinj U ((hn.trans hd).trans (map_one _).symm) |
| 42 | exact congrArg (fun f : LocallyConstant U.left G => f t) hconst |
| 43 | |
| 44 | def labelEquiv [Finite G] [Finite H] |
| 45 | (hinj : ∀ T : Over S, Function.Injective (α.app (.op T))) |
| 46 | (hcard : Nat.card G = Nat.card H) (s : S) : G ≃* H := |
| 47 | MulEquiv.ofBijective (HilbertConstruction.Constant.GroupMaps.constantGroupMapAt α s) |
| 48 | ((label_injective α hinj s).bijective_of_nat_card_le hcard.ge) |
| 49 | |
| 50 | def labelEquivs [Finite G] [Finite H] |
| 51 | (hinj : ∀ T : Over S, Function.Injective (α.app (.op T))) |
| 52 | (hcard : Nat.card G = Nat.card H) : LocallyConstant S (G ≃* H) where |
| 53 | toFun := labelEquiv α hinj hcard |
| 54 | isLocallyConstant := by |
| 55 | apply (IsLocallyConstant.iff_eventually_eq _).mpr |
| 56 | intro s |
| 57 | exact ((HilbertConstruction.Constant.GroupMaps.constantGroupMapLabels α).isLocallyConstant.eventually_eq s).mono |
| 58 | (fun _ h => MulEquiv.ext (fun c => congrArg (fun f : G →* H => f c) h)) |
| 59 | |
| 60 | /-- Equal finite degree upgrades the injective natural map itself to an |
| 61 | isomorphism, with the inverse explicitly supplied by the label groups. -/ |
| 62 | theorem isIso_of_injective_card_eq [Finite G] [Finite H] |
| 63 | (hinj : ∀ T : Over S, Function.Injective (α.app (.op T))) |
| 64 | (hcard : Nat.card G = Nat.card H) : IsIso α := by |
| 65 | let e := HilbertConstruction.Constant.GroupIsomorphisms.constantGroupIsoOfLabels (labelEquivs α hinj hcard) |
| 66 | have he : α = e.hom := by |
| 67 | apply HilbertConstruction.Constant.GroupMaps.constantGroupMap_ext |
| 68 | intro s |
| 69 | apply MonoidHom.ext |
| 70 | intro c |
| 71 | rfl |
| 72 | rw [he] |
| 73 | exact e.isIso_hom |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.GroupIso.FiniteGroupIso |