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.Finite.CochainTruncation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Residue.CochainVanishing |
| 3 | |
| 4 | /-! # Free Cochain Truncation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FreeCochainTruncation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A residue cohomology bound gives a genuine finite free upper truncation of the local model. Its final term is the actual kernel of the next differential. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits IsLocalRing |
| 12 | universe u |
| 13 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 14 | |
| 15 | def cochainCyclesKernelIso (C : CochainComplex (ModuleCat.{u} R) ℕ) (g : ℕ) : |
| 16 | C.cycles g ≅ ModuleCat.of R (C.d g (g + 1)).hom.ker := |
| 17 | C.cyclesIsoSc' (g - 1) g (g + 1) (by cases g <;> simp) (CochainComplex.next ℕ g) ≪≫ |
| 18 | (C.sc' (g - 1) g (g + 1)).moduleCatCyclesIso |
| 19 | |
| 20 | theorem finiteCochainTruncation_finite_free |
| 21 | (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 22 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 23 | (g : ℕ) |
| 24 | (hres : IsZero ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R (ResidueField R)).mapHomologicalComplex |
| 25 | (.up ℕ)).obj C).homology (g + 1))) : |
| 26 | ∀ q, Module.Finite R ((CochainTruncation.finiteCochainTruncation C g).X q) ∧ |
| 27 | Module.Free R ((CochainTruncation.finiteCochainTruncation C g).X q) := by |
| 28 | obtain ⟨hfinK, hfreeK, _⟩ := |
| 29 | Residue.CochainVanishing.LocalSectionLifting.finiteFreeCochain_last_cycles_split_finite_free C hfin hfree g hres |
| 30 | let : Module.Finite R (C.d g (g + 1)).hom.ker := hfinK |
| 31 | let : Module.Free R (C.d g (g + 1)).hom.ker := hfreeK |
| 32 | intro q |
| 33 | rcases lt_trichotomy q g with hq | hq | hq |
| 34 | · have : Module.Finite R (C.X q) := hfin q |
| 35 | have : Module.Free R (C.X q) := hfree q |
| 36 | let e := (CochainTruncation.finiteCochainTruncationXIso C g q hq).symm.toLinearEquiv |
| 37 | exact ⟨Module.Finite.equiv e, Module.Free.of_equiv e⟩ |
| 38 | · subst q |
| 39 | let e := (CochainTruncation.finiteCochainTruncationLastIso C g ≪≫ cochainCyclesKernelIso C g).symm.toLinearEquiv |
| 40 | exact ⟨Module.Finite.equiv e, Module.Free.of_equiv e⟩ |
| 41 | · have hz := CochainTruncation.finiteCochainTruncation_isZero_above C g q hq |
| 42 | have : Subsingleton ((CochainTruncation.finiteCochainTruncation C g).X q) := ModuleCat.subsingleton_of_isZero hz |
| 43 | exact ⟨inferInstance, inferInstance⟩ |
| 44 | |
| 45 | theorem finiteCochainTruncation_quasiIso_of_residue_bound |
| 46 | (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 47 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 48 | (g : ℕ) |
| 49 | (hres : ∀ q, g < q → IsZero |
| 50 | ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R (ResidueField R)).mapHomologicalComplex (.up ℕ)).obj C).homology q)) : |
| 51 | QuasiIso (CochainTruncation.finiteCochainTruncationι C g) := by |
| 52 | apply CochainTruncation.finiteCochainTruncation_quasiIso C g |
| 53 | intro q hq |
| 54 | have : Module.Finite R (C.sc q).X₁ := hfin ((ComplexShape.up ℕ).prev q) |
| 55 | have : Module.Free R (C.sc q).X₁ := hfree ((ComplexShape.up ℕ).prev q) |
| 56 | have : Module.Finite R (C.sc q).X₂ := hfin q |
| 57 | have : Module.Free R (C.sc q).X₂ := hfree q |
| 58 | have : Module.Finite R (C.sc q).X₃ := hfin ((ComplexShape.up ℕ).next q) |
| 59 | have : Module.Free R (C.sc q).X₃ := hfree ((ComplexShape.up ℕ).next q) |
| 60 | exact Local.ResidueExactness.LocalSectionLifting.finiteFreeShortComplex_exact_of_residue_exact (C.sc q) |
| 61 | ((HomologicalComplex.exactAt_iff_isZero_homology _ q).mpr (hres q hq)) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FreeCochainTruncation |