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.AbelianModuli.ReferenceFamily.Hermitian.Matrices |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ComponentUniformization |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Trace |
| 4 | |
| 5 | /-! # Diagonal Hermitian -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.Reference.DiagonalHermitian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The nondegenerate field trace recovers the literal reference |
| 14 | Hermitian form, including the original rational scaling coefficient. -/ |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Matrices.TraceReconstruction |
| 17 | |
| 18 | variable {E : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 19 | |
| 20 | theorem reference_trace_reconstruction (ψ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E →ₗ[ℚ] NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E →ₗ[ℚ] ℚ) |
| 21 | (hψ : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Reconstruction.TraceReconstruction.RosatiBalanced (E := E) ψ) (ξ b : E) (hξ : ξ ≠ 0) |
| 22 | (e : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E ≃ₗ[E] NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) |
| 23 | (he : ∀ x y, ψ (e x) (e y) = Algebra.trace ℚ E (ξ * NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian b x y)) |
| 24 | (x y : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 25 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Matrices.TraceReconstruction.hermitianMatrix ξ ψ hψ) (e x) (e y) = |
| 26 | NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian b x y := by |
| 27 | have hc : AlgebraicGeometry.AbelianModuli.ReferenceFamily.TraceReconstructionEq.TraceReconstruction.coefficient ψ (e x) (e y) = ξ * NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian b x y := by |
| 28 | apply AlgebraicGeometry.AbelianModuli.ReferenceFamily.TraceReconstructionEq.TraceReconstruction.coefficient_eq_of_trace |
| 29 | intro a |
| 30 | rw [← e.map_smul, he, NumberTheory.ArithmeticGroups.Trace.CongruenceLevel.hermitian_smul_left] |
| 31 | congr 1 |
| 32 | ring |
| 33 | have hm := AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Matrices.TraceReconstruction.hermitianMatrix_evaluate ξ ψ hψ (e x) (e y) |
| 34 | change AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Matrices.TraceReconstruction.hermitianMatrix ξ ψ hψ) (e x) (e y) = |
| 35 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Reconstruction.TraceReconstruction.hermitianCoefficient ξ ψ (e x) (e y) at hm |
| 36 | rw [hm, AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Reconstruction.TraceReconstruction.hermitianCoefficient, hc, ← mul_assoc, inv_mul_cancel₀ hξ, one_mul] |
| 37 | |
| 38 | def referenceTraceScalar {s : ℕ} (P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) : E := |
| 39 | (P.denominator : E) * P.imaginaryScalar |
| 40 | |
| 41 | theorem referenceTraceScalar_formula {s : ℕ} (P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 42 | (x y : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 43 | P.traceForm x y = Algebra.trace ℚ E (referenceTraceScalar P * NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian P.b x y) := by |
| 44 | unfold AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.traceForm referenceTraceScalar |
| 45 | simpa only [nsmul_eq_mul, mul_assoc] using |
| 46 | (map_nsmul (Algebra.trace ℚ E) P.denominator (P.imaginaryScalar * NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian P.b x y)).symm |
| 47 | |
| 48 | theorem referenceTraceScalar_ne_zero {s : ℕ} (P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) : |
| 49 | referenceTraceScalar P ≠ 0 := by |
| 50 | apply mul_ne_zero |
| 51 | · exact_mod_cast (ne_of_gt hP.2.2.2.2.2.2.2.2.1) |
| 52 | · exact hP.2.2.2.2.2.2.1 |
| 53 | |
| 54 | end |
| 55 | |
| 56 | /-! The trace scaling and diagonal matrix retain the literal original |
| 57 | reference Hermitian form and purely imaginary coefficient. -/ |
| 58 | |
| 59 | variable {E : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 60 | |
| 61 | theorem matrixHermitian_reference_diagonal (b : E) (x y : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 62 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian (Matrix.diagonal ![1, 1, b]) x y = NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian b x y := by |
| 63 | simp [AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian, NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian, Fin.sum_univ_succ, Matrix.diagonal, |
| 64 | mul_comm, mul_left_comm, mul_assoc] |
| 65 | |
| 66 | theorem referenceTraceScalar_conjugate {s : ℕ} (P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) : |
| 67 | AlgebraicGeometry.ComplexMultiplication.CM.TraceForm.cmFieldConjugation E (referenceTraceScalar P) = -referenceTraceScalar P := by |
| 68 | unfold referenceTraceScalar |
| 69 | rw [map_mul, map_natCast] |
| 70 | change (P.denominator : E) * NumberField.IsCMField.complexConj E P.imaginaryScalar = _ |
| 71 | rw [hP.2.2.2.2.2.2.2.1, mul_neg] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.RepresentationTheory.Theta.Geometric.Reference.DiagonalHermitian |