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.Affine.EulerStrata |
| 2 | |
| 3 | /-! # Simultaneous Affine Euler -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SimultaneousAffineEuler |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A single cycle move works for finitely many modules on different |
| 10 | affine charts, and for any additional finite collection of supports. |
| 11 | Each Euler expansion retains its own native generic lengths. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 19 | |
| 20 | def Expansion (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 21 | {R : Type} [CommRing R] (j : Spec (.of R) ⟶ V.carrier) |
| 22 | (M : ModuleCat R) (F : Finset (PrimeSpectrum R)) (a : V.RationalDimensionCycle p) : Prop := |
| 23 | ∀ A ∈ a.support, ∀ C : V.DimensionCycleSupport (p + q), ∀ x : PrimeSpectrum R, |
| 24 | j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val → CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set V.carrier) → |
| 25 | letI : Algebra R ((Spec (.of R)).presheaf.stalk x) := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 26 | ∀ (N : ModuleCat ((Spec (.of R)).presheaf.stalk x)) [Module.Finite ((Spec (.of R)).presheaf.stalk x) N] |
| 27 | (d : ℕ) [HasProjectiveDimensionLE N d], |
| 28 | Module.support ((Spec (.of R)).presheaf.stalk x) |
| 29 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj M) ∩ |
| 30 | Module.support ((Spec (.of R)).presheaf.stalk x) N ⊆ |
| 31 | {IsLocalRing.closedPoint ((Spec (.of R)).presheaf.stalk x)} → |
| 32 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 33 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj M) N d = |
| 34 | ∑ z ∈ F, ((FiltrationBaseLength.length R (Localization.AtPrime z.asIdeal) M).toNat : ℚ) * |
| 35 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 36 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj |
| 37 | (.of R (R ⧸ z.asIdeal))) N d |
| 38 | |
| 39 | theorem exists_moved (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p : ℕ) |
| 40 | [SmoothOfRelativeDimension m V.structureMap] |
| 41 | {τ ι : Type} [Finite τ] [Finite ι] |
| 42 | (R : τ → Type) [∀ i, CommRing (R i)] [∀ i, IsNoetherianRing (R i)] |
| 43 | (j : ∀ i, Spec (.of (R i)) ⟶ V.carrier) [∀ i, IsOpenImmersion (j i)] |
| 44 | (q : τ → ℕ) (M : ∀ i, ModuleCat (R i)) [∀ i, Module.Finite (R i) (M i)] |
| 45 | (hM : ∀ i, ∀ v ∈ Module.support (R i) (M i), q i ≤ V.supportCodimension (Affine.FiltrationAvoidance.support (j i) v)) |
| 46 | (Z₀ : ι → IrreducibleCloseds V.carrier) (a : V.RationalDimensionCycle p) : |
| 47 | ∃ (F : ∀ i, Finset (PrimeSpectrum (R i))) (a' : V.RationalDimensionCycle p), |
| 48 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent V p a a' ∧ |
| 49 | a' ∈ Proper.SupportCycles.submodule V p Z₀ ∧ |
| 50 | (∀ i, ∀ z ∈ F i, z ∈ Module.support (R i) (M i) ∧ |
| 51 | V.supportCodimension (Affine.FiltrationAvoidance.support (j i) z) = q i ∧ |
| 52 | FiltrationBaseLength.length (R i) (Localization.AtPrime z.asIdeal) (M i) ≠ ⊤) ∧ |
| 53 | (∀ i, ∀ z : PrimeSpectrum (R i), V.supportCodimension (Affine.FiltrationAvoidance.support (j i) z) = q i → z ∉ F i → |
| 54 | FiltrationBaseLength.length (R i) (Localization.AtPrime z.asIdeal) (M i) = 0) ∧ |
| 55 | ∀ i, Expansion V p (q i) (j i) (M i) (F i) a' := by |
| 56 | classical |
| 57 | choose F Z hZ hF hout he using |
| 58 | fun i => Affine.EulerStrata.exists_data (R i) V m (q i) (j i) (M i) (hM i) |
| 59 | let I := ι ⊕ (Σ i, Z i) |
| 60 | let family : I → IrreducibleCloseds V.carrier := Sum.elim Z₀ (fun z => z.2.val) |
| 61 | obtain ⟨a', ha', hp⟩ := General.ChowMoving.cycle V m family p a |
| 62 | refine ⟨F, a', ha', ?_, hF, hout, ?_⟩ |
| 63 | · intro i A hA |
| 64 | exact hp (.inl i) A hA |
| 65 | · intro i |
| 66 | apply he i p a' |
| 67 | intro B A hA |
| 68 | exact hp (.inr ⟨i, B⟩) A hA |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SimultaneousAffineEuler |