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.ProjectiveModelComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HomotopyBoundaryDetection |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ShortComplexEndpointHomotopy |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorProducts |
| 5 | |
| 6 | /-! # Model Comparison Detection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ModelComparisonDetection |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual maps of full complexes lift to bounded projective models. |
| 13 | Their residue boundary detection is preserved by the resulting homotopies. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R K : Type u} [CommRing R] [CommRing K] |
| 20 | variable {D C E₁ E₂ T₁ T₂ : CochainComplex (ModuleCat.{u} R) ℕ} |
| 21 | |
| 22 | theorem finiteModel_exists_detecting_lifts |
| 23 | [∀ q, Projective (D.X q)] (N : ℕ) (hN : ∀ q, N ≤ q → IsZero (D.X q)) |
| 24 | (p : D ⟶ C) (p₁ : E₁ ⟶ T₁) (p₂ : E₂ ⟶ T₂) [QuasiIso p₁] [QuasiIso p₂] |
| 25 | (r₁ : C ⟶ T₁) (r₂ : C ⟶ T₂) (a : R →+* K) |
| 26 | (hp : ShortComplex.QuasiIso |
| 27 | ((ModuleCat.extendScalars a).mapShortComplex.map |
| 28 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} R) (ComplexShape.up ℕ) 0 1 2).map p))) |
| 29 | (hd : Quotients.FiniteDescent.CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 30 | ((ModuleCat.extendScalars a).mapShortComplex.map |
| 31 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} R) (ComplexShape.up ℕ) 0 1 2).map r₁)) |
| 32 | ((ModuleCat.extendScalars a).mapShortComplex.map |
| 33 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} R) (ComplexShape.up ℕ) 0 1 2).map r₂))) : |
| 34 | ∃ (g₁ : D ⟶ E₁) (g₂ : D ⟶ E₂), |
| 35 | Quotients.FiniteDescent.CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 36 | ((ModuleCat.extendScalars a).mapShortComplex.map |
| 37 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} R) (ComplexShape.up ℕ) 0 1 2).map g₁)) |
| 38 | ((ModuleCat.extendScalars a).mapShortComplex.map |
| 39 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} R) (ComplexShape.up ℕ) 0 1 2).map g₂)) := by |
| 40 | obtain ⟨g₁, ⟨h₁⟩⟩ := Bounded.ProjectiveModelComparison.boundedProjective_exists_lift N hN p₁ (p ≫ r₁) |
| 41 | obtain ⟨g₂, ⟨h₂⟩⟩ := Bounded.ProjectiveModelComparison.boundedProjective_exists_lift N hN p₂ (p ≫ r₂) |
| 42 | let F := ModuleCat.extendScalars a |
| 43 | let Q := HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} R) (ComplexShape.up ℕ) 0 1 2 |
| 44 | have := hp |
| 45 | refine ⟨g₁, g₂, HomotopyBoundaryDetection.CechBoundaryTransport.jointly_of_homotopy_square |
| 46 | (F.mapShortComplex.map (Q.map g₁)) (F.mapShortComplex.map (Q.map g₂)) |
| 47 | (F.mapShortComplex.map (Q.map r₁)) (F.mapShortComplex.map (Q.map r₂)) |
| 48 | (F.mapShortComplex.map (Q.map p)) (F.mapShortComplex.map (Q.map p₁)) |
| 49 | (F.mapShortComplex.map (Q.map p₂)) ?_ ?_ hd⟩ |
| 50 | · have h := Quotients.FiniteDescent.ShortComplexEndpointHomotopy.Construction.LocalSectionLifting.shortComplexHomotopyMap F (h₁.symm.toShortComplex 1) |
| 51 | have hQ : HomologicalComplex.shortComplexFunctor (ModuleCat.{u} R) (ComplexShape.up ℕ) 1 = Q := by |
| 52 | unfold HomologicalComplex.shortComplexFunctor |
| 53 | rw [show (ComplexShape.up ℕ).prev 1 = 0 by simp, |
| 54 | show (ComplexShape.up ℕ).next 1 = 2 by simp] |
| 55 | rw [hQ] at h |
| 56 | simpa only [Functor.map_comp] using h |
| 57 | · have h := Quotients.FiniteDescent.ShortComplexEndpointHomotopy.Construction.LocalSectionLifting.shortComplexHomotopyMap F (h₂.symm.toShortComplex 1) |
| 58 | have hQ : HomologicalComplex.shortComplexFunctor (ModuleCat.{u} R) (ComplexShape.up ℕ) 1 = Q := by |
| 59 | unfold HomologicalComplex.shortComplexFunctor |
| 60 | rw [show (ComplexShape.up ℕ).prev 1 = 0 by simp, |
| 61 | show (ComplexShape.up ℕ).next 1 = 2 by simp] |
| 62 | rw [hQ] at h |
| 63 | simpa only [Functor.map_comp] using h |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ModelComparisonDetection |