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.Etale.CoefficientFamilyCenter |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.EtaleIdealSheafContainment |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlledIdealKernel |
| 4 | |
| 5 | /-! # Family Charts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.FamilyCharts.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual local retained coefficient families and their global permissible-center criterion. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | /-- An actual étale ambient chart, its actual hypersurface map, and a fixed |
| 16 | normal-derivative family lying in the retained native coefficient ideal. -/ |
| 17 | structure GlobalCoefficientFamilyChart {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 18 | (J H : X.IdealSheafData) (C : H.subscheme.IdealSheafData) (b : ℕ) where |
| 19 | ring : CommRingCat |
| 20 | algebra : Algebra ℂ ring |
| 21 | map : Spec ring ⟶ X |
| 22 | etale : Etale map |
| 23 | ground : map ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure ring |
| 24 | normal : ring |
| 25 | hypersurface : H.comap map = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {normal}) |
| 26 | derivative : Derivation ℂ ring ring |
| 27 | derivative_normal : derivative normal = 1 |
| 28 | familyIndex : Type |
| 29 | family : familyIndex → ring |
| 30 | familyIdeal : J.comap map = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span (Set.range family)) |
| 31 | coefficientMap : Spec (.of (ring ⧸ Ideal.span {normal})) ⟶ H.subscheme |
| 32 | coefficient_over : coefficientMap ≫ H.subschemeι = |
| 33 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (Ideal.span {normal}))) ≫ map |
| 34 | coefficientIdeal : Ideal (ring ⧸ Ideal.span {normal}) |
| 35 | coefficient_eq : C.comap coefficientMap = Affine.QuotientKernel.Construction.affineQuotientKernel coefficientIdeal |
| 36 | lower : WeightedGeneratorFamily.Construction.weightedCoordinateDerivativeFamilyIdeal derivative normal family b ≤ coefficientIdeal |
| 37 | |
| 38 | attribute [instance] GlobalCoefficientFamilyChart.algebra GlobalCoefficientFamilyChart.etale |
| 39 | |
| 40 | theorem GlobalCoefficientFamilyChart.permissible |
| 41 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J H : X.IdealSheafData} |
| 42 | {C : H.subscheme.IdealSheafData} {b : ℕ} (T : GlobalCoefficientFamilyChart f J H C b) |
| 43 | (I : X.IdealSheafData) [Smooth (I.subschemeι ≫ f)] (hHI : H ≤ I) |
| 44 | (hC : C ≤ (I.comap H.subschemeι) ^ b.factorial) : |
| 45 | J.comap T.map ≤ (I ^ b).comap T.map := by |
| 46 | obtain ⟨A, hA⟩ := Affine.KernelOrderEquiv.Construction.exists_affineQuotientKernel (I.comap T.map) |
| 47 | exact Blowups.Etale.CoefficientFamilyCenter.Construction.etale_coefficient_family_center_permissible f I J H hHI C b hC T.ring T.map T.ground |
| 48 | A hA.symm T.normal T.hypersurface T.derivative T.derivative_normal T.family T.familyIdeal |
| 49 | T.coefficientMap T.coefficient_over T.coefficientIdeal T.coefficient_eq T.lower |
| 50 | |
| 51 | /-- Pointed retained coefficient charts along the whole carrier suffice to |
| 52 | lift every smooth permissible coefficient center to a global ambient center. -/ |
| 53 | theorem global_center_permissible_of_coefficient_family_charts |
| 54 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (I J H : X.IdealSheafData) |
| 55 | [Smooth (I.subschemeι ≫ f)] (hHI : H ≤ I) (C : H.subscheme.IdealSheafData) (b : ℕ) |
| 56 | (hcharts : ∀ x : X, x ∈ H.support → ∃ T : GlobalCoefficientFamilyChart f J H C b, |
| 57 | ∃ p : PrimeSpectrum T.ring, T.map p = x) |
| 58 | (hC : C ≤ (I.comap H.subschemeι) ^ b.factorial) : J ≤ I ^ b := by |
| 59 | apply Pointed.EtaleIdealSheafContainment.Construction.idealSheaf_le_of_pointed_etale_charts f |
| 60 | intro x |
| 61 | by_cases hx : x ∈ H.support |
| 62 | · obtain ⟨T, p, hp⟩ := hcharts x hx |
| 63 | exact ⟨T.ring, T.algebra, T.map, T.etale, T.ground, p, hp, T.permissible I hHI hC⟩ |
| 64 | · obtain ⟨V, hV, hxV, hVH⟩ := exists_isAffineOpen_mem_and_subset |
| 65 | (U := H.support.compl) (x := x) hx |
| 66 | let U : X.affineOpens := ⟨V, hV⟩ |
| 67 | let : Algebra ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 68 | let : IsOpenImmersion U.2.fromSpec := U.2.isOpenImmersion_fromSpec |
| 69 | have hxrange : x ∈ U.2.fromSpec.opensRange := by rw [U.2.opensRange_fromSpec]; exact hxV |
| 70 | obtain ⟨p, hp⟩ := hxrange |
| 71 | have hunit : I.comap U.2.fromSpec = ⊤ := by |
| 72 | apply ControlledIdealKernel.Construction.idealSheaf_comap_eq_top_of_avoids_support |
| 73 | intro q hq |
| 74 | have hmem : U.2.fromSpec q ∈ U.1 := by |
| 75 | have hr : U.2.fromSpec q ∈ U.2.fromSpec.opensRange := ⟨q, rfl⟩ |
| 76 | rwa [U.2.opensRange_fromSpec] at hr |
| 77 | exact hVH hmem (Scheme.IdealSheafData.support_antitone hHI hq) |
| 78 | refine ⟨Γ(X, U), inferInstance, U.2.fromSpec, inferInstance, |
| 79 | (Affine.ComplexNaturality.Construction.affineComplexScalars_spec f U).symm, p, hp, ?_⟩ |
| 80 | rw [IdealSheaf.ProductPullback.Construction.idealSheaf_comap_pow, hunit, ← Scheme.IdealSheafData.one_eq_top, one_pow, |
| 81 | Scheme.IdealSheafData.one_eq_top] |
| 82 | exact le_top |
| 83 | |
| 84 | theorem global_smooth_center_iff_retained_coefficient_center |
| 85 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (I J H : X.IdealSheafData) |
| 86 | [Smooth (I.subschemeι ≫ f)] (hHI : H ≤ I) (C : H.subscheme.IdealSheafData) (b : ℕ) |
| 87 | (hcharts : ∀ x : X, x ∈ H.support → ∃ T : GlobalCoefficientFamilyChart f J H C b, |
| 88 | ∃ p : PrimeSpectrum T.ring, T.map p = x) |
| 89 | (hupp : C ≤ CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J b H.subschemeι) : |
| 90 | J ≤ I ^ b ↔ C ≤ (I.comap H.subschemeι) ^ b.factorial := by |
| 91 | constructor |
| 92 | · intro hp |
| 93 | exact hupp.trans (CoefficientSheaf.Construction.smoothCoefficientIdealSheaf_le_of_order f I J b H.subschemeι hp) |
| 94 | · exact global_center_permissible_of_coefficient_family_charts f I J H hHI C b hcharts |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.FamilyCharts.Construction |