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.Uniform.CoefficientCarrierProgram |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.ControlProgramSystem |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.CarrierBaseChange |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.SchemeDimension |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.GlobalCoefficientEtalePullback |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.CarrierPullbackStep |
| 7 | |
| 8 | /-! # Coefficient Program Pullback -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! The intrinsic coefficient program restricts to the actual pulled-back closed carrier. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | theorem CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram.exists_native_coefficient_program_pullback |
| 21 | {d : ℕ} {𝒮 : ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 22 | {schedule : 𝒮.Schedule (n + 1).factorial β} |
| 23 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J H : X.IdealSheafData} |
| 24 | [IsIntegral H.subscheme] [Smooth (H.subschemeι ≫ f)] |
| 25 | {D : β → X.IdealSheafData} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} |
| 26 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 27 | (A : CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule f J H D P) |
| 28 | (hC : GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι ≠ ⊥) |
| 29 | (hdH : topologicalKrullDim H.subscheme ≤ d) |
| 30 | {V : Scheme} [IsLocallyNoetherian V] (q : V ⟶ X) [Etale q] |
| 31 | (H0 : V.IdealSheafData) (hH : H.comap q = H0) |
| 32 | [IsIntegral H0.subscheme] [CompactSpace H0.subscheme] [Smooth (H0.subschemeι ≫ (q ≫ f))] : |
| 33 | ∃ (W : Scheme) (k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : W.IdealSheafData) |
| 34 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1).factorial H0.subscheme (H0.subschemeι ≫ (q ≫ f)) |
| 35 | (GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf (q ≫ f) (J.comap q) (n + 1) H0.subschemeι) W k M) |
| 36 | (r : W ⟶ A.endpoint), |
| 37 | 𝒮.Program schedule (H0.subschemeι ≫ (q ≫ f)) |
| 38 | (GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf (q ≫ f) (J.comap q) (n + 1) H0.subschemeι) |
| 39 | (fun l => ((D l).comap q).comap H0.subschemeι) Q ∧ |
| 40 | A.coefficientPrefix.EtaleComparison Q (IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo H H0 q hH) r := by |
| 41 | let p := IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo H H0 q hH |
| 42 | let C0 := GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf (q ≫ f) (J.comap q) (n + 1) H0.subschemeι |
| 43 | let : IsLocallyNoetherian H0.subscheme := LocallyOfFiniteType.isLocallyNoetherian H0.subschemeι |
| 44 | have he : (GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι).comap p = C0 := |
| 45 | Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothCoefficientIdealSheaf_comap_etale_square f J (n + 1) H.subschemeι H0.subschemeι q p |
| 46 | (IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo_over H H0 q hH) |
| 47 | have hC0 : C0 ≠ ⊥ := he ▸ Blowups.Etale.PullbackCenter.Construction.idealSheaf_comap_nonempty_etale_ne_bot p _ hC |
| 48 | have hg : p ≫ (H.subschemeι ≫ f) = H0.subschemeι ≫ (q ≫ f) := by |
| 49 | rw [← Category.assoc, IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo_over, Category.assoc] |
| 50 | have hD : ∀ l, ((D l).comap H.subschemeι).comap p = ((D l).comap q).comap H0.subschemeι := by |
| 51 | intro l |
| 52 | rw [← Scheme.IdealSheafData.comap_comp, IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo_over, Scheme.IdealSheafData.comap_comp] |
| 53 | exact 𝒮.pullback (Nat.factorial_pos _) A.program H0.subscheme |
| 54 | (Blowups.Etale.SchemeDimension.Construction.scheme_dimension_le_of_etale p d hdH) (H0.subschemeι ≫ (q ≫ f)) C0 hC0 |
| 55 | (fun l => ((D l).comap q).comap H0.subschemeι) p hg he hD |
| 56 | |
| 57 | end |
| 58 | |
| 59 | section |
| 60 | |
| 61 | /-! Every actual ambient restriction retains its intrinsic coefficient-program certificate. -/ |
| 62 | |
| 63 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 64 | |
| 65 | theorem CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram.exists_on_etale_comparison |
| 66 | {d : ℕ} {𝒮 : ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 67 | {schedule : 𝒮.Schedule (n + 1).factorial β} |
| 68 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J H : X.IdealSheafData} |
| 69 | [IsIntegral H.subscheme] [Smooth (H.subschemeι ≫ f)] |
| 70 | {D : β → X.IdealSheafData} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} |
| 71 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 72 | (A : CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule f J H D P) |
| 73 | (hC : GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι ≠ ⊥) |
| 74 | (hdH : topologicalKrullDim H.subscheme ≤ d) |
| 75 | {V W : Scheme} [IsLocallyNoetherian V] (q : V ⟶ X) [Etale q] |
| 76 | (H0 : V.IdealSheafData) (hH : H.comap q = H0) |
| 77 | [IsIntegral H0.subscheme] [CompactSpace H0.subscheme] [Smooth (H0.subschemeι ≫ (q ≫ f))] |
| 78 | {h : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {L : W.IdealSheafData} |
| 79 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) V (q ≫ f) (J.comap q) W h L) |
| 80 | (r : W ⟶ Y) (hc : P.EtaleComparison Q q r) : |
| 81 | Nonempty (CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule (q ≫ f) (J.comap q) H0 |
| 82 | (fun l => (D l).comap q) Q) := by |
| 83 | obtain ⟨Z, k, M, R, s, hR, hs⟩ := A.exists_native_coefficient_program_pullback hC hdH q H0 hH |
| 84 | obtain ⟨t, ht, _⟩ := P.carrierPullback A.coefficientPrefix H.subschemeι A.carrierMap A.comparison |
| 85 | Q R H0.subschemeι (IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo H H0 q hH) s q r hc hs |
| 86 | (IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo_isPullback H H0 q hH) |
| 87 | exact ⟨{ endpoint := Z |
| 88 | structureMap := k |
| 89 | ideal := M |
| 90 | coefficientPrefix := R |
| 91 | program := hR |
| 92 | carrierMap := t |
| 93 | comparison := ht }⟩ |
| 94 | |
| 95 | end |
| 96 | |
| 97 | /-! Carrier-program restriction with the source structure map and marked ideal named independently. -/ |
| 98 | |
| 99 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 100 | |
| 101 | theorem CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram.exists_on_etale_comparison_to |
| 102 | {d : ℕ} {𝒮 : ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 103 | {schedule : 𝒮.Schedule (n + 1).factorial β} |
| 104 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J H : X.IdealSheafData} |
| 105 | [IsIntegral H.subscheme] [Smooth (H.subschemeι ≫ f)] |
| 106 | {D : β → X.IdealSheafData} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} |
| 107 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} |
| 108 | (A : CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule f J H D P) |
| 109 | (hC : GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι ≠ ⊥) |
| 110 | (hdH : topologicalKrullDim H.subscheme ≤ d) |
| 111 | {V W : Scheme} [IsLocallyNoetherian V] (q : V ⟶ X) [Etale q] |
| 112 | (f0 : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f0] (J0 H0 : V.IdealSheafData) |
| 113 | (hf : q ≫ f = f0) (hJ : J.comap q = J0) (hH : H.comap q = H0) |
| 114 | [IsIntegral H0.subscheme] [CompactSpace H0.subscheme] [Smooth (H0.subschemeι ≫ f0)] |
| 115 | {h : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {L : W.IdealSheafData} |
| 116 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) V f0 J0 W h L) |
| 117 | (r : W ⟶ Y) (hc : P.EtaleComparison Q q r) : |
| 118 | Nonempty (CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule f0 J0 H0 (fun l => (D l).comap q) Q) := by |
| 119 | subst f0 |
| 120 | subst J0 |
| 121 | exact A.exists_on_etale_comparison hC hdH q H0 hH Q r hc |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |