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.ReferenceSectionEulerStep |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.AtPoint |
| 3 | |
| 4 | /-! # Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual local Tor Euler characteristic extended linearly to |
| 11 | the original finite cycle group. Only supports through the point |
| 12 | contribute. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped Classical |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.AtPoint.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) (x : V.carrier) |
| 23 | (rs : List (V.carrier.presheaf.stalk x)) (d : ℕ) |
| 24 | |
| 25 | def supportEuler (C : Geometric.DimensionCycles.DimensionCycleSupport V p) : ℚ := |
| 26 | if hx : x ∈ (C.val : Set V.carrier) then |
| 27 | TorAlgebra.Euler.Tor.euler (V.carrier.presheaf.stalk x) |
| 28 | (ModuleCat.of (V.carrier.presheaf.stalk x) ((V.carrier.presheaf.stalk x) ⧸ Ideal.ofList rs)) |
| 29 | (ModuleCat.of (V.carrier.presheaf.stalk x) (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier C.val x hx)) d |
| 30 | else 0 |
| 31 | |
| 32 | def localCycleEuler : Geometric.DimensionCycles.RationalDimensionCycle V p →ₗ[ℚ] ℚ := |
| 33 | Finsupp.linearCombination ℚ (supportEuler V p x rs d) |
| 34 | |
| 35 | theorem localCycleEuler_eq_sum (c : Geometric.DimensionCycles.RationalDimensionCycle V p) : |
| 36 | localCycleEuler V p x rs d c = ∑ C ∈ c.support, c C * supportEuler V p x rs d C := rfl |
| 37 | |
| 38 | theorem supportEuler_of_not_mem (C : Geometric.DimensionCycles.DimensionCycleSupport V p) (hx : x ∉ (C.val : Set V.carrier)) : |
| 39 | supportEuler V p x rs d C = 0 := dite_eq_right hx |
| 40 | |
| 41 | theorem supportEuler_of_mem (C : Geometric.DimensionCycles.DimensionCycleSupport V p) (hx : x ∈ (C.val : Set V.carrier)) : |
| 42 | supportEuler V p x rs d C = TorAlgebra.Euler.Tor.euler (V.carrier.presheaf.stalk x) |
| 43 | (ModuleCat.of (V.carrier.presheaf.stalk x) ((V.carrier.presheaf.stalk x) ⧸ Ideal.ofList rs)) |
| 44 | (ModuleCat.of (V.carrier.presheaf.stalk x) (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier C.val x hx)) d := dite_eq_left hx |
| 45 | |
| 46 | theorem localCycleEuler_eq_filter_sum (c : Geometric.DimensionCycles.RationalDimensionCycle V p) : |
| 47 | localCycleEuler V p x rs d c = |
| 48 | ∑ C ∈ c.support.filter (fun C => x ∈ (C.val : Set V.carrier)), c C * supportEuler V p x rs d C := by |
| 49 | rw [localCycleEuler_eq_sum] |
| 50 | symm |
| 51 | apply Finset.sum_subset (Finset.filter_subset _ _) |
| 52 | intro C hC hn |
| 53 | have hx : x ∉ (C.val : Set V.carrier) := fun h => hn (Finset.mem_filter.mpr ⟨hC, h⟩) |
| 54 | rw [supportEuler_of_not_mem V p x rs d C hx, mul_zero] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions |