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.Pointed.ModeledNormalChartPullback |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.HomogenizationEtalePullback |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.IntrinsicCarrierRestriction |
| 5 | |
| 6 | /-! # Normal Chart Program Pullback -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Transported modeled normal charts retain the intrinsic uniform program and its coefficient geometry. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram.exists_on_transported_normal_chart |
| 17 | {d : ℕ} {𝒮 : ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 18 | {schedule : 𝒮.Schedule (n + 1).factorial β} |
| 19 | {X V Y W : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J : X.IdealSheafData} |
| 20 | {D : β → X.IdealSheafData} {x : X} (q : V ⟶ X) [Etale q] {y : V} |
| 21 | (C : GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryModeledNormalChart f J n D x) |
| 22 | (B : GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryModeledNormalChart (q ≫ f) (J.comap q) n (fun l => (D l).comap q) y) |
| 23 | [IsIntegral C.chart.nativeCarrier.subscheme] [IsIntegral B.chart.nativeCarrier.subscheme] |
| 24 | [Smooth (C.chart.nativeCarrier.subschemeι ≫ (C.chart.map ≫ f))] |
| 25 | [Smooth (B.chart.nativeCarrier.subschemeι ≫ (B.chart.map ≫ (q ≫ f)))] |
| 26 | (φ : C.chart.ring →ₐ[ℂ] B.chart.ring) (hφ : φ.toRingHom.Etale) |
| 27 | (hcomm : Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ C.chart.map = B.chart.map ≫ q) |
| 28 | (hnormal : B.chart.normal = φ C.chart.normal) |
| 29 | {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} {M : W.IdealSheafData} |
| 30 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) (Spec C.chart.ring) (C.chart.map ≫ f) |
| 31 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap C.chart.map) Y g K} |
| 32 | (A : CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule (C.chart.map ≫ f) |
| 33 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap C.chart.map) C.chart.nativeCarrier |
| 34 | (fun l => (D l).comap C.chart.map) P) |
| 35 | (hC : GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf (C.chart.map ≫ f) |
| 36 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap C.chart.map) (n + 1) C.chart.nativeCarrier.subschemeι ≠ ⊥) |
| 37 | (hd : topologicalKrullDim C.chart.nativeCarrier.subscheme ≤ d) |
| 38 | (Q : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) (Spec B.chart.ring) (B.chart.map ≫ (q ≫ f)) |
| 39 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (q ≫ f) (J.comap q) n).comap B.chart.map) W k M) |
| 40 | (r : W ⟶ Y) (hc : P.EtaleComparison Q (Spec.map (CommRingCat.ofHom φ.toRingHom)) r) : |
| 41 | Nonempty (CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule (B.chart.map ≫ (q ≫ f)) |
| 42 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (q ≫ f) (J.comap q) n).comap B.chart.map) B.chart.nativeCarrier |
| 43 | (fun l => ((D l).comap q).comap B.chart.map) Q) ∧ |
| 44 | GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf (B.chart.map ≫ (q ≫ f)) |
| 45 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (q ≫ f) (J.comap q) n).comap B.chart.map) (n + 1) |
| 46 | B.chart.nativeCarrier.subschemeι ≠ ⊥ ∧ topologicalKrullDim B.chart.nativeCarrier.subscheme ≤ d := by |
| 47 | let a := Spec.map (CommRingCat.ofHom φ.toRingHom) |
| 48 | let : Etale a := (HasRingHomProperty.Spec_iff (P := @Etale)).mpr hφ |
| 49 | let : IsNoetherianRing B.chart.ring := Algebra.FiniteType.isNoetherianRing ℂ B.chart.ring |
| 50 | let : IsLocallyNoetherian (Spec B.chart.ring) := inferInstance |
| 51 | let : CompactSpace B.chart.nativeCarrier.subscheme := |
| 52 | QuasiCompact.compactSpace_of_compactSpace B.chart.nativeCarrier.subschemeι |
| 53 | have hg : a ≫ (C.chart.map ≫ f) = B.chart.map ≫ (q ≫ f) := by |
| 54 | rw [← Category.assoc, hcomm, Category.assoc] |
| 55 | have hJ : ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap C.chart.map).comap a = |
| 56 | (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (q ≫ f) (J.comap q) n).comap B.chart.map := by |
| 57 | rw [← Scheme.IdealSheafData.comap_comp, hcomm, Scheme.IdealSheafData.comap_comp, |
| 58 | Global.HomogenizationEtalePullback.Construction.smoothHomogenizedIdealSheaf_comap_etale] |
| 59 | have hH : C.chart.nativeCarrier.comap a = B.chart.nativeCarrier := by |
| 60 | change (Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {C.chart.normal})).comap |
| 61 | (Spec.map (CommRingCat.ofHom φ.toRingHom)) = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {B.chart.normal}) |
| 62 | rw [Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, Ideal.map_span, Set.image_singleton, hnormal] |
| 63 | have hD (l : β) : ((D l).comap C.chart.map).comap a = ((D l).comap q).comap B.chart.map := by |
| 64 | rw [← Scheme.IdealSheafData.comap_comp, hcomm, Scheme.IdealSheafData.comap_comp] |
| 65 | have hA := A.exists_on_etale_comparison_to hC hd a (B.chart.map ≫ (q ≫ f)) |
| 66 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (q ≫ f) (J.comap q) n).comap B.chart.map) B.chart.nativeCarrier hg hJ hH Q r hc |
| 67 | rw [funext hD] at hA |
| 68 | refine ⟨hA, ?_, ?_⟩ |
| 69 | · exact IntrinsicCarrierRestriction.Construction.native_carrier_restriction_coefficient_ne_bot (C.chart.map ≫ f) |
| 70 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap C.chart.map) C.chart.nativeCarrier (n + 1) hC |
| 71 | a (B.chart.map ≫ (q ≫ f)) _ B.chart.nativeCarrier hg hJ hH |
| 72 | · exact Blowups.Etale.SchemeDimension.Construction.scheme_dimension_le_of_etale (IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo C.chart.nativeCarrier B.chart.nativeCarrier a hH) d hd |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Resolution.Blowups.Uniform |