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.OrderSupportedCenterNaturality |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.ComparisonCoherence |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.OpenComparison |
| 4 | |
| 5 | /-! # Comparison Open -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Stepwise comparisons descend from an open containing the source order locus. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_etaleComparison_of_order_neighborhood |
| 18 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 19 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 20 | ∀ [Smooth f] {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth h] {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 21 | {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 22 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) (q : V ⟶ X) [Etale q], |
| 23 | q ≫ f = h → J.comap q = L → |
| 24 | ∀ {U Z : Scheme} {a : U ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {c : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 25 | {B : U.IdealSheafData} {C : Z.IdealSheafData} |
| 26 | (T : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b U a B Z c C) (j : U ⟶ V) [IsOpenImmersion j] |
| 27 | (r : Z ⟶ Y) (s : Z ⟶ W), |
| 28 | P.EtaleComparison T (j ≫ q) r → Q.EtaleComparison T j s → |
| 29 | ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf h L (b - 1)).support : Set V) ⊆ Set.range j → |
| 30 | ∃ t : W ⟶ Y, P.EtaleComparison Q q t := by |
| 31 | induction P with |
| 32 | | stop => |
| 33 | intro _ V W h _ k L M Q q hq hstructure hJ U Z a c B C T j _ r s hP hQ hcover |
| 34 | cases T with |
| 35 | | blowup => exact False.elim hP |
| 36 | | stop => |
| 37 | cases Q with |
| 38 | | blowup => exact False.elim hQ |
| 39 | | stop => exact ⟨q, hq, hstructure, hJ, rfl⟩ |
| 40 | | @blowup X hX hNX f J I hI hb hp hs hbl Y g K tail ih => |
| 41 | intro hf V W h hh k L M Q q hq hstructure hJ U Z a c B C T j hj r s hP hQ hcover |
| 42 | let : Smooth f := hf |
| 43 | let : Smooth h := hh |
| 44 | cases T with |
| 45 | | stop => exact False.elim hP |
| 46 | | blowup E hE hbE hpE hsE hblE last => |
| 47 | cases Q with |
| 48 | | stop => exact False.elim hQ |
| 49 | | blowup I' hI' hb' hp' hs' hbl' rest => |
| 50 | obtain ⟨_, _, _, heP, htP⟩ := hP |
| 51 | obtain ⟨_, _, _, heQ, htQ⟩ := hQ |
| 52 | have hlocal : (I.comap q).comap j = I'.comap j := by |
| 53 | rw [← Scheme.IdealSheafData.comap_comp, heP, heQ] |
| 54 | have he : I.comap q = I' := by |
| 55 | subst h |
| 56 | subst L |
| 57 | exact OrderSupportedCenterNaturality.Construction.permissible_center_comap_eq_of_order_neighborhood f q J I I' b hb hp hp' j hcover hlocal |
| 58 | let q' := GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q I I' he hI hI' |
| 59 | let j' := GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo j I' E heQ hI' hE |
| 60 | let : Etale q' := GlobalBlowup.EtaleMap.Construction.globalBlowupMapTo_etale q I I' he hI hI' |
| 61 | let : IsOpenImmersion j' := GlobalBlowup.OpenComparison.Construction.globalBlowupMapTo_isOpenImmersion j I' E heQ hI' hE |
| 62 | let : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) := hbl |
| 63 | let : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I' hI' ≫ h) := hbl' |
| 64 | have hstructure' : q' ≫ (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) = GlobalBlowup.Data.Construction.globalBlowupToBase I' hI' ≫ h := by |
| 65 | rw [← Category.assoc, GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo_over, Category.assoc, hstructure] |
| 66 | have hJ' : (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI b).comap q' = |
| 67 | GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I' L hI' b := by |
| 68 | rw [GlobalBlowup.EtaleBoundary.Construction.globalBlowupMapTo_controlledIdeal_etale q I J I' he hI hI' b, hJ] |
| 69 | have htP' : tail.EtaleComparison last (j' ≫ q') r := by |
| 70 | change tail.EtaleComparison last |
| 71 | (GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo j I' E heQ hI' hE ≫ GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q I I' he hI hI') r |
| 72 | rw [GlobalBlowup.MapComposition.Construction.globalBlowupMapTo_comp q j I I' E he heQ heP hI hI' hE] |
| 73 | exact htP |
| 74 | obtain ⟨t, ht⟩ := ih rest q' hstructure' hJ' last j' r s htP' htQ |
| 75 | (GlobalBlowup.OpenComparison.Construction.globalBlowupMapTo_contains_order_support j h I' L hI' E hE heQ b hb hp' hcover) |
| 76 | exact ⟨t, hq, hstructure, hJ, he, ht⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | section |
| 81 | |
| 82 | /-! Endpoint structure maps and terminal order descend through actual prefix comparisons over an order neighborhood. -/ |
| 83 | |
| 84 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 85 | |
| 86 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.endpoint_structure |
| 87 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 88 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 89 | ∀ {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 90 | {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 91 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) (q : V ⟶ X) (r : W ⟶ Y), |
| 92 | P.EtaleComparison Q q r → r ≫ g = k := by |
| 93 | induction P with |
| 94 | | stop => |
| 95 | intro V W h k L M Q q r hc |
| 96 | cases Q with |
| 97 | | stop => |
| 98 | obtain ⟨_, hg, _, hr⟩ := hc |
| 99 | subst r |
| 100 | exact hg |
| 101 | | blowup => exact False.elim hc |
| 102 | | blowup I hI hb hp hs hbl tail ih => |
| 103 | intro V W h k L M Q q r hc |
| 104 | cases Q with |
| 105 | | stop => exact False.elim hc |
| 106 | | blowup C hC hbC hpC hsC hblC rest => |
| 107 | obtain ⟨_, _, _, he, ht⟩ := hc |
| 108 | exact ih rest _ r ht |
| 109 | |
| 110 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.terminal_order_of_endpoint_cover |
| 111 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 112 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) |
| 113 | {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 114 | {L : V.IdealSheafData} {M : W.IdealSheafData} (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) |
| 115 | (q : V ⟶ X) (r : W ⟶ Y) (hc : P.EtaleComparison Q q r) (n : ℕ) : |
| 116 | letI : Smooth g := P.endpoint_smooth |
| 117 | letI : Smooth k := Q.endpoint_smooth |
| 118 | ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n).support : Set Y) ⊆ Set.range r → |
| 119 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf k M n = ⊤ → Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n = ⊤ := by |
| 120 | let : Smooth g := P.endpoint_smooth |
| 121 | let : Smooth k := Q.endpoint_smooth |
| 122 | intro hcover ht |
| 123 | obtain ⟨het, _, hK⟩ := hc.endpoint_pullback P Q q r |
| 124 | let : Etale r := het |
| 125 | apply Global.OrderSequenceExtension.Construction.idealSheaf_eq_top_of_support_in_open r _ hcover |
| 126 | have he := Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothDifferentialIdealSheaf_comap_etale g K n r |
| 127 | rw [hK] at he |
| 128 | exact he.trans ((DifferentialUnitGluing.Construction.smoothDifferentialIdealSheaf_structure_congr (r ≫ g) k |
| 129 | (hc.endpoint_structure P Q q r) M n).trans ht) |
| 130 | |
| 131 | end |
| 132 | |
| 133 | /-! Endpoint differential-order bounds pull back through actual full program comparisons. -/ |
| 134 | |
| 135 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 136 | |
| 137 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.endpoint_order_bound |
| 138 | {b : ℕ} {X Y V W : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 139 | {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 140 | {J : X.IdealSheafData} {K : Y.IdealSheafData} {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 141 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) |
| 142 | (q : V ⟶ X) (r : W ⟶ Y) (hc : P.EtaleComparison Q q r) (n : ℕ) : |
| 143 | letI : Smooth g := P.endpoint_smooth |
| 144 | letI : Smooth k := Q.endpoint_smooth |
| 145 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n = ⊤ → Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf k M n = ⊤ := by |
| 146 | let : Smooth g := P.endpoint_smooth |
| 147 | let : Smooth k := Q.endpoint_smooth |
| 148 | intro ht |
| 149 | obtain ⟨hr, _, hM⟩ := hc.endpoint_pullback P Q q r |
| 150 | let : Etale r := hr |
| 151 | have he := Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothDifferentialIdealSheaf_comap_etale g K n r |
| 152 | rw [hM] at he |
| 153 | have he' := he.trans (DifferentialUnitGluing.Construction.smoothDifferentialIdealSheaf_structure_congr (r ≫ g) k |
| 154 | (hc.endpoint_structure P Q q r) M n) |
| 155 | rw [ht, Scheme.IdealSheafData.comap_top] at he' |
| 156 | exact he'.symm |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.AlgebraicGeometry.Resolution.Blowups |