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.HodgeConjecture.ThetaCycle.CMOrthonormalFrames |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallActionMatrix |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 4 | |
| 5 | /-! # Rational Ball Unitary -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RationalBallUnitary.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! ThetaCycle: identify the literal principal rational ball transformation |
| 12 | with an element of the native quadratic-algebra special-unitary group. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 17 | |
| 18 | theorem matrix_unit_det_eq_one {R I : Type*} [CommRing R] [Fintype I] [DecidableEq I] |
| 19 | (A : (Matrix I I R)ˣ) (h : A.val.det = 1) : Matrix.GeneralLinearGroup.det A = 1 := |
| 20 | Units.ext h |
| 21 | |
| 22 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [NumberField.IsCMField K] |
| 23 | (δ : K) (hδ : IsCMField.complexConj K δ = -δ) (hδ0 : δ ≠ 0) |
| 24 | |
| 25 | def quadraticComplexEmbedding : RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (maximalRealSubfield K) |
| 26 | (QuadraticModel.CM.cmQuadraticParameter K δ hδ) →+* ℂ := |
| 27 | K.subtype.comp (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).toRingHom |
| 28 | |
| 29 | theorem quadratic_complex_embedding_injective : |
| 30 | Function.Injective (quadraticComplexEmbedding K δ hδ hδ0) := |
| 31 | K.subtype_injective.comp (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).injective |
| 32 | |
| 33 | theorem quadratic_complex_embedding_star (x : RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (maximalRealSubfield K) |
| 34 | (QuadraticModel.CM.cmQuadraticParameter K δ hδ)) : |
| 35 | quadraticComplexEmbedding K δ hδ hδ0 (star x) = |
| 36 | star (quadraticComplexEmbedding K δ hδ hδ0 x) := by |
| 37 | change K.subtype (QuadraticModel.CM.cmQuadraticMap K δ hδ (star x)) = star (K.subtype (QuadraticModel.CM.cmQuadraticMap K δ hδ x)) |
| 38 | rw [QuadraticModel.CM.cm_quadratic_map_star] |
| 39 | exact ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_coe K _ |
| 40 | |
| 41 | def rationalBallUnit (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) : |
| 42 | (Matrix (Fin 3) (Fin 3) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (maximalRealSubfield K) |
| 43 | (QuadraticModel.CM.cmQuadraticParameter K δ hδ)))ˣ := |
| 44 | Units.map ((QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm.toRingHom.mapMatrix).toMonoidHom |
| 45 | (Matrix.GeneralLinearGroup.toLin.symm (LinearMap.GeneralLinearGroup.ofLinearEquiv g)) |
| 46 | |
| 47 | theorem rational_ball_unit_val (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) : |
| 48 | (rationalBallUnit K δ hδ hδ0 g).val = |
| 49 | (LinearMap.toMatrix' g.toLinearMap).map (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm := rfl |
| 50 | |
| 51 | theorem rational_ball_unit_complex (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) : |
| 52 | (rationalBallUnit K δ hδ hδ0 g).val.map (quadraticComplexEmbedding K δ hδ hδ0) = |
| 53 | BallActionMatrix.CM.ballActionMatrix K g := by |
| 54 | ext i j |
| 55 | change K.subtype ((QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0) |
| 56 | ((QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm (LinearMap.toMatrix' g.toLinearMap i j))) = _ |
| 57 | rw [AlgEquiv.apply_symm_apply] |
| 58 | rfl |
| 59 | |
| 60 | theorem cm_hermitian_unit_complex_scalar (β : K) |
| 61 | (hβ : IsCMField.complexConj K β = β) (hβ0 : β ≠ 0) : |
| 62 | (CMGlobalFrames.CM.cmHermitianUnit K δ hδ β hβ hβ0).val.map |
| 63 | (quadraticComplexEmbedding K δ hδ hδ0) = |
| 64 | Matrix.diagonal (fun i => if i = 2 then (β : ℂ) else 1) := by |
| 65 | rw [CMGlobalFrames.CM.cm_hermitian_unit_val K δ hδ hδ0] |
| 66 | ext i j |
| 67 | by_cases hij : i = j |
| 68 | · subst j |
| 69 | simp only [Matrix.map_apply, QuadraticTensor.CM.quadraticHermitianMatrix, Matrix.diagonal_apply_eq] |
| 70 | change K.subtype ((QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0) |
| 71 | ((QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm (if i = 2 then β else 1))) = if i = 2 then (β : ℂ) else 1 |
| 72 | rw [AlgEquiv.apply_symm_apply] |
| 73 | split_ifs <;> rfl |
| 74 | · simp [QuadraticTensor.CM.quadraticHermitianMatrix, hij] |
| 75 | |
| 76 | theorem cm_hermitian_unit_complex (B : HeckeCycles.GeometricSource.CM.BallDatum K) : |
| 77 | (CMGlobalFrames.CM.cmHermitianUnit K δ hδ B.b B.conjugate_b |
| 78 | (fun hb => (ne_of_lt B.negative) (by simp [hb]))).val.map |
| 79 | (quadraticComplexEmbedding K δ hδ hδ0) = BallActionMatrix.CM.ballHermitianMatrix K B := |
| 80 | cm_hermitian_unit_complex_scalar K δ hδ hδ0 B.b B.conjugate_b |
| 81 | (fun hb => (ne_of_lt B.negative) (by simp [hb])) |
| 82 | |
| 83 | theorem rational_ball_unit_preserves (B : HeckeCycles.GeometricSource.CM.BallDatum K) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) |
| 84 | (hg : ∀ x y, HeckeCycles.GeometricSource.CM.hermitian K B.b (g x) (g y) = HeckeCycles.GeometricSource.CM.hermitian K B.b x y) : |
| 85 | let H := CMGlobalFrames.CM.cmHermitianUnit K δ hδ B.b B.conjugate_b |
| 86 | (fun hb => (ne_of_lt B.negative) (by simp [hb])) |
| 87 | (rationalBallUnit K δ hδ hδ0 g).val.conjTranspose * H.val * |
| 88 | (rationalBallUnit K δ hδ hδ0 g).val = H.val := by |
| 89 | dsimp only |
| 90 | let H := CMGlobalFrames.CM.cmHermitianUnit K δ hδ B.b B.conjugate_b |
| 91 | (fun hb => (ne_of_lt B.negative) (by simp [hb])) |
| 92 | let A := (rationalBallUnit K δ hδ hδ0 g).val |
| 93 | let f := quadraticComplexEmbedding K δ hδ hδ0 |
| 94 | have he : (A.conjTranspose * H.val * A).map f = H.val.map f := by |
| 95 | rw [Matrix.map_mul, Matrix.map_mul, |
| 96 | Matrix.conjTranspose_map f (quadratic_complex_embedding_star K δ hδ hδ0)] |
| 97 | change (A.map f).conjTranspose * H.val.map f * A.map f = H.val.map f |
| 98 | rw [rational_ball_unit_complex, cm_hermitian_unit_complex] |
| 99 | exact BallActionMatrix.CM.ball_action_matrix_unitary K B g hg |
| 100 | apply Matrix.ext |
| 101 | intro i j |
| 102 | exact quadratic_complex_embedding_injective K δ hδ hδ0 (congrArg (fun M => M i j) he) |
| 103 | |
| 104 | theorem rational_ball_unit_det (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : LinearMap.det g.toLinearMap = 1) : |
| 105 | Matrix.GeneralLinearGroup.det (rationalBallUnit K δ hδ hδ0 g) = 1 := by |
| 106 | apply matrix_unit_det_eq_one |
| 107 | rw [rational_ball_unit_val] |
| 108 | have he := RingHom.map_det (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm.toRingHom |
| 109 | (LinearMap.toMatrix' g.toLinearMap) |
| 110 | rw [LinearMap.det_toMatrix', hg, map_one] at he |
| 111 | exact he.symm |
| 112 | |
| 113 | def rationalBallSU (B : HeckeCycles.GeometricSource.CM.BallDatum K) (N : ℕ) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) |
| 114 | (hg : B.principalLevel N g) : |
| 115 | RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (CMGlobalFrames.CM.cmHermitianUnit K δ hδ B.b B.conjugate_b |
| 116 | (fun hb => (ne_of_lt B.negative) (by simp [hb]))).val := |
| 117 | ⟨rationalBallUnit K δ hδ hδ0 g, rational_ball_unit_preserves K δ hδ hδ0 B g hg.1, |
| 118 | rational_ball_unit_det K δ hδ hδ0 g hg.2.1⟩ |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RationalBallUnitary.CM |