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.CMPoints.Arithmetic |
| 2 | import Mathlib.RingTheory.Nakayama |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | |
| 5 | /-! # Split Completion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SplitCompletion.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | CMPoints's actual residue coordinates construct the split integral completion. |
| 13 | Surjectivity modulo q lifts by Nakayama; the equal finite free ranks then |
| 14 | give injectivity. No completion-isomorphism conclusion is assumed. |
| 15 | -/ |
| 16 | |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | theorem padic_pi_surjective_of_residues |
| 20 | (q : ℕ) [Fact q.Prime] {V I : Type*} [AddCommGroup V] [Module ℤ_[q] V] [Fintype I] |
| 21 | (f : V →ₗ[ℤ_[q]] (I → ℤ_[q])) |
| 22 | (hf : Function.Surjective (fun x i => PadicInt.toZModPow 1 (f x i))) : |
| 23 | Function.Surjective f := by |
| 24 | let J : Ideal ℤ_[q] := Ideal.span {(q : ℤ_[q])} |
| 25 | apply f.surjective_of_surjective_comp_mkQ J |
| 26 | (by rw [IsLocalRing.jacobson_eq_maximalIdeal _ bot_ne_top, PadicInt.maximalIdeal_eq_span_p]) |
| 27 | intro z |
| 28 | obtain ⟨y, rfl⟩ := (J • (⊤ : Submodule ℤ_[q] (I → ℤ_[q]))).mkQ_surjective z |
| 29 | obtain ⟨x, hx⟩ := hf (fun i => PadicInt.toZModPow 1 (y i)) |
| 30 | refine ⟨x, (Submodule.Quotient.eq _).mpr ?_⟩ |
| 31 | have hd (i : I) : (q : ℤ_[q]) ∣ f x i - y i := by |
| 32 | apply Ideal.mem_span_singleton.mp |
| 33 | have hxi : PadicInt.toZModPow 1 (f x i) = PadicInt.toZModPow 1 (y i) := congrFun hx i |
| 34 | have he : PadicInt.toZModPow 1 (f x i - y i) = 0 := by |
| 35 | rw [map_sub, hxi, sub_self] |
| 36 | have hm : f x i - y i ∈ RingHom.ker (PadicInt.toZModPow 1) := RingHom.mem_ker.mpr he |
| 37 | simpa only [PadicInt.ker_toZModPow, pow_one] using hm |
| 38 | choose c hc using hd |
| 39 | have he : f x - y = (q : ℤ_[q]) • c := by |
| 40 | funext i |
| 41 | exact hc i |
| 42 | rw [he] |
| 43 | exact Submodule.smul_mem_smul (Ideal.subset_span (Set.mem_singleton _)) Submodule.mem_top |
| 44 | |
| 45 | variable {E L : Type} [Field E] [NumberField E] [IsGalois ℚ E] |
| 46 | [Field L] [NumberField L] {κ : L →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 47 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice L κ q) (iota : E →+* L) (hsplit : j.HasSplitCoordinates iota) |
| 48 | |
| 49 | def l45CompletionMap : |
| 50 | ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E →ₐ[ℤ_[q]] (Gal(E/ℚ) → ℤ_[q]) := |
| 51 | AlgHom.liftEquiv ℤ ℤ_[q] (NumberField.RingOfIntegers E) _ |
| 52 | (RingHom.pi (j.localCharacter iota)).toIntAlgHom |
| 53 | |
| 54 | omit [IsGalois ℚ E] in |
| 55 | theorem l45CompletionMap_integer (a : NumberField.RingOfIntegers E) : |
| 56 | l45CompletionMap j iota (1 ⊗ₜ[ℤ] a) = fun τ => j.localCharacter iota τ a := by |
| 57 | change (1 : ℤ_[q]) • (fun τ => j.localCharacter iota τ a) = _ |
| 58 | exact one_smul _ _ |
| 59 | |
| 60 | omit [IsGalois ℚ E] in |
| 61 | include hsplit in |
| 62 | theorem l45CompletionMap_surjective : Function.Surjective (l45CompletionMap j iota) := by |
| 63 | apply padic_pi_surjective_of_residues q (l45CompletionMap j iota).toLinearMap |
| 64 | intro y |
| 65 | obtain ⟨a, ha⟩ := (hsplit 1).1 y |
| 66 | refine ⟨1 ⊗ₜ[ℤ] a, ?_⟩ |
| 67 | change (fun τ => PadicInt.toZModPow 1 (l45CompletionMap j iota (1 ⊗ₜ[ℤ] a) τ)) = y |
| 68 | rw [l45CompletionMap_integer] |
| 69 | exact ha |
| 70 | |
| 71 | include hsplit in |
| 72 | theorem l45CompletionMap_bijective : Function.Bijective (l45CompletionMap j iota) := by |
| 73 | let B := (NumberField.RingOfIntegers.basis E).baseChange ℤ_[q] |
| 74 | have : Module.Free ℤ_[q] (ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E) := Module.Free.of_basis B |
| 75 | have : Module.Finite ℤ_[q] (ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E) := Module.Finite.of_basis B |
| 76 | have hr : Module.finrank ℤ_[q] (ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E) = |
| 77 | Module.finrank ℤ_[q] (Gal(E/ℚ) → ℤ_[q]) := by |
| 78 | rw [Module.finrank_eq_card_basis B, Module.finrank_pi] |
| 79 | calc |
| 80 | _ = Module.finrank ℚ E := (Module.finrank_eq_card_basis (NumberField.integralBasis E)).symm |
| 81 | _ = Fintype.card Gal(E/ℚ) := by rw [Fintype.card_eq_nat_card, IsGalois.card_aut_eq_finrank] |
| 82 | let e := LinearEquiv.ofFinrankEq (R := ℤ_[q]) |
| 83 | (ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E) (Gal(E/ℚ) → ℤ_[q]) hr |
| 84 | have hf := l45CompletionMap_surjective j iota hsplit |
| 85 | have hi := Module.End.injective_of_surjective ℤ_[q] (Gal(E/ℚ) → ℤ_[q]) |
| 86 | (f := (l45CompletionMap j iota).toLinearMap.comp e.symm.toLinearMap) |
| 87 | (hf.comp e.symm.surjective) |
| 88 | refine ⟨fun x y hxy => e.injective (hi ?_), hf⟩ |
| 89 | simpa only [LinearMap.comp_apply, LinearEquiv.coe_coe, LinearEquiv.symm_apply_apply, |
| 90 | AlgHom.toLinearMap_apply] using hxy |
| 91 | |
| 92 | def l45CompletionEquiv : |
| 93 | ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E ≃ₐ[ℤ_[q]] (Gal(E/ℚ) → ℤ_[q]) := |
| 94 | AlgEquiv.ofBijective (l45CompletionMap j iota) (l45CompletionMap_bijective j iota hsplit) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SplitCompletion.Construction |