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.MovedAffineFiltrationEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.MultiplicitySum |
| 3 | |
| 4 | /-! # Moved Affine Weighted Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.MovedAffineWeightedEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! After the permitted geometric move, local Tor Euler pairings |
| 11 | are the finite sum of the top-dimensional prime-support pairings, |
| 12 | weighted by the original module's actual finite generic lengths. -/ |
| 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 | open scoped Classical |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 21 | |
| 22 | theorem exists_moved (R : Type) [CommRing R] [IsNoetherianRing R] |
| 23 | (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) [SmoothOfRelativeDimension m V.structureMap] |
| 24 | (j : Spec (.of R) ⟶ V.carrier) [IsOpenImmersion j] |
| 25 | (M : ModuleCat R) [Module.Finite R M] |
| 26 | (hM : ∀ v ∈ Module.support R M, q ≤ V.supportCodimension (Affine.FiltrationAvoidance.support j v)) |
| 27 | (a : V.RationalDimensionCycle p) : |
| 28 | ∃ (F : Finset (PrimeSpectrum R)) (a' : V.RationalDimensionCycle p), |
| 29 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent V p a a' ∧ |
| 30 | (∀ z ∈ F, V.supportCodimension (Affine.FiltrationAvoidance.support j z) = q ∧ |
| 31 | FiltrationBaseLength.length R (Localization.AtPrime z.asIdeal) M ≠ ⊤) ∧ |
| 32 | ∀ A ∈ a'.support, ∀ C : V.DimensionCycleSupport (p + q), ∀ x : PrimeSpectrum R, |
| 33 | j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val → CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set V.carrier) → |
| 34 | letI : Algebra R ((Spec (.of R)).presheaf.stalk x) := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 35 | ∀ (N : ModuleCat ((Spec (.of R)).presheaf.stalk x)) [Module.Finite ((Spec (.of R)).presheaf.stalk x) N] |
| 36 | (d : ℕ) [HasProjectiveDimensionLE N d], |
| 37 | Module.support ((Spec (.of R)).presheaf.stalk x) |
| 38 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj M) ∩ |
| 39 | Module.support ((Spec (.of R)).presheaf.stalk x) N ⊆ |
| 40 | {IsLocalRing.closedPoint ((Spec (.of R)).presheaf.stalk x)} → |
| 41 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 42 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj M) N d = |
| 43 | ∑ z ∈ F, ((FiltrationBaseLength.length R (Localization.AtPrime z.asIdeal) M).toNat : ℚ) * |
| 44 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 45 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj |
| 46 | (.of R (R ⧸ z.asIdeal))) N d := by |
| 47 | obtain ⟨k, v, a', ha', _, hcount, he⟩ := MovedAffineFiltrationEuler.exists_moved R V m p q j M hM a |
| 48 | let P := fun z : PrimeSpectrum R => V.supportCodimension (Affine.FiltrationAvoidance.support j z) = q |
| 49 | let F := (Finset.univ.image v).filter P |
| 50 | refine ⟨F, a', ha', ?_, ?_⟩ |
| 51 | · intro z hz |
| 52 | have hP := (Finset.mem_filter.mp hz).2 |
| 53 | refine ⟨hP, ?_⟩ |
| 54 | rw [hcount z hP] |
| 55 | exact ENat.natCast_ne_top _ |
| 56 | · intro A hA C x hx hAC |
| 57 | let : Algebra R ((Spec (.of R)).presheaf.stalk x) := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 58 | intro N _ d _ hisolated |
| 59 | refine (he A hA C x hx hAC N d hisolated).trans ?_ |
| 60 | simpa only [P, F] using |
| 61 | (ProjectionFormula.Finite.MultiplicitySum.reindex k v P |
| 62 | (fun z => FiltrationBaseLength.length R (Localization.AtPrime z.asIdeal) M) hcount |
| 63 | (fun z => Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 64 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj |
| 65 | (.of R (R ⧸ z.asIdeal))) N d)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.MovedAffineWeightedEuler |