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.SupportQuotientCodimension |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientSectionOrder |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalGeneral |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.SchemeOrderStep |
| 5 | |
| 6 | /-! # Residual Support -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSupport.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Each actual residual minimal prime is an original cycle support in |
| 13 | the next grading, and its source order is the faithful section-step |
| 14 | coefficient of that support. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientCodimension.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientSectionOrder.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalGeneral.Constructions.Step OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SupportSectionGerm.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PrincipalSchemeOrder.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.SourceOrderStep OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.SchemeOrderStep |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 27 | (x : V.carrier) (hxD : x ∈ (D.val : Set V.carrier)) |
| 28 | (r : V.carrier.presheaf.stalk x) (hn : IsSMulRegular (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) r) |
| 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 | |
| 33 | local instance : Ideal.IsPrime P := (StalkPrimeQuotient.Constructions.kernelPrime V.carrier D.val x hxD).isPrime |
| 34 | |
| 35 | def residualCycleSupport (t : TorAlgebra.SourceOrderStep.ResidualComponent R P r) : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1) := |
| 36 | SupportQuotientCodimension.Constructions.quotientCycleSupport V D x hxD (TorAlgebra.SourceOrderStep.residualSourcePrime R P r t) |
| 37 | ((idealHeight_eq_coheight (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD)) (TorAlgebra.SourceOrderStep.residualSourcePrime R P r t)).symm.trans |
| 38 | (TorAlgebra.SchemeOrderStep.source_prime_height_one R P r t hn)) |
| 39 | |
| 40 | variable (B : V.carrier.Opens) [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 41 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (hs : Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) (hxB : x ∈ B) |
| 42 | |
| 43 | theorem residualCycleSupport_coefficient |
| 44 | (hr : r = V.carrier.presheaf.germ B x hxB (B.topIso.hom s)) (t : TorAlgebra.SourceOrderStep.ResidualComponent R P r) : |
| 45 | ((Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD))).ord |
| 46 | (Affine.PrincipalSchemeOrder.Constructions.affineFunction (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) |
| 47 | (algebraMap R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) r)) (TorAlgebra.SourceOrderStep.residualSourcePrime R P r t) : ℚ) = |
| 48 | Section.CupPrincipalGeneral.Constructions.Step.principalStep D B s hs (residualCycleSupport V D x hxD r hn t) := by |
| 49 | let : Nonempty (D.inclusion ⁻¹ᵁ B) := |
| 50 | ⟨⟨IntersectionGeometry.supportPreimage D.val x hxD, SupportSectionGerm.Constructions.supportPreimage_mem_open V.carrier D.val x hxD B hxB⟩⟩ |
| 51 | rw [Section.CupPrincipalGeneral.Constructions.Step.principalStep_coefficient] |
| 52 | have he := SupportQuotientSectionOrder.Constructions.principalCoefficient_quotientSupport V.presentation D.val x hxD B hxB (B.topIso.hom s) |
| 53 | (TorAlgebra.SourceOrderStep.residualSourcePrime R P r t) |
| 54 | exact (congrArg (fun a : R => ((Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD))).ord |
| 55 | (Affine.PrincipalSchemeOrder.Constructions.affineFunction (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) |
| 56 | (algebraMap R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) a)) (TorAlgebra.SourceOrderStep.residualSourcePrime R P r t) : ℚ)) hr).trans he |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSupport.Constructions |