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.Chart |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.GlobalCoefficientEtalePullback |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CoefficientTerminalBound |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.ChartSupport |
| 5 | |
| 6 | /-! # Terminal -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A terminal retained coefficient bound clears the actual ambient order locus. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction.terminal_ambient_bound |
| 17 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J H : X.IdealSheafData} |
| 18 | [Smooth (H.subschemeι ≫ f)] {C : H.subscheme.IdealSheafData} {n : ℕ} |
| 19 | {T : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C (n + 1)} (A : Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction T) |
| 20 | (hH : H ≤ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n) |
| 21 | (hupp : C ≤ GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι) |
| 22 | (hterminal : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (H.subschemeι ≫ f) C ((n + 1).factorial - 1) = ⊤) : |
| 23 | (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap T.map = ⊤ := by |
| 24 | let K := Ideal.span (Set.range T.family) |
| 25 | let : Algebra.Smooth ℂ T.ring := by |
| 26 | have hs : Smooth (ComplexAffineDifferentialIdeal.Construction.complexSpecStructure T.ring) := T.ground ▸ inferInstanceAs (Smooth (T.map ≫ f)) |
| 27 | exact RingHom.smooth_algebraMap.mp ((HasRingHomProperty.Spec_iff (P := @Smooth) |
| 28 | (φ := CommRingCat.ofHom (algebraMap ℂ T.ring))).mp hs) |
| 29 | let : Etale A.baseMap := A.baseMap_etale |
| 30 | have hd := Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothDifferentialIdealSheaf_comap_etale_affine f J n T.ring T.map T.ground K T.familyIdeal |
| 31 | have hn : T.normal ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ K n := by |
| 32 | have h := Scheme.IdealSheafData.comap_mono T.map hH |
| 33 | change H.comap T.map ≤ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap T.map at h |
| 34 | rw [T.hypersurface, hd] at h |
| 35 | exact (Ideal.span_singleton_le_iff_mem _).mp ((Affine.IdealChartDescent.Construction.affineQuotientKernel_le_iff _ _).mp h) |
| 36 | have hc : T.coefficientIdeal ≤ Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal ℂ T.normal K (n + 1) := by |
| 37 | have h := Scheme.IdealSheafData.comap_mono T.coefficientMap hupp |
| 38 | change C.comap T.coefficientMap ≤ |
| 39 | (GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι).comap T.coefficientMap at h |
| 40 | rw [T.coefficient_eq, Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothCoefficientIdealSheaf_comap_etale_hypersurface_chart f J (n + 1) |
| 41 | H.subschemeι T.ring T.map T.ground K T.normal T.familyIdeal T.coefficientMap T.coefficient_over] at h |
| 42 | exact (Affine.IdealChartDescent.Construction.affineQuotientKernel_le_iff _ _).mp h |
| 43 | have ht : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ (T.coefficientIdeal.map A.retraction.toRingHom) |
| 44 | ((n + 1).factorial - 1) = ⊤ := by |
| 45 | have h := congrArg (fun L : H.subscheme.IdealSheafData => L.comap A.baseMap) hterminal |
| 46 | rw [Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothDifferentialIdealSheaf_comap_etale_affine (H.subschemeι ≫ f) C ((n + 1).factorial - 1) |
| 47 | A.base A.baseMap A.baseMap_ground _ A.baseMap_coefficient, Scheme.IdealSheafData.comap_top, |
| 48 | ← DifferentialUnitGluing.Construction.affineQuotientKernel_top] at h |
| 49 | exact (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp h |
| 50 | have hclear := Blowups.Smooth.CoefficientTerminalBound.Construction.retracted_coefficient_terminal_bound_clears_order ℂ T.normal K n hn |
| 51 | A.retraction.toRingEquiv T.coefficientIdeal hc ht |
| 52 | rw [hd, hclear, DifferentialUnitGluing.Construction.affineQuotientKernel_top] |
| 53 | |
| 54 | theorem GlobalCoefficient.Terminal.Construction.global_retained_coefficient_terminal_clears_order |
| 55 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J H : X.IdealSheafData) |
| 56 | [Smooth (H.subschemeι ≫ f)] (C : H.subscheme.IdealSheafData) (n : ℕ) |
| 57 | (hH : H ≤ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n) |
| 58 | (hupp : C ≤ GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf f J (n + 1) H.subschemeι) |
| 59 | (hcharts : ∀ x : X, x ∈ H.support → |
| 60 | ∃ T : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C (n + 1), Nonempty (Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction T) ∧ |
| 61 | ∃ p : PrimeSpectrum T.ring, T.map p = x) |
| 62 | (hterminal : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (H.subschemeι ≫ f) C ((n + 1).factorial - 1) = ⊤) : |
| 63 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n = ⊤ := by |
| 64 | apply top_le_iff.mp |
| 65 | apply Pointed.EtaleIdealSheafContainment.Construction.idealSheaf_le_of_pointed_etale_charts f |
| 66 | intro x |
| 67 | by_cases hx : x ∈ H.support |
| 68 | · obtain ⟨T, ⟨A⟩, p, hp⟩ := hcharts x hx |
| 69 | refine ⟨T.ring, T.algebra, T.map, T.etale, T.ground, p, hp, ?_⟩ |
| 70 | rw [A.terminal_ambient_bound hH hupp hterminal] |
| 71 | exact le_top |
| 72 | · obtain ⟨V, hV, hxV, hVH⟩ := exists_isAffineOpen_mem_and_subset (U := H.support.compl) (x := x) hx |
| 73 | let U : X.affineOpens := ⟨V, hV⟩ |
| 74 | let : Algebra ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 75 | let : IsOpenImmersion U.2.fromSpec := U.2.isOpenImmersion_fromSpec |
| 76 | have hxrange : x ∈ U.2.fromSpec.opensRange := by rw [U.2.opensRange_fromSpec]; exact hxV |
| 77 | obtain ⟨p, hp⟩ := hxrange |
| 78 | have hunit : (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap U.2.fromSpec = ⊤ := by |
| 79 | apply ControlledIdealKernel.Construction.idealSheaf_comap_eq_top_of_avoids_support |
| 80 | intro q hq |
| 81 | have hmem : U.2.fromSpec q ∈ U.1 := by |
| 82 | have hr : U.2.fromSpec q ∈ U.2.fromSpec.opensRange := ⟨q, rfl⟩ |
| 83 | rwa [U.2.opensRange_fromSpec] at hr |
| 84 | exact hVH hmem (Scheme.IdealSheafData.support_antitone hH hq) |
| 85 | refine ⟨Γ(X, U), inferInstance, U.2.fromSpec, inferInstance, |
| 86 | (Affine.ComplexNaturality.Construction.affineComplexScalars_spec f U).symm, p, hp, ?_⟩ |
| 87 | rw [hunit] |
| 88 | exact le_top |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Resolution.Blowups |