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.FormalGeometry.Completion.CompatibleReducedKernels |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModuleTensor |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CochainZero |
| 4 | import Mathlib.LinearAlgebra.TensorProduct.Quotient |
| 5 | import Mathlib.Algebra.Homology.QuasiIso |
| 6 | |
| 7 | /-! # Adic Reduction -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.AdicReduction.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual reduction of module cochain complexes, identified with tensoring by the quotient ring. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 21 | |
| 22 | /-- Reduction modulo the ideal, retaining the original base scalar structure. -/ |
| 23 | def adicReductionFunctor : ModuleCat.{u} R ⥤ ModuleCat.{u} R where |
| 24 | obj M := ModuleCat.of R (M ⧸ (I • ⊤ : Submodule R M)) |
| 25 | map f := ModuleCat.ofHom ((f.hom.reduceModIdeal I).restrictScalars R) |
| 26 | map_id M := by |
| 27 | ext x |
| 28 | rfl |
| 29 | map_comp f g := by |
| 30 | ext x |
| 31 | rfl |
| 32 | |
| 33 | instance : (adicReductionFunctor (R := R) I).Additive where |
| 34 | map_add := by |
| 35 | intros M N f g |
| 36 | ext x |
| 37 | induction x using Submodule.Quotient.induction_on with |
| 38 | | _ x => rfl |
| 39 | |
| 40 | /-- The actual tensor-to-quotient identification is natural in the module. -/ |
| 41 | def adicReductionTensorIso : |
| 42 | Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.tensor (R ⧸ I) ≅ adicReductionFunctor I := |
| 43 | NatIso.ofComponents (fun M => (TensorProduct.quotTensorEquivQuotSMul M I).toModuleIso) (by |
| 44 | intro M N f |
| 45 | apply ModuleCat.hom_ext |
| 46 | apply TensorProduct.ext' |
| 47 | intro a x |
| 48 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 49 | change TensorProduct.quotTensorEquivQuotSMul N I |
| 50 | (Ideal.Quotient.mk I r ⊗ₜ[R] f x) = |
| 51 | f.hom.reduceModIdeal I |
| 52 | (TensorProduct.quotTensorEquivQuotSMul M I (Ideal.Quotient.mk I r ⊗ₜ[R] x)) |
| 53 | simp) |
| 54 | |
| 55 | abbrev adicReductionComplex (C : CochainComplex (ModuleCat.{u} R) ℕ) : |
| 56 | CochainComplex (ModuleCat.{u} R) ℕ := |
| 57 | ((adicReductionFunctor I).mapHomologicalComplex (ComplexShape.up ℕ)).obj C |
| 58 | |
| 59 | abbrev adicReductionMap {C D : CochainComplex (ModuleCat.{u} R) ℕ} (φ : C ⟶ D) : |
| 60 | adicReductionComplex I C ⟶ adicReductionComplex I D := |
| 61 | ((adicReductionFunctor I).mapHomologicalComplex (ComplexShape.up ℕ)).map φ |
| 62 | |
| 63 | /-- Reduction of the actual cochain complex agrees with its quotient-ring tensor complex. -/ |
| 64 | def adicReductionComplexIso (C : CochainComplex (ModuleCat.{u} R) ℕ) : |
| 65 | Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.complex (R ⧸ I) C ≅ adicReductionComplex I C := |
| 66 | HomologicalComplex.Hom.isoOfComponents |
| 67 | (fun n => (adicReductionTensorIso I).app (C.X n)) |
| 68 | (fun _ _ _ => ((adicReductionTensorIso I).hom.naturality _).symm) |
| 69 | |
| 70 | theorem adicReductionMap_quasiIso {C D : CochainComplex (ModuleCat.{u} R) ℕ} (φ : C ⟶ D) |
| 71 | [QuasiIso (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map (R ⧸ I) φ)] : |
| 72 | QuasiIso (adicReductionMap I φ) := by |
| 73 | apply quasiIso_of_arrow_mk_iso |
| 74 | (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map (R ⧸ I) φ) _ |
| 75 | refine Arrow.isoMk (adicReductionComplexIso I C) (adicReductionComplexIso I D) ?_ |
| 76 | apply HomologicalComplex.Hom.ext |
| 77 | funext n |
| 78 | exact ((adicReductionTensorIso I).hom.naturality (φ.f n)).symm |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.AdicReduction.Construction |