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.AbelianScheme.TateComparison.RelativePositionTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockHeckeChoices |
| 3 | |
| 4 | /-! # Relative Position Choices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePositionChoices |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Raw rank-three double-coset supports classify relative-position |
| 11 | lattice choices above every full source lattice. The source basis is |
| 12 | constructed from ElementaryDivisors and removed by the lattice equivalence. -/ |
| 13 | |
| 14 | variable (q : ℕ) [Fact q.Prime] |
| 15 | |
| 16 | def standardRankThreeLattice : Duality.RankThreeLattice ℤ_[q] ℚ_[q] := |
| 17 | ⟨IsogenyQuotient.BlockHeckeChoices.Construction.standardBlockLattice q, inferInstance⟩ |
| 18 | |
| 19 | def standardRawRelativePositionEquiv (a : Fin 3 → ℕ) : |
| 20 | IsogenyQuotient.Hecke.Construction.rawRightCosetSupport (IsogenyQuotient.BlockLatticeCosets.Construction.blockIntegralLevel q) |
| 21 | (IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun i => (a i : ℤ))) ≃ |
| 22 | {M : Duality.RankThreeLattice ℤ_[q] ℚ_[q] // |
| 23 | Duality.RelativePosition (q : ℤ_[q]) (fun i => (a i : ℤ)) (standardRankThreeLattice q) M} := |
| 24 | IsogenyQuotient.BlockHeckeChoices.Construction.rawBlockSmithChoicesEquiv q a |
| 25 | |
| 26 | def rawRelativePositionEquiv (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 27 | (L : Duality.RankThreeLattice ℤ_[q] ℚ_[q]) (a : Fin 3 → ℕ) : |
| 28 | IsogenyQuotient.Hecke.Construction.rawRightCosetSupport (IsogenyQuotient.BlockLatticeCosets.Construction.blockIntegralLevel q) |
| 29 | (IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun i => (a i : ℤ))) ≃ |
| 30 | {M : Duality.RankThreeLattice ℤ_[q] ℚ_[q] // Duality.RelativePosition (q : ℤ_[q]) (fun i => (a i : ℤ)) L M} := by |
| 31 | have hbase := Duality.rankThreeLattice_basis hElementaryDivisors (q : ℤ_[q]) PadicInt.irreducible_p L |
| 32 | let b := hbase.choose |
| 33 | have hb : L.val = Submodule.span ℤ_[q] (Set.range b) := hbase.choose_spec |
| 34 | let e := (Pi.basisFun ℚ_[q] (Fin 3)).equiv b (Equiv.refl (Fin 3)) |
| 35 | have he : (Pi.basisFun ℚ_[q] (Fin 3)).map e = b := by |
| 36 | ext i : 1 |
| 37 | exact Module.Basis.equiv_apply (Pi.basisFun ℚ_[q] (Fin 3)) i b (Equiv.refl (Fin 3)) |
| 38 | have hs : RelativePositionTransport.rankThreeLatticeEquiv e (standardRankThreeLattice q) = L := by |
| 39 | apply Subtype.ext |
| 40 | rw [RelativePositionTransport.rankThreeLatticeEquiv_val] |
| 41 | change (Submodule.span ℤ_[q] (Set.range (Pi.basisFun ℚ_[q] (Fin 3)))).map |
| 42 | (e.toLinearMap.restrictScalars ℤ_[q]) = L.val |
| 43 | rw [RelativePositionTransport.map_basis_span, he, ← hb] |
| 44 | refine (standardRawRelativePositionEquiv q a).trans |
| 45 | ((RelativePositionTransport.rankThreeLatticeEquiv e).subtypeEquiv fun M => ?_) |
| 46 | rw [← hs, RelativePositionTransport.relativePosition_map_iff] |
| 47 | |
| 48 | theorem relativePositionChoices_card (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 49 | (L : Duality.RankThreeLattice ℤ_[q] ℚ_[q]) (a : Fin 3 → ℕ) : |
| 50 | Nat.card {M : Duality.RankThreeLattice ℤ_[q] ℚ_[q] // |
| 51 | Duality.RelativePosition (q : ℤ_[q]) (fun i => (a i : ℤ)) L M} = |
| 52 | Nat.card (IsogenyQuotient.Hecke.Construction.rawRightCosetSupport (IsogenyQuotient.BlockLatticeCosets.Construction.blockIntegralLevel q) |
| 53 | (IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun i => (a i : ℤ)))) := |
| 54 | Nat.card_congr (rawRelativePositionEquiv q hElementaryDivisors L a).symm |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePositionChoices |