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.MatrixReflectionEmbedding |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.ReflectionCoefficients |
| 3 | |
| 4 | /-! # Reflection Congruence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Local.ReflectionCongruence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual reflection-product matrices are congruent to the identity |
| 11 | over a local coefficient subring. Every coefficient of their differences |
| 12 | is constructed as a level multiple in that subring, in both product orders. |
| 13 | -/ |
| 14 | |
| 15 | variable {K : Type*} [Field K] |
| 16 | |
| 17 | theorem matrixReflectionForm_mem_subring |
| 18 | (S : Subring K) (σ : K →+* K) (H : Matrix (Fin 3) (Fin 3) K) |
| 19 | (hH : ∀ i j, H i j ∈ S) (x y : Fin 3 → K) |
| 20 | (hx : ∀ i, x i ∈ S) (hy : ∀ i, σ (y i) ∈ S) : |
| 21 | MatrixReflectionEmbedding.matrixReflectionForm σ H x y ∈ S := by |
| 22 | rw [MatrixReflectionEmbedding.matrixReflectionForm_apply] |
| 23 | apply S.sum_mem |
| 24 | intro i _ |
| 25 | apply S.sum_mem |
| 26 | intro j _ |
| 27 | exact S.mul_mem (S.mul_mem (hx i) (hH i j)) (hy j) |
| 28 | |
| 29 | theorem twoMatrixReflections_local_congruence |
| 30 | (S : Subring K) [IsLocalRing S] |
| 31 | (σ : K →+* K) (hσ : Function.Involutive σ) |
| 32 | (H : Matrix (Fin 3) (Fin 3) K) (hHerm : ∀ i j, H i j = σ (H j i)) |
| 33 | (hH : ∀ i j, H i j ∈ S) |
| 34 | (ℓ : S) (hℓ : ℓ ∈ IsLocalRing.maximalIdeal S) (hℓσ : σ (ℓ : K) = (ℓ : K)) |
| 35 | (w c : Fin 3 → K) |
| 36 | (hwS : ∀ i, w i ∈ S) (hwσS : ∀ i, σ (w i) ∈ S) |
| 37 | (hcS : ∀ i, c i ∈ S) (hcσS : ∀ i, σ (c i) ∈ S) |
| 38 | (hw : MatrixReflectionEmbedding.matrixReflectionForm σ H w w ≠ 0) |
| 39 | (hv : MatrixReflectionEmbedding.matrixReflectionForm σ H |
| 40 | (w + ((ℓ : K) * (MatrixReflectionEmbedding.matrixReflectionForm σ H w w) ^ 2) • c) |
| 41 | (w + ((ℓ : K) * (MatrixReflectionEmbedding.matrixReflectionForm σ H w w) ^ 2) • c) ≠ 0) : |
| 42 | let B := MatrixReflectionEmbedding.matrixReflectionForm σ H |
| 43 | let v := w + ((ℓ : K) * (B w w) ^ 2) • c |
| 44 | ∀ i j : Fin 3, ∃ a b : S, |
| 45 | LinearMap.toMatrix' (ReflectionDeterminant.twoHermitianReflections σ B v w hv hw).toLinearMap i j - |
| 46 | (1 : Matrix (Fin 3) (Fin 3) K) i j = (ℓ : K) * (a : K) ∧ |
| 47 | LinearMap.toMatrix' (ReflectionDeterminant.twoHermitianReflections σ B w v hw hv).toLinearMap i j - |
| 48 | (1 : Matrix (Fin 3) (Fin 3) K) i j = (ℓ : K) * (b : K) := by |
| 49 | classical |
| 50 | dsimp only |
| 51 | let B := MatrixReflectionEmbedding.matrixReflectionForm σ H |
| 52 | let q : S := ⟨B w w, matrixReflectionForm_mem_subring S σ H hH w w hwS hwσS⟩ |
| 53 | let s : S := ⟨B w c, matrixReflectionForm_mem_subring S σ H hH w c hwS hcσS⟩ |
| 54 | let t : S := ⟨B c w, matrixReflectionForm_mem_subring S σ H hH c w hcS hwσS⟩ |
| 55 | let r : S := ⟨B c c, matrixReflectionForm_mem_subring S σ H hH c c hcS hcσS⟩ |
| 56 | intro i j |
| 57 | have heS : ∀ k : Fin 3, (Pi.single j (1 : K) : Fin 3 → K) k ∈ S := by |
| 58 | intro k |
| 59 | by_cases h : k = j <;> simp [h] |
| 60 | let p : S := ⟨B (Pi.single j 1) w, |
| 61 | matrixReflectionForm_mem_subring S σ H hH _ w heS hwσS⟩ |
| 62 | let d : S := ⟨B (Pi.single j 1) c, |
| 63 | matrixReflectionForm_mem_subring S σ H hH _ c heS hcσS⟩ |
| 64 | let a₀ : S := ⟨w i, hwS i⟩ |
| 65 | let c₀ : S := ⟨c i, hcS i⟩ |
| 66 | let F : S := ReflectionCongruenceCoefficients.forwardReflectionDifferencePolynomial q (ℓ * q ^ 2) a₀ c₀ p d s t r |
| 67 | let G : S := ReflectionCongruenceCoefficients.reverseReflectionDifferencePolynomial q (ℓ * q ^ 2) a₀ c₀ p d s t r |
| 68 | obtain ⟨a, ha⟩ := ReflectionCongruenceCoefficients.local_reflection_norm_division_is_level_multiple S.subtype ℓ q s t r F hℓ |
| 69 | obtain ⟨b, hb⟩ := ReflectionCongruenceCoefficients.local_reflection_norm_division_is_level_multiple S.subtype ℓ q s t r G hℓ |
| 70 | refine ⟨a, b, ?_, ?_⟩ |
| 71 | · exact (Hermitian.ReflectionCoefficients.twoHermitianReflections_level_coefficient σ B |
| 72 | (MatrixReflectionEmbedding.matrixReflectionForm_symmetry σ hσ H hHerm) (ℓ : K) hℓσ w c hw hv i j).trans ha |
| 73 | · exact (Hermitian.ReflectionCoefficients.reverseTwoHermitianReflections_level_coefficient σ B |
| 74 | (MatrixReflectionEmbedding.matrixReflectionForm_symmetry σ hσ H hHerm) (ℓ : K) hℓσ w c hw hv i j).trans hb |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Local.ReflectionCongruence |