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.AbelianModuli.HilbertConstruction.Bounded.FlatModel |
| 2 | |
| 3 | /-! # Finite Free Complex -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A bounded flat complex with finite cohomology over a Noetherian local |
| 10 | ring admits a bounded finite free model, valid after every tensor base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 17 | variable {C : CochainComplex (ModuleCat.{u} R) ℕ} (M : Cochain.FiniteModel.CochainFiniteModel.Model C) |
| 18 | |
| 19 | theorem Cochain.FiniteModel.CochainFiniteModel.Model.first_finite [Module.Finite R (C.homology 0)] : |
| 20 | Module.Finite R (M.complex.X 0) := by |
| 21 | have := M.quasiIso |
| 22 | have : Module.Finite R (M.complex.homology 0) := |
| 23 | Module.Finite.equiv (isoOfQuasiIsoAt M.comparison 0).symm.toLinearEquiv |
| 24 | have : Module.Finite R (M.complex.cycles 0) := |
| 25 | Module.Finite.equiv M.complex.isoHomologyπ₀.symm.toLinearEquiv |
| 26 | have : Module.Finite R (M.complex.d 0 1).hom.ker := |
| 27 | Module.Finite.equiv (Cochain.ZeroCycles.CochainZeroCycles.cyclesIso M.complex).toLinearEquiv |
| 28 | have : Module.Finite R (M.complex.X 1) := M.finite 0 |
| 29 | exact Noetherian.FiniteExact.noetherian_finite_of_exact (M.complex.d 0 1).hom.ker.subtype |
| 30 | (M.complex.d 0 1).hom (LinearMap.exact_subtype_ker_map _) |
| 31 | |
| 32 | theorem Cochain.FiniteModel.CochainFiniteModel.Model.first_free [IsLocalRing R] [Module.Finite R (C.homology 0)] : |
| 33 | Module.Free R (M.complex.X 0) := by |
| 34 | have := M.first_finite |
| 35 | have := M.flat 0 |
| 36 | exact Module.free_of_flat_of_isLocalRing |
| 37 | |
| 38 | theorem Bounded.FiniteFreeComplex.CochainFiniteModel.exists_finite_free_complex [IsLocalRing R] |
| 39 | (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 40 | (hbound : ∃ N, ∀ q, N ≤ q → IsZero (C.X q)) |
| 41 | (hflat : ∀ q, Module.Flat R (C.X q)) |
| 42 | (hfinite : ∀ q, Module.Finite R (C.homology q)) : |
| 43 | ∃ (D : CochainComplex (ModuleCat.{u} R) ℕ) (φ : D ⟶ C), |
| 44 | QuasiIso φ ∧ |
| 45 | (∃ N, ∀ q, N ≤ q → IsZero (D.X q)) ∧ |
| 46 | (∀ q, Module.Finite R (D.X q)) ∧ |
| 47 | (∀ q, Module.Free R (D.X q)) ∧ |
| 48 | (∀ (A : Type u) [AddCommGroup A] [Module R A], |
| 49 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map A φ)) := by |
| 50 | obtain ⟨N, hN⟩ := hbound |
| 51 | obtain ⟨M⟩ := Bounded.FlatModel.CochainFiniteModel.exists_model C N hN hflat (fun q => hfinite (q + 1)) |
| 52 | have := hfinite 0 |
| 53 | refine ⟨M.complex, M.comparison, M.quasiIso, M.bounded, ?_, ?_, M.tensor_quasiIso⟩ |
| 54 | · intro q |
| 55 | cases q with |
| 56 | | zero => exact M.first_finite |
| 57 | | succ q => exact M.finite q |
| 58 | · intro q |
| 59 | cases q with |
| 60 | | zero => exact M.first_free |
| 61 | | succ q => exact M.free q |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |