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.TorAlgebra.FlatLength |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Quotient Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.QuotientBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flat local base change of native Tor for actual quotient modules. |
| 11 | When the maximal ideal extends to the maximal ideal, every Tor length |
| 12 | is unchanged. This includes the stalk isomorphisms of open components. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | namespace Tor |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | theorem residue_quotient_length (R : Type u) [CommRing R] [IsLocalRing R] : |
| 24 | Module.length R (R ⧸ IsLocalRing.maximalIdeal R) = 1 := by |
| 25 | let : Field (R ⧸ IsLocalRing.maximalIdeal R) := Ideal.Quotient.field _ |
| 26 | rw [Module.length_eq_of_surjective (M := R ⧸ IsLocalRing.maximalIdeal R) |
| 27 | (show Function.Surjective (algebraMap R (R ⧸ IsLocalRing.maximalIdeal R)) from |
| 28 | Ideal.Quotient.mk_surjective)] |
| 29 | exact Module.length_eq_one (R ⧸ IsLocalRing.maximalIdeal R) (R ⧸ IsLocalRing.maximalIdeal R) |
| 30 | |
| 31 | variable (R S : Type u) [CommRing R] [CommRing S] [IsLocalRing R] [IsLocalRing S] |
| 32 | [Algebra R S] [IsLocalHom (algebraMap R S)] [Module.Flat R S] |
| 33 | |
| 34 | def torIso (I J : Ideal R) (n : ℕ) : |
| 35 | (((Tor (ModuleCat S) n).obj (.of S (S ⧸ I.map (algebraMap R S)))).obj |
| 36 | (.of S (S ⧸ J.map (algebraMap R S)))) ≅ |
| 37 | (((Tor (ModuleCat S) n).obj ((FlatExtension.baseChange R S).obj (.of R (R ⧸ I)))).obj |
| 38 | ((FlatExtension.baseChange R S).obj (.of R (R ⧸ J)))) := by |
| 39 | let eI := (Ideal.qoutMapEquivTensorQout (R := R) (I := I) S).toModuleIso |
| 40 | let eJ := (Ideal.qoutMapEquivTensorQout (R := R) (I := J) S).toModuleIso |
| 41 | exact (((Tor (ModuleCat S) n).mapIso eI).app (.of S (S ⧸ J.map (algebraMap R S)))) ≪≫ |
| 42 | (((Tor (ModuleCat S) n).obj ((FlatExtension.baseChange R S).obj (.of R (R ⧸ I)))).mapIso eJ) |
| 43 | |
| 44 | theorem length_eq (I J : Ideal R) (n : ℕ) |
| 45 | (hmax : (IsLocalRing.maximalIdeal R).map (algebraMap R S) = IsLocalRing.maximalIdeal S) : |
| 46 | Module.length S (((Tor (ModuleCat S) n).obj (.of S (S ⧸ I.map (algebraMap R S)))).obj |
| 47 | (.of S (S ⧸ J.map (algebraMap R S)))) = |
| 48 | Module.length R (((Tor (ModuleCat R) n).obj (.of R (R ⧸ I))).obj (.of R (R ⧸ J))) := by |
| 49 | rw [(torIso R S I J n).toLinearEquiv.length_eq, FlatLength.Tor.tor_length, hmax, |
| 50 | residue_quotient_length, mul_one] |
| 51 | |
| 52 | end Tor |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.QuotientBaseChange |