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.BallArithmetic |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.MultiplicityArithmeticTransport |
| 3 | |
| 4 | /-! # Quadratic Multiplicity Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.QuadraticMultiplicityBasis.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual rational CM multiplicity basis gives an invertible |
| 11 | quadratic-algebra matrix. Its congruence takes the original skew form |
| 12 | to the diagonal form of the new orthogonal basis, with the factor 2δ. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix |
| 15 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open _root_.Module |
| 17 | |
| 18 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 19 | |
| 20 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] |
| 21 | (δ : K) (hδ : IsCMField.complexConj K δ = -δ) (hδ0 : δ ≠ 0) |
| 22 | |
| 23 | abbrev basisMultiplicityCoefficients (a : Fin 2 → K) (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) := |
| 24 | fun j => Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b j) (b j) |
| 25 | |
| 26 | def quadraticMultiplicityBasis (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) : |
| 27 | (Matrix (Fin 2) (Fin 2) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ)))ˣ := |
| 28 | Units.map (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm.toRingHom.mapMatrix.toMonoidHom |
| 29 | (Matrix.GeneralLinearGroup.toLin.symm (LinearMap.GeneralLinearGroup.ofLinearEquiv b.equivFun.symm)) |
| 30 | |
| 31 | theorem quadratic_multiplicity_basis_entry (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 32 | (i j : Fin 2) : |
| 33 | (quadraticMultiplicityBasis K δ hδ hδ0 b).val i j = |
| 34 | (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm (b j i) := by |
| 35 | change (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm ((b.equivFun.symm (Pi.single j 1)) i) = _ |
| 36 | have he : b.equivFun.symm (Pi.single j 1) = b j := by |
| 37 | simp [Basis.equivFun_symm_apply, Pi.single_apply] |
| 38 | exact congrArg (fun x => (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm (x i)) he |
| 39 | |
| 40 | theorem direct_source_skew_unit_diagonal [IsGalois ℚ K] (a : Fin 2 → K) |
| 41 | (ha : ∀ j, IsCMField.complexConj K (a j) = a j) (ha0 : ∀ j, a j ≠ 0) : |
| 42 | (BallArithmetic.CM.directSourceSkewUnit K δ hδ hδ0 a ha ha0).val = |
| 43 | Matrix.diagonal (fun j => (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm (2 * δ * a j)) := by |
| 44 | rw [BallArithmetic.CM.directSourceSkewUnit, CMGlobalFrames.CM.cm_skew_unit_val] |
| 45 | apply congrArg Matrix.diagonal |
| 46 | funext j |
| 47 | apply congrArg (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm |
| 48 | ring |
| 49 | |
| 50 | theorem direct_source_skew_unit_conjugate_transpose [IsGalois ℚ K] (a : Fin 2 → K) |
| 51 | (ha : ∀ j, IsCMField.complexConj K (a j) = a j) (ha0 : ∀ j, a j ≠ 0) : |
| 52 | (BallArithmetic.CM.directSourceSkewUnit K δ hδ hδ0 a ha ha0).val.conjTranspose = |
| 53 | -(BallArithmetic.CM.directSourceSkewUnit K δ hδ hδ0 a ha ha0).val := |
| 54 | DiagonalFrame.CM.diagonal_skew_conjugateTranspose _ _ |
| 55 | |
| 56 | omit δ hδ hδ0 in |
| 57 | theorem multiplicity_basis_cross_entry (a : Fin 2 → K) |
| 58 | (ha : ∀ j, IsCMField.complexConj K (a j) = a j) |
| 59 | (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 60 | (horth : Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b 0) (b 1) = 0) |
| 61 | (i j : Fin 2) (hij : i ≠ j) : Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b j) (b i) = 0 := by |
| 62 | have h10 : Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b 1) (b 0) = 0 := by |
| 63 | rw [← TransportNew.CM.multiplicity_hermitian_symm K a ha, horth, map_zero] |
| 64 | fin_cases i <;> fin_cases j |
| 65 | · exact False.elim (hij rfl) |
| 66 | · exact h10 |
| 67 | · exact horth |
| 68 | · exact False.elim (hij rfl) |
| 69 | |
| 70 | omit hδ hδ0 in |
| 71 | theorem multiplicity_basis_skew_entry (a : Fin 2 → K) |
| 72 | (ha : ∀ j, IsCMField.complexConj K (a j) = a j) |
| 73 | (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 74 | (horth : Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b 0) (b 1) = 0) (i j : Fin 2) : |
| 75 | (∑ k, IsCMField.complexConj K (b i k) * (2 * δ * a k) * b j k) = |
| 76 | if i = j then 2 * δ * basisMultiplicityCoefficients K a b i else 0 := by |
| 77 | have he : (∑ k, IsCMField.complexConj K (b i k) * (2 * δ * a k) * b j k) = |
| 78 | 2 * δ * Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b j) (b i) := by |
| 79 | simp only [Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian, Finset.mul_sum] |
| 80 | apply Finset.sum_congr rfl |
| 81 | intro k _ |
| 82 | ring |
| 83 | rw [he] |
| 84 | by_cases hij : i = j |
| 85 | · subst j |
| 86 | simp [basisMultiplicityCoefficients] |
| 87 | · simp only [ite_eq_right hij, multiplicity_basis_cross_entry K a ha b horth i j hij, mul_zero] |
| 88 | |
| 89 | theorem quadratic_multiplicity_basis_congruence [IsGalois ℚ K] (a : Fin 2 → K) |
| 90 | (ha : ∀ j, IsCMField.complexConj K (a j) = a j) (ha0 : ∀ j, a j ≠ 0) |
| 91 | (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 92 | (horth : Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b 0) (b 1) = 0) |
| 93 | (hb : ∀ j, IsCMField.complexConj K (basisMultiplicityCoefficients K a b j) = basisMultiplicityCoefficients K a b j) |
| 94 | (hb0 : ∀ j, basisMultiplicityCoefficients K a b j ≠ 0) : |
| 95 | (quadraticMultiplicityBasis K δ hδ hδ0 b).val.conjTranspose * |
| 96 | (BallArithmetic.CM.directSourceSkewUnit K δ hδ hδ0 a ha ha0).val * (quadraticMultiplicityBasis K δ hδ hδ0 b).val = |
| 97 | (BallArithmetic.CM.directSourceSkewUnit K δ hδ hδ0 (basisMultiplicityCoefficients K a b) hb hb0).val := by |
| 98 | rw [direct_source_skew_unit_diagonal, direct_source_skew_unit_diagonal] |
| 99 | apply Matrix.ext |
| 100 | intro i j |
| 101 | rw [Matrix.mul_apply] |
| 102 | simp only [Matrix.mul_diagonal, Matrix.conjTranspose_apply, quadratic_multiplicity_basis_entry, |
| 103 | Matrix.diagonal_apply] |
| 104 | apply (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).injective |
| 105 | simp only [← QuadraticModel.CM.cm_quadratic_equiv_conjugation, map_sum, map_mul, |
| 106 | AlgEquiv.apply_symm_apply, apply_ite, map_zero] |
| 107 | have he := multiplicity_basis_skew_entry K δ a ha b horth i j |
| 108 | by_cases hij : i = j |
| 109 | · simpa only [ite_eq_left hij] using he |
| 110 | · simpa only [ite_eq_right hij] using he |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.QuadraticMultiplicityBasis.CM |