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.Resolution.Blowups.ControlPrefix.FixedLabels |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.Composition |
| 3 | |
| 4 | /-! # Center Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Étale comparison of actual prefixes records the map at each step and the specified endpoint map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | def Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 17 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 18 | ∀ {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 19 | {L : V.IdealSheafData} {M : W.IdealSheafData}, |
| 20 | Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M → (V ⟶ X) → (W ⟶ Y) → Prop := by |
| 21 | induction P with |
| 22 | | @stop X f hf J => |
| 23 | intro V W h k L M Q q r |
| 24 | cases Q with |
| 25 | | stop => exact Etale q ∧ q ≫ f = h ∧ J.comap q = L ∧ r = q |
| 26 | | blowup => exact False |
| 27 | | @blowup X hX hNX f J I hI hb hp hs hbl Y g K tail ih => |
| 28 | intro V W h k L M Q q r |
| 29 | cases Q with |
| 30 | | stop => exact False |
| 31 | | blowup C hC hbC hpC hsC hblC rest => |
| 32 | exact Etale q ∧ q ≫ f = h ∧ J.comap q = L ∧ |
| 33 | ∃ he : I.comap q = C, ih rest (GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q I C he hI hC) r |
| 34 | |
| 35 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.stepCount_eq |
| 36 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 37 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 38 | ∀ {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 39 | {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 40 | (Q : Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) (q : V ⟶ X) (r : W ⟶ Y), |
| 41 | P.EtaleComparison Q q r → P.stepCount = Q.stepCount := by |
| 42 | induction P with |
| 43 | | stop => |
| 44 | intro V W h k L M Q q r hc |
| 45 | cases Q with |
| 46 | | stop => rfl |
| 47 | | blowup => exact False.elim hc |
| 48 | | blowup I hI hb hp hs hbl tail ih => |
| 49 | intro V W h k L M Q q r hc |
| 50 | cases Q with |
| 51 | | stop => exact False.elim hc |
| 52 | | blowup C hC hbC hpC hsC hblC rest => |
| 53 | obtain ⟨_, _, _, he, ht⟩ := hc |
| 54 | exact congrArg (fun a : ℕ => a + 1) (ih rest _ r ht) |
| 55 | |
| 56 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.endpoint_pullback |
| 57 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 58 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 59 | ∀ {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 60 | {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 61 | (Q : Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) (q : V ⟶ X) (r : W ⟶ Y), |
| 62 | P.EtaleComparison Q q r → Etale r ∧ IsPullback r Q.toBase P.toBase q ∧ K.comap r = M := by |
| 63 | induction P with |
| 64 | | stop => |
| 65 | intro V W h k L M Q q r hc |
| 66 | cases Q with |
| 67 | | stop => |
| 68 | obtain ⟨hq, _, hJ, hr⟩ := hc |
| 69 | subst r |
| 70 | exact ⟨hq, IsPullback.id_vert q, hJ⟩ |
| 71 | | blowup => exact False.elim hc |
| 72 | | blowup I hI hb hp hs hbl tail ih => |
| 73 | intro V W h k L M Q q r hc |
| 74 | cases Q with |
| 75 | | stop => exact False.elim hc |
| 76 | | blowup C hC hbC hpC hsC hblC rest => |
| 77 | obtain ⟨hq, _, _, he, ht⟩ := hc |
| 78 | let : Etale q := hq |
| 79 | obtain ⟨hr, hpb, hK⟩ := ih rest _ r ht |
| 80 | exact ⟨hr, hpb.paste_vert (GlobalBlowup.EtalePullback.Construction.globalBlowupMapTo_etale_isPullback q I C he hI hC), hK⟩ |
| 81 | |
| 82 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.append |
| 83 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 84 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 85 | ∀ {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 86 | {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 87 | (Q : Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) (q : V ⟶ X) (r : W ⟶ Y), |
| 88 | P.EtaleComparison Q q r → |
| 89 | ∀ {Z U : Scheme} {a : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {c : U ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 90 | {B : Z.IdealSheafData} {C : U.IdealSheafData} |
| 91 | (T : Smooth.ControlPrefix.Construction.SmoothControlPrefix b Y g K Z a B) (S : Smooth.ControlPrefix.Construction.SmoothControlPrefix b W k M U c C) (s : U ⟶ Z), |
| 92 | T.EtaleComparison S r s → (P.append T).EtaleComparison (Q.append S) q s := by |
| 93 | induction P with |
| 94 | | stop => |
| 95 | intro V W h k L M Q q r hc Z U a c B C T S s ht |
| 96 | cases Q with |
| 97 | | stop => |
| 98 | obtain ⟨_, _, _, rfl⟩ := hc |
| 99 | exact ht |
| 100 | | blowup => exact False.elim hc |
| 101 | | blowup I hI hb hp hs hbl tail ih => |
| 102 | intro V W h k L M Q q r hc Z U a c B C T S s ht |
| 103 | cases Q with |
| 104 | | stop => exact False.elim hc |
| 105 | | blowup C hC hbC hpC hsC hblC rest => |
| 106 | obtain ⟨hq, hg, hJ, he, htail⟩ := hc |
| 107 | exact ⟨hq, hg, hJ, he, ih rest _ r htail T S s ht⟩ |
| 108 | |
| 109 | end |
| 110 | |
| 111 | /-! Prefixes following the same pulled-back center list form actual étale base-change squares. -/ |
| 112 | |
| 113 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 114 | |
| 115 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_etaleComparison_of_followsCenters |
| 116 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 117 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 118 | ∀ centers : List X.IdealSheafData, P.followsCenters centers → |
| 119 | ∀ {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 120 | {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 121 | (Q : Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) (q : V ⟶ X) [Etale q], |
| 122 | q ≫ f = h → J.comap q = L → Q.followsCenters (centers.map (fun C => C.comap q)) → |
| 123 | ∃ r : W ⟶ Y, P.EtaleComparison Q q r := by |
| 124 | induction P with |
| 125 | | stop => |
| 126 | intro centers hcenters V W h k L M Q q hq hstructure hJ hQ |
| 127 | change centers = [] at hcenters |
| 128 | subst centers |
| 129 | cases Q with |
| 130 | | stop => exact ⟨q, hq, hstructure, hJ, rfl⟩ |
| 131 | | blowup C hC hb hp hs hbl rest => |
| 132 | obtain ⟨cs, he, _⟩ := hQ |
| 133 | cases he |
| 134 | | @blowup X hX hNX f J I hI hb hp hs hbl Y g K tail ih => |
| 135 | intro centers hcenters V W h k L M Q q hq hstructure hJ hQ |
| 136 | obtain ⟨cs, rfl, hcs⟩ := hcenters |
| 137 | cases Q with |
| 138 | | stop => |
| 139 | change (I :: cs).map (fun C => C.comap q) = [] at hQ |
| 140 | cases hQ |
| 141 | | blowup C hC hbC hpC hsC hblC rest => |
| 142 | obtain ⟨ds, he, hds⟩ := hQ |
| 143 | change I.comap q :: cs.map (fun B => B.comap q) = C :: ds at he |
| 144 | have hcenter : I.comap q = C := (List.cons.inj he).1 |
| 145 | have hlist : cs.map (fun B => B.comap q) = ds := (List.cons.inj he).2 |
| 146 | subst ds |
| 147 | let q' := GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q I C hcenter hI hC |
| 148 | let : Etale q' := GlobalBlowup.EtaleMap.Construction.globalBlowupMapTo_etale q I C hcenter hI hC |
| 149 | have hover : q' ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) = GlobalBlowup.Data.Construction.globalBlowupToBase C hC ≫ h := by |
| 150 | rw [← Category.assoc, GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo_over, Category.assoc, hstructure] |
| 151 | have hJ' : (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI b).comap q' = |
| 152 | GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal C L hC b := by |
| 153 | rw [GlobalBlowup.EtaleBoundary.Construction.globalBlowupMapTo_controlledIdeal_etale q I J C hcenter hI hC b, hJ] |
| 154 | have hmaps : (cs.map (fun B => B.comap (GlobalBlowup.Data.Construction.globalBlowupToBase I hI))).map (fun B => B.comap q') = |
| 155 | (cs.map (fun B => B.comap q)).map (fun B => B.comap (GlobalBlowup.Data.Construction.globalBlowupToBase C hC)) := by |
| 156 | rw [List.map_map, List.map_map] |
| 157 | apply List.map_congr_left |
| 158 | intro B _ |
| 159 | change (B.comap (GlobalBlowup.Data.Construction.globalBlowupToBase I hI)).comap q' = |
| 160 | (B.comap q).comap (GlobalBlowup.Data.Construction.globalBlowupToBase C hC) |
| 161 | rw [← Scheme.IdealSheafData.comap_comp, GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo_over, |
| 162 | Scheme.IdealSheafData.comap_comp] |
| 163 | have hrest : rest.followsCenters |
| 164 | ((cs.map (fun B => B.comap (GlobalBlowup.Data.Construction.globalBlowupToBase I hI))).map (fun B => B.comap q')) := by |
| 165 | rw [hmaps] |
| 166 | exact hds |
| 167 | obtain ⟨r, hr⟩ := ih _ hcs rest q' hover hJ' hrest |
| 168 | exact ⟨r, hq, hstructure, hJ, hcenter, hr⟩ |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.AlgebraicGeometry.Resolution.Blowups |