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.SourceSymplecticAction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallLineAction |
| 3 | |
| 4 | /-! # Ball Ambient Pairing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallAmbientPairing.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThetaCycle: the actual Galois-component action preserves the bilinear |
| 11 | pairing between conjugate components and the negative line chart. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | open _root_.Matrix OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | |
| 16 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsGalois ℚ K] |
| 17 | [NumberField.IsCMField K] |
| 18 | |
| 19 | omit [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] in |
| 20 | theorem local_pairing_matrix (b : K) (τ : Gal(K/ℚ)) (x y : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 21 | (Matrix.diagonal (fun i : Fin 3 => if i = 2 then (τ b : ℂ) else 1)).toBilin' x y = |
| 22 | HeckeCycles.GeometricSource.CM.localPairing K b τ x y := by |
| 23 | simp only [Matrix.toBilin'_apply', Matrix.mulVec_diagonal, dotProduct, HeckeCycles.GeometricSource.CM.localPairing] |
| 24 | apply Finset.sum_congr rfl |
| 25 | intro i _ |
| 26 | ring |
| 27 | |
| 28 | theorem ball_embedding_pairing_matrix (B : HeckeCycles.GeometricSource.CM.BallDatum K) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) |
| 29 | (hg : ∀ x y, HeckeCycles.GeometricSource.CM.hermitian K B.b (g x) (g y) = HeckeCycles.GeometricSource.CM.hermitian K B.b x y) |
| 30 | (τ : Gal(K/ℚ)) : |
| 31 | (SourceSymplecticAction.CM.ballEmbeddingMatrix K g τ).transpose * |
| 32 | Matrix.diagonal (fun i : Fin 3 => if i = 2 then (τ B.b : ℂ) else 1) * |
| 33 | SourceSymplecticAction.CM.ballEmbeddingMatrix K g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * τ) = |
| 34 | Matrix.diagonal (fun i : Fin 3 => if i = 2 then (τ B.b : ℂ) else 1) := by |
| 35 | have hc (x : K) : ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K x) = |
| 36 | ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * τ) x := by |
| 37 | change (τ (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K x) : ℂ) = ((ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * τ) x : ℂ) |
| 38 | exact congrArg (fun σ : Gal(K/ℚ) => (σ x : ℂ)) (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_commute K τ).eq.symm |
| 39 | apply Matrix.ext |
| 40 | intro i j |
| 41 | have hs : HeckeCycles.GeometricSource.CM.hermitian K B.b (Pi.single i 1) (Pi.single j 1) = |
| 42 | if i = j then (if i = 2 then B.b else 1) else 0 := by |
| 43 | by_cases hij : i = j |
| 44 | · subst j |
| 45 | simp [HeckeCycles.GeometricSource.CM.hermitian, Pi.single_apply, eq_comm] |
| 46 | · simp [HeckeCycles.GeometricSource.CM.hermitian, Pi.single_apply, eq_comm, hij] |
| 47 | have he := congrArg (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ) (hg (Pi.single i 1) (Pi.single j 1)) |
| 48 | rw [hs] at he |
| 49 | simp only [HeckeCycles.GeometricSource.CM.hermitian, map_sum, map_mul, hc, apply_ite (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ), |
| 50 | map_one, map_zero, ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv_apply] at he |
| 51 | change (∑ k, ((SourceSymplecticAction.CM.ballEmbeddingMatrix K g τ).transpose * |
| 52 | Matrix.diagonal (fun a : Fin 3 => if a = 2 then (τ B.b : ℂ) else 1)) i k * |
| 53 | SourceSymplecticAction.CM.ballEmbeddingMatrix K g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * τ) k j) = _ |
| 54 | simp only [Matrix.mul_diagonal, Matrix.transpose_apply, SourceSymplecticAction.CM.ballEmbeddingMatrix, |
| 55 | Matrix.map_apply, Matrix.diagonal_apply, LinearMap.toMatrix'_apply, |
| 56 | LinearEquiv.coe_coe, ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv_apply] |
| 57 | convert he using 1 |
| 58 | apply Finset.sum_congr rfl |
| 59 | intro k _ |
| 60 | ring |
| 61 | |
| 62 | theorem ball_embedding_local_pairing (B : HeckeCycles.GeometricSource.CM.BallDatum K) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) |
| 63 | (hg : ∀ x y, HeckeCycles.GeometricSource.CM.hermitian K B.b (g x) (g y) = HeckeCycles.GeometricSource.CM.hermitian K B.b x y) |
| 64 | (τ : Gal(K/ℚ)) (x y : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 65 | HeckeCycles.GeometricSource.CM.localPairing K B.b τ ((SourceSymplecticAction.CM.ballEmbeddingMatrix K g τ).mulVec x) |
| 66 | ((SourceSymplecticAction.CM.ballEmbeddingMatrix K g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * τ)).mulVec y) = |
| 67 | HeckeCycles.GeometricSource.CM.localPairing K B.b τ x y := by |
| 68 | have he := Matrix.toBilin'_comp |
| 69 | (Matrix.diagonal (fun i : Fin 3 => if i = 2 then (τ B.b : ℂ) else 1)) |
| 70 | (SourceSymplecticAction.CM.ballEmbeddingMatrix K g τ) (SourceSymplecticAction.CM.ballEmbeddingMatrix K g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * τ)) |
| 71 | rw [ball_embedding_pairing_matrix K B g hg τ] at he |
| 72 | have hv := congrArg (fun q : LinearMap.BilinForm ℂ (HeckeCycles.GeometricSource.CM.Vec ℂ) => q x y) he |
| 73 | simpa only [LinearMap.BilinForm.comp_apply, Matrix.toLin'_apply, local_pairing_matrix] using hv |
| 74 | |
| 75 | omit [NumberField K] [NumberField.IsCMField K] in |
| 76 | theorem ball_embedding_matrix_identity (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) : |
| 77 | SourceSymplecticAction.CM.ballEmbeddingMatrix K g 1 = BallActionMatrix.CM.ballActionMatrix K g := rfl |
| 78 | |
| 79 | omit [IsGalois ℚ K] in |
| 80 | theorem ball_action_line_vector (B : HeckeCycles.GeometricSource.CM.BallDatum K) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) |
| 81 | (hg : ∀ x y, HeckeCycles.GeometricSource.CM.hermitian K B.b (g x) (g y) = HeckeCycles.GeometricSource.CM.hermitian K B.b x y) |
| 82 | (z : B.Domain) : |
| 83 | (BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) = |
| 84 | ((BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2) • |
| 85 | HeckeCycles.GeometricSource.CM.BallDatum.lineVector (HeckeCycles.GeometricSource.CM.BallDatum.lineAction g z.val) := by |
| 86 | have hn := BallLineAction.CM.ball_action_denominator_ne_zero K B g hg z |
| 87 | let y := (BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) |
| 88 | funext i |
| 89 | fin_cases i |
| 90 | · change y 0 = y 2 * (y 0 / y 2) |
| 91 | exact (mul_div_cancel₀ _ hn).symm |
| 92 | · change y 1 = y 2 * (y 1 / y 2) |
| 93 | exact (mul_div_cancel₀ _ hn).symm |
| 94 | · change y 2 = y 2 * 1 |
| 95 | exact (mul_one _).symm |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallAmbientPairing.CM |