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.LatticeCongruenceDepth |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Global.ReflectionCongruence |
| 3 | |
| 4 | /-! # Lattice Reflection Congruence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticeReflectionCongruence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The given full integral lattice admits one depth at which the |
| 11 | constructed rational reflections and their inverses have integral |
| 12 | representatives preserving the prescribed principal marking. |
| 13 | -/ |
| 14 | |
| 15 | variable {E : Type*} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 16 | |
| 17 | def ClearedPrincipalLatticeCongruence |
| 18 | (Λ : Submodule ℤ (Fin 3 → E)) (N : ℕ) |
| 19 | (g : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E)) : Prop := |
| 20 | ∃ D : ℕ, 0 < D ∧ Nat.Coprime D N ∧ (N : ℤ) ∣ (D : ℤ) - 1 ∧ |
| 21 | (∀ x ∈ Λ, ∃ y ∈ Λ, D • g x - x = N • y) ∧ |
| 22 | (∀ x ∈ Λ, ∃ y ∈ Λ, D • g.symm x - x = N • y) |
| 23 | |
| 24 | theorem exists_integral_reflection_lattice_depth |
| 25 | (Λ : Submodule ℤ (Fin 3 → E)) (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice Λ) |
| 26 | (N : ℕ) (hN : 0 < N) : |
| 27 | ∃ ℓ : ℕ, 0 < ℓ ∧ N ∣ ℓ ∧ |
| 28 | ∀ (H : Matrix (Fin 3) (Fin 3) (NumberField.RingOfIntegers E)) |
| 29 | (_hHerm : ∀ i j, (H i j : E) = NumberField.IsCMField.complexConj E (H j i : E)) |
| 30 | (w : Fin 3 → NumberField.RingOfIntegers E) |
| 31 | (z : NumberField.RingOfIntegers E) (c : Fin 3 → E) |
| 32 | (_hc : ∀ i, c i ∈ EmbeddedLocalizedVectors.localizedCoefficientRing (ℓ + 1) (z : E)) |
| 33 | (hw : IntegralHermitianCoefficients.integralMatrixReflectionForm E H (fun i => (w i : E)) (fun i => (w i : E)) ≠ 0) |
| 34 | (hv : IntegralHermitianCoefficients.integralMatrixReflectionForm E H |
| 35 | ((fun i => (w i : E)) + ((ℓ : E) * |
| 36 | (IntegralHermitianCoefficients.integralMatrixReflectionForm E H (fun i => (w i : E)) (fun i => (w i : E))) ^ 2) • c) |
| 37 | ((fun i => (w i : E)) + ((ℓ : E) * |
| 38 | (IntegralHermitianCoefficients.integralMatrixReflectionForm E H (fun i => (w i : E)) (fun i => (w i : E))) ^ 2) • c) ≠ 0), |
| 39 | ClearedPrincipalLatticeCongruence Λ N |
| 40 | (ReflectionDeterminant.twoHermitianReflections (NumberField.IsCMField.complexConj E).toRingHom |
| 41 | (IntegralHermitianCoefficients.integralMatrixReflectionForm E H) |
| 42 | ((fun i => (w i : E)) + ((ℓ : E) * |
| 43 | (IntegralHermitianCoefficients.integralMatrixReflectionForm E H (fun i => (w i : E)) (fun i => (w i : E))) ^ 2) • c) |
| 44 | (fun i => (w i : E)) hv hw) := by |
| 45 | obtain ⟨ℓ, hℓ, hNℓ, hdepth⟩ := LatticeCongruenceDepth.exists_lattice_depth_for_integral_matrix_congruence |
| 46 | Λ hΛ.2.2 hΛ.1 hΛ.2.1 N hN |
| 47 | refine ⟨ℓ, hℓ, hNℓ, ?_⟩ |
| 48 | intro H hHerm w z c hc hw hv |
| 49 | obtain ⟨D, hD, hcoprime, hcongr, F, G, hcoeff⟩ := |
| 50 | Global.ReflectionCongruence.integral_two_reflections_global_congruence E ℓ H hHerm w z c hc hw hv |
| 51 | let σ := (NumberField.IsCMField.complexConj E).toRingHom |
| 52 | let B := IntegralHermitianCoefficients.integralMatrixReflectionForm E H |
| 53 | let w₀ := fun i => (w i : E) |
| 54 | let g := ReflectionDeterminant.twoHermitianReflections σ B (w₀ + ((ℓ : E) * (B w₀ w₀) ^ 2) • c) w₀ hv hw |
| 55 | have hdivZ : (N : ℤ) ∣ (ℓ : ℤ) := by |
| 56 | obtain ⟨k, hk⟩ := hNℓ |
| 57 | refine ⟨(k : ℤ), ?_⟩ |
| 58 | simpa only [Nat.cast_mul] using congrArg (fun n : ℕ => (n : ℤ)) hk |
| 59 | have hf : ∀ x ∈ Λ, ∃ y ∈ Λ, D • (g x - x) = N • y := by |
| 60 | intro x hx |
| 61 | simpa only [Nat.cast_smul_eq_nsmul, LinearEquiv.coe_coe] using |
| 62 | hdepth D g.toLinearMap F (fun i j => (hcoeff i j).1) x hx |
| 63 | have hi : ∀ x ∈ Λ, ∃ y ∈ Λ, D • (g.symm x - x) = N • y := by |
| 64 | intro x hx |
| 65 | simpa only [Nat.cast_smul_eq_nsmul, LinearEquiv.coe_coe] using |
| 66 | hdepth D g.symm.toLinearMap G (fun i j => (hcoeff i j).2) x hx |
| 67 | refine ⟨D, hD, Nat.Coprime.of_dvd_right hNℓ hcoprime, hdivZ.trans hcongr, ?_, ?_⟩ |
| 68 | · exact MatrixToLatticeCongruence.integer_multiple_congruent_one_on_lattice Λ D N (hdivZ.trans hcongr) g hf |
| 69 | · exact MatrixToLatticeCongruence.integer_multiple_congruent_one_on_lattice Λ D N (hdivZ.trans hcongr) g.symm hi |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticeReflectionCongruence |