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.Datum |
| 2 | |
| 3 | /-! # Groups -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Groups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual unitary, special-unitary, and principal lattice subgroups. -/ |
| 10 | |
| 11 | variable {R V W : Type*} [CommRing R] [AddCommGroup V] [Module R V] |
| 12 | |
| 13 | def unitarySubgroup (h : V → V → W) : Subgroup (V ≃ₗ[R] V) where |
| 14 | carrier := {g | ∀ x y, h (g x) (g y) = h x y} |
| 15 | one_mem' := fun _ _ => rfl |
| 16 | mul_mem' hg hk := fun x y => (hg _ _).trans (hk x y) |
| 17 | inv_mem' := by |
| 18 | intro g hg x y |
| 19 | change h (g.symm x) (g.symm y) = h x y |
| 20 | have hxy := hg (g.symm x) (g.symm y) |
| 21 | simpa only [LinearEquiv.apply_symm_apply] using hxy.symm |
| 22 | |
| 23 | def specialUnitarySubgroup (h : V → V → W) : Subgroup (V ≃ₗ[R] V) := |
| 24 | unitarySubgroup h ⊓ (LinearEquiv.det : (V ≃ₗ[R] V) →* Rˣ).ker |
| 25 | |
| 26 | def principalLatticeSubgroup (Λ : AddSubgroup V) (N : ℕ) : |
| 27 | Subgroup (V ≃ₗ[R] V) where |
| 28 | carrier := {g | (∀ x, x ∈ Λ ↔ g x ∈ Λ) ∧ |
| 29 | ∀ x ∈ Λ, ∃ y ∈ Λ, g x - x = N • y} |
| 30 | one_mem' := by |
| 31 | refine ⟨fun _ => Iff.rfl, ?_⟩ |
| 32 | intro x _ |
| 33 | exact ⟨0, Λ.zero_mem, by simp⟩ |
| 34 | mul_mem' := by |
| 35 | rintro g k ⟨hg, hgc⟩ ⟨hk, hkc⟩ |
| 36 | refine ⟨fun x => (hk x).trans (hg (k x)), ?_⟩ |
| 37 | intro x hx |
| 38 | obtain ⟨y, hy, hgy⟩ := hgc (k x) ((hk x).mp hx) |
| 39 | obtain ⟨z, hz, hkz⟩ := hkc x hx |
| 40 | refine ⟨y + z, Λ.add_mem hy hz, ?_⟩ |
| 41 | change g (k x) - x = N • (y + z) |
| 42 | rw [smul_add, ← hgy, ← hkz] |
| 43 | abel |
| 44 | inv_mem' := by |
| 45 | rintro g ⟨hg, hgc⟩ |
| 46 | have hi (x : V) : x ∈ Λ ↔ g.symm x ∈ Λ := by |
| 47 | simpa only [LinearEquiv.apply_symm_apply] using (hg (g.symm x)).symm |
| 48 | refine ⟨hi, ?_⟩ |
| 49 | intro x hx |
| 50 | obtain ⟨y, hy, hgy⟩ := hgc (g.symm x) ((hi x).mp hx) |
| 51 | refine ⟨-y, Λ.neg_mem hy, ?_⟩ |
| 52 | change g.symm x - x = N • -y |
| 53 | rw [smul_neg, ← hgy, LinearEquiv.apply_symm_apply] |
| 54 | abel |
| 55 | |
| 56 | variable {E : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 57 | [NumberField.IsCMField E] |
| 58 | |
| 59 | def principalSpecialUnitary (b : E) (Λ : Submodule ℤ (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E)) (N : ℕ) : |
| 60 | Subgroup (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E ≃ₗ[E] NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) := |
| 61 | principalLatticeSubgroup Λ.toAddSubgroup N ⊓ specialUnitarySubgroup (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian b) |
| 62 | |
| 63 | omit [Algebra ℚ E] in |
| 64 | theorem mem_principalSpecialUnitary (b : E) (Λ : Submodule ℤ (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E)) (N : ℕ) |
| 65 | (g : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E ≃ₗ[E] NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 66 | g ∈ principalSpecialUnitary b Λ N ↔ |
| 67 | NumberTheory.ArithmeticGroups.Data.CongruenceLevel.PrincipalLevel b Λ N g ∧ LinearMap.det g.toLinearMap = 1 := by |
| 68 | change ((_ ∧ _) ∧ _ ∧ LinearEquiv.det g = 1) ↔ _ |
| 69 | have hd : LinearEquiv.det g = 1 ↔ LinearMap.det g.toLinearMap = 1 := by |
| 70 | rw [← Units.val_inj] |
| 71 | simp only [LinearEquiv.coe_det, Units.val_one] |
| 72 | rw [hd] |
| 73 | simp only [NumberTheory.ArithmeticGroups.Data.CongruenceLevel.PrincipalLevel, natCast_zsmul] |
| 74 | tauto |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Groups |