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.FreeSectionLifting |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Residue.CyclesNakayama |
| 3 | |
| 4 | /-! # Cohomology Section Lifting -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A comparison with surjective degree-zero base change and injective first fiber cohomology |
| 11 | forces degree-zero base change to be surjective on the source. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 19 | {S T : ShortComplex (ModuleCat.{u} R)} |
| 20 | |
| 21 | theorem Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex.first_zero_of_residue_cycles_lift (P : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex S) |
| 22 | (hS : ∀ (z : IsLocalRing.ResidueField R ⊗[R] S.X₁), |
| 23 | S.f.hom.baseChange (IsLocalRing.ResidueField R) z = 0 → |
| 24 | ∃ x : S.X₁, S.f x = 0 ∧ (1 : IsLocalRing.ResidueField R) ⊗ₜ[R] x = z) : |
| 25 | P.complex.f.hom = 0 := by |
| 26 | apply Residue.CyclesNakayama.LocalSectionLifting.linearMap_eq_zero_of_residue_cycles_lift |
| 27 | intro w |
| 28 | let E := P.baseChangeFirstCyclesEquiv (IsLocalRing.ResidueField R) |
| 29 | let w' : LinearMap.ker (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) P.complex).f.hom := |
| 30 | ⟨w, by |
| 31 | change P.complex.f.hom.baseChange (IsLocalRing.ResidueField R) w = 0 |
| 32 | rw [P.incoming_residue_zero, LinearMap.zero_apply]⟩ |
| 33 | let z' := E.symm w' |
| 34 | obtain ⟨x, hx, hz⟩ := hS z'.val z'.property |
| 35 | refine ⟨P.equivalence.hom.τ₁ x, ?_, ?_⟩ |
| 36 | · have h := CategoryTheory.congr_fun P.equivalence.hom.comm₁₂ x |
| 37 | change P.complex.f.hom (P.equivalence.hom.τ₁ x) = P.equivalence.hom.τ₂ (S.f x) at h |
| 38 | rw [hx, map_zero] at h |
| 39 | exact h |
| 40 | · have hb := congrArg Subtype.val (E.apply_symm_apply w') |
| 41 | change (P.equivalence.hom.τ₁.hom.baseChange (IsLocalRing.ResidueField R)) z'.val = w at hb |
| 42 | rw [← hz] at hb |
| 43 | exact hb |
| 44 | |
| 45 | theorem CohomologySectionLifting.LocalSectionLifting.finiteFree_cycle_lifting_of_cohomology_comparison |
| 46 | (S T : ShortComplex (ModuleCat.{u} R)) |
| 47 | [Module.Finite R S.X₁] [Module.Free R S.X₁] |
| 48 | [Module.Finite R S.X₂] [Module.Free R S.X₂] |
| 49 | [Module.Finite R S.X₃] [Module.Free R S.X₃] |
| 50 | [Module.Finite R T.X₁] [Module.Free R T.X₁] |
| 51 | [Module.Finite R T.X₂] [Module.Free R T.X₂] |
| 52 | [Module.Finite R T.X₃] [Module.Free R T.X₃] |
| 53 | (φ : S ⟶ T) |
| 54 | (hT : ∀ (z : IsLocalRing.ResidueField R ⊗[R] T.X₁), |
| 55 | T.f.hom.baseChange (IsLocalRing.ResidueField R) z = 0 → |
| 56 | ∃ x : T.X₁, T.f x = 0 ∧ (1 : IsLocalRing.ResidueField R) ⊗ₜ[R] x = z) |
| 57 | (hφ : Function.Injective (ShortComplex.homologyMap |
| 58 | ((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R (IsLocalRing.ResidueField R)).mapShortComplex.map φ))) |
| 59 | (z : IsLocalRing.ResidueField R ⊗[R] S.X₁) |
| 60 | (hz : S.f.hom.baseChange (IsLocalRing.ResidueField R) z = 0) : |
| 61 | ∃ x : S.X₁, S.f x = 0 ∧ (1 : IsLocalRing.ResidueField R) ⊗ₜ[R] x = z := by |
| 62 | obtain ⟨P⟩ := Local.MinimalShortComplex.LocalSectionLifting.exists_localMinimalShortComplex S |
| 63 | obtain ⟨Q⟩ := Local.MinimalShortComplex.LocalSectionLifting.exists_localMinimalShortComplex T |
| 64 | exact Minimal.Comparison.LocalSectionLifting.lift_residue_cycle_of_minimal_comparison P Q φ |
| 65 | (Q.first_zero_of_residue_cycles_lift hT) hφ z hz |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |