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.Geometry.ComplexBall.ArithmeticQuotientSplitUnitary |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattice |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.IntegralLattice |
| 4 | |
| 5 | /-! # Integral Lattice -/ |
| 6 | |
| 7 | namespace OAI.Geometry.ComplexBall.IntegralLattice.ArithmeticQuotient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The full integral lattice O_E^3 in the six-dimensional F=E⁺ coordinates. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open OAI.Geometry.ComplexBall.ArithmeticQuotientEquationsData _root_.NumberField |
| 17 | |
| 18 | variable {E : Type} [Field E] [NumberField E] [IsCMField E] |
| 19 | |
| 20 | def cmCoordinates (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) : |
| 21 | ArithmeticQuotientEquationsData.Vec E ≃ₗ[ArithmeticQuotientEquationsData.RealField E] (Fin 6 → ArithmeticQuotientEquationsData.RealField E) := |
| 22 | (LinearEquiv.piCongrRight (fun _ : Fin 3 => |
| 23 | (ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm.toLinearEquiv)).trans |
| 24 | (ArithmeticQuotientEquationsData.quadraticCoordinates (ArithmeticQuotientEquationsData.imaginarySquare δ hδ)) |
| 25 | |
| 26 | def integralVectorModule : Submodule (𝓞 (ArithmeticQuotientEquationsData.RealField E)) (ArithmeticQuotientEquationsData.Vec E) where |
| 27 | carrier := NumberTheory.ArithmeticGroups.Lattice.CongruenceLevel.standardLattice (E := E) |
| 28 | zero_mem' := Submodule.zero_mem _ |
| 29 | add_mem' := Submodule.add_mem _ |
| 30 | smul_mem' := by |
| 31 | intro a x hx |
| 32 | apply (NumberTheory.ArithmeticGroups.Lattice.CongruenceLevel.mem_standardLattice _).mpr |
| 33 | intro i |
| 34 | change IsIntegral ℤ (algebraMap (𝓞 (ArithmeticQuotientEquationsData.RealField E)) E a * x i) |
| 35 | apply IsIntegral.mul _ ((NumberTheory.ArithmeticGroups.Lattice.CongruenceLevel.mem_standardLattice _).mp hx i) |
| 36 | exact map_isIntegral_int (algebraMap (ArithmeticQuotientEquationsData.RealField E) E) a.property |
| 37 | |
| 38 | omit [IsCMField E] in |
| 39 | lemma integralVectorModule_finite : (integralVectorModule (E := E)).FG := by |
| 40 | apply Submodule.FG.of_restrictScalars ℤ |
| 41 | exact (NumberTheory.ArithmeticGroups.Lattice.CongruenceLevel.standardLattice_full_stable (E := E)).1 |
| 42 | |
| 43 | omit [IsCMField E] in |
| 44 | lemma integralVectorModule_full : |
| 45 | Submodule.span (ArithmeticQuotientEquationsData.RealField E) (integralVectorModule (E := E) : Set (ArithmeticQuotientEquationsData.Vec E)) = ⊤ := by |
| 46 | have hs := (NumberTheory.ArithmeticGroups.Lattice.CongruenceLevel.standardLattice_full_stable (E := E)).2.1 |
| 47 | have he : Submodule.span ℚ (integralVectorModule (E := E) : Set (ArithmeticQuotientEquationsData.Vec E)) = ⊤ := hs |
| 48 | have hle : Submodule.span ℚ (integralVectorModule (E := E) : Set (ArithmeticQuotientEquationsData.Vec E)) ≤ |
| 49 | (Submodule.span (ArithmeticQuotientEquationsData.RealField E) (integralVectorModule (E := E) : Set (ArithmeticQuotientEquationsData.Vec E))).restrictScalars ℚ := |
| 50 | Submodule.span_le.mpr (fun _ hx => Submodule.subset_span hx) |
| 51 | rw [he] at hle |
| 52 | exact top_unique hle |
| 53 | |
| 54 | def cmIntegralLatticeModule (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) : |
| 55 | Submodule (𝓞 (ArithmeticQuotientEquationsData.RealField E)) (Fin 6 → ArithmeticQuotientEquationsData.RealField E) := |
| 56 | (integralVectorModule (E := E)).map |
| 57 | ((cmCoordinates δ hδ hδ0).toLinearMap.restrictScalars (𝓞 (ArithmeticQuotientEquationsData.RealField E))) |
| 58 | |
| 59 | lemma cmIntegralLatticeModule_full (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) : |
| 60 | Submodule.span (ArithmeticQuotientEquationsData.RealField E) (cmIntegralLatticeModule δ hδ hδ0 : Set (Fin 6 → ArithmeticQuotientEquationsData.RealField E)) = ⊤ := by |
| 61 | change Submodule.span (ArithmeticQuotientEquationsData.RealField E) |
| 62 | ((cmCoordinates δ hδ hδ0) '' (integralVectorModule (E := E) : Set (ArithmeticQuotientEquationsData.Vec E))) = ⊤ |
| 63 | change Submodule.span (ArithmeticQuotientEquationsData.RealField E) |
| 64 | ((cmCoordinates δ hδ hδ0).toLinearMap '' (integralVectorModule (E := E) : Set (ArithmeticQuotientEquationsData.Vec E))) = ⊤ |
| 65 | rw [← Submodule.map_span, integralVectorModule_full, Submodule.map_top] |
| 66 | exact LinearMap.range_eq_top.mpr (cmCoordinates δ hδ hδ0).surjective |
| 67 | |
| 68 | def cmIntegralLattice (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) : |
| 69 | NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.FullLattice (ArithmeticQuotientEquationsData.RealField E) 6 where |
| 70 | module := cmIntegralLatticeModule δ hδ hδ0 |
| 71 | finite := (integralVectorModule_finite (E := E)).map _ |
| 72 | full := cmIntegralLatticeModule_full δ hδ hδ0 |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! Compatibility of the original E-linear matrix action with the concrete |
| 77 | six-dimensional rational representation and integral lattice. -/ |
| 78 | |
| 79 | open scoped Classical |
| 80 | open OAI.Geometry.ComplexBall.ArithmeticQuotientEquationsData _root_.NumberField |
| 81 | |
| 82 | variable {E : Type} [Field E] [NumberField E] [IsCMField E] |
| 83 | |
| 84 | lemma rationalQuadraticUnitaryEquiv_entry (b : E) (hb : IsCMField.complexConj E b = b) |
| 85 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) |
| 86 | (g : ArithmeticQuotientEquationsData.SU (starRingEnd (QuadraticAlgebra (ArithmeticQuotientEquationsData.RealField E) (ArithmeticQuotientEquationsData.imaginarySquare δ hδ) 0)) |
| 87 | (algebraMap (ArithmeticQuotientEquationsData.RealField E) _ (ArithmeticQuotientSplitUnitary.realCoefficient b hb))) (i j : Fin 3) : |
| 88 | (ArithmeticQuotientSplitUnitary.rationalQuadraticUnitaryEquiv b hb δ hδ hδ0 g).val i j = |
| 89 | ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0 (g.val i j) := rfl |
| 90 | |
| 91 | lemma rationalQuadraticUnitaryEquiv_symm_matrix (b : E) (hb : IsCMField.complexConj E b = b) |
| 92 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) (g : ArithmeticQuotientEquationsData.RationalSU b) : |
| 93 | ((ArithmeticQuotientSplitUnitary.rationalQuadraticUnitaryEquiv b hb δ hδ hδ0).symm g).val.val = |
| 94 | g.val.val.map (ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm := by |
| 95 | apply Matrix.ext |
| 96 | intro i j |
| 97 | let e := ArithmeticQuotientSplitUnitary.rationalQuadraticUnitaryEquiv b hb δ hδ hδ0 |
| 98 | have h := rationalQuadraticUnitaryEquiv_entry b hb δ hδ hδ0 (e.symm g) i j |
| 99 | change (e (e.symm g)).val i j = _ at h |
| 100 | rw [e.apply_symm_apply] at h |
| 101 | apply (ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).injective |
| 102 | change _ = ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0 ((ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm (g.val i j)) |
| 103 | rw [AlgEquiv.apply_symm_apply] |
| 104 | exact h.symm |
| 105 | |
| 106 | lemma originalUnitaryRationalEquiv_matrix (b : E) (hb : IsCMField.complexConj E b = b) |
| 107 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) (g : ArithmeticQuotientEquationsData.RationalSU b) : |
| 108 | (ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0 g).val.val = |
| 109 | ArithmeticQuotientEquationsData.regularMatrix (ArithmeticQuotientEquationsData.imaginarySquare δ hδ) (g.val.val.map (ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm) := by |
| 110 | change ArithmeticQuotientEquationsData.regularMatrix (ArithmeticQuotientEquationsData.imaginarySquare δ hδ) |
| 111 | ((ArithmeticQuotientSplitUnitary.rationalQuadraticUnitaryEquiv b hb δ hδ hδ0).symm g).val.val = _ |
| 112 | rw [rationalQuadraticUnitaryEquiv_symm_matrix] |
| 113 | |
| 114 | lemma cmCoordinates_mulVec (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) |
| 115 | (A : ArithmeticQuotientEquationsData.Mat E) (x : ArithmeticQuotientEquationsData.Vec E) : |
| 116 | cmCoordinates δ hδ hδ0 (A.mulVec x) = |
| 117 | (ArithmeticQuotientEquationsData.regularMatrix (ArithmeticQuotientEquationsData.imaginarySquare δ hδ) (A.map (ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm)).mulVec |
| 118 | (cmCoordinates δ hδ hδ0 x) := by |
| 119 | have he : (fun i => (ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm (A.mulVec x i)) = |
| 120 | (A.map (ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm).mulVec |
| 121 | (fun i => (ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm (x i)) := by |
| 122 | funext i |
| 123 | simp [Matrix.mulVec, dotProduct, map_sum, map_mul] |
| 124 | change ArithmeticQuotientEquationsData.quadraticCoordinates (ArithmeticQuotientEquationsData.imaginarySquare δ hδ) |
| 125 | (fun i => (ArithmeticQuotientEquationsData.quadraticEquiv δ hδ hδ0).symm (A.mulVec x i)) = _ |
| 126 | rw [he, ArithmeticQuotientEquationsData.quadraticCoordinates_mulVec] |
| 127 | rfl |
| 128 | |
| 129 | lemma cmCoordinates_action (b : E) (hb : IsCMField.complexConj E b = b) |
| 130 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) |
| 131 | (g : ArithmeticQuotientEquationsData.RationalSU b) (x : ArithmeticQuotientEquationsData.Vec E) : |
| 132 | cmCoordinates δ hδ hδ0 (Matrix.SpecialLinearGroup.toLin' g.val x) = |
| 133 | Matrix.SpecialLinearGroup.toLin' (ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0 g).val |
| 134 | (cmCoordinates δ hδ hδ0 x) := by |
| 135 | change cmCoordinates δ hδ hδ0 (g.val.val.mulVec x) = |
| 136 | (ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0 g).val.val.mulVec (cmCoordinates δ hδ hδ0 x) |
| 137 | rw [originalUnitaryRationalEquiv_matrix] |
| 138 | exact cmCoordinates_mulVec δ hδ hδ0 g.val.val x |
| 139 | |
| 140 | end |
| 141 | |
| 142 | end OAI.Geometry.ComplexBall.IntegralLattice.ArithmeticQuotient |