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.TargetIsoOpenLocality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.ZariskiOpenCover |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Iterated.Recovery |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.BaseSquareIsomorphism |
| 5 | |
| 6 | /-! # Iso Covering Sieve Locality -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A prescribed family comparison to a modeled target is completed |
| 13 | from its complete polarized comparisons on a covering sieve. No |
| 14 | Noetherian condition is imposed on the source or parameter scheme. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {S T : Scheme.{0}} [IsLocallyNoetherian S] {g N : ℕ} {δ : Fin g → ℕ} |
| 19 | |
| 20 | /-- A complete comparison with a modeled target also allows an |
| 21 | isomorphic presentation of that target. -/ |
| 22 | def Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_isomorphicModeledTarget |
| 23 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (f : T ⟶ S) |
| 24 | (B D : PolarizationData.PolarizedAbelianWithFullLevel g δ N T) |
| 25 | (r : Moduli.Isomorphisms.LevelPreservingIso D (A.pullback f)) |
| 26 | (e : B.abelian.scheme ≅ D.abelian.scheme) (C : T.OpenCover) |
| 27 | (a : ∀ i, Moduli.Isomorphisms.LevelPreservingIso (B.pullback (C.f i)) (D.pullback (C.f i))) |
| 28 | (ha : ∀ i, (a i).abelian.hom = (Over.pullback (C.f i)).map e.hom) : |
| 29 | Moduli.Isomorphisms.LevelPreservingIso B D := by |
| 30 | let e' := e ≪≫ r.abelian |
| 31 | let a' (i : C.I₀) := (a i).trans (r.pullback (C.f i)) |
| 32 | have ha' (i : C.I₀) : (a' i).abelian.hom = (Over.pullback (C.f i)).map e'.hom := by |
| 33 | change (a i).abelian.hom ≫ (Over.pullback (C.f i)).map r.abelian.hom = |
| 34 | (Over.pullback (C.f i)).map (e.hom ≫ r.abelian.hom) |
| 35 | rw [ha i, Functor.map_comp] |
| 36 | rfl |
| 37 | exact (Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_modeledTarget A f B e' C a' ha').trans r.symm |
| 38 | |
| 39 | theorem Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_isomorphicModeledTarget_abelian |
| 40 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (f : T ⟶ S) |
| 41 | (B D : PolarizationData.PolarizedAbelianWithFullLevel g δ N T) |
| 42 | (r : Moduli.Isomorphisms.LevelPreservingIso D (A.pullback f)) |
| 43 | (e : B.abelian.scheme ≅ D.abelian.scheme) (C : T.OpenCover) |
| 44 | (a : ∀ i, Moduli.Isomorphisms.LevelPreservingIso (B.pullback (C.f i)) (D.pullback (C.f i))) |
| 45 | (ha : ∀ i, (a i).abelian.hom = (Over.pullback (C.f i)).map e.hom) : |
| 46 | (Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_isomorphicModeledTarget A f B D r e C a ha).abelian = e := by |
| 47 | apply Iso.ext |
| 48 | change (e.hom ≫ r.abelian.hom) ≫ r.abelian.inv = e.hom |
| 49 | rw [Category.assoc, r.abelian.hom_inv_id, Category.comp_id] |
| 50 | |
| 51 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (f : T ⟶ S) |
| 52 | (B : PolarizationData.PolarizedAbelianWithFullLevel g δ N T) |
| 53 | (V : Over T) (R : Sieve V) (hR : R ∈ (Scheme.zariskiTopology.over T) V) |
| 54 | (e : (B.pullback V.hom).abelian.scheme ≅ ((A.pullback f).pullback V.hom).abelian.scheme) |
| 55 | (a : ∀ {U : Over T} (c : U ⟶ V), R c → |
| 56 | Moduli.Isomorphisms.LevelPreservingIso (B.pullback U.hom) ((A.pullback f).pullback U.hom)) |
| 57 | (ha : ∀ {U : Over T} (c : U ⟶ V) (hc : R c), |
| 58 | (a c hc).abelian.hom = Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange c e.hom) |
| 59 | |
| 60 | def Moduli.Isomorphisms.LevelPreservingIso.ofCoveringSieve_abelian_modeledTarget : |
| 61 | Moduli.Isomorphisms.LevelPreservingIso (B.pullback V.hom) ((A.pullback f).pullback V.hom) := by |
| 62 | let I := Relative.ZariskiOpenCover.relativeZariskiOpenIndex V R |
| 63 | let C : V.left.OpenCover := Scheme.Cover.mkOfCovers I |
| 64 | (fun i => i.val.toScheme) (fun i => i.val.ι) (by |
| 65 | intro x |
| 66 | obtain ⟨i, hi⟩ := Relative.ZariskiOpenCover.relativeZariskiOpenIndex_covers V R hR x |
| 67 | exact ⟨i, ⟨x, hi⟩, rfl⟩) |
| 68 | let b := fun i : I => (Moduli.Isomorphisms.LevelPreservingIso.iteratedParameterPointEquiv B (A.pullback f) |
| 69 | (Relative.OpenModuleMaps.relativeOpenInclusion V i.val)).symm |
| 70 | (a (Relative.OpenModuleMaps.relativeOpenInclusion V i.val) i.property) |
| 71 | have hb (i : I) : (b i).abelian.hom = (Over.pullback (C.f i)).map e.hom := |
| 72 | Moduli.Isomorphisms.LevelPreservingIso.iteratedParameterPointEquiv_symm_abelian_hom B (A.pullback f) (Relative.OpenModuleMaps.relativeOpenInclusion V i.val) |
| 73 | (a (Relative.OpenModuleMaps.relativeOpenInclusion V i.val) i.property) e.hom |
| 74 | (ha (Relative.OpenModuleMaps.relativeOpenInclusion V i.val) i.property) |
| 75 | exact Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_isomorphicModeledTarget A (V.hom ≫ f) |
| 76 | (B.pullback V.hom) ((A.pullback f).pullback V.hom) |
| 77 | (Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A f V.hom) e C b hb |
| 78 | |
| 79 | theorem Moduli.Isomorphisms.LevelPreservingIso.ofCoveringSieve_abelian_modeledTarget_abelian : |
| 80 | (Moduli.Isomorphisms.LevelPreservingIso.ofCoveringSieve_abelian_modeledTarget A f B V R hR e a ha).abelian = e := by |
| 81 | unfold Moduli.Isomorphisms.LevelPreservingIso.ofCoveringSieve_abelian_modeledTarget |
| 82 | apply Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_isomorphicModeledTarget_abelian |
| 83 | |
| 84 | theorem Moduli.Isomorphisms.LevelPreservingIso.ofCoveringSieve_abelian_modeledTarget_hom : |
| 85 | (Moduli.Isomorphisms.LevelPreservingIso.ofCoveringSieve_abelian_modeledTarget A f B V R hR e a ha).abelian.hom = e.hom := |
| 86 | congrArg Iso.hom (Moduli.Isomorphisms.LevelPreservingIso.ofCoveringSieve_abelian_modeledTarget_abelian A f B V R hR e a ha) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |