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.CoefficientProgramPullback |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.IntrinsicCarrierRestriction |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.CarrierTangentDescent |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.EtalePullbackExistence |
| 5 | |
| 6 | /-! # Carrier Overlap Common Program -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Initial tangent comparisons on an overlap construct a common actual program for two carrier choices. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram.exists_common_program_on_tangent_overlap |
| 17 | {d : ℕ} {𝒮 : ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 18 | {schedule : 𝒮.Schedule (n + 1).factorial β} |
| 19 | {X X' Y Y' : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {f' : X' ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f'] |
| 20 | {J H : X.IdealSheafData} {J' H' : X'.IdealSheafData} |
| 21 | [IsIntegral H.subscheme] [IsIntegral H'.subscheme] |
| 22 | [Smooth (H.subschemeι ≫ f)] [Smooth (H'.subschemeι ≫ f')] |
| 23 | {D : β → X.IdealSheafData} {D' : β → X'.IdealSheafData} |
| 24 | {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g' : Y' ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} {K' : Y'.IdealSheafData} |
| 25 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f J Y g K} {P' : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X' f' J' Y' g' K'} |
| 26 | (A : CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule f J H D P) |
| 27 | (A' : CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule f' J' H' D' P') |
| 28 | (hC : GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι ≠ ⊥) |
| 29 | (hC' : GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f' J' (n + 1) H'.subschemeι ≠ ⊥) |
| 30 | (hdH : topologicalKrullDim H.subscheme ≤ d) (hdH' : topologicalKrullDim H'.subscheme ≤ d) |
| 31 | (hmax : H ≤ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n) |
| 32 | {S : Scheme} [IsIntegral S] [IsLocallyNoetherian S] |
| 33 | (v : S ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth v] (L H0 H1 : S.IdealSheafData) (E : β → S.IdealSheafData) |
| 34 | [IsIntegral H0.subscheme] [IsIntegral H1.subscheme] |
| 35 | [CompactSpace H0.subscheme] [CompactSpace H1.subscheme] |
| 36 | (a : S ⟶ X) (b : S ⟶ X') [Etale a] [Etale b] |
| 37 | (haf : a ≫ f = v) (hbf : b ≫ f' = v) |
| 38 | (haJ : J.comap a = L) (hbJ : J'.comap b = L) |
| 39 | (haH : H.comap a = H0) (hbH : H'.comap b = H1) |
| 40 | (haD : ∀ l, (D l).comap a = E l) (hbD : ∀ l, (D' l).comap b = E l) |
| 41 | (hcompare : ∀ x : S, x ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf v L n).support → |
| 42 | Nonempty (TangentCarrierBoundaryReindex.Construction.TangentCarrierComparisonAt v L H0 H1 E n x)) : |
| 43 | ∃ (W : Scheme) (w : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (M : W.IdealSheafData) |
| 44 | (R : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) S v L W w M) (r : W ⟶ Y) (s : W ⟶ Y'), |
| 45 | P.EtaleComparison R a r ∧ P'.EtaleComparison R b s := by |
| 46 | obtain ⟨Z, z, B, R, r, hr⟩ := P.exists_etale_pullback S v L a haf haJ |
| 47 | obtain ⟨Z', z', B', R', r', hr'⟩ := P'.exists_etale_pullback S v L b hbf hbJ |
| 48 | let : Smooth (H0.subschemeι ≫ v) := IntrinsicCarrierRestriction.Construction.native_carrier_restriction_smooth f H a v H0 haf haH |
| 49 | let : Smooth (H1.subschemeι ≫ v) := IntrinsicCarrierRestriction.Construction.native_carrier_restriction_smooth f' H' b v H1 hbf hbH |
| 50 | have hA0 := A.exists_on_etale_comparison_to hC hdH a v L H0 haf haJ haH R r hr |
| 51 | have hA1 := A'.exists_on_etale_comparison_to hC' hdH' b v L H1 hbf hbJ hbH R' r' hr' |
| 52 | rw [funext haD] at hA0 |
| 53 | rw [funext hbD] at hA1 |
| 54 | obtain ⟨A0⟩ := hA0 |
| 55 | obtain ⟨A1⟩ := hA1 |
| 56 | have hC0 := IntrinsicCarrierRestriction.Construction.native_carrier_restriction_coefficient_ne_bot f J H (n + 1) hC a v L H0 haf haJ haH |
| 57 | have hmax0 := IntrinsicCarrierRestriction.Construction.native_carrier_restriction_tangent f J H n hmax a v L H0 haf haJ haH |
| 58 | have hdH0 := Blowups.Etale.SchemeDimension.Construction.scheme_dimension_le_of_etale (IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo H H0 a haH) d hdH |
| 59 | obtain ⟨e, he, _⟩ := A0.exists_endpointIso_of_tangent_comparisons A1 hC0 hmax0 hdH0 hcompare |
| 60 | have hcomp := hr.comp P R a r R' (𝟙 S) e.hom he |
| 61 | rw [Category.id_comp] at hcomp |
| 62 | exact ⟨Z', z', B', R', e.hom ≫ r, r', hcomp, hr'⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |