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.Residue.CycleLifting |
| 2 | |
| 3 | /-! # First Cycles Free -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.FirstCyclesFree.LocalSectionLifting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! First residue cohomology vanishing makes the degree-zero cycle module finite free over a local ring. -/ |
| 10 | open _root_.CategoryTheory |
| 11 | universe u |
| 12 | |
| 13 | theorem firstCycles_finite_free_of_residue_exact |
| 14 | {R : Type u} [CommRing R] [IsLocalRing R] (S : ShortComplex (ModuleCat.{u} R)) |
| 15 | [Module.Finite R S.X₁] [Module.Free R S.X₁] |
| 16 | [Module.Finite R S.X₂] [Module.Free R S.X₂] |
| 17 | [Module.Finite R S.X₃] [Module.Free R S.X₃] |
| 18 | (hS : (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).Exact) : |
| 19 | Module.Finite R S.f.hom.ker ∧ Module.Free R S.f.hom.ker := by |
| 20 | obtain ⟨P⟩ := MinimalShortComplex.LocalSectionLifting.exists_localMinimalShortComplex S |
| 21 | have hf : P.complex.f.hom = 0 := P.first_zero_of_residue_cycles_lift |
| 22 | (fun z hz => Residue.CycleLifting.lift_residue_cycle_of_exact S hS z hz) |
| 23 | let e : P.complex.f.hom.ker ≃ₗ[R] P.complex.X₁ := |
| 24 | LinearEquiv.ofBijective P.complex.f.hom.ker.subtype |
| 25 | ⟨Subtype.val_injective, fun x => ⟨⟨x, by |
| 26 | change P.complex.f.hom x = 0 |
| 27 | rw [hf, LinearMap.zero_apply]⟩, rfl⟩⟩ |
| 28 | let c : S.f.hom.ker ≃ₗ[R] P.complex.X₁ := |
| 29 | (ShortComplexFirstCycles.LocalSectionLifting.shortComplexFirstCyclesEquiv P.equivalence P.hom_h₀ P.inv_h₀).trans e |
| 30 | exact ⟨Module.Finite.equiv c.symm, Module.Free.of_equiv c.symm⟩ |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.FirstCyclesFree.LocalSectionLifting |