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.Tor.RegularSequence |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule |
| 3 | |
| 4 | /-! # Intersection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Local.Intersection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! If one reduced support is cut out locally by a sequence regular both |
| 11 | on the ambient ring and on the other support, its Serre coefficient is |
| 12 | the length of the actual restricted quotient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace RingTheory.Sequence |
| 15 | open scoped Pointwise |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | namespace Constructions |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions |
| 22 | |
| 23 | theorem intersectionMultiplicity_eq_quotientLength (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 24 | (A B C : IrreducibleCloseds X.carrier) |
| 25 | (hxA : IntersectionGeometry.supportPoint C ∈ (A : Set X.carrier)) (hxB : IntersectionGeometry.supportPoint C ∈ (B : Set X.carrier)) |
| 26 | (rs : List (X.carrier.presheaf.stalk (IntersectionGeometry.supportPoint C))) |
| 27 | (hA : RingHom.ker (SupportStalkModule.Constructions.supportStalkMap X.carrier A (IntersectionGeometry.supportPoint C) hxA).hom = Ideal.ofList rs) |
| 28 | (hr : IsWeaklyRegular (X.carrier.presheaf.stalk (IntersectionGeometry.supportPoint C)) rs) |
| 29 | (hB : IsWeaklyRegular (IntersectionGeometry.localSupportModule X.carrier B (IntersectionGeometry.supportPoint C) hxB) rs) : |
| 30 | IntersectionGeometry.intersectionMultiplicity X A B C = |
| 31 | (Module.length (X.carrier.presheaf.stalk (IntersectionGeometry.supportPoint C)) |
| 32 | ((IntersectionGeometry.localSupportModule X.carrier B (IntersectionGeometry.supportPoint C) hxB) ⧸ |
| 33 | (Ideal.ofList rs • ⊤ : Submodule (X.carrier.presheaf.stalk (IntersectionGeometry.supportPoint C)) |
| 34 | (IntersectionGeometry.localSupportModule X.carrier B (IntersectionGeometry.supportPoint C) hxB)))).toNat := by |
| 35 | let R := X.carrier.presheaf.stalk (IntersectionGeometry.supportPoint C) |
| 36 | let T := (Geometric.GenericPoint.reducedSupportScheme A).presheaf.stalk (IntersectionGeometry.supportPreimage A (IntersectionGeometry.supportPoint C) hxA) |
| 37 | let σ := SupportStalkModule.Constructions.supportStalkMap X.carrier A (IntersectionGeometry.supportPoint C) hxA |
| 38 | let : Algebra R T := σ.hom.toAlgebra |
| 39 | have hσ : Function.Surjective (Algebra.ofId R T) := SupportStalkModule.Constructions.supportStalkMap_surjective X.carrier A _ hxA |
| 40 | let e : IntersectionGeometry.localSupportModule X.carrier A (IntersectionGeometry.supportPoint C) hxA ≃ₗ[R] (R ⧸ Ideal.ofList rs) := |
| 41 | (Ideal.quotientKerAlgEquivOfSurjective hσ).symm.toLinearEquiv.trans |
| 42 | (Submodule.quotEquivOfEq _ _ hA) |
| 43 | let N := IntersectionGeometry.localSupportModule X.carrier B (IntersectionGeometry.supportPoint C) hxB |
| 44 | have hlen (i : ℕ) : IntersectionGeometry.localTorLength X.carrier A B (IntersectionGeometry.supportPoint C) hxA hxB i = |
| 45 | Module.length R (((Tor (ModuleCat R) i).obj (ModuleCat.of R (R ⧸ Ideal.ofList rs))).obj N) := |
| 46 | ((((Tor (ModuleCat R) i).mapIso e.toModuleIso).app N).toLinearEquiv).length_eq |
| 47 | rw [IntersectionGeometry.intersectionMultiplicity, dite_eq_left ⟨hxA, hxB⟩] |
| 48 | simp_rw [hlen] |
| 49 | exact Thom.Tor.RegularSequence.Constructions.euler_regular_quotient_eq_length R N rs hr hB X.ambientDimension |
| 50 | |
| 51 | end Constructions |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.CycleClass.Thom.Local.Intersection |