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.RepresentationTheory.Weil.AdelicSplitting.Assembly |
| 2 | |
| 3 | /-! # Base Change -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.BaseChange.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Rational coordinates commute with the actual local tensor action. |
| 10 | These identities use only the compatibility of the chosen frames. -/ |
| 11 | |
| 12 | open scoped Classical Kronecker |
| 13 | |
| 14 | variable (F : Type) [Field F] [NumberField F] |
| 15 | (d : F) (n m : ℕ) |
| 16 | (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 17 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 18 | (P : Assembly.Construction.GlobalFrames F d n m H K) |
| 19 | |
| 20 | theorem tensorLinear_rational (v : ArchimedeanAdeles.Construction.Places F) |
| 21 | (g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val) (x : TensorSpace.Construction.TensorPosition d n m) : |
| 22 | TensorSpace.Construction.tensorLinear (Assembly.Construction.localizedUnit F d H v).val (Assembly.Construction.localizedUnit F d K v).val |
| 23 | (Integral.Construction.rationalPairLocal F H.val K.val v g) |
| 24 | (fun j => Integral.Construction.rationalQuadraticLocal F d v (x j)) = |
| 25 | fun j => Integral.Construction.rationalQuadraticLocal F d v (TensorSpace.Construction.tensorLinear H.val K.val g x j) := by |
| 26 | funext i |
| 27 | change ((g.1.val.val.map (Integral.Construction.rationalQuadraticLocal F d v) ⊗ₖ |
| 28 | g.2.val.val.map (Integral.Construction.rationalQuadraticLocal F d v)).mulVec |
| 29 | (fun j => Integral.Construction.rationalQuadraticLocal F d v (x j))) i = |
| 30 | Integral.Construction.rationalQuadraticLocal F d v ((g.1.val.val ⊗ₖ g.2.val.val).mulVec x i) |
| 31 | simp [Matrix.mulVec, dotProduct, map_sum, map_mul] |
| 32 | |
| 33 | theorem frame_symm_rational (v : ArchimedeanAdeles.Construction.Places F) (y : TensorSpace.Construction.StandardPhase (k := F) n m) : |
| 34 | (P.localFrame v).coordinates.symm (fun i => ArchimedeanAdeles.Construction.rationalScalar F v (y i)) = |
| 35 | fun j => Integral.Construction.rationalQuadraticLocal F d v (P.rational.coordinates.symm y j) := by |
| 36 | apply (P.localFrame v).coordinates.injective |
| 37 | apply funext |
| 38 | intro i |
| 39 | rw [LinearEquiv.apply_symm_apply, P.coordinates_compatible] |
| 40 | simp |
| 41 | |
| 42 | theorem coordinateAction_rational (v : ArchimedeanAdeles.Construction.Places F) |
| 43 | (g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val) (y : TensorSpace.Construction.StandardPhase (k := F) n m) : |
| 44 | TensorSpace.Construction.coordinateAction (Assembly.Construction.localizedUnit F d H v).val (Assembly.Construction.localizedUnit F d K v).val |
| 45 | (P.localFrame v) (Integral.Construction.rationalPairLocal F H.val K.val v g) |
| 46 | (fun i => ArchimedeanAdeles.Construction.rationalScalar F v (y i)) = |
| 47 | fun i => ArchimedeanAdeles.Construction.rationalScalar F v (TensorSpace.Construction.coordinateAction H.val K.val P.rational g y i) := by |
| 48 | change (P.localFrame v).coordinates |
| 49 | (TensorSpace.Construction.tensorLinear _ _ _ ((P.localFrame v).coordinates.symm _)) = _ |
| 50 | rw [frame_symm_rational, tensorLinear_rational] |
| 51 | funext i |
| 52 | exact P.coordinates_compatible v _ i |
| 53 | |
| 54 | theorem localDualAction_rational (v : ArchimedeanAdeles.Construction.Places F) |
| 55 | (g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val) : |
| 56 | Assembly.Construction.localDualAction F d n m H K P v (Integral.Construction.rationalPairLocal F H.val K.val v g) = |
| 57 | Vacuum.Construction.rationalSymplecticLocal F (n * m) v |
| 58 | (TensorSpace.Construction.dualPairSymplectic H.val K.val P.rational g) := by |
| 59 | apply Subtype.ext |
| 60 | ext i j |
| 61 | change TensorSpace.Construction.coordinateAction _ _ (P.localFrame v) _ (Pi.single j 1) i = |
| 62 | ArchimedeanAdeles.Construction.rationalScalar F v (TensorSpace.Construction.coordinateAction H.val K.val P.rational g (Pi.single j 1) i) |
| 63 | have he : (Pi.single j 1 : TensorSpace.Construction.StandardPhase (k := ArchimedeanAdeles.Construction.Completion F v) n m) = |
| 64 | fun a => ArchimedeanAdeles.Construction.rationalScalar F v ((Pi.single j 1 : TensorSpace.Construction.StandardPhase (k := F) n m) a) := by |
| 65 | funext a |
| 66 | by_cases h : a = j |
| 67 | · subst a; simp |
| 68 | · simp [Pi.single_eq_of_ne h] |
| 69 | rw [he] |
| 70 | exact congrFun (coordinateAction_rational F d n m H K P v g (Pi.single j 1)) i |
| 71 | |
| 72 | variable (hd : d ≠ 0) (C : Characters.Construction.GlobalCharacters F d n m) |
| 73 | (D : Assembly.Construction.NormalizedLocalSplittings F d n m H K hd C P) |
| 74 | |
| 75 | theorem adelicDualPairAction_rational (g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val) : |
| 76 | Assembly.Construction.adelicDualPairAction F d n m H K hd C P D (Integral.Construction.rationalPair F H.val K.val g) = |
| 77 | Vacuum.Construction.rationalSymplectic F (n * m) (TensorSpace.Construction.dualPairSymplectic H.val K.val P.rational g) := by |
| 78 | apply RestrictedProduct.ext |
| 79 | intro v |
| 80 | exact localDualAction_rational F d n m H K P v g |
| 81 | |
| 82 | theorem constructedAdelicLift_rational_covers (g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val) : |
| 83 | Vacuum.Construction.globalProjection F (n * m) C.ψ |
| 84 | (Assembly.Construction.constructedAdelicLift F d n m H K hd C P D (Integral.Construction.rationalPair F H.val K.val g)) = |
| 85 | Vacuum.Construction.rationalSymplectic F (n * m) (TensorSpace.Construction.dualPairSymplectic H.val K.val P.rational g) := by |
| 86 | rw [Assembly.Construction.constructedAdelicLift_covers, adelicDualPairAction_rational] |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.RepresentationTheory.Weil.AdelicSplitting.BaseChange.Construction |