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.Principal.AffineExpansion |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicAffineEuler |
| 3 | |
| 4 | /-! # Intrinsic Principal Expansion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicPrincipalExpansion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A positioned principal quotient has the native ThomClass prime |
| 11 | intersection expansion. The stalk resolution bound follows from the |
| 12 | actual smooth chart isomorphism. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | namespace Intrinsic |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.SupportStalk |
| 22 | |
| 23 | theorem coefficient (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 24 | [SmoothOfRelativeDimension m V.structureMap] |
| 25 | (R : Type) [CommRing R] [IsNoetherianRing R] |
| 26 | (j : Spec (.of R) ⟶ V.carrier) [IsOpenImmersion j] |
| 27 | (v : PrimeSpectrum R) (r : R) (F : Finset (PrimeSpectrum R)) (a : V.RationalDimensionCycle p) |
| 28 | (he : Principal.AffineExpansion.Expansion V p q j v r F a) |
| 29 | (A : V.DimensionCycleSupport p) (hAa : A ∈ a.support) |
| 30 | (A₀ : IrreducibleCloseds (Spec (.of R))) (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A₀) = CycleClass.Thom.IntersectionGeometry.supportPoint A.val) |
| 31 | (C : V.DimensionCycleSupport (p + q)) (x : PrimeSpectrum R) |
| 32 | (hx : j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) (hxA : x ∈ (A₀ : Set (Spec (.of R)))) |
| 33 | (hvx : v.asIdeal ≤ x.asIdeal) |
| 34 | (hiso : Module.support ((Spec (.of R)).presheaf.stalk x) |
| 35 | (QuotSMulTop (StructureSheaf.toStalk R x r) |
| 36 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) (Affine.SupportStalk.support R v) x (Affine.SupportStalk.mem R v x hvx))) ∩ |
| 37 | Module.support ((Spec (.of R)).presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) A₀ x hxA) ⊆ |
| 38 | {IsLocalRing.closedPoint ((Spec (.of R)).presheaf.stalk x)}) : |
| 39 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 40 | (.of _ (QuotSMulTop (StructureSheaf.toStalk R x r) |
| 41 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) (Affine.SupportStalk.support R v) x (Affine.SupportStalk.mem R v x hvx)))) |
| 42 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) A₀ x hxA) m = |
| 43 | ∑ z ∈ F, Affine.PrincipalWeight.weight R v r z * |
| 44 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity V (Affine.FiltrationAvoidance.support j z) A.val C.val := by |
| 45 | let S := (Spec (.of R)).presheaf.stalk x |
| 46 | let : Algebra R S := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 47 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) A₀ x hxA |
| 48 | let : Module.Finite S N := Local.TorFinite.localSupportModule_finite (Spec (.of R)) A₀ x hxA |
| 49 | let : HasProjectiveDimensionLE N m := |
| 50 | Polynomial.DimensionBound.bound_of_ringEquiv (asIso (j.stalkMap x)).commRingCatIsoToRingEquiv m |
| 51 | (Smooth.StalkDimension.stalk_bound V.structureMap m (j x)) N |
| 52 | have hAC : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set V.carrier) := hx ▸ |
| 53 | Affine.CoverIsolation.image_subset j A₀ A.val hA ⟨x, hxA, rfl⟩ |
| 54 | rw [he A hAa C x hx hAC hvx N m hiso] |
| 55 | apply Finset.sum_congr rfl |
| 56 | intro z _ |
| 57 | rw [Affine.Prime.euler V m R j z A₀ A.val C.val hA x hx hxA] |
| 58 | |
| 59 | end Intrinsic |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicPrincipalExpansion |