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.NumberTheory.ArithmeticGroups.Lattices.QuadraticValue |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Archimedean.Quotient |
| 3 | |
| 4 | /-! # Quadratic Invariant -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.QuadraticInvariant.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Fieldwise invariance of a bilinear form gives an invariant |
| 11 | mixed-space quadratic value for the real Minkowski representation. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Matrix _root_.NumberField _root_.NumberField.mixedEmbedding |
| 15 | |
| 16 | def mixedCompletionEvaluation {k : Type} [Field k] (v : InfinitePlace k) : |
| 17 | mixedSpace k →+* v.Completion := |
| 18 | (Pi.evalRingHom (fun w : InfinitePlace k => w.Completion) v).comp |
| 19 | (InfiniteAdeleRing.ringEquiv_mixedSpace k).symm.toRingHom |
| 20 | |
| 21 | theorem mixedCompletionEvaluation_embedding {k : Type} [Field k] |
| 22 | (v : InfinitePlace k) (a : k) : |
| 23 | mixedCompletionEvaluation v (mixedEmbedding k a) = algebraMap k v.Completion a := by |
| 24 | rw [InfiniteAdeleRing.mixedEmbedding_eq_algebraMap_comp] |
| 25 | change (InfiniteAdeleRing.ringEquiv_mixedSpace k).symm |
| 26 | (InfiniteAdeleRing.ringEquiv_mixedSpace k (algebraMap k (InfiniteAdeleRing k) a)) v = _ |
| 27 | rw [RingEquiv.symm_apply_apply] |
| 28 | rfl |
| 29 | |
| 30 | theorem mixedCompletionEvaluation_matrix {k : Type} [Field k] {n : ℕ} |
| 31 | (v : InfinitePlace k) (g : Archimedean.ExteriorAction.Construction.FullArchimedeanSL k n) : |
| 32 | (mixedCompletionEvaluation v).mapMatrix |
| 33 | (Archimedean.Quotient.Construction.archimedeanMixedSL k n g : Matrix (Fin n) (Fin n) (mixedSpace k)) = |
| 34 | (g v : Matrix (Fin n) (Fin n) v.Completion) := by |
| 35 | ext i j : 1 |
| 36 | change (InfiniteAdeleRing.ringEquiv_mixedSpace k).symm |
| 37 | (InfiniteAdeleRing.ringEquiv_mixedSpace k (fun w => g w i j)) v = g v i j |
| 38 | exact congrFun ((InfiniteAdeleRing.ringEquiv_mixedSpace k).symm_apply_apply |
| 39 | (show InfiniteAdeleRing k from fun w => g w i j)) v |
| 40 | |
| 41 | theorem archimedean_mixed_congruence_invariant |
| 42 | {k : Type} [Field k] {n : ℕ} (g : Archimedean.ExteriorAction.Construction.FullArchimedeanSL k n) |
| 43 | (Q : Matrix (Fin n) (Fin n) k) |
| 44 | (hQ : ∀ v : InfinitePlace k, |
| 45 | (g v : Matrix (Fin n) (Fin n) v.Completion).transpose * Q.map (algebraMap k v.Completion) * |
| 46 | (g v : Matrix (Fin n) (Fin n) v.Completion) = Q.map (algebraMap k v.Completion)) : |
| 47 | (Archimedean.Quotient.Construction.archimedeanMixedSL k n g : Matrix (Fin n) (Fin n) (mixedSpace k)).transpose * |
| 48 | Q.map (mixedEmbedding k) * (Archimedean.Quotient.Construction.archimedeanMixedSL k n g : Matrix (Fin n) (Fin n) (mixedSpace k)) = |
| 49 | Q.map (mixedEmbedding k) := by |
| 50 | ext i j : 1 |
| 51 | apply (InfiniteAdeleRing.ringEquiv_mixedSpace k).symm.injective |
| 52 | funext v |
| 53 | let ev := mixedCompletionEvaluation v |
| 54 | have heQ : ev.mapMatrix (Q.map (mixedEmbedding k)) = Q.map (algebraMap k v.Completion) := by |
| 55 | ext a b : 1 |
| 56 | exact mixedCompletionEvaluation_embedding v (Q a b) |
| 57 | have heB := mixedCompletionEvaluation_matrix v g |
| 58 | have heT : ev.mapMatrix |
| 59 | (Archimedean.Quotient.Construction.archimedeanMixedSL k n g : Matrix (Fin n) (Fin n) (mixedSpace k)).transpose = |
| 60 | (g v : Matrix (Fin n) (Fin n) v.Completion).transpose := |
| 61 | congrArg Matrix.transpose heB |
| 62 | have he := hQ v |
| 63 | rw [← heQ, ← heT, ← heB, ← map_mul, ← map_mul] at he |
| 64 | exact congrArg (fun M => M i j) he |
| 65 | |
| 66 | theorem minkowski_quadraticValue_invariant |
| 67 | {k : Type} [Field k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) |
| 68 | (Q : Matrix (Fin n) (Fin n) k) |
| 69 | (hQ : ∀ (K : Type) [Field K] (v : k →+* K) (g : G.Points v), |
| 70 | (g.val : Matrix (Fin n) (Fin n) K).transpose * Q.map v * |
| 71 | (g.val : Matrix (Fin n) (Fin n) K) = Q.map v) |
| 72 | (g : G.ArchimedeanProduct Set.univ) (x : Fin n → mixedSpace k) : |
| 73 | QuadraticValue.Construction.quadraticValue (Q.map (mixedEmbedding k)) |
| 74 | (Archimedean.Quotient.Construction.archimedeanRealRepresentation k n (Archimedean.Quotient.Construction.fullArchimedeanPointsEquiv G g).val x) = |
| 75 | QuadraticValue.Construction.quadraticValue (Q.map (mixedEmbedding k)) x := by |
| 76 | change QuadraticValue.Construction.quadraticValue (Q.map (mixedEmbedding k)) |
| 77 | ((Archimedean.Quotient.Construction.archimedeanMixedSL k n (Archimedean.Quotient.Construction.fullArchimedeanPointsEquiv G g).val : |
| 78 | Matrix (Fin n) (Fin n) (mixedSpace k)).mulVec x) = _ |
| 79 | rw [QuadraticValue.Construction.quadraticValue_congruence] |
| 80 | congr 1 |
| 81 | apply archimedean_mixed_congruence_invariant |
| 82 | intro v |
| 83 | exact hQ v.Completion (algebraMap k v.Completion) (g ⟨v, Set.mem_univ v⟩) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.QuadraticInvariant.Construction |