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.RepresentationTheory.Theta.Geometric.Cleared.ReferenceTateLattice |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.BlockCosetLatticeAction |
| 3 | |
| 4 | /-! # Local Inverse Lattice -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal local preimage is the inverse-matrix full lattice used |
| 11 | by TateComparison's raw coset and relative-position classification. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.BlockCosetLatticeAction |
| 18 | |
| 19 | theorem Cleared.LocalInverseLattice.standardLocalLattice_eq_standardBlockLattice (q : ℕ) [Fact q.Prime] : |
| 20 | Data.ActiveHeckeThetaData.standardLocalLattice (q := q) = AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockHeckeChoices.Construction.standardBlockLattice q := by |
| 21 | have h : (Pi.basisFun ℚ_[q] (Fin 3) : Fin 3 → Fin 3 → ℚ_[q]) = fun i => Pi.single i 1 := |
| 22 | funext (Pi.basisFun_apply ℚ_[q] (Fin 3)) |
| 23 | exact congrArg (fun f : Fin 3 → Fin 3 → ℚ_[q] => Submodule.span ℤ_[q] (Set.range f)) h.symm |
| 24 | |
| 25 | theorem Cleared.LocalInverseLattice.inverse_matrix_lattice_preimage (q : ℕ) [Fact q.Prime] |
| 26 | (g : Matrix.GeneralLinearGroup (Fin 3) ℚ_[q]) : |
| 27 | (AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockLatticeCosets.Construction.matrixBlockLattice q g⁻¹).val = |
| 28 | (AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockHeckeChoices.Construction.standardBlockLattice q).comap (g.val.mulVecLin.restrictScalars ℤ_[q]) := by |
| 29 | have h := congrArg Subtype.val (AlgebraicGeometry.AbelianScheme.TateComparison.BlockCosetLatticeAction.matrixBlockLattice_mul q g⁻¹ 1) |
| 30 | have h1 : AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockLatticeCosets.Construction.matrixBlockLattice q (1 : Matrix.GeneralLinearGroup (Fin 3) ℚ_[q]) = |
| 31 | AlgebraicGeometry.AbelianScheme.TateComparison.RelativePositionChoices.standardRankThreeLattice q := AlgebraicGeometry.AbelianScheme.TateComparison.BlockCosetLatticeAction.blockCosetToLattice_one q |
| 32 | rw [h1, mul_one] at h |
| 33 | change (AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockHeckeChoices.Construction.standardBlockLattice q).map |
| 34 | ((Matrix.GeneralLinearGroup.toLin g⁻¹).toLinearEquiv.toLinearMap.restrictScalars ℤ_[q]) = _ at h |
| 35 | rw [← h] |
| 36 | ext x |
| 37 | constructor |
| 38 | · rintro ⟨y, hy, rfl⟩ |
| 39 | change g.val.mulVec ((g⁻¹).val.mulVec y) ∈ AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockHeckeChoices.Construction.standardBlockLattice q |
| 40 | rw [Matrix.mulVec_mulVec, ← Units.val_mul, mul_inv_cancel, Units.val_one, Matrix.one_mulVec] |
| 41 | exact hy |
| 42 | · intro hx |
| 43 | refine ⟨g.val.mulVec x, hx, ?_⟩ |
| 44 | change (g⁻¹).val.mulVec (g.val.mulVec x) = x |
| 45 | rw [Matrix.mulVec_mulVec, ← Units.val_mul, inv_mul_cancel, Units.val_one, Matrix.one_mulVec] |
| 46 | |
| 47 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 48 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 49 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 50 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 51 | {D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA} |
| 52 | |
| 53 | def Data.ActiveHeckeThetaData.clearedLocalMatrix (g : D.RationalSU) (n : ℕ) (v : Fin s × Bool) : |
| 54 | Matrix.GeneralLinearGroup (Fin 3) ℚ_[q] := |
| 55 | Matrix.GeneralLinearGroup.scalar (Fin 3) (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ n) * Matrix.SpecialLinearGroup.toGL (D.localMatrix v g) |
| 56 | |
| 57 | theorem Data.ActiveHeckeThetaData.clearedLocalMatrix_val (g : D.RationalSU) (n : ℕ) (v : Fin s × Bool) : |
| 58 | (Data.ActiveHeckeThetaData.clearedLocalMatrix g n v).val = (q : ℚ_[q]) ^ n • (D.localMatrix v g).val := by |
| 59 | change Matrix.scalar (Fin 3) ((AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ n).val) * (D.localMatrix v g).val = _ |
| 60 | ext i j |
| 61 | simp only [Matrix.scalar_apply, Matrix.diagonal_mul] |
| 62 | rfl |
| 63 | |
| 64 | def Data.ActiveHeckeThetaData.clearedLocalInverseLattice (g : D.RationalSU) (n : ℕ) (v : Fin s × Bool) : |
| 65 | AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RankThreeLattice ℤ_[q] ℚ_[q] := AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockLatticeCosets.Construction.matrixBlockLattice q (Data.ActiveHeckeThetaData.clearedLocalMatrix g n v)⁻¹ |
| 66 | |
| 67 | theorem Data.ActiveHeckeThetaData.clearedLocalInverseLattice_val (g : D.RationalSU) (n : ℕ) (v : Fin s × Bool) : |
| 68 | (Data.ActiveHeckeThetaData.clearedLocalInverseLattice g n v).val = Data.ActiveHeckeThetaData.clearedLocalPreimage g n v := by |
| 69 | rw [Data.ActiveHeckeThetaData.clearedLocalInverseLattice, Cleared.LocalInverseLattice.inverse_matrix_lattice_preimage, Data.ActiveHeckeThetaData.clearedLocalMatrix_val, |
| 70 | ← Cleared.LocalInverseLattice.standardLocalLattice_eq_standardBlockLattice] |
| 71 | congr 1 |
| 72 | apply LinearMap.ext |
| 73 | intro x |
| 74 | exact Matrix.smul_mulVec ((q : ℚ_[q]) ^ n) (D.localMatrix v g).val x |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.RepresentationTheory.Theta.Geometric |