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.IntersectionTheory.ProjectionFormula.WeightedDivisorEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.DivisorEuler |
| 3 | |
| 4 | /-! # Divisor Weights -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.DivisorWeights |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local intersection orders on a divisor are weighted sums of native |
| 11 | Tor intersection numbers. The weights are the actual orders in the |
| 12 | height-one localizations of the ambient smooth stalk. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 19 | |
| 20 | theorem order_eq_weighted_sum (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 21 | [SmoothOfRelativeDimension m X.structureMap] |
| 22 | (A : X.DimensionCycleSupport 1) (C : X.DimensionCycleSupport 2) |
| 23 | (hx : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier)) |
| 24 | (r : X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)) |
| 25 | (hra : Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx r ≠ 0) : |
| 26 | let R := X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 27 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx |
| 28 | ∃ S : Finset (PrimeSpectrum R), |
| 29 | (∀ p ∈ S, p.asIdeal.height = 1 ∧ r ∈ p.asIdeal) ∧ |
| 30 | (∀ p : PrimeSpectrum R, p.asIdeal.height = 1 → p ∉ S → |
| 31 | Ring.ord (Localization.AtPrime p.asIdeal) |
| 32 | (algebraMap R (Localization.AtPrime p.asIdeal) r) = 0) ∧ |
| 33 | ((Ring.ord ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).presheaf.stalk |
| 34 | (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx)) |
| 35 | (Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx r)).toNat : ℚ) = |
| 36 | ∑ p ∈ S, ((Ring.ord (Localization.AtPrime p.asIdeal) |
| 37 | (algebraMap R (Localization.AtPrime p.asIdeal) r)).toNat : ℚ) * |
| 38 | Tor.Euler.euler R (.of R (R ⧸ p.asIdeal)) N m := by |
| 39 | let R := X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 40 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx |
| 41 | let T := (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx) |
| 42 | let σ := Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx |
| 43 | let : Algebra R T := σ.hom.toAlgebra |
| 44 | let : IsDomain R := X.stalk_isDomain (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 45 | let : Module.Finite R N := TorFinite.localSupportModule_finite _ _ _ _ |
| 46 | let : HasProjectiveDimensionLE N m := |
| 47 | Smooth.StalkDimension.stalk_bound X.structureMap m (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) N |
| 48 | have hCA : C.val ≤ A.val := |
| 49 | (Supports.supportPoint_mem_iff_subset |
| 50 | (⟨(A.val : Set X.carrier), A.val.isClosed⟩ : Closeds X.carrier) C.val).mp hx |
| 51 | have hdim : (IsLocalRing.maximalIdeal R).height = 2 := |
| 52 | Divisor.Stalk.maximalIdeal_height_two X m A C hCA |
| 53 | have hker : RingHom.ker (algebraMap R T) ≠ ⊥ := |
| 54 | Divisor.Stalk.supportStalkMap_ker_ne_bot X m 1 (by decide) A _ hx |
| 55 | have hσ : Function.Surjective (algebraMap R T) := Principal.supportStalkMap_surjective X.carrier A.val _ hx |
| 56 | have hr : r ≠ 0 := by |
| 57 | intro h |
| 58 | apply hra |
| 59 | rw [h, map_zero] |
| 60 | have hr' : IsSMulRegular R r := fun _ _ h => mul_left_cancel₀ hr h |
| 61 | have hisolated : Module.support R (QuotSMulTop r R) ∩ Module.support R N ⊆ |
| 62 | {IsLocalRing.closedPoint R} := |
| 63 | SurfacePrimeEuler.isolated_principal_support R hdim T hker r hra |
| 64 | obtain ⟨S, hS, hout, he⟩ := WeightedDivisorEuler.exists_order_sum R hdim r hr N m |
| 65 | (Divisor.Stalk.localSupport_torsion X m 1 (by decide) A _ hx) hisolated |
| 66 | have horder : Tor.Euler.euler R (.of R (QuotSMulTop r R)) N m = |
| 67 | (Ring.ord T (σ r)).toNat := |
| 68 | PrincipalLeft.euler_eq_order R T hσ r hr' hra (.of R (QuotSMulTop r R)) |
| 69 | (LinearEquiv.refl R _) m |
| 70 | exact ⟨S, hS, hout, horder.symm.trans he⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.DivisorWeights |