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.Modeled.UniformCarrierAtlasProgram |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.OrderCoverProgramGluing |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Finite.UniformCoefficientCarrierPrograms |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Open.CompatibilityOrderComplement |
| 5 | |
| 6 | /-! # Uniform Carrier Atlas Programs -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.UniformCarrierAtlasPrograms.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Actual normal-chart programs glue to a global program retaining all their coefficient certificates. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | theorem exists_glued_modeled_uniform_carrier_atlas_program {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) |
| 19 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] [CompactSpace X] |
| 20 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (hJ : J ≠ ⊥) (n : ℕ) |
| 21 | {β ι : Type} [Fintype β] [DecidableEq β] [Fintype ι] [Nonempty ι] |
| 22 | (D : β → X.IdealSheafData) (A : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f D [Finset.univ]) |
| 23 | (x : ι → X) (C : ∀ i, GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryModeledNormalChart f J n D (x i)) |
| 24 | [∀ i, IsDomain (C i).chart.ring] [∀ i, IsIntegral (C i).chart.nativeCarrier.subscheme] |
| 25 | [∀ i, Smooth ((C i).chart.nativeCarrier.subschemeι ≫ ((C i).chart.map ≫ f))] |
| 26 | (hdH : ∀ i, topologicalKrullDim (C i).chart.nativeCarrier.subscheme ≤ d) |
| 27 | (hcover : ∀ y ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support, ∃ i p, (C i).chart.map p = y) |
| 28 | (hC : ∀ i, GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf ((C i).chart.map ≫ f) |
| 29 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap (C i).chart.map) (n + 1) |
| 30 | (C i).chart.nativeCarrier.subschemeι ≠ ⊥) |
| 31 | (schedule : 𝒮.Schedule (n + 1).factorial β) |
| 32 | (Y : ι → Scheme) (g : ∀ i, Y i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : ∀ i, (Y i).IdealSheafData) |
| 33 | (P : ∀ i, Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) (Spec (C i).chart.ring) ((C i).chart.map ≫ f) |
| 34 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap (C i).chart.map) (Y i) (g i) (K i)) |
| 35 | (certificate : ∀ i, Uniform.CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule ((C i).chart.map ≫ f) |
| 36 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap (C i).chart.map) (C i).chart.nativeCarrier |
| 37 | (fun l => (D l).comap (C i).chart.map) (P i)) |
| 38 | (htrace : ∀ i, (P i).HasIncidenceTrace β (fun l => (D l).comap (C i).chart.map) (𝒮.incidenceTrace schedule)) |
| 39 | (ht : ∀ i, letI : Smooth (g i) := (P i).endpoint_smooth; Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (K i) n = ⊤) : |
| 40 | ∃ (Z : Scheme) (h : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (L : Z.IdealSheafData) |
| 41 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n) Z h L), |
| 42 | Nonempty (UniformCarrierAtlasProgram.Construction.ModeledUniformCarrierAtlasProgram 𝒮 schedule f J D Q) := by |
| 43 | let : ∀ i, IsNoetherianRing (C i).chart.ring := fun i => Algebra.FiniteType.isNoetherianRing ℂ (C i).chart.ring |
| 44 | let : ∀ i, IsLocallyNoetherian (Spec (C i).chart.ring) := fun _ => inferInstance |
| 45 | let : ∀ i, IsIntegral (Spec (C i).chart.ring) := fun _ => inferInstance |
| 46 | let : ∀ i, CompactSpace (Spec (C i).chart.ring) := fun _ => inferInstance |
| 47 | have hcompat : ∀ i a, (P i).OpenCompatible (P a) (C i).chart.map (C a).chart.map := by |
| 48 | intro i a |
| 49 | apply Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.openCompatible_of_order_comparisons f (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n) |
| 50 | (C i).chart.map (C a).chart.map (P i) (P a) |
| 51 | ((certificate i).stepCount.trans (certificate a).stepCount.symm) |
| 52 | intro p q hpq hp |
| 53 | rw [Global.Homogenization.Construction.smoothHomogenizedIdealSheaf_tangent] at hp |
| 54 | exact (certificate i).openComparisonAt_of_global_normal_charts (C i) (C a) (certificate a) |
| 55 | (hC i) (hC a) (hdH i) (hdH a) p q hpq hp |
| 56 | have hJH : Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n ≠ ⊥ := |
| 57 | ne_bot_of_le_ne_bot hJ (Global.Homogenization.Construction.le_smoothHomogenizedIdealSheaf f J n) |
| 58 | have hcoverH : ∀ y ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n) (n + 1 - 1)).support, |
| 59 | ∃ i p, (C i).chart.map p = y := by |
| 60 | simpa only [Nat.add_sub_cancel, Global.Homogenization.Construction.smoothHomogenizedIdealSheaf_tangent] using hcover |
| 61 | have ht' : ∀ i, letI : Smooth (g i) := (P i).endpoint_smooth; |
| 62 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (K i) (n + 1 - 1) = ⊤ := by |
| 63 | simpa only [Nat.add_sub_cancel] using ht |
| 64 | obtain ⟨Z, h, L, Q, r, hQ, hterm, hr⟩ := Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.exists_complete_of_finite_order_cover |
| 65 | f (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n) hJH (n + 1) (fun i => Spec (C i).chart.ring) |
| 66 | (fun i => (C i).chart.map) hcoverH (fun i => (C i).chart.map ≫ f) |
| 67 | (fun i => (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap (C i).chart.map) (fun _ => rfl) (fun _ => rfl) |
| 68 | Y g K P D A (𝒮.incidenceTrace schedule) htrace hcompat ht' |
| 69 | exact ⟨Z, h, L, Q, ⟨{ |
| 70 | indices := ι |
| 71 | finite := inferInstance |
| 72 | nonempty := inferInstance |
| 73 | point := x |
| 74 | chart := C |
| 75 | domain := inferInstance |
| 76 | carrierIntegral := inferInstance |
| 77 | carrierDimension := hdH |
| 78 | cover := hcover |
| 79 | coefficientNonzero := hC |
| 80 | endpoint := Y |
| 81 | structureMap := g |
| 82 | ideal := K |
| 83 | localPrefix := P |
| 84 | certificate := certificate |
| 85 | comparisonMap := r |
| 86 | comparison := hr |
| 87 | trace := hQ |
| 88 | terminal := by simpa only [Nat.add_sub_cancel] using hterm }⟩⟩ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | /-! Finite normal atlases on a finite family share one intrinsic coefficient schedule and retain all gluing certificates. -/ |
| 93 | |
| 94 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 95 | |
| 96 | theorem exists_finite_modeled_uniform_carrier_atlas_programs {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) |
| 97 | (n : ℕ) {β τ : Type} [Fintype β] [DecidableEq β] [Fintype τ] |
| 98 | (X : τ → Scheme) [∀ i, IsIntegral (X i)] [∀ i, IsLocallyNoetherian (X i)] [∀ i, CompactSpace (X i)] |
| 99 | (f : ∀ i, X i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [∀ i, Smooth (f i)] (J : ∀ i, (X i).IdealSheafData) |
| 100 | (hJ : ∀ i, J i ≠ ⊥) (hd : ∀ i, topologicalKrullDim (X i) ≤ (d + 1 : ℕ)) |
| 101 | (D : ∀ i, β → (X i).IdealSheafData) (A : ∀ i, Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (f i) (D i) [Finset.univ]) |
| 102 | (ι : τ → Type) [∀ i, Fintype (ι i)] [∀ i, Nonempty (ι i)] (x : ∀ i, ι i → X i) |
| 103 | (C : ∀ i a, GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryModeledNormalChart (f i) (J i) n (D i) (x i a)) |
| 104 | [∀ i a, IsDomain (C i a).chart.ring] [∀ i a, IsIntegral (C i a).chart.nativeCarrier.subscheme] |
| 105 | (hcover : ∀ i y, y ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (f i) (J i) n).support → |
| 106 | ∃ a p, (C i a).chart.map p = y) |
| 107 | (hC : ∀ i a, GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf ((C i a).chart.map ≫ f i) |
| 108 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (f i) (J i) n).comap (C i a).chart.map) (n + 1) |
| 109 | (C i a).chart.nativeCarrier.subschemeι ≠ ⊥) : |
| 110 | ∃ schedule : 𝒮.Schedule (n + 1).factorial β, ∀ i, |
| 111 | ∃ (Y : Scheme) (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) |
| 112 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) (X i) (f i) (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (f i) (J i) n) Y g K), |
| 113 | Nonempty (UniformCarrierAtlasProgram.Construction.ModeledUniformCarrierAtlasProgram 𝒮 schedule (f i) (J i) (D i) P) := by |
| 114 | classical |
| 115 | let κ := Σ i, ι i |
| 116 | let U (s : κ) := Spec (C s.1 s.2).chart.ring |
| 117 | let q (s : κ) := (C s.1 s.2).chart.map |
| 118 | let H (s : κ) := (C s.1 s.2).chart.nativeCarrier |
| 119 | let : ∀ s : κ, IsNoetherianRing (C s.1 s.2).chart.ring := |
| 120 | fun s => Algebra.FiniteType.isNoetherianRing ℂ (C s.1 s.2).chart.ring |
| 121 | let : ∀ s : κ, IsIntegral (U s) := fun _ => inferInstance |
| 122 | let : ∀ s : κ, IsLocallyNoetherian (U s) := fun _ => inferInstance |
| 123 | let : ∀ s : κ, CompactSpace (U s) := fun _ => inferInstance |
| 124 | let : ∀ s : κ, IsIntegral (H s).subscheme := |
| 125 | fun s => inferInstanceAs (IsIntegral (C s.1 s.2).chart.nativeCarrier.subscheme) |
| 126 | let : ∀ s : κ, Smooth ((H s).subschemeι ≫ (q s ≫ f s.1)) := |
| 127 | fun s => (C s.1 s.2).chart.nativeCarrier_smooth |
| 128 | have hdU (s : κ) : topologicalKrullDim (U s) ≤ (d + 1 : ℕ) := |
| 129 | (q s).isOpenEmbedding.isInducing.topologicalKrullDim_le.trans (hd s.1) |
| 130 | have hdH (i : τ) (a : ι i) : topologicalKrullDim (C i a).chart.nativeCarrier.subscheme ≤ d := by |
| 131 | let : IsIntegral (Spec (C i a).chart.ring) := inferInstanceAs (IsIntegral (U ⟨i, a⟩)) |
| 132 | let : IsLocallyNoetherian (Spec (C i a).chart.ring) := inferInstanceAs (IsLocallyNoetherian (U ⟨i, a⟩)) |
| 133 | exact Global.CartierDimension.Construction.locallyPrincipal_subscheme_dimension_le (C i a).chart.nativeCarrier |
| 134 | ((C i a).chart.native_boundaryAtlas.component_ne_bot none) |
| 135 | ((C i a).chart.native_boundaryAtlas.component_locallyPrincipal none) d (hdU ⟨i, a⟩) |
| 136 | obtain ⟨schedule, hprograms⟩ := Finite.UniformCoefficientCarrierPrograms.Construction.exists_finite_uniform_coefficient_carrier_programs 𝒮 n U |
| 137 | (fun s => q s ≫ f s.1) (fun s => (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (f s.1) (J s.1) n).comap (q s)) |
| 138 | H hdU (fun s l => (D s.1 l).comap (q s)) |
| 139 | (fun s => (C s.1 s.2).chart.native_boundaryAtlas) |
| 140 | (fun s => (C s.1 s.2).chart.nativeCarrier_tangent) (fun s => hC s.1 s.2) |
| 141 | refine ⟨schedule, ?_⟩ |
| 142 | intro i |
| 143 | choose Y g K P cert htrace ht using fun a : ι i => hprograms ⟨i, a⟩ |
| 144 | let : ∀ a, Smooth ((C i a).chart.nativeCarrier.subschemeι ≫ ((C i a).chart.map ≫ f i)) := |
| 145 | fun a => (C i a).chart.nativeCarrier_smooth |
| 146 | exact exists_glued_modeled_uniform_carrier_atlas_program 𝒮 (f i) (J i) (hJ i) n (D i) (A i) |
| 147 | (x i) (C i) (hdH i) (hcover i) (hC i) schedule Y g K P (fun a => (cert a).some) htrace ht |
| 148 | |
| 149 | end |
| 150 | |
| 151 | end OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.UniformCarrierAtlasPrograms.Construction |