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.HilbertConstruction.FamilyLevelIsoSheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.UniversalLevelRigidity |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubsingletonSheafExistence |
| 4 | |
| 5 | /-! # Modeled Target Iso Existence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ModeledTargetIsoExistence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! At full level at least three, local existence of a complete |
| 12 | isomorphism to a modeled family implies global existence. The source |
| 13 | family and every test scheme remain arbitrary. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {S T : Scheme.{0}} [IsLocallyNoetherian S] {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (f : T ⟶ S) |
| 19 | (B : PolarizationData.PolarizedAbelianWithFullLevel g δ N T) (hN : 3 ≤ N) |
| 20 | |
| 21 | include hN |
| 22 | |
| 23 | theorem modeledTargetPolarizedIsomorphisms_subsingleton : |
| 24 | Subsingleton (Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f)) := by |
| 25 | let : Subsingleton (Moduli.Isomorphisms.LevelPreservingIso (A.pullback f) (A.pullback f)) := |
| 26 | LocallyNoetherian.UniversalLevelRigidity.polarizedPullbackIsomorphisms_subsingleton_of_locallyNoetherian A A hN (Over.mk f) |
| 27 | refine ⟨fun e q => ?_⟩ |
| 28 | apply Moduli.Isomorphisms.LevelPreservingIso.ext_abelian |
| 29 | apply (cancel_epi e.abelian.inv).mp |
| 30 | exact congrArg (fun z : Moduli.Isomorphisms.LevelPreservingIso (A.pullback f) (A.pullback f) => z.abelian.hom) |
| 31 | (Subsingleton.elim (e.symm.trans e) (e.symm.trans q)) |
| 32 | |
| 33 | theorem familyLevelIsoFunctor_obj_subsingleton_modeledTarget (V : Over T) : |
| 34 | Subsingleton ((Family.LevelIsoFunctor.familyLevelIsoFunctor B (A.pullback f)).obj (.op V)) := by |
| 35 | let : Subsingleton (Moduli.Isomorphisms.LevelPreservingIso (B.pullback V.hom) (A.pullback (V.hom ≫ f))) := |
| 36 | modeledTargetPolarizedIsomorphisms_subsingleton A (V.hom ≫ f) (B.pullback V.hom) hN |
| 37 | exact (Moduli.Isomorphisms.LevelPreservingIso.transportEquiv |
| 38 | (Moduli.Isomorphisms.LevelPreservingIso.refl (B.pullback V.hom)) |
| 39 | (Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A f V.hom)).injective.subsingleton |
| 40 | |
| 41 | /-- Existence is local because both the isomorphism sheaf and its |
| 42 | full-level uniqueness have been proved for the modeled target. -/ |
| 43 | theorem levelIso_nonempty_of_openCover_modeledTarget (C : T.OpenCover) |
| 44 | (hlocal : ∀ i, Nonempty (Moduli.Isomorphisms.LevelPreservingIso (B.pullback (C.f i)) |
| 45 | ((A.pullback f).pullback (C.f i)))) : |
| 46 | Nonempty (Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f)) := by |
| 47 | let P := Family.LevelIsoFunctor.familyLevelIsoFunctor B (A.pullback f) |
| 48 | let V : C.I₀ → Over T := fun i => Over.mk (C.f i) |
| 49 | let j : ∀ i, V i ⟶ Over.mk (𝟙 T) := fun i => Over.homMk (C.f i) (Category.comp_id _) |
| 50 | let R := Sieve.ofArrows V j |
| 51 | have hR : R ∈ (Scheme.zariskiTopology.over T) (Over.mk (𝟙 T)) := by |
| 52 | rw [GrothendieckTopology.mem_over_iff, Sieve.overEquiv_ofArrows] |
| 53 | exact C.mem_grothendieckTopology |
| 54 | have h : Nonempty (P.obj (.op (Over.mk (𝟙 T)))) := by |
| 55 | apply SubsingletonSheafExistence.subsingletonSheaf_nonempty_of_cover (Scheme.zariskiTopology.over T) P |
| 56 | (FamilyLevelIsoSheaf.familyLevelIsoFunctor_isSheaf_modeledTarget A f B) |
| 57 | (fun V => familyLevelIsoFunctor_obj_subsingleton_modeledTarget A f B hN V.unop) R hR |
| 58 | intro W c hc |
| 59 | obtain ⟨i, a, _⟩ := (Sieve.mem_ofArrows_iff V j c).mp hc |
| 60 | exact (hlocal i).map (P.map a.op) |
| 61 | obtain ⟨q⟩ := h |
| 62 | exact ⟨((Moduli.Isomorphisms.LevelPreservingIso.pullbackId B).symm.trans q).trans |
| 63 | (Moduli.Isomorphisms.LevelPreservingIso.pullbackId (A.pullback f))⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ModeledTargetIsoExistence |