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.CMExtraction.Intrinsic.Multiplicity |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Diagonal |
| 3 | |
| 4 | /-! # Period -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Multiplicity.Period |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native signed trace form has the prescribed positive period frame. |
| 11 | The imaginary coefficient's orientation is fixed by the active negative line. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | |
| 15 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 16 | |
| 17 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 18 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 19 | |
| 20 | def nativeArchLabel (i : Fin s) : Gal(E/ℚ) := (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E).symm (P.embeddings i) |
| 21 | |
| 22 | omit [NumberField E] [NumberField.IsCMField E] in |
| 23 | theorem nativeArchLabel_spec (i : Fin s) (x : E) : |
| 24 | ((nativeArchLabel E P i x : E) : ℂ) = P.embeddings i x := |
| 25 | congrArg (fun f : E →ₐ[ℚ] ℂ => f x) ((ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E).apply_symm_apply (P.embeddings i)) |
| 26 | |
| 27 | omit [NumberField E] [NumberField.IsCMField E] in |
| 28 | theorem nativeArchLabel_active (hμ : P.μ = E.val.toRingHom) : |
| 29 | nativeArchLabel E P P.distinguished = 1 := by |
| 30 | apply (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E).injective |
| 31 | change ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E ((ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E).symm _) = _ |
| 32 | rw [(ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E).apply_symm_apply] |
| 33 | ext x |
| 34 | exact RingHom.congr_fun hμ x |
| 35 | |
| 36 | def nativeCompactSigns (v : Odd.Sign E) (i : Fin s) : Bool := v.val (nativeArchLabel E P i)⁻¹ |
| 37 | |
| 38 | def nativeUpperFrame (hP : P.IsAdmissible) (v : Odd.Sign E) |
| 39 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 40 | (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : Matrix (Fin s × Fin 3) (Fin s × Fin 3) ℂ := |
| 41 | RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.upperFrame (RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization.rationalCoordinates E P.embeddings hP.1 e) (Geometry.ComplexBall.PrescribedSignsB.matrixB P.embeddings (Intrinsic.Multiplicity.nativeMatrix E P)) |
| 42 | P.distinguished (nativeCompactSigns E P v) z |
| 43 | |
| 44 | def nativeLowerFrame (hP : P.IsAdmissible) (v : Odd.Sign E) |
| 45 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 46 | (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : Matrix (Fin s × Fin 3) (Fin s × Fin 3) ℂ := |
| 47 | RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.lowerFrame (RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization.rationalCoordinates E P.embeddings hP.1 e) (Geometry.ComplexBall.PrescribedSignsB.matrixB P.embeddings (Intrinsic.Multiplicity.nativeMatrix E P)) |
| 48 | P.distinguished (nativeCompactSigns E P v) z |
| 49 | |
| 50 | theorem native_weight_value (hP : P.IsAdmissible) (v : Odd.Sign E) (i : Fin s) : |
| 51 | P.embeddings i (P.imaginaryScalar * Intrinsic.Multiplicity.nativeCoefficient E P v) = |
| 52 | -((nativeArchLabel E P i (Odd.imaginaryCoefficient E v) : E) : ℂ) := by |
| 53 | rw [Intrinsic.Multiplicity.native_orientedCoefficient E P hP v, map_neg, nativeArchLabel_spec] |
| 54 | |
| 55 | omit [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] in |
| 56 | theorem native_frame_denominator (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : |
| 57 | Geometry.ComplexBall.PrescribedSignsB.matrixB P.embeddings (Intrinsic.Multiplicity.nativeMatrix E P) P.distinguished (Geometry.ComplexBall.PrescribedSignsB.lineVector z) (Geometry.ComplexBall.PrescribedSignsB.axis 2) = |
| 58 | P.embeddings P.distinguished P.b := by |
| 59 | rw [Geometry.ComplexBall.PrescribedSignsB.matrixB_apply] |
| 60 | change Geometry.ComplexBall.PrescribedSignsB.localB P.embeddings (Matrix.diagonal ![1, 1, P.b]) P.distinguished _ _ = _ |
| 61 | rw [NumberTheory.ArithmeticGroups.Diagonal.CongruenceLevel.localB_diagonal] |
| 62 | simp [Geometry.ComplexBall.PrescribedSignsB.lineVector, Geometry.ComplexBall.PrescribedSignsB.axis] |
| 63 | |
| 64 | theorem native_frame_positive |
| 65 | (hP : P.IsAdmissible) (hμ : P.μ = E.val.toRingHom) |
| 66 | (v : Odd.Sign E) (hv : v.val 1 = true) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) (hz : z ∈ P.domain) : |
| 67 | ∀ i u, u ∈ LinearMap.range (Geometry.ComplexBall.PrescribedSignsB.placeFrame (Geometry.ComplexBall.PrescribedSignsB.matrixB P.embeddings (Intrinsic.Multiplicity.nativeMatrix E P)) |
| 68 | P.distinguished (nativeCompactSigns E P v) z i) → u ≠ 0 → |
| 69 | 0 < (P.embeddings i (P.imaginaryScalar * Intrinsic.Multiplicity.nativeCoefficient E P v) * |
| 70 | Geometry.ComplexBall.PrescribedSignsB.metricValue (Geometry.ComplexBall.PrescribedSignsB.matrixB P.embeddings (Intrinsic.Multiplicity.nativeMatrix E P) i) u / Complex.I).re := by |
| 71 | let B := Geometry.ComplexBall.PrescribedSignsB.matrixB P.embeddings (Intrinsic.Multiplicity.nativeMatrix E P) |
| 72 | have hB := Geometry.ComplexBall.PrescribedSignsB.matrixB_hermitian P.embeddings (Intrinsic.Multiplicity.nativeMatrix E P) (Intrinsic.Multiplicity.nativeMatrix_hermitian E P hP) |
| 73 | have hBapply (i : Fin s) (x y : Geometry.ComplexBall.PrescribedSignsB.Vec) : B i x y = |
| 74 | Geometry.ComplexBall.PrescribedSignsB.localB P.embeddings (Matrix.diagonal ![1, 1, P.b]) i x y := |
| 75 | Geometry.ComplexBall.PrescribedSignsB.matrixB_apply P.embeddings (Intrinsic.Multiplicity.nativeMatrix E P) i x y |
| 76 | have hp : ∀ x : Geometry.ComplexBall.PrescribedSignsB.Vec, x ≠ 0 → x 2 = 0 → 0 < (B P.distinguished x (star x)).re := by |
| 77 | intro x hx hx2 |
| 78 | rw [hBapply] |
| 79 | exact NumberTheory.ArithmeticGroups.Diagonal.CongruenceLevel.diagonal_positive_plane P.embeddings P.b P.distinguished x hx hx2 |
| 80 | have hc : ∀ i, i ≠ P.distinguished → Geometry.ComplexBall.PrescribedSignsB.PositiveB (B i) := by |
| 81 | intro i hi x hx |
| 82 | rw [hBapply] |
| 83 | exact NumberTheory.ArithmeticGroups.Diagonal.CongruenceLevel.diagonal_positive_definite P.embeddings P.b i (hP.2.2.2.2.1 i hi) x hx |
| 84 | have hzB : (B P.distinguished (Geometry.ComplexBall.PrescribedSignsB.lineVector z) (star (Geometry.ComplexBall.PrescribedSignsB.lineVector z))).re < 0 := by |
| 85 | rw [hBapply] |
| 86 | exact hz |
| 87 | have hq : B P.distinguished (Geometry.ComplexBall.PrescribedSignsB.lineVector z) (Geometry.ComplexBall.PrescribedSignsB.axis 2) ≠ 0 := by |
| 88 | rw [show B P.distinguished (Geometry.ComplexBall.PrescribedSignsB.lineVector z) (Geometry.ComplexBall.PrescribedSignsB.axis 2) = P.embeddings P.distinguished P.b from |
| 89 | native_frame_denominator E P z] |
| 90 | exact (map_ne_zero _).mpr hP.2.2.1 |
| 91 | intro i u hu hne |
| 92 | have ht : (P.embeddings i (P.imaginaryScalar * Intrinsic.Multiplicity.nativeCoefficient E P v)).re = 0 := |
| 93 | Geometry.ComplexBall.PrescribedSignsB.coefficient_real_zero (P.embeddings i) P.imaginaryScalar (Intrinsic.Multiplicity.nativeCoefficient E P v) |
| 94 | hP.2.2.2.2.2.2.2.1 (Intrinsic.Multiplicity.nativeCoefficient_real E P hP v) |
| 95 | apply Geometry.ComplexBall.PrescribedSignsB.wantedSign_positive B hB P.distinguished hp (fun i hi => Or.inl (hc i hi)) |
| 96 | (nativeCompactSigns E P v) z hzB hq i _ ht _ u hu hne |
| 97 | rw [native_weight_value E P hP v i, Complex.neg_im] |
| 98 | by_cases hi : i = P.distinguished |
| 99 | · subst i |
| 100 | simp only [Geometry.ComplexBall.PrescribedSignsB.wantedSign, Bool.false_eq_true, ↓reduceIte, |
| 101 | nativeArchLabel_active E P hμ, AlgEquiv.one_apply] |
| 102 | have h := Odd.imaginaryCoefficient_positive E v 1 (by simpa only [inv_one] using hv) |
| 103 | exact neg_neg_of_pos h |
| 104 | · simp only [Geometry.ComplexBall.PrescribedSignsB.wantedSign, ite_eq_right hi, decide_eq_true (hc i hi), Bool.not_true] |
| 105 | cases hd : nativeCompactSigns E P v i |
| 106 | · simp only [Bool.false_eq_true, ↓reduceIte] |
| 107 | exact neg_pos.mpr (Odd.imaginaryCoefficient_negative E v (nativeArchLabel E P i) hd) |
| 108 | · simp only [↓reduceIte] |
| 109 | exact neg_neg_of_pos (Odd.imaginaryCoefficient_positive E v (nativeArchLabel E P i) hd) |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Multiplicity.Period |