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 Mathlib.RingTheory.LocalRing.Module |
| 2 | |
| 3 | /-! # Local Complex Rigidity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalComplexRigidity.Construction.LocalSectionLifting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The local-ring linear algebra used to lift a fiberwise trivialization from a finite free complex. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | |
| 13 | universe u v w w' |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 16 | {M : Type v} [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 17 | {N : Type w} [AddCommGroup N] [Module R N] [Module.Finite R N] [Module.Free R N] |
| 18 | |
| 19 | theorem linearMap_injective_of_residue_injective (b : M →ₗ[R] N) |
| 20 | (hb : Function.Injective (b.lTensor (IsLocalRing.ResidueField R))) : Function.Injective b := by |
| 21 | obtain ⟨r, hr⟩ := (IsLocalRing.split_injective_iff_lTensor_residueField_injective b).mpr hb |
| 22 | exact Function.HasLeftInverse.injective ⟨r, LinearMap.congr_fun hr⟩ |
| 23 | |
| 24 | theorem linearMap_eq_zero_of_residue_injective_comp |
| 25 | {P : Type w'} [AddCommGroup P] [Module R P] (d : P →ₗ[R] M) (b : M →ₗ[R] N) |
| 26 | (hb : Function.Injective (b.lTensor (IsLocalRing.ResidueField R))) (hd : b.comp d = 0) : d = 0 := by |
| 27 | apply LinearMap.ext |
| 28 | intro x |
| 29 | apply linearMap_injective_of_residue_injective b hb |
| 30 | exact (LinearMap.congr_fun hd x).trans (map_zero b).symm |
| 31 | |
| 32 | theorem local_differential_eq_zero_of_detecting_map |
| 33 | {P : Type w'} [AddCommGroup P] [Module R P] |
| 34 | {Q : Type*} [AddCommGroup Q] [Module R Q] |
| 35 | (d : P →ₗ[R] M) (d' : Q →ₗ[R] N) (a : P →ₗ[R] Q) (b : M →ₗ[R] N) |
| 36 | (hcomm : b.comp d = d'.comp a) (hd' : d' = 0) |
| 37 | (hb : Function.Injective (b.lTensor (IsLocalRing.ResidueField R))) : d = 0 := by |
| 38 | apply linearMap_eq_zero_of_residue_injective_comp d b hb |
| 39 | rw [hcomm, hd', LinearMap.zero_comp] |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalComplexRigidity.Construction.LocalSectionLifting |