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.Groups |
| 2 | import Mathlib.RingTheory.DedekindDomain.FiniteAdeleRing |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | |
| 5 | /-! # Adelic Data -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite adelic coefficients are Q-finite-adeles tensor E. Conjugation |
| 12 | acts on the E factor. This is the scalar-extension model of restriction |
| 13 | of scalars; the topology is the usual finite product topology in a Q-basis. |
| 14 | The completed lattice is the Z-hat span of the actual integral lattice. -/ |
| 15 | |
| 16 | open scoped Classical TensorProduct |
| 17 | open IsDedekindDomain |
| 18 | |
| 19 | abbrev AdelicData.RationalFiniteAdeles := IsDedekindDomain.FiniteAdeleRing ℤ ℚ |
| 20 | |
| 21 | def AdelicData.integralFiniteAdeles : Subring AdelicData.RationalFiniteAdeles where |
| 22 | carrier := {a | ∀ v : HeightOneSpectrum ℤ, a v ∈ v.adicCompletionIntegers ℚ} |
| 23 | zero_mem' v := (v.adicCompletionIntegers ℚ).zero_mem |
| 24 | one_mem' v := (v.adicCompletionIntegers ℚ).one_mem |
| 25 | add_mem' ha hb v := (v.adicCompletionIntegers ℚ).toSubring.add_mem (ha v) (hb v) |
| 26 | mul_mem' ha hb v := (v.adicCompletionIntegers ℚ).toSubring.mul_mem (ha v) (hb v) |
| 27 | neg_mem' ha v := (v.adicCompletionIntegers ℚ).toSubring.neg_mem (ha v) |
| 28 | |
| 29 | variable (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] |
| 30 | [NumberField.IsCMField E] |
| 31 | |
| 32 | abbrev AdelicData.FiniteCoefficients := AdelicData.RationalFiniteAdeles ⊗[ℚ] E |
| 33 | |
| 34 | def AdelicData.finiteCoefficientEmbedding : E →ₐ[ℚ] AdelicData.FiniteCoefficients E := |
| 35 | Algebra.TensorProduct.includeRight |
| 36 | |
| 37 | def AdelicData.finiteCoefficientConjugation : AdelicData.FiniteCoefficients E →ₐ[ℚ] AdelicData.FiniteCoefficients E := |
| 38 | Algebra.TensorProduct.map (AlgHom.id ℚ AdelicData.RationalFiniteAdeles) |
| 39 | (NumberField.IsCMField.complexConj E).toRingHom.toRatAlgHom |
| 40 | |
| 41 | instance AdelicData.finiteCoefficientTopology : TopologicalSpace (AdelicData.FiniteCoefficients E) := |
| 42 | TopologicalSpace.induced ((Module.finBasis ℚ E).baseChange AdelicData.RationalFiniteAdeles).equivFun |
| 43 | inferInstance |
| 44 | |
| 45 | instance AdelicData.finiteCoefficientIntegralAlgebra : Algebra AdelicData.integralFiniteAdeles (AdelicData.FiniteCoefficients E) := |
| 46 | ((algebraMap AdelicData.RationalFiniteAdeles (AdelicData.FiniteCoefficients E)).comp AdelicData.integralFiniteAdeles.subtype).toAlgebra |
| 47 | |
| 48 | def AdelicData.finiteVectorEmbedding (x : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE (AdelicData.FiniteCoefficients E) := |
| 49 | fun i => AdelicData.finiteCoefficientEmbedding E (x i) |
| 50 | |
| 51 | def AdelicData.finiteHermitian (b : E) (x y : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE (AdelicData.FiniteCoefficients E)) : AdelicData.FiniteCoefficients E := |
| 52 | ∑ i : Fin 3, (if i = 2 then AdelicData.finiteCoefficientEmbedding E b else 1) * |
| 53 | x i * AdelicData.finiteCoefficientConjugation E (y i) |
| 54 | |
| 55 | variable {E} {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 56 | |
| 57 | def Datum.RankThreePELDatum.completedLattice : Submodule AdelicData.integralFiniteAdeles (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE (AdelicData.FiniteCoefficients E)) := |
| 58 | Submodule.span AdelicData.integralFiniteAdeles |
| 59 | (AdelicData.finiteVectorEmbedding E '' (P.lattice : Set (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E))) |
| 60 | |
| 61 | abbrev Datum.RankThreePELDatum.FiniteSpecialUnitary := Groups.specialUnitarySubgroup (R := AdelicData.FiniteCoefficients E) |
| 62 | (AdelicData.finiteHermitian E P.b) |
| 63 | |
| 64 | instance Datum.RankThreePELDatum.finiteSpecialUnitaryTopology : TopologicalSpace P.FiniteSpecialUnitary := |
| 65 | TopologicalSpace.induced |
| 66 | (fun g : P.FiniteSpecialUnitary => |
| 67 | fun i j : Fin 3 => g.val (Pi.single j 1) i) inferInstance |
| 68 | |
| 69 | def Datum.RankThreePELDatum.adelicPrincipalLevel (N : ℕ) : Subgroup P.FiniteSpecialUnitary := |
| 70 | (Groups.principalLatticeSubgroup (R := AdelicData.FiniteCoefficients E) P.completedLattice.toAddSubgroup N).comap |
| 71 | (Groups.specialUnitarySubgroup (R := AdelicData.FiniteCoefficients E) (AdelicData.finiteHermitian E P.b)).subtype |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |