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.LinearAlgebra.BilinearForm.Basic |
| 2 | import Mathlib.Tactic.Abel |
| 3 | import Mathlib.Tactic.Ring |
| 4 | |
| 5 | /-! # Linear Reflection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LinearReflection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The rank-one reflection associated to a normalized linear functional |
| 12 | is an actual linear involution. This is the linear-algebra part of the |
| 13 | Hermitian reflection construction. -/ |
| 14 | |
| 15 | variable {k V : Type*} [CommRing k] [AddCommGroup V] [Module k V] |
| 16 | |
| 17 | def linearReflectionMap (ℓ : V →ₗ[k] k) (v : V) : V →ₗ[k] V where |
| 18 | toFun x := x - (2 * ℓ x) • v |
| 19 | map_add' x y := by |
| 20 | simp only [map_add, mul_add, add_smul] |
| 21 | abel |
| 22 | map_smul' a x := by |
| 23 | simp only [map_smul, smul_eq_mul, smul_sub, smul_smul, RingHom.id_apply] |
| 24 | rw [show (2 : k) * (a * ℓ x) = a * (2 * ℓ x) by ring] |
| 25 | |
| 26 | theorem linearReflectionMap_eval (ℓ : V →ₗ[k] k) (v : V) |
| 27 | (h : ℓ v = 1) (x : V) : |
| 28 | ℓ (linearReflectionMap ℓ v x) = -ℓ x := by |
| 29 | change ℓ (x - (2 * ℓ x) • v) = -ℓ x |
| 30 | simp only [map_sub, map_smul, h, smul_eq_mul, mul_one] |
| 31 | ring |
| 32 | |
| 33 | theorem linearReflectionMap_involutive (ℓ : V →ₗ[k] k) (v : V) |
| 34 | (h : ℓ v = 1) : Function.Involutive (linearReflectionMap ℓ v) := by |
| 35 | intro x |
| 36 | change (x - (2 * ℓ x) • v) - |
| 37 | (2 * ℓ (linearReflectionMap ℓ v x)) • v = x |
| 38 | rw [linearReflectionMap_eval ℓ v h] |
| 39 | simp only [mul_neg, neg_smul, sub_neg_eq_add] |
| 40 | abel |
| 41 | |
| 42 | def linearReflectionEquiv (ℓ : V →ₗ[k] k) (v : V) |
| 43 | (h : ℓ v = 1) : V ≃ₗ[k] V := |
| 44 | LinearEquiv.ofBijective (linearReflectionMap ℓ v) |
| 45 | ⟨fun x y hxy => (linearReflectionMap_involutive ℓ v h x).symm.trans |
| 46 | ((congrArg (linearReflectionMap ℓ v) hxy).trans |
| 47 | (linearReflectionMap_involutive ℓ v h y)), |
| 48 | fun x => ⟨linearReflectionMap ℓ v x, linearReflectionMap_involutive ℓ v h x⟩⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LinearReflection |