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.NumberTheory.ArithmeticGroups.Data |
| 2 | |
| 3 | /-! # Algebraic Datum -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.AlgebraicDatum.CongruenceLevel.Algebraic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The reference datum is an actual Hermitian lattice with an integral |
| 10 | polarization and the period family of CongruenceLevel. It contains no moduli scheme, |
| 11 | quotient identification, or arithmetic compactness/comparison assertion. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | open OAI.NumberTheory.ArithmeticGroups.Data.CongruenceLevel |
| 16 | |
| 17 | variable (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] |
| 18 | [NumberField.IsCMField E] |
| 19 | |
| 20 | /-- The original analytic lattice and integral form, before algebraization. -/ |
| 21 | structure ReferenceInput (Place : Type*) [Fintype Place] where |
| 22 | embeddings : Place → E →ₐ[ℚ] ℂ |
| 23 | distinguished : Place |
| 24 | compactSigns : Place → Bool |
| 25 | b : E |
| 26 | imaginaryScalar : E |
| 27 | denominator : ℕ |
| 28 | lattice : Submodule ℤ (Data.CongruenceLevel.VE E) |
| 29 | integralForm : lattice →ₗ[ℤ] lattice →ₗ[ℤ] ℤ |
| 30 | periodFamily : Geometry.ComplexBall.PrescribedSignsB.BallChart → Submodule ℂ (Geometry.ComplexBall.PrescribedSignsB.Ambient (Place)) |
| 31 | |
| 32 | namespace ReferenceInput |
| 33 | |
| 34 | variable {E} {Place : Type*} [Fintype Place] (P : ReferenceInput E Place) |
| 35 | |
| 36 | def μ : E →+* ℂ := (P.embeddings P.distinguished).toRingHom |
| 37 | |
| 38 | def traceForm (x y : Data.CongruenceLevel.VE E) : ℚ := |
| 39 | (P.denominator : ℚ) * Algebra.trace ℚ E |
| 40 | (P.imaginaryScalar * Data.CongruenceLevel.hermitian P.b x y) |
| 41 | |
| 42 | def domain : Set Geometry.ComplexBall.PrescribedSignsB.BallChart := |
| 43 | {z | (Geometry.ComplexBall.PrescribedSignsB.localB P.embeddings (Matrix.diagonal ![1, 1, P.b]) |
| 44 | P.distinguished (Geometry.ComplexBall.PrescribedSignsB.lineVector z) (star (Geometry.ComplexBall.PrescribedSignsB.lineVector z))).re < 0} |
| 45 | |
| 46 | def firstLieRank (i : Place) : ℕ := |
| 47 | if i = P.distinguished then 2 else if P.compactSigns i then 3 else 0 |
| 48 | |
| 49 | /-- Lie ranks indexed by the manuscript's Galois automorphisms; the fixed |
| 50 | complex embedding identifies each automorphism with an embedding line. -/ |
| 51 | def lieRank (τ : E ≃ₐ[ℚ] E) : ℕ := |
| 52 | ∑ i : Place, |
| 53 | if P.μ.comp τ.toRingHom = (P.embeddings i).toRingHom then P.firstLieRank i |
| 54 | else if P.μ.comp τ.toRingHom = (AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)).toRingHom |
| 55 | then 3 - P.firstLieRank i else 0 |
| 56 | |
| 57 | /-- Natural reference-data hypotheses. The period clause is exactly the |
| 58 | CongruenceLevel analytic fiber model; it asserts no family-to-scheme comparison. -/ |
| 59 | def IsAdmissible : Prop := |
| 60 | Function.Bijective |
| 61 | (fun p : Place × Bool => if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings p.1) |
| 62 | else P.embeddings p.1) ∧ |
| 63 | NumberField.IsCMField.complexConj E P.b = P.b ∧ |
| 64 | P.b ≠ 0 ∧ |
| 65 | (P.μ P.b).re < 0 ∧ |
| 66 | (∀ i, i ≠ P.distinguished → 0 < (P.embeddings i P.b).re) ∧ |
| 67 | P.imaginaryScalar ≠ 0 ∧ |
| 68 | NumberField.IsCMField.complexConj E P.imaginaryScalar = -P.imaginaryScalar ∧ |
| 69 | 0 < P.denominator ∧ |
| 70 | Data.CongruenceLevel.FullStableLattice P.lattice ∧ |
| 71 | (∀ x y : P.lattice, (P.integralForm x y : ℚ) = P.traceForm x y) ∧ |
| 72 | (∀ x : P.lattice, P.integralForm x x = 0) ∧ |
| 73 | (∀ x : P.lattice, (∀ y, P.integralForm x y = 0) → x = 0) ∧ |
| 74 | Geometry.ComplexBall.PrescribedSignsB.HolomorphicFamily P.domain (3 * Fintype.card Place) P.periodFamily ∧ |
| 75 | (∀ z ∈ P.domain, |
| 76 | (∀ u, u ∈ P.periodFamily z ↔ |
| 77 | Geometry.ComplexBall.PrescribedSignsB.Prescribed (Geometry.ComplexBall.PrescribedSignsB.localB P.embeddings (Matrix.diagonal ![1, 1, P.b])) |
| 78 | P.distinguished P.compactSigns z u) ∧ |
| 79 | Data.CongruenceLevel.AnalyticPolarizedFiber P.embeddings P.lattice P.traceForm (P.periodFamily z)) |
| 80 | |
| 81 | end ReferenceInput |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.ArithmeticGroups.AlgebraicDatum.CongruenceLevel.Algebraic |