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.Directed.PolarizedSchemeGluing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.OpenDescent |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.GlobalSectionExt |
| 4 | |
| 5 | /-! # Level Gluing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.LevelGluing.DirectedPolarizedSchemeGluing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The ordered level on the effectively glued abelian scheme is recovered |
| 12 | from the original chart levels. Compatibility is proved from the labelled |
| 13 | sections and the actual Cartesian chart maps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | private theorem transported_section_projection {C : Type*} [Category* C] |
| 19 | {V X Y Z : C} (s : V ⟶ X) (t : V ⟶ Y) (e : X ⟶ Y) (p : Y ⟶ Z) (q : X ⟶ Z) |
| 20 | (ht : t = s ≫ e) (he : e ≫ p = q) : t ≫ p = s ≫ q := by |
| 21 | rw [ht, Category.assoc, he] |
| 22 | |
| 23 | private theorem section_total_projection {C : Type*} [Category* C] |
| 24 | {V X Y Z : C} (s : V ⟶ X) (e : X ⟶ Y) (p : Y ⟶ Z) (t : V ⟶ Y) (r : V ⟶ Z) |
| 25 | (hs : s ≫ e = t) (hp : t ≫ p = r) : s ≫ (e ≫ p) = r := by |
| 26 | rw [← Category.assoc, hs, hp] |
| 27 | |
| 28 | private theorem descended_section_projection {C : Type*} [Category* C] |
| 29 | {V W B I J Fi Fj G : C} |
| 30 | (a : V ⟶ B) (e : B ⟶ I) (pi : I ⟶ G) (pj : B ⟶ J) (qj : J ⟶ G) |
| 31 | (u : V ⟶ W) (sj : W ⟶ J) (lj : W ⟶ Fj) (cj : Fj ⟶ G) |
| 32 | (li : V ⟶ Fi) (t : Fi ⟶ Fj) (ci : Fi ⟶ G) (si : V ⟶ I) |
| 33 | (he : e ≫ pi = pj ≫ qj) (hp : a ≫ pj = u ≫ sj) |
| 34 | (hj : sj ≫ qj = lj ≫ cj) (ht : u ≫ lj = li ≫ t) |
| 35 | (hc : t ≫ cj = ci) (hi : si ≫ pi = li ≫ ci) : |
| 36 | (a ≫ e) ≫ pi = si ≫ pi := by |
| 37 | calc |
| 38 | _ = (a ≫ pj) ≫ qj := by rw [Category.assoc, he, ← Category.assoc] |
| 39 | _ = (u ≫ sj) ≫ qj := congrArg (fun k => k ≫ qj) hp |
| 40 | _ = (u ≫ lj) ≫ cj := by rw [Category.assoc, hj, ← Category.assoc] |
| 41 | _ = (li ≫ t) ≫ cj := congrArg (fun k => k ≫ cj) ht |
| 42 | _ = li ≫ ci := by rw [Category.assoc, hc] |
| 43 | _ = _ := hi.symm |
| 44 | |
| 45 | variable {S : Scheme.{u}} (C : S.OpenCover.{u}) |
| 46 | [Category C.I₀] [C.LocallyDirected] [Small.{u} C.I₀] [Quiver.IsThin C.I₀] |
| 47 | [∀ i, IsLocallyNoetherian (C.X i)] {g N : ℕ} {δ : Fin g → ℕ} |
| 48 | (F : ∀ i, PolarizationData.PolarizedAbelianWithFullLevel g δ N (C.X i)) (hN : 3 ≤ N) |
| 49 | (e : ∀ {i j : C.I₀} (f : i ⟶ j), Moduli.Isomorphisms.LevelPreservingIso (F i) ((F j).pullback (C.trans f))) |
| 50 | |
| 51 | def localLevel (i : C.I₀) : ((PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e).pullback (C.f i)).FullLevel N := |
| 52 | (F i).level.transport (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i) |
| 53 | |
| 54 | theorem localLevel_projection (i : C.I₀) |
| 55 | (z : Multiplicative (Fin (2 * g) → ZMod N)) : |
| 56 | ((PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e).pullback (C.f i)).fullLevelGlobalSection (localLevel C F hN e i) z ≫ |
| 57 | pullback.fst (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e).scheme.hom (C.f i) = |
| 58 | (F i).abelian.fullLevelGlobalSection (F i).level z ≫ |
| 59 | (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianData C F hN e).chartMap i := by |
| 60 | have he : (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i).hom.left ≫ |
| 61 | pullback.fst (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e).scheme.hom (C.f i) = |
| 62 | (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianData C F hN e).chartMap i := |
| 63 | (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianData C F hN e).chartIso_fst i |
| 64 | exact transported_section_projection _ _ _ _ _ |
| 65 | (Abelian.Schemes.AbelianScheme.fullLevelGlobalSection_transport (F i).level (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i) z) he |
| 66 | |
| 67 | omit [Small.{u, u} C.I₀] [Quiver.IsThin C.I₀] in |
| 68 | theorem transition_sections {i j : C.I₀} (f : i ⟶ j) |
| 69 | (z : Multiplicative (Fin (2 * g) → ZMod N)) : |
| 70 | (F i).abelian.fullLevelGlobalSection (F i).level z ≫ |
| 71 | (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianData C F hN e).transition f = |
| 72 | C.trans f ≫ (F j).abelian.fullLevelGlobalSection (F j).level z := by |
| 73 | have hs : (F i).abelian.fullLevelGlobalSection (F i).level z ≫ (e f).abelian.hom.left = |
| 74 | ((F j).abelian.pullback (C.trans f)).fullLevelGlobalSection |
| 75 | ((F j).level.pullback (C.trans f)) z := |
| 76 | congrArg Over.Hom.left ((e f).level (Over.mk (𝟙 (C.X i))) (LocallyConstant.const (C.X i) z)) |
| 77 | exact section_total_projection _ _ _ _ _ hs |
| 78 | ((F j).abelian.fullLevelGlobalSection_pullback (F j).level (C.trans f) z) |
| 79 | |
| 80 | theorem localLevel_natural {i j : C.I₀} (f : i ⟶ j) : |
| 81 | ((localLevel C F hN e j).pullback (C.trans f)).transport |
| 82 | ((PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e).openCoverParameterIso C f).symm = |
| 83 | localLevel C F hN e i := by |
| 84 | let A := PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e |
| 85 | apply Abelian.Schemes.AbelianScheme.FullLevel.ext_globalSections |
| 86 | intro z |
| 87 | apply (cancel_mono (pullback.fst A.scheme.hom (C.f i))).mp |
| 88 | have hp : (A.openCoverParameterIso C f).inv.left ≫ pullback.fst A.scheme.hom (C.f i) = |
| 89 | pullback.fst (A.pullback (C.f j)).scheme.hom (C.trans f) ≫ |
| 90 | pullback.fst A.scheme.hom (C.f j) := |
| 91 | ParameterLevelPointComparison.singleParameterBaseChangeIso_inv_original_fst (FamilyHomGluing.DirectedFamilyHomGluing.testMap C f) A.scheme |
| 92 | have htr := Abelian.Schemes.AbelianScheme.fullLevelGlobalSection_transport |
| 93 | ((localLevel C F hN e j).pullback (C.trans f)) (A.openCoverParameterIso C f).symm z |
| 94 | exact (congrArg (fun s : C.X i ⟶ (A.pullback (C.f i)).scheme.left => |
| 95 | s ≫ pullback.fst A.scheme.hom (C.f i)) htr).trans |
| 96 | (descended_section_projection _ _ _ _ _ _ _ _ _ _ _ _ _ hp |
| 97 | ((A.pullback (C.f j)).fullLevelGlobalSection_pullback |
| 98 | (localLevel C F hN e j) (C.trans f) z) |
| 99 | (localLevel_projection C F hN e j z) (transition_sections C F hN e f z).symm |
| 100 | ((PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianData C F hN e).chartMap_transition f) (localLevel_projection C F hN e i z)) |
| 101 | |
| 102 | variable [IsNoetherian S] [NeZero N] |
| 103 | |
| 104 | /-- The original full ordered level on the actual glued abelian scheme. -/ |
| 105 | def level : (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e).FullLevel N := |
| 106 | Abelian.Schemes.AbelianScheme.level (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e) C |
| 107 | (localLevel C F hN e) (localLevel_natural C F hN e) |
| 108 | |
| 109 | theorem level_chart (i : C.I₀) : |
| 110 | (DirectedPolarizedSchemeGluing.level C F hN e).pullback (C.f i) = localLevel C F hN e i := |
| 111 | Abelian.Schemes.AbelianScheme.level_pullback (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e) C |
| 112 | (localLevel C F hN e) (localLevel_natural C F hN e) i |
| 113 | |
| 114 | theorem chartIso_level (i : C.I₀) : |
| 115 | (F i).level.transport (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i) = |
| 116 | (DirectedPolarizedSchemeGluing.level C F hN e).pullback (C.f i) := |
| 117 | (level_chart C F hN e i).symm |
| 118 | |
| 119 | theorem chartIso_level_basis (i : C.I₀) (T : Over (C.X i)) |
| 120 | (z : LocallyConstant T.left (Multiplicative (Fin (2 * g) → ZMod N))) : |
| 121 | ((F i).level.hom.app (.op T) z).val ≫ (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i).hom = |
| 122 | (((DirectedPolarizedSchemeGluing.level C F hN e).pullback (C.f i)).hom.app (.op T) z).val := |
| 123 | ((F i).level.transport_basis (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i) T z).symm.trans |
| 124 | (congrArg (fun l => (l.hom.app (.op T) z).val) (chartIso_level C F hN e i)) |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.LevelGluing.DirectedPolarizedSchemeGluing |