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.CycleClass.Thom.ResidualSupport |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkNonvanishing |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedEquationDimension |
| 4 | |
| 5 | /-! # Reference Section Euler Step -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ReferenceSectionEulerStep.Constructions.Reference |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual isolated local Tor Euler characteristic reduces by a |
| 12 | regular section with exactly the original geometric principal-step |
| 13 | coefficients. Source regularity and the dimension bound are derived. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace RingTheory.Sequence |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSupport.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkNonvanishing.Constructions.StepIntersectionCoefficient OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalGeneral.Constructions.Step OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.SourceOrderStep OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.SchemeOrderStep OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedEquationDimension.Constructions |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 26 | (B : V.carrier.Opens) [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 27 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (hs : Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 28 | (x : V.carrier) (hxD : x ∈ (D.val : Set V.carrier)) (hxB : x ∈ B) |
| 29 | |
| 30 | local notation "R" => V.carrier.presheaf.stalk x |
| 31 | local notation "P" => PrimeSpectrum.asIdeal (OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.kernelPrime V.carrier D.val x hxD) |
| 32 | local notation "Q" => OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD |
| 33 | local notation "r" => V.carrier.presheaf.germ B x hxB (B.topIso.hom s) |
| 34 | |
| 35 | local instance : Ideal.IsPrime P := (StalkPrimeQuotient.Constructions.kernelPrime V.carrier D.val x hxD).isPrime |
| 36 | |
| 37 | include hs in |
| 38 | theorem sectionQuotientRegular : IsSMulRegular Q r := by |
| 39 | have hn : r ∉ P := Section.StalkNonvanishing.Constructions.StepIntersectionCoefficient.section_supportStalk_ne_zero D B s hs x hxD hxB |
| 40 | apply (isSMulRegular_quotient_iff_mem_of_smul_mem P r).mpr |
| 41 | intro a ha |
| 42 | exact ((StalkPrimeQuotient.Constructions.kernelPrime V.carrier D.val x hxD).isPrime.mem_or_mem ha).resolve_left hn |
| 43 | |
| 44 | def residualTailEuler (rs : List R) (t : TorAlgebra.SourceOrderStep.ResidualComponent R P r) (d : ℕ) : ℚ := |
| 45 | TorAlgebra.Euler.Tor.euler (R ⧸ Ideal.span {r}) |
| 46 | (ModuleCat.of (R ⧸ Ideal.span {r}) |
| 47 | ((R ⧸ Ideal.span {r}) ⧸ Ideal.ofList (rs.map (algebraMap R (R ⧸ Ideal.span {r}))))) |
| 48 | (ModuleCat.of (R ⧸ Ideal.span {r}) ((R ⧸ Ideal.span {r}) ⧸ t.val.asIdeal)) d |
| 49 | |
| 50 | theorem euler_eq_original_section_sum (rs : List R) |
| 51 | (hr : IsWeaklyRegular R (r :: rs)) |
| 52 | (hm : ∀ a ∈ r :: rs, a ∈ IsLocalRing.maximalIdeal R) |
| 53 | (hi : PrimeSpectrum.zeroLocus (Ideal.ofList (r :: rs) : Set R) ∩ Module.support R Q ⊆ {IsLocalRing.closedPoint R}) |
| 54 | (d : ℕ) (hd : rs.length ≤ d) : |
| 55 | TorAlgebra.Euler.Tor.euler R (ModuleCat.of R (R ⧸ Ideal.ofList (r :: rs))) (ModuleCat.of R Q) d = |
| 56 | ∑ t : TorAlgebra.SourceOrderStep.ResidualComponent R P r, |
| 57 | Section.CupPrincipalGeneral.Constructions.Step.principalStep D B s hs |
| 58 | (ResidualSupport.Constructions.residualCycleSupport V D x hxD r (sectionQuotientRegular V D B s hs x hxD hxB) t) * |
| 59 | residualTailEuler V D B s x hxD hxB rs t d := by |
| 60 | have hdim := IsolatedEquationDimension.Constructions.quotient_supportDim_le_length R P (r :: rs) hm hi |
| 61 | have he := TorAlgebra.SchemeOrderStep.euler_eq_source_schemeOrder_sum R P r rs hr hm |
| 62 | (sectionQuotientRegular V D B s hs x hxD hxB) hdim hi d hd |
| 63 | apply he.trans |
| 64 | apply Finset.sum_congr rfl |
| 65 | intro t _ |
| 66 | exact congrArg (fun k => k * residualTailEuler V D B s x hxD hxB rs t d) |
| 67 | (ResidualSupport.Constructions.residualCycleSupport_coefficient V D x hxD r (sectionQuotientRegular V D B s hs x hxD hxB) B s hs hxB rfl t) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.CycleClass.Thom.ReferenceSectionEulerStep.Constructions.Reference |