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.ArithmeticReflectionApproximation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CMIntegralDenseCoefficients |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticeReflectionCongruence |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.MatrixFormScaling |
| 5 | |
| 6 | /-! # Dense Rational Lattice Reflections -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DenseRationalLatticeReflections |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Rational Hermitian reflection products satisfying the original |
| 13 | lattice congruences approximate the actual complex negative-vector |
| 14 | orbits. The given form and fixed vector may have arbitrary number-field |
| 15 | coefficients: integral clearing and reflection equality are proved here. |
| 16 | -/ |
| 17 | |
| 18 | variable {E : Type*} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 19 | |
| 20 | theorem exists_rational_lattice_reflections_in_orbit_neighborhood |
| 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) (x y : Fin 3 → ℂ) |
| 27 | (hx : MatrixReflectionEmbedding.matrixReflectionForm (starRingEnd ℂ) (H.map μ) x x = -1) |
| 28 | (hy : MatrixReflectionEmbedding.matrixReflectionForm (starRingEnd ℂ) (H.map μ) y y = -1) |
| 29 | (U : Set (Fin 3 → ℂ)) (hU : IsOpen U) |
| 30 | (hyU : ∀ u : ℂ, ‖u‖ = 1 → u • y ∈ U) : |
| 31 | ∃ g : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E), |
| 32 | ((LinearMap.toMatrix' g.toLinearMap).map μ).mulVec x ∈ U ∧ |
| 33 | (∀ a d, MatrixReflectionEmbedding.matrixReflectionForm (NumberField.IsCMField.complexConj E).toRingHom H |
| 34 | (g a) (g d) = |
| 35 | MatrixReflectionEmbedding.matrixReflectionForm (NumberField.IsCMField.complexConj E).toRingHom H a d) ∧ |
| 36 | LinearMap.det g.toLinearMap = 1 ∧ |
| 37 | LatticeReflectionCongruence.ClearedPrincipalLatticeCongruence Λ N g := by |
| 38 | let σ := (NumberField.IsCMField.complexConj E).toRingHom |
| 39 | let B := MatrixReflectionEmbedding.matrixReflectionForm σ H |
| 40 | have hσ : Function.Involutive σ := NumberField.IsCMField.complexConj_apply_apply E |
| 41 | have hμ : ∀ a, μ (σ a) = star (μ a) := |
| 42 | NumberField.IsCMField.complexEmbedding_complexConj E μ |
| 43 | obtain ⟨d, hd, H₀, w₀, hH₀, hw₀⟩ := Integral.CoefficientClearing.matrix_and_vector_positive_integer_multiple E H w |
| 44 | have hdE : (d : E) ≠ 0 := Int.cast_ne_zero.mpr (ne_of_gt hd) |
| 45 | let w₁ := fun i => (w₀ i : E) |
| 46 | have hw₁ : w₁ = (d : E) • w := by |
| 47 | ext i |
| 48 | exact hw₀ i |
| 49 | have hB₀ : IntegralHermitianCoefficients.integralMatrixReflectionForm E H₀ = (d : E) • B := |
| 50 | MatrixFormScaling.integral_matrix_pairing_eq_scalar_multiple σ d H H₀ hH₀ |
| 51 | have hHerm₀ : ∀ i j, (H₀ i j : E) = σ (H₀ j i : E) := |
| 52 | MatrixFormScaling.integral_matrix_clearing_preserves_hermitian σ d H hHerm H₀ hH₀ |
| 53 | have hw₁B : B w₁ w₁ ≠ 0 := by |
| 54 | rw [hw₁] |
| 55 | exact ReflectionScaling.hermitian_norm_vector_smul_ne_zero σ B (d : E) hdE w hw |
| 56 | have hw₁B₀ : IntegralHermitianCoefficients.integralMatrixReflectionForm E H₀ w₁ w₁ ≠ 0 := by |
| 57 | rw [hB₀] |
| 58 | exact ReflectionScaling.hermitian_norm_form_smul_ne_zero σ B (d : E) hdE w₁ hw₁B |
| 59 | obtain ⟨ℓ, hℓ, _, hdepth⟩ := LatticeReflectionCongruence.exists_integral_reflection_lattice_depth Λ hΛ N hN |
| 60 | obtain ⟨z, hz⟩ := CMIntegralDenseCoefficients.exists_integral_nonreal_coefficient μ |
| 61 | let m : E := (ℓ : E) * (IntegralHermitianCoefficients.integralMatrixReflectionForm E H₀ w₁ w₁) ^ 2 |
| 62 | have hm : m ≠ 0 := mul_ne_zero (Nat.cast_ne_zero.mpr hℓ.ne') (pow_ne_zero 2 hw₁B₀) |
| 63 | obtain ⟨v, hv, ⟨c, hc, rfl⟩, hhit, hpres, hdet⟩ := |
| 64 | ArithmeticReflectionApproximation.exists_localized_two_reflections_in_orbit_neighborhood σ hσ μ hμ H hHerm |
| 65 | (ℓ + 1) (Nat.succ_le_succ hℓ) (z : E) hz w₁ hw₁B m hm x y hx hy U hU hyU |
| 66 | let v := fun i => w₁ i + m * c i |
| 67 | have hv₀ : IntegralHermitianCoefficients.integralMatrixReflectionForm E H₀ v v ≠ 0 := by |
| 68 | rw [hB₀] |
| 69 | exact ReflectionScaling.hermitian_norm_form_smul_ne_zero σ B (d : E) hdE v hv |
| 70 | let g := ReflectionDeterminant.twoHermitianReflections σ B v w₁ hv hw₁B |
| 71 | have hg : ReflectionDeterminant.twoHermitianReflections σ (IntegralHermitianCoefficients.integralMatrixReflectionForm E H₀) |
| 72 | v w₁ hv₀ hw₁B₀ = g := by |
| 73 | dsimp only [g] |
| 74 | simpa only [hB₀] using |
| 75 | (ReflectionScaling.twoHermitianReflections_form_smul σ B (d : E) hdE v w₁ hv hw₁B) |
| 76 | refine ⟨g, hhit, hpres, hdet, ?_⟩ |
| 77 | rw [← hg] |
| 78 | exact hdepth H₀ hHerm₀ w₀ z c hc hw₁B₀ hv₀ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DenseRationalLatticeReflections |