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.NumberTheory.PadicHodge.IntegralComparison.Koszul.ResolutionOrientation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.LinearHomDualPurity |
| 3 | |
| 4 | /-! # Linear Hom Oriented Purity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.LinearHomOrientedPurity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Oriented purity for the original linear Hom complex, with an actual |
| 11 | rank-one target trivialization and exact determinant transition. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 14 | |
| 15 | universe u |
| 16 | variable (R : Type u) [CommRing R] {n : ℕ} (I : Ideal R) |
| 17 | (s : Fin n → R) (hs : Koszul.OrientedTopCohomology.ideal R s = I) |
| 18 | (hreg : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn s)) |
| 19 | (P : ProjectiveResolution (ModuleCat.of R (R ⧸ I))) |
| 20 | (N : ModuleCat.{u} R) (e : N ≅ ModuleCat.of R R) |
| 21 | |
| 22 | def iso : |
| 23 | (((((linearYoneda R (ModuleCat R)).obj N).mapHomologicalComplex |
| 24 | (ComplexShape.down ℕ).symm).obj P.complex.op).homology n) ≅ |
| 25 | ModuleCat.of R (R ⧸ I) := |
| 26 | LinearHomDualPurity.targetHomologyIso R P.complex N e n ≪≫ |
| 27 | Koszul.ResolutionOrientation.purityIso R I s hs hreg P |
| 28 | |
| 29 | variable (t : Fin n → R) (ht : Koszul.OrientedTopCohomology.ideal R t = I) |
| 30 | (htreg : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn t)) |
| 31 | (A : Matrix (Fin n) (Fin n) R) (hA : ∀ i, s i = ∑ j, A i j * t j) |
| 32 | |
| 33 | include hA in |
| 34 | theorem transition : (iso R I s hs hreg P N e).hom = |
| 35 | (iso R I t ht htreg P N e).hom ≫ |
| 36 | ModuleCat.ofHom (A.det • (LinearMap.id : (R ⧸ I) →ₗ[R] (R ⧸ I))) := by |
| 37 | dsimp only [iso, Iso.trans_hom] |
| 38 | rw [Koszul.ResolutionOrientation.purity_transition R I s hs hreg t ht htreg A hA P, |
| 39 | ← Category.assoc] |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.IntegralComparison.LinearHomOrientedPurity |