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.Local.Euler |
| 2 | |
| 3 | /-! # Euler Ideal -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerIdeal.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original local Euler functional depends on the actual |
| 10 | equation ideal, so elementary equation changes preserve it. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | open scoped Classical |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.IsolatedEuler |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) (x : V.carrier) |
| 21 | (rs ts : List (V.carrier.presheaf.stalk x)) (h : Ideal.ofList rs = Ideal.ofList ts) (d : ℕ) |
| 22 | |
| 23 | include h |
| 24 | |
| 25 | theorem supportEuler_ideal_eq (D : Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 26 | Euler.Constructions.supportEuler V p x rs d D = Euler.Constructions.supportEuler V p x ts d D := by |
| 27 | by_cases hx : x ∈ (D.val : Set V.carrier) |
| 28 | · rw [Euler.Constructions.supportEuler_of_mem V p x rs d D hx, Euler.Constructions.supportEuler_of_mem V p x ts d D hx] |
| 29 | exact TorAlgebra.IsolatedEuler.euler_iso_left (V.carrier.presheaf.stalk x) |
| 30 | (Ideal.quotientEquivAlgOfEq (V.carrier.presheaf.stalk x) h).toLinearEquiv.toModuleIso _ d |
| 31 | · exact (Euler.Constructions.supportEuler_of_not_mem V p x rs d D hx).trans (Euler.Constructions.supportEuler_of_not_mem V p x ts d D hx).symm |
| 32 | |
| 33 | theorem localCycleEuler_ideal_eq : Euler.Constructions.localCycleEuler V p x rs d = Euler.Constructions.localCycleEuler V p x ts d := by |
| 34 | apply congrArg (Finsupp.linearCombination ℚ) |
| 35 | funext D |
| 36 | exact supportEuler_ideal_eq V p x rs ts h d D |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerIdeal.Constructions |