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.DerivedScalarExtension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SurfacePrimeEuler |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportTor |
| 4 | import Mathlib.RingTheory.Unramified.LocalRing |
| 5 | |
| 6 | /-! # Support Tor -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.SupportTor |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Native Tor intersection lengths are unchanged when the ambient |
| 13 | map is flat and the induced map of reduced support rings is etale. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory |
| 19 | open scoped TensorProduct |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.Extension |
| 22 | |
| 23 | theorem self_length (R : Type) [CommRing R] (M N : ModuleCat R) (i : ℕ) : |
| 24 | Module.length R (((Tor (ModuleCat R) i).obj ((ProjectionFormula.Flat.Extension.baseChange R R).obj M)).obj N) = |
| 25 | Module.length R (((Tor (ModuleCat R) i).obj M).obj N) := by |
| 26 | let e : (ProjectionFormula.Flat.Extension.baseChange R R).obj M ≅ M := (TensorProduct.lid R M).toModuleIso |
| 27 | exact Open.SupportTor.length_iso R e (Iso.refl N) i |
| 28 | |
| 29 | theorem quotient_self_length (R T : Type) [CommRing R] [CommRing T] [Algebra R T] |
| 30 | (hRT : Function.Surjective (algebraMap R T)) (M : ModuleCat R) (i : ℕ) : |
| 31 | Module.length T (((ProjectionFormula.Flat.Extension.baseChange R T).leftDerived i).obj M) = |
| 32 | Module.length R (((Tor (ModuleCat R) i).obj M).obj (.of R T)) := |
| 33 | (DerivedScalarExtension.quotient_length R R T hRT M i).symm.trans (self_length R M (.of R T) i) |
| 34 | |
| 35 | variable (R S T U : Type) [CommRing R] [CommRing S] [CommRing T] [CommRing U] |
| 36 | [IsLocalRing T] [IsLocalRing U] |
| 37 | [Algebra R S] [Algebra R T] [Algebra S U] [Algebra T U] [Algebra R U] |
| 38 | [IsScalarTower R S U] [IsScalarTower R T U] [Module.Flat R S] [Module.Flat T U] |
| 39 | [IsLocalHom (algebraMap T U)] |
| 40 | (hRT : Function.Surjective (algebraMap R T)) (hSU : Function.Surjective (algebraMap S U)) |
| 41 | |
| 42 | include hRT hSU |
| 43 | |
| 44 | theorem length (hmax : (IsLocalRing.maximalIdeal T).map (algebraMap T U) = IsLocalRing.maximalIdeal U) |
| 45 | (M : ModuleCat R) (i : ℕ) : |
| 46 | Module.length S (((Tor (ModuleCat S) i).obj ((ProjectionFormula.Flat.Extension.baseChange R S).obj M)).obj (.of S U)) = |
| 47 | Module.length R (((Tor (ModuleCat R) i).obj M).obj (.of R T)) := by |
| 48 | calc |
| 49 | _ = Module.length U (((ProjectionFormula.Flat.Extension.baseChange R U).leftDerived i).obj M) := |
| 50 | DerivedScalarExtension.quotient_length R S U hSU M i |
| 51 | _ = Module.length T (((ProjectionFormula.Flat.Extension.baseChange R T).leftDerived i).obj M) * |
| 52 | Module.length U (U ⧸ (IsLocalRing.maximalIdeal T).map (algebraMap T U)) := by |
| 53 | rw [(DerivedScalarExtension.derivedIso R T U M i).toLinearEquiv.length_eq] |
| 54 | exact IsLocalRing.length_baseChange T U _ |
| 55 | _ = Module.length T (((ProjectionFormula.Flat.Extension.baseChange R T).leftDerived i).obj M) := by |
| 56 | rw [hmax, SurfacePrimeEuler.residue_quotient_length, mul_one] |
| 57 | _ = _ := quotient_self_length R T hRT M i |
| 58 | |
| 59 | theorem euler [Algebra.EssFiniteType T U] [Algebra.FormallyUnramified T U] |
| 60 | (M : ModuleCat R) (d : ℕ) : |
| 61 | ProjectionFormula.Tor.Euler.euler S ((ProjectionFormula.Flat.Extension.baseChange R S).obj M) (.of S U) d = ProjectionFormula.Tor.Euler.euler R M (.of R T) d := by |
| 62 | unfold ProjectionFormula.Tor.Euler.euler ExactLength.rationalLength |
| 63 | simp_rw [SupportTor.length R S T U hRT hSU Algebra.FormallyUnramified.map_maximalIdeal] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.SupportTor |