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.GlobalCoefficient.CoefficientSheaf |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Relative.CoefficientIdeal |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialUnitGluing |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.ComponentGluing |
| 5 | |
| 6 | /-! # Affine Charts -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.AffineCharts.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exact affine formulas for the intrinsic coefficient sheaf on actual closed carriers. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem smoothDifferentialIdealSheaf_comap_affine |
| 17 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (n : ℕ) |
| 18 | {R : Type} [CommRing R] [Algebra ℂ R] (j : Spec (.of R) ⟶ X) [IsOpenImmersion j] |
| 19 | (hj : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (K : Ideal R) (hK : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel K) : |
| 20 | (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap j = |
| 21 | Affine.QuotientKernel.Construction.affineQuotientKernel (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ K n) := by |
| 22 | have hs : Smooth (ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) := hj ▸ (inferInstanceAs (Smooth (j ≫ f))) |
| 23 | let : Algebra.Smooth ℂ R := RingHom.smooth_algebraMap.mp |
| 24 | ((HasRingHomProperty.Spec_iff (P := @Smooth)).mp hs) |
| 25 | rw [Blowups.Smooth.DifferentialSheafRestriction.Construction.smoothDifferentialIdealSheaf_comap_open, hK] |
| 26 | exact (DifferentialUnitGluing.Construction.smoothDifferentialIdealSheaf_structure_congr (j ≫ f) _ hj _ n).trans |
| 27 | (ComplexAffineDifferentialIdeal.Construction.smoothDifferentialIdealSheaf_affineQuotientKernel R K n) |
| 28 | |
| 29 | theorem smoothCoefficientIdealSheaf_comap_quotient_chart |
| 30 | {X Y : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (b : ℕ) (q : Y ⟶ X) |
| 31 | {R : Type} [CommRing R] [Algebra ℂ R] (j : Spec (.of R) ⟶ X) [IsOpenImmersion j] |
| 32 | (hj : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (K L : Ideal R) (hK : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel K) |
| 33 | (l : Spec (.of (R ⧸ L)) ⟶ Y) |
| 34 | (hcomm : l ≫ q = Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk L)) ≫ j) : |
| 35 | (CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J b q).comap l = |
| 36 | Affine.QuotientKernel.Construction.affineQuotientKernel (WeightedCoefficientIdeal.Construction.weightedCoefficientIdeal b |
| 37 | (fun r => (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ K r.val).map (Ideal.Quotient.mk L))) := by |
| 38 | rw [CoefficientSheaf.Construction.smoothCoefficientIdealSheaf_comap] |
| 39 | simp only [CoefficientSheaf.Construction.smoothCoefficientIdealSheaf, hcomm, Scheme.IdealSheafData.comap_comp] |
| 40 | simp_rw [smoothDifferentialIdealSheaf_comap_affine f J _ j hj K hK, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 41 | simp only [WeightedCoefficientIdeal.Construction.weightedCoefficientIdeal, Affine.KernelSums.Construction.affineQuotientKernel_iSup, Affine.QuotientKernel.Construction.affineQuotientKernel_pow] |
| 42 | |
| 43 | theorem smoothCoefficientIdealSheaf_comap_hypersurface_chart |
| 44 | {X Y : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (b : ℕ) (q : Y ⟶ X) |
| 45 | {R : Type} [CommRing R] [Algebra ℂ R] (j : Spec (.of R) ⟶ X) [IsOpenImmersion j] |
| 46 | (hj : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (K : Ideal R) (z : R) (hK : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel K) |
| 47 | (l : Spec (.of (R ⧸ Ideal.span {z})) ⟶ Y) |
| 48 | (hcomm : l ≫ q = Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (Ideal.span {z}))) ≫ j) : |
| 49 | (CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J b q).comap l = Affine.QuotientKernel.Construction.affineQuotientKernel (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal ℂ z K b) := |
| 50 | smoothCoefficientIdealSheaf_comap_quotient_chart f J b q j hj K (Ideal.span {z}) hK l hcomm |
| 51 | |
| 52 | theorem smoothCoefficientIdealSheaf_subschemeChart |
| 53 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J H : X.IdealSheafData) (b : ℕ) (U : X.affineOpens) : |
| 54 | letI := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 55 | (CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J b H.subschemeι).comap (H.subschemeCover.f U) = |
| 56 | Affine.QuotientKernel.Construction.affineQuotientKernel (WeightedCoefficientIdeal.Construction.weightedCoefficientIdeal b |
| 57 | (fun r => (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ (J.ideal U) r.val).map (Ideal.Quotient.mk (H.ideal U)))) := by |
| 58 | let : Algebra ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 59 | let : IsOpenImmersion U.2.fromSpec := U.2.isOpenImmersion_fromSpec |
| 60 | apply smoothCoefficientIdealSheaf_comap_quotient_chart f J b H.subschemeι U.2.fromSpec |
| 61 | (Affine.ComplexNaturality.Construction.affineComplexScalars_spec f U).symm (J.ideal U) (H.ideal U) |
| 62 | (Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel J U) (H.subschemeCover.f U) |
| 63 | exact (Scheme.IdealSheafData.subschemeCover_map_subschemeι H U).trans (Category.assoc _ _ _) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.AffineCharts.Construction |