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 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.QuotientBaseChange |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Integral.ProductSupport |
| 4 | |
| 5 | /-! # Euler Empty -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerEmpty.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! With no equations remaining, the actual local Euler functional |
| 12 | at a cycle's generic point is exactly its original coefficient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped Classical |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports OAI.AlgebraicGeometry.CycleClass.Thom.Integral.ProductSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Flat.Tor |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) (C : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 24 | |
| 25 | theorem support_eq_of_generic_mem (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 26 | (h : IntersectionGeometry.supportPoint C.val ∈ (D.val : Set V.carrier)) : D = C := by |
| 27 | have hCD : C.val ≤ D.val := by |
| 28 | change (C.val : Set V.carrier) ⊆ (D.val : Set V.carrier) |
| 29 | exact (Intersection.Supports.supportPoint_mem_iff_subset ⟨(D.val : Set V.carrier), D.val.isClosed⟩ C.val).mp h |
| 30 | apply Subtype.ext |
| 31 | by_contra hn |
| 32 | have hl := Intersection.Supports.codimension_strictAnti V.presentation (lt_of_le_of_ne hCD (Ne.symm hn)) |
| 33 | rw [Integral.ProductSupport.Constructions.integralPresentation_supportCodimension, Integral.ProductSupport.Constructions.integralPresentation_supportCodimension, |
| 34 | C.property, D.property] at hl |
| 35 | exact Nat.lt_irrefl p hl |
| 36 | |
| 37 | theorem supportEuler_empty_self (d : ℕ) : Euler.Constructions.supportEuler V p (IntersectionGeometry.supportPoint C.val) [] d C = 1 := by |
| 38 | let x := IntersectionGeometry.supportPoint C.val |
| 39 | let R := V.carrier.presheaf.stalk x |
| 40 | have hx : x ∈ (C.val : Set V.carrier) := |
| 41 | C.val.isIrreducible.isGenericPoint_genericPoint C.val.isClosed |>.mem |
| 42 | have hp : StalkPrimeQuotient.Constructions.kernelPrime V.carrier C.val x hx = IsLocalRing.closedPoint R := by |
| 43 | apply (V.carrier.fromSpecStalk x).isEmbedding.injective |
| 44 | exact (StalkPrimeQuotient.Constructions.kernelPrime_image V.carrier C.val x hx).trans Scheme.fromSpecStalk_closedPoint.symm |
| 45 | have hl : Module.length R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier C.val x hx) = 1 := by |
| 46 | change Module.length R (R ⧸ (StalkPrimeQuotient.Constructions.kernelPrime V.carrier C.val x hx).asIdeal) = 1 |
| 47 | rw [hp] |
| 48 | exact TorAlgebra.QuotientBaseChange.Tor.residue_quotient_length R |
| 49 | let e : (R ⧸ Ideal.ofList []) ≃ₗ[R] R := |
| 50 | Submodule.quotEquivOfEqBot (R := R) (M := R) (Ideal.ofList []) (Ideal.ofList_nil (R := R)) |
| 51 | rw [Euler.Constructions.supportEuler_of_mem V p x [] d C hx] |
| 52 | have h := TorAlgebra.Flat.Tor.euler_length_of_unit R (ModuleCat.of R (R ⧸ Ideal.ofList [])) |
| 53 | (ModuleCat.of R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier C.val x hx)) e d |
| 54 | exact h.trans (by rw [hl]; rfl) |
| 55 | |
| 56 | theorem supportEuler_empty (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (d : ℕ) : |
| 57 | Euler.Constructions.supportEuler V p (IntersectionGeometry.supportPoint C.val) [] d D = if D = C then 1 else 0 := by |
| 58 | by_cases h : D = C |
| 59 | · subst D |
| 60 | exact (supportEuler_empty_self V p C d).trans (ite_eq_left rfl).symm |
| 61 | · exact (Euler.Constructions.supportEuler_of_not_mem V p (IntersectionGeometry.supportPoint C.val) [] d D |
| 62 | (fun hx => h (support_eq_of_generic_mem V p C D hx))).trans (ite_eq_right h).symm |
| 63 | |
| 64 | theorem localCycleEuler_empty (c : Geometric.DimensionCycles.RationalDimensionCycle V p) (d : ℕ) : |
| 65 | Euler.Constructions.localCycleEuler V p (IntersectionGeometry.supportPoint C.val) [] d c = c C := by |
| 66 | rw [Euler.Constructions.localCycleEuler_eq_sum] |
| 67 | simp only [supportEuler_empty, mul_ite, mul_one, mul_zero, Finset.sum_ite_eq'] |
| 68 | split_ifs with h |
| 69 | · rfl |
| 70 | · exact (Finsupp.notMem_support_iff.mp h).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerEmpty.Constructions |