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.Groups |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Congruence |
| 3 | |
| 4 | /-! # Lattice Torsion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Principal.LatticeTorsion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Congruence to the identity at level at least three excludes torsion |
| 11 | on any finitely generated lattice spanning a characteristic-zero vector |
| 12 | space. No preserved form is needed. -/ |
| 13 | |
| 14 | theorem principalLattice_torsion_free |
| 15 | {R V : Type*} [Field R] [CharZero R] [AddCommGroup V] [Module R V] |
| 16 | (Λ : Submodule ℤ V) (hfg : Λ.FG) (hspan : Submodule.span R (Λ : Set V) = ⊤) |
| 17 | (N : ℕ) (hN : 3 ≤ N) (g : V ≃ₗ[R] V) |
| 18 | (hg : g ∈ Groups.principalLatticeSubgroup (R := R) Λ.toAddSubgroup N) |
| 19 | (k : ℕ) (hk : 0 < k) (hpow : g ^ k = 1) : g = 1 := by |
| 20 | let : Module.IsTorsionFree ℤ V := Module.IsTorsionFree.trans R |
| 21 | let : Module.Finite ℤ Λ := Module.Finite.of_fg hfg |
| 22 | let f : Module.End ℤ Λ := (g.toLinearMap.restrictScalars ℤ).restrict |
| 23 | (fun x hx => (hg.1 x).mp hx) |
| 24 | have hp (n : ℕ) (x : Λ) : ((f ^ n) x : V) = (g ^ n) (x : V) := by |
| 25 | induction n with |
| 26 | | zero => rfl |
| 27 | | succ n ih => |
| 28 | simp only [pow_succ', Module.End.mul_apply, LinearEquiv.mul_apply] |
| 29 | exact congrArg g ih |
| 30 | have hf : f = 1 := by |
| 31 | apply NumberTheory.ArithmeticGroups.Congruence.Level.finite_lattice_congruence_torsion f N hN (k := k) (hk := hk) |
| 32 | · intro x |
| 33 | obtain ⟨y, hy, hxy⟩ := hg.2 x x.property |
| 34 | exact ⟨⟨y, hy⟩, Subtype.ext hxy⟩ |
| 35 | · apply LinearMap.ext |
| 36 | intro x |
| 37 | apply Subtype.ext |
| 38 | rw [hp, hpow] |
| 39 | rfl |
| 40 | let D : V →ₗ[R] V := g.toLinearMap - LinearMap.id |
| 41 | have hker : Submodule.span R (Λ : Set V) ≤ D.ker := by |
| 42 | apply Submodule.span_le.mpr |
| 43 | intro x hx |
| 44 | have h := congrArg (fun y : Λ => (y : V)) (LinearMap.congr_fun hf ⟨x, hx⟩) |
| 45 | change g x = x at h |
| 46 | exact sub_eq_zero.mpr h |
| 47 | rw [hspan] at hker |
| 48 | apply LinearEquiv.ext |
| 49 | intro x |
| 50 | exact sub_eq_zero.mp (hker (Submodule.mem_top : x ∈ (⊤ : Submodule R V))) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Principal.LatticeTorsion |