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.PELModuli.IntegralModel.ResidueCycleLifting |
| 2 | import Mathlib.RingTheory.Flat.Equalizer |
| 3 | import Mathlib.Algebra.Module.Projective |
| 4 | |
| 5 | /-! # Residue Kernel Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.ResidueKernelBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Under first-cohomology vanishing, every residue-field degree-zero |
| 12 | cycle is a linear combination of cycles of the original complex. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem residue_cycle_mem_original_kernel_range |
| 21 | {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 22 | [IsLocalRing A] [Module.Flat R A] |
| 23 | (S : ShortComplex (ModuleCat.{u} R)) |
| 24 | [Module.Finite R S.X₁] [Module.Projective R S.X₁] |
| 25 | [Module.Finite R S.X₂] [Module.Projective R S.X₂] |
| 26 | [Module.Finite R S.X₃] [Module.Projective R S.X₃] |
| 27 | (hS : (Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex A (IsLocalRing.ResidueField A) |
| 28 | (Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R A S)).Exact) |
| 29 | (z : IsLocalRing.ResidueField A ⊗[A] (A ⊗[R] S.X₁)) |
| 30 | (hz : (S.f.hom.baseChange A).baseChange (IsLocalRing.ResidueField A) z = 0) : |
| 31 | z ∈ ((S.f.hom.ker.subtype.baseChange A).baseChange (IsLocalRing.ResidueField A)).range := by |
| 32 | let T := Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R A S |
| 33 | have : Module.Finite A T.X₁ := inferInstanceAs (Module.Finite A (A ⊗[R] S.X₁)) |
| 34 | have : Module.Finite A T.X₂ := inferInstanceAs (Module.Finite A (A ⊗[R] S.X₂)) |
| 35 | have : Module.Finite A T.X₃ := inferInstanceAs (Module.Finite A (A ⊗[R] S.X₃)) |
| 36 | have : Module.Flat A T.X₁ := inferInstanceAs (Module.Flat A (A ⊗[R] S.X₁)) |
| 37 | have : Module.Flat A T.X₂ := inferInstanceAs (Module.Flat A (A ⊗[R] S.X₂)) |
| 38 | have : Module.Flat A T.X₃ := inferInstanceAs (Module.Flat A (A ⊗[R] S.X₃)) |
| 39 | have : Module.Free A T.X₁ := Module.free_of_flat_of_isLocalRing |
| 40 | have : Module.Free A T.X₂ := Module.free_of_flat_of_isLocalRing |
| 41 | have : Module.Free A T.X₃ := Module.free_of_flat_of_isLocalRing |
| 42 | obtain ⟨x, hx, he⟩ := ResidueCycleLifting.lift_residue_cycle_of_exact T hS z hz |
| 43 | have hker : x ∈ (S.f.hom.ker.subtype.baseChange A).range := by |
| 44 | change x ∈ (TensorProduct.AlgebraTensorModule.lTensor A A S.f.hom.ker.subtype).range |
| 45 | rw [← Module.Flat.ker_lTensor_eq] |
| 46 | exact hx |
| 47 | obtain ⟨y, hy⟩ := hker |
| 48 | refine ⟨(1 : IsLocalRing.ResidueField A) ⊗ₜ[A] y, ?_⟩ |
| 49 | change (1 : IsLocalRing.ResidueField A) ⊗ₜ[A] (S.f.hom.ker.subtype.baseChange A y) = z |
| 50 | rw [hy] |
| 51 | exact he |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.ResidueKernelBaseChange |