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.DenseRationalLatticeReflections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.MatrixFormScaling |
| 3 | |
| 4 | /-! # Rational Reflection Norm Level -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RationalReflectionNormLevel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The rational lattice-reflection construction applies to vectors |
| 11 | with any common nonzero norm coming from the original field. In |
| 12 | particular, it applies directly to the native ball lifts of norm μ(b). |
| 13 | -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | variable {E : Type*} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 19 | |
| 20 | theorem exists_rational_lattice_reflections_at_common_norm |
| 21 | (μ : E →+* ℂ) (H : Matrix (Fin 3) (Fin 3) E) |
| 22 | (hHerm : ∀ i j, H i j = NumberField.IsCMField.complexConj E (H j i)) |
| 23 | (w : Fin 3 → E) |
| 24 | (hw : MatrixReflectionEmbedding.matrixReflectionForm (NumberField.IsCMField.complexConj E).toRingHom H w w ≠ 0) |
| 25 | (Λ : Submodule ℤ (Fin 3 → E)) (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice Λ) |
| 26 | (N : ℕ) (hN : 0 < N) (q : E) (hq : q ≠ 0) |
| 27 | (hqσ : NumberField.IsCMField.complexConj E q = q) |
| 28 | (x y : Fin 3 → ℂ) |
| 29 | (hx : MatrixReflectionEmbedding.matrixReflectionForm (starRingEnd ℂ) (H.map μ) x x = μ q) |
| 30 | (hy : MatrixReflectionEmbedding.matrixReflectionForm (starRingEnd ℂ) (H.map μ) y y = μ q) |
| 31 | (U : Set (Fin 3 → ℂ)) (hU : IsOpen U) |
| 32 | (hyU : ∀ u : ℂ, ‖u‖ = 1 → u • y ∈ U) : |
| 33 | ∃ g : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E), |
| 34 | ((LinearMap.toMatrix' g.toLinearMap).map μ).mulVec x ∈ U ∧ |
| 35 | (∀ a d, MatrixReflectionEmbedding.matrixReflectionForm (NumberField.IsCMField.complexConj E).toRingHom H |
| 36 | (g a) (g d) = |
| 37 | MatrixReflectionEmbedding.matrixReflectionForm (NumberField.IsCMField.complexConj E).toRingHom H a d) ∧ |
| 38 | LinearMap.det g.toLinearMap = 1 ∧ |
| 39 | LatticeReflectionCongruence.ClearedPrincipalLatticeCongruence Λ N g := by |
| 40 | let σ := (NumberField.IsCMField.complexConj E).toRingHom |
| 41 | let a : E := -q⁻¹ |
| 42 | have ha : a ≠ 0 := neg_ne_zero.mpr (inv_ne_zero hq) |
| 43 | have haσ : σ a = a := by |
| 44 | change σ (-q⁻¹) = -q⁻¹ |
| 45 | rw [map_neg, map_inv₀] |
| 46 | exact congrArg (fun z : E => -z⁻¹) hqσ |
| 47 | let H' : Matrix (Fin 3) (Fin 3) E := a • H |
| 48 | have hHerm' : ∀ i j, H' i j = σ (H' j i) := by |
| 49 | intro i j |
| 50 | change a * H i j = σ (a * H j i) |
| 51 | rw [map_mul, haσ] |
| 52 | exact congrArg (fun z : E => a * z) (hHerm i j) |
| 53 | have hw' : MatrixReflectionEmbedding.matrixReflectionForm σ H' w w ≠ 0 := by |
| 54 | rw [show H' = a • H from rfl, MatrixFormScaling.matrixReflectionForm_smul] |
| 55 | exact ReflectionScaling.hermitian_norm_form_smul_ne_zero σ (MatrixReflectionEmbedding.matrixReflectionForm σ H) a ha w hw |
| 56 | have haq : μ a * μ q = -1 := by |
| 57 | have hμq : μ q ≠ 0 := (map_ne_zero μ).mpr hq |
| 58 | simp [a, map_neg, map_inv₀, hμq] |
| 59 | have hx' : MatrixReflectionEmbedding.matrixReflectionForm (starRingEnd ℂ) (H'.map μ) x x = -1 := by |
| 60 | rw [show H' = a • H from rfl, MatrixFormScaling.matrixReflectionForm_map_smul] |
| 61 | change μ a * MatrixReflectionEmbedding.matrixReflectionForm (starRingEnd ℂ) (H.map μ) x x = -1 |
| 62 | rw [hx, haq] |
| 63 | have hy' : MatrixReflectionEmbedding.matrixReflectionForm (starRingEnd ℂ) (H'.map μ) y y = -1 := by |
| 64 | rw [show H' = a • H from rfl, MatrixFormScaling.matrixReflectionForm_map_smul] |
| 65 | change μ a * MatrixReflectionEmbedding.matrixReflectionForm (starRingEnd ℂ) (H.map μ) y y = -1 |
| 66 | rw [hy, haq] |
| 67 | obtain ⟨g, hg, hpres, hdet, hcongr⟩ := DenseRationalLatticeReflections.exists_rational_lattice_reflections_in_orbit_neighborhood |
| 68 | μ H' hHerm' w hw' Λ hΛ N hN x y hx' hy' U hU hyU |
| 69 | refine ⟨g, hg, ?_, hdet, hcongr⟩ |
| 70 | intro v t |
| 71 | apply mul_left_cancel₀ ha |
| 72 | have h := hpres v t |
| 73 | rw [show H' = a • H from rfl, MatrixFormScaling.matrixReflectionForm_smul] at h |
| 74 | exact h |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RationalReflectionNormLevel |