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.PELModuli.IntegralModel.Group.SectionPullback |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.LevelMapPullback |
| 3 | |
| 4 | /-! # Level From Local Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.LevelFromLocalSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construct an actual full level from actual global sections which |
| 11 | recover a given full level on an fppf base cover. No inverse level or |
| 12 | effectivity assumption is supplied: the inverse follows from sheaf descent. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {g N : ℕ} {S T : Scheme.{0}} (u : T ⟶ S) |
| 19 | [Flat u] [Surjective u] [LocallyOfFinitePresentation u] |
| 20 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (β : (A.pullback u).FullLevel N) |
| 21 | (z : Multiplicative (Fin (2 * g) → ZMod N) → (Over.mk (𝟙 S) ⟶ A.scheme)) |
| 22 | (hz : ∀ c, Group.SectionPullback.groupSectionPullback A.scheme u (z c) = LevelSections.fullLevelSection β c) |
| 23 | |
| 24 | def fullLevelOfLocalSectionsMap : |
| 25 | AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor g N S ⟶ A.torsionFunctor N := |
| 26 | AbelianModuli.ReferenceFamily.UniversalFrames.LevelCover.torsionSectionExtension A (Group.SectionPullback.torsionSectionsOfPullback u A β z hz) |
| 27 | |
| 28 | theorem fullLevelOfLocalSectionsMap_const (c : Multiplicative (Fin (2 * g) → ZMod N)) : |
| 29 | ((fullLevelOfLocalSectionsMap u A β z hz).app (.op (Over.mk (𝟙 S))) |
| 30 | (LocallyConstant.const S c)).val = z c := |
| 31 | congrArg Subtype.val (AbelianModuli.ReferenceFamily.UniversalFrames.LevelCover.torsionSectionExtension_const A |
| 32 | (Group.SectionPullback.torsionSectionsOfPullback u A β z hz) c) |
| 33 | |
| 34 | theorem fullLevelOfLocalSectionsMap_pullback : |
| 35 | LevelMapPullback.fullLevelMapPullback A u (fullLevelOfLocalSectionsMap u A β z hz) = β.hom := by |
| 36 | apply LevelMapPullback.fullLevelMapPullback_eq A u |
| 37 | intro c |
| 38 | rw [fullLevelOfLocalSectionsMap_const] |
| 39 | exact (Group.SectionPullback.groupSectionPullback_fst A.scheme u (z c)).symm.trans |
| 40 | (congrArg (fun t => t.left ≫ pullback.fst A.scheme.hom u) (hz c)) |
| 41 | |
| 42 | instance fullLevelOfLocalSectionsMap_isIso : IsIso (fullLevelOfLocalSectionsMap u A β z hz) := by |
| 43 | have : IsIso (LevelMapPullback.fullLevelMapPullback A u (fullLevelOfLocalSectionsMap u A β z hz)) := by |
| 44 | rw [fullLevelOfLocalSectionsMap_pullback] |
| 45 | infer_instance |
| 46 | exact LevelMapPullback.fullLevelMap_isIso_of_pullback A u _ |
| 47 | |
| 48 | def fullLevelOfLocalSections : A.FullLevel N := asIso (fullLevelOfLocalSectionsMap u A β z hz) |
| 49 | |
| 50 | theorem fullLevelOfLocalSections_section (c : Multiplicative (Fin (2 * g) → ZMod N)) : |
| 51 | LevelSections.fullLevelSection (fullLevelOfLocalSections u A β z hz) c = z c := |
| 52 | fullLevelOfLocalSectionsMap_const u A β z hz c |
| 53 | |
| 54 | theorem fullLevelOfLocalSections_pullback : |
| 55 | (fullLevelOfLocalSections u A β z hz).pullback u = β := by |
| 56 | apply Iso.ext |
| 57 | exact fullLevelOfLocalSectionsMap_pullback u A β z hz |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.LevelFromLocalSections |