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.Flat.TorLength |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SurfacePrimeEuler |
| 3 | |
| 4 | /-! # Quotient Tor Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.QuotientTorBaseChange |
| 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 | universe u |
| 20 | |
| 21 | variable (R S : Type u) [CommRing R] [CommRing S] [IsLocalRing R] [IsLocalRing S] |
| 22 | [Algebra R S] [IsLocalHom (algebraMap R S)] [Module.Flat R S] |
| 23 | |
| 24 | def torIso (I J : Ideal R) (n : ℕ) : |
| 25 | (((Tor (ModuleCat S) n).obj (.of S (S ⧸ I.map (algebraMap R S)))).obj |
| 26 | (.of S (S ⧸ J.map (algebraMap R S)))) ≅ |
| 27 | (((Tor (ModuleCat S) n).obj ((ProjectionFormula.Flat.Extension.baseChange R S).obj (.of R (R ⧸ I)))).obj |
| 28 | ((ProjectionFormula.Flat.Extension.baseChange R S).obj (.of R (R ⧸ J)))) := by |
| 29 | let eI := (Ideal.qoutMapEquivTensorQout (R := R) (I := I) S).toModuleIso |
| 30 | let eJ := (Ideal.qoutMapEquivTensorQout (R := R) (I := J) S).toModuleIso |
| 31 | exact (((Tor (ModuleCat S) n).mapIso eI).app (.of S (S ⧸ J.map (algebraMap R S)))) ≪≫ |
| 32 | (((Tor (ModuleCat S) n).obj ((ProjectionFormula.Flat.Extension.baseChange R S).obj (.of R (R ⧸ I)))).mapIso eJ) |
| 33 | |
| 34 | theorem length_eq (I J : Ideal R) (n : ℕ) |
| 35 | (hmax : (IsLocalRing.maximalIdeal R).map (algebraMap R S) = IsLocalRing.maximalIdeal S) : |
| 36 | Module.length S (((Tor (ModuleCat S) n).obj (.of S (S ⧸ I.map (algebraMap R S)))).obj |
| 37 | (.of S (S ⧸ J.map (algebraMap R S)))) = |
| 38 | Module.length R (((Tor (ModuleCat R) n).obj (.of R (R ⧸ I))).obj (.of R (R ⧸ J))) := by |
| 39 | rw [(torIso R S I J n).toLinearEquiv.length_eq, ProjectionFormula.Flat.TorLength.tor_length, hmax, |
| 40 | SurfacePrimeEuler.residue_quotient_length, mul_one] |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.QuotientTorBaseChange |