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.ReferenceFamily.Integral.BasisActionRelations |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReflexiveTransposeAction |
| 3 | import Mathlib.RingTheory.LocalProperties.Basic |
| 4 | |
| 5 | /-! # Basis Local Dual Relations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.BasisLocalDualRelations |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The integral multiplication relations for operators on a reflexive |
| 12 | module can be proved from their actual actions on all local coefficient |
| 13 | duals. Localization detects equality over the original ring. -/ |
| 14 | |
| 15 | open _root_.Module |
| 16 | |
| 17 | variable {O R V I : Type} [CommRing O] [CommRing R] [AddCommGroup V] [Module R V] |
| 18 | (b : Basis I ℤ O) (d : I → Module.End R V) |
| 19 | |
| 20 | theorem integralBasis_localDual_extension {C : Type} [CommRing C] [Algebra R C] |
| 21 | (ρ : O →+* Module.End C (V →ₗ[R] C)) |
| 22 | (hρ : ∀ i (ℓ : V →ₗ[R] C) v, ℓ (d i v) = (ρ (b i) ℓ) v) |
| 23 | (x : O) (ℓ : V →ₗ[R] C) (v : V) : |
| 24 | ℓ (b.constr ℤ d x v) = (ρ x ℓ) v := by |
| 25 | let L : O →ₗ[ℤ] C := |
| 26 | { toFun := fun x => ℓ (b.constr ℤ d x v) |
| 27 | map_add' x y := by simp only [map_add, LinearMap.add_apply] |
| 28 | map_smul' n x := by simp only [map_smul, LinearMap.smul_apply, map_zsmul, RingHom.id_apply] } |
| 29 | let M : O →ₗ[ℤ] C := |
| 30 | { toFun := fun x => (ρ x ℓ) v |
| 31 | map_add' x y := by simp only [map_add, LinearMap.add_apply] |
| 32 | map_smul' n x := by simp only [map_zsmul, LinearMap.smul_apply, RingHom.id_apply] } |
| 33 | have h : L = M := b.ext (fun i => by |
| 34 | change ℓ (b.constr ℤ d (b i) v) = (ρ (b i) ℓ) v |
| 35 | rw [Basis.constr_basis] |
| 36 | exact hρ i ℓ v) |
| 37 | exact LinearMap.congr_fun h x |
| 38 | |
| 39 | theorem localDuals_detect_eq [Module.IsReflexive R V] (x y : V) |
| 40 | (h : ∀ (P : Ideal R) (_ : P.IsMaximal) (ℓ : V →ₗ[R] Localization.AtPrime P), ℓ x = ℓ y) : |
| 41 | x = y := by |
| 42 | apply ReflexiveTransposeAction.reflexive_eq_of_dual (R := R) |
| 43 | intro ℓ |
| 44 | apply sub_eq_zero.mp |
| 45 | apply eq_zero_of_localization |
| 46 | intro P hP |
| 47 | let φ : V →ₗ[R] Localization.AtPrime P := (Algebra.linearMap R (Localization.AtPrime P)).comp ℓ |
| 48 | have hh : algebraMap R (Localization.AtPrime P) (ℓ x) = |
| 49 | algebraMap R (Localization.AtPrime P) (ℓ y) := h P hP φ |
| 50 | exact (map_sub (algebraMap R (Localization.AtPrime P)) (ℓ x) (ℓ y)).trans (sub_eq_zero.mpr hh) |
| 51 | |
| 52 | theorem integralBasisActionRelations_of_localDualActions [Module.IsReflexive R V] |
| 53 | (hρ : ∀ (P : Ideal R) (_ : P.IsMaximal), |
| 54 | ∃ ρ : O →+* Module.End (Localization.AtPrime P) (V →ₗ[R] Localization.AtPrime P), |
| 55 | ∀ i (ℓ : V →ₗ[R] Localization.AtPrime P) v, ℓ (d i v) = (ρ (b i) ℓ) v) : |
| 56 | BasisActionRelations.IntegralBasisActionRelations b d := by |
| 57 | constructor |
| 58 | · apply LinearMap.ext |
| 59 | intro v |
| 60 | apply localDuals_detect_eq (R := R) |
| 61 | intro P hP ℓ |
| 62 | obtain ⟨ρ, hρ⟩ := hρ P hP |
| 63 | rw [integralBasis_localDual_extension b d ρ hρ, map_one] |
| 64 | rfl |
| 65 | · intro i j |
| 66 | apply LinearMap.ext |
| 67 | intro v |
| 68 | apply localDuals_detect_eq (R := R) |
| 69 | intro P hP ℓ |
| 70 | obtain ⟨ρ, hρ⟩ := hρ P hP |
| 71 | change ℓ (b.constr ℤ d (b i * b j) v) = ℓ (d i (d j v)) |
| 72 | rw [integralBasis_localDual_extension b d ρ hρ, hρ, hρ] |
| 73 | rw [mul_comm (b i) (b j), map_mul] |
| 74 | rfl |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.BasisLocalDualRelations |