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.SplitGroup |
| 2 | |
| 3 | /-! # Group Splitting At -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.GroupSplittingAt.GroupSplitting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Construct group-compatible etale trivializations from finite etaleness |
| 10 | of the actual representing scheme. The finite group is recovered from |
| 11 | the actual fiber operations, not supplied as an input marking. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | variable {S S' : Scheme.{0}} (H : Over S) [GrpObj H] |
| 17 | |
| 18 | /-- The actual scheme pullback represents restriction of the group-valued |
| 19 | functor to the new base. -/ |
| 20 | def pullbackRepresentable (u : S' ⟶ S) : |
| 21 | ((Over.map u).op ⋙ yonedaGrpObj H ⋙ forget GrpCat).RepresentableBy |
| 22 | ((Over.pullback u).obj H) where |
| 23 | homEquiv {T} := ((Over.mapPullbackAdj u).homEquiv T H).symm |
| 24 | homEquiv_comp j f := by |
| 25 | apply Over.OverMorphism.ext |
| 26 | exact Category.assoc _ _ _ |
| 27 | |
| 28 | @[instance_reducible] |
| 29 | def pullbackGroup (u : S' ⟶ S) : GrpObj ((Over.pullback u).obj H) := |
| 30 | GrpObj.ofRepresentableBy _ ((Over.map u).op ⋙ yonedaGrpObj H) |
| 31 | (pullbackRepresentable H u) |
| 32 | |
| 33 | def pullbackYonedaIso (u : S' ⟶ S) : |
| 34 | letI := pullbackGroup H u |
| 35 | yonedaGrpObj ((Over.pullback u).obj H) ≅ (Over.map u).op ⋙ yonedaGrpObj H := by |
| 36 | let := pullbackGroup H u |
| 37 | exact yonedaGrpObjIsoOfRepresentableBy _ ((Over.map u).op ⋙ yonedaGrpObj H) |
| 38 | (pullbackRepresentable H u) |
| 39 | |
| 40 | /-- Every finite etale group scheme has group-compatible etale local |
| 41 | trivializations. The group law on the finite label set is constructed. -/ |
| 42 | theorem exists_group_splitting_at [IsFinite H.hom] [Etale H.hom] (s : S) : |
| 43 | ∃ (T : Scheme.{0}) (u : T ⟶ S), Etale u ∧ s ∈ Set.range u ∧ |
| 44 | ∃ (G : Type) (_ : Group G) (_ : Finite G), Nonempty |
| 45 | (HilbertConstruction.Constant.GroupMaps.constantGroupFunctor T G ≅ (Over.map u).op ⋙ yonedaGrpObj H) := by |
| 46 | obtain ⟨R, _, u, hu, ⟨t, ht⟩, r, ⟨e⟩⟩ := |
| 47 | SchemeSplitting.EtaleSplitting.exists_scheme_splitting_at H s |
| 48 | let := pullbackGroup H u |
| 49 | let U := SplitGroup.SplitGroupLabels.tableNeighborhood e t |
| 50 | let v := U.ι |
| 51 | let := SplitGroup.SplitGroupLabels.groupAt e t |
| 52 | have hv : Etale v := inferInstance |
| 53 | refine ⟨U.toScheme, v ≫ u, inferInstance, ⟨⟨t, rfl⟩, ht⟩, |
| 54 | Fin r, inferInstance, inferInstance, ⟨?_⟩⟩ |
| 55 | let a := SplitGroup.SplitGroupLabels.localGroupIso e t |
| 56 | let b := Functor.isoWhiskerLeft (Over.map v).op (pullbackYonedaIso H u) |
| 57 | have hcomp : (Over.map v).op ⋙ ((Over.map u).op ⋙ yonedaGrpObj H) = |
| 58 | (Over.map (v ≫ u)).op ⋙ yonedaGrpObj H := by |
| 59 | rw [Over.mapComp_eq] |
| 60 | rfl |
| 61 | exact a ≪≫ b ≪≫ eqToIso hcomp |
| 62 | |
| 63 | /-- Apply the construction to the actual abelian-scheme torsion kernel. |
| 64 | Only its finite etaleness is needed for the local finite-group splitting. -/ |
| 65 | theorem exists_torsion_group_splitting_at {g N : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 66 | [IsFinite (A.torsionScheme N).hom] [Etale (A.torsionScheme N).hom] (s : S) : |
| 67 | ∃ (T : Scheme.{0}) (u : T ⟶ S), Etale u ∧ s ∈ Set.range u ∧ |
| 68 | ∃ (G : Type) (_ : Group G) (_ : Finite G), Nonempty |
| 69 | (HilbertConstruction.Constant.GroupMaps.constantGroupFunctor T G ≅ (Over.map u).op ⋙ A.torsionFunctor N) := by |
| 70 | obtain ⟨T, u, hu, hs, G, hG, hf, ⟨e⟩⟩ := exists_group_splitting_at (A.torsionScheme N) s |
| 71 | exact ⟨T, u, hu, hs, G, hG, hf, |
| 72 | ⟨e ≪≫ Functor.isoWhiskerLeft (Over.map u).op (A.torsionSchemeYonedaIso N)⟩⟩ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.GroupSplittingAt.GroupSplitting |