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.Quotients.FiniteDescent.BoundedFreeComplex |
| 2 | import Mathlib.RingTheory.Flat.EquationalCriterion |
| 3 | |
| 4 | /-! # Bounded Projective Complex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.BoundedProjectiveComplex.Construction.CochainFiniteModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite model over an arbitrary Noetherian base has projective terms. |
| 11 | Only the final passage from projective to free requires a local ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 18 | |
| 19 | theorem exists_finite_projective_complex (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 20 | (hbound : ∃ N, ∀ q, N ≤ q → IsZero (C.X q)) |
| 21 | (hflat : ∀ q, Module.Flat R (C.X q)) |
| 22 | (hfinite : ∀ q, Module.Finite R (C.homology q)) : |
| 23 | ∃ (D : CochainComplex (ModuleCat.{u} R) ℕ) (φ : D ⟶ C), |
| 24 | QuasiIso φ ∧ |
| 25 | (∃ N, ∀ q, N ≤ q → IsZero (D.X q)) ∧ |
| 26 | (∀ q, Module.Finite R (D.X q)) ∧ |
| 27 | (∀ q, Module.Projective R (D.X q)) ∧ |
| 28 | (∀ (A : Type u) [AddCommGroup A] [Module R A], |
| 29 | QuasiIso (ModuleTensor.Construction.ModuleTensorFunctor.map A φ)) := by |
| 30 | obtain ⟨N, hN⟩ := hbound |
| 31 | obtain ⟨M⟩ := BoundedFlatModel.Construction.CochainFiniteModel.exists_model C N hN hflat (fun q => hfinite (q + 1)) |
| 32 | have := hfinite 0 |
| 33 | have hfin : ∀ q, Module.Finite R (M.complex.X q) := by |
| 34 | intro q |
| 35 | cases q with |
| 36 | | zero => exact M.first_finite |
| 37 | | succ q => exact M.finite q |
| 38 | refine ⟨M.complex, M.comparison, M.quasiIso, M.bounded, hfin, ?_, M.tensor_quasiIso⟩ |
| 39 | intro q |
| 40 | have := hfin q |
| 41 | have := M.flat q |
| 42 | have : Module.FinitePresentation R (M.complex.X q) := |
| 43 | Module.finitePresentation_of_finite R (M.complex.X q) |
| 44 | exact Module.Flat.projective_of_finitePresentation |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.BoundedProjectiveComplex.Construction.CochainFiniteModel |