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.FiberFlatCriterion |
| 2 | |
| 3 | /-! # Cycles Nakayama -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Residue.CyclesNakayama.LocalSectionLifting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite module generated by liftable residue cycles has zero differential. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | |
| 13 | variable {R M N : Type*} [CommRing R] [IsLocalRing R] |
| 14 | [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 15 | [AddCommGroup N] [Module R N] |
| 16 | |
| 17 | theorem linearMap_eq_zero_of_residue_cycles_lift (f : M →ₗ[R] N) |
| 18 | (h : ∀ z : IsLocalRing.ResidueField R ⊗[R] M, |
| 19 | ∃ x : M, f x = 0 ∧ (1 : IsLocalRing.ResidueField R) ⊗ₜ[R] x = z) : f = 0 := by |
| 20 | have hself : IsLocalHom (algebraMap R R) := ⟨fun _ h ↦ h⟩ |
| 21 | have hs : Function.Surjective (LinearMap.ker f).subtype := by |
| 22 | apply FiberFlatCriterion.LocalSectionLifting.surjective_of_residueField_tensor (R := R) (A := R) (LinearMap.ker f).subtype |
| 23 | intro z |
| 24 | obtain ⟨x, hx, hz⟩ := h z |
| 25 | exact ⟨(1 : IsLocalRing.ResidueField R) ⊗ₜ[R] (⟨x, hx⟩ : LinearMap.ker f), hz⟩ |
| 26 | apply LinearMap.ext |
| 27 | intro x |
| 28 | obtain ⟨y, rfl⟩ := hs x |
| 29 | exact y.property |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Residue.CyclesNakayama.LocalSectionLifting |