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.ReflectionDeterminant |
| 2 | |
| 3 | /-! # Reflection Scaling -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReflectionScaling |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Clearing denominators in a Hermitian form or a reflection vector |
| 10 | does not change the actual reflection. These equalities concern the |
| 11 | constructed linear equivalences, including their action on every vector. |
| 12 | -/ |
| 13 | |
| 14 | variable {k V : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 15 | (σ : k →+* k) (B : V →ₗ[k] V →ₛₗ[σ] k) |
| 16 | |
| 17 | theorem hermitian_norm_form_smul_ne_zero (a : k) (ha : a ≠ 0) |
| 18 | (v : V) (hv : B v v ≠ 0) : (a • B) v v ≠ 0 := by |
| 19 | change a * B v v ≠ 0 |
| 20 | exact mul_ne_zero ha hv |
| 21 | |
| 22 | theorem hermitianReflection_form_smul (a : k) (ha : a ≠ 0) |
| 23 | (v : V) (hv : B v v ≠ 0) : |
| 24 | Hermitian.Reflection.hermitianReflection σ (a • B) v (hermitian_norm_form_smul_ne_zero σ B a ha v hv) = |
| 25 | Hermitian.Reflection.hermitianReflection σ B v hv := by |
| 26 | ext x |
| 27 | change x - (2 * ((a * B x v) / (a * B v v))) • v = |
| 28 | x - (2 * (B x v / B v v)) • v |
| 29 | rw [mul_div_mul_left _ _ ha] |
| 30 | |
| 31 | theorem hermitian_norm_vector_smul (a : k) (v : V) : |
| 32 | B (a • v) (a • v) = a * σ a * B v v := by |
| 33 | rw [B.map_smul a v, LinearMap.smul_apply, (B v).map_smulₛₗ a v] |
| 34 | simp only [smul_eq_mul] |
| 35 | ring |
| 36 | |
| 37 | theorem hermitian_norm_vector_smul_ne_zero (a : k) (ha : a ≠ 0) |
| 38 | (v : V) (hv : B v v ≠ 0) : B (a • v) (a • v) ≠ 0 := by |
| 39 | rw [hermitian_norm_vector_smul σ B] |
| 40 | exact mul_ne_zero (mul_ne_zero ha ((map_ne_zero σ).mpr ha)) hv |
| 41 | |
| 42 | theorem hermitianReflection_vector_smul (a : k) (ha : a ≠ 0) |
| 43 | (v : V) (hv : B v v ≠ 0) : |
| 44 | Hermitian.Reflection.hermitianReflection σ B (a • v) (hermitian_norm_vector_smul_ne_zero σ B a ha v hv) = |
| 45 | Hermitian.Reflection.hermitianReflection σ B v hv := by |
| 46 | ext x |
| 47 | change x - (2 * (B x (a • v) / B (a • v) (a • v))) • (a • v) = |
| 48 | x - (2 * (B x v / B v v)) • v |
| 49 | rw [(B x).map_smulₛₗ, hermitian_norm_vector_smul σ B, smul_smul] |
| 50 | change x - ((2 * ((σ a * B x v) / (a * σ a * B v v))) * a) • v = _ |
| 51 | have hσa : σ a ≠ 0 := (map_ne_zero σ).mpr ha |
| 52 | have hscalar : (2 * ((σ a * B x v) / (a * σ a * B v v))) * a = |
| 53 | 2 * (B x v / B v v) := by |
| 54 | field_simp [ha, hσa, hv] |
| 55 | rw [hscalar] |
| 56 | |
| 57 | theorem twoHermitianReflections_form_smul |
| 58 | (B₃ : (Fin 3 → k) →ₗ[k] (Fin 3 → k) →ₛₗ[σ] k) |
| 59 | (a : k) (ha : a ≠ 0) (v w : Fin 3 → k) |
| 60 | (hv : B₃ v v ≠ 0) (hw : B₃ w w ≠ 0) : |
| 61 | ReflectionDeterminant.twoHermitianReflections σ (a • B₃) v w |
| 62 | (hermitian_norm_form_smul_ne_zero σ B₃ a ha v hv) |
| 63 | (hermitian_norm_form_smul_ne_zero σ B₃ a ha w hw) = |
| 64 | ReflectionDeterminant.twoHermitianReflections σ B₃ v w hv hw := by |
| 65 | unfold ReflectionDeterminant.twoHermitianReflections |
| 66 | rw [hermitianReflection_form_smul σ B₃ a ha w hw, |
| 67 | hermitianReflection_form_smul σ B₃ a ha v hv] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReflectionScaling |