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.IsogenyQuotient.BlockTateCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FiniteGeneration |
| 3 | |
| 4 | /-! # Tate Block Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TateBlockBasis.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Integral Tate blocks are finite free. Their finite-level point counts |
| 12 | determine their ranks through the actual evaluation coordinates, so a |
| 13 | rank-three basis is constructed once the q-torsion block has q^3 points. |
| 14 | -/ |
| 15 | |
| 16 | variable (q : ℕ) [Fact q.Prime] {H I : Type*} [AddCommGroup H] |
| 17 | [Finite (TateComparison.Add.Tate.torsion q H 1)] (hdiv : ∀ x : H, ∃ y, q • y = x) |
| 18 | (θ : (I → ℤ_[q]) →ₐ[ℤ_[q]] Module.End ℤ_[q] (TateComparison.Add.Tate.Module (H := H) q)) (i : I) |
| 19 | |
| 20 | include hdiv in |
| 21 | theorem integralTateBlock_finite : Module.Finite ℤ_[q] (TateComparison.ProductActionDecomposition.ProductAction.block θ i) := by |
| 22 | have := TateComparison.FiniteGeneration.Tate.finite_of_finite_torsion q hdiv |
| 23 | infer_instance |
| 24 | |
| 25 | include hdiv in |
| 26 | theorem integralTateBlock_free : Module.Free ℤ_[q] (TateComparison.ProductActionDecomposition.ProductAction.block θ i) := by |
| 27 | have := integralTateBlock_finite q hdiv θ i |
| 28 | have : Module.IsTorsionFree ℤ_[q] (TateComparison.ProductActionDecomposition.ProductAction.block θ i) := |
| 29 | Module.IsTorsionFree.of_smul_eq_zero fun (r : ℤ_[q]) (x : TateComparison.ProductActionDecomposition.ProductAction.block θ i) hx => by |
| 30 | by_cases hr : r = 0 |
| 31 | · exact Or.inl hr |
| 32 | · apply Or.inr |
| 33 | apply Subtype.ext |
| 34 | exact TateComparison.Functor.Tate.smul_eq_zero_of_ne_zero q r hr x.val (congrArg Subtype.val hx) |
| 35 | exact Module.free_of_finite_type_torsion_free' (R := ℤ_[q]) (M := TateComparison.ProductActionDecomposition.ProductAction.block θ i) |
| 36 | |
| 37 | def integralTateBlockBasis : |
| 38 | Module.Basis (Fin (Module.finrank ℤ_[q] (TateComparison.ProductActionDecomposition.ProductAction.block θ i))) |
| 39 | ℤ_[q] (TateComparison.ProductActionDecomposition.ProductAction.block θ i) := by |
| 40 | have := integralTateBlock_finite q hdiv θ i |
| 41 | have := integralTateBlock_free q hdiv θ i |
| 42 | exact Module.finBasis _ _ |
| 43 | |
| 44 | variable (n : ℕ) |
| 45 | (ψ : (I → ℤ_[q]) →ₐ[ℤ_[q]] Module.End ℤ_[q] (TateComparison.Add.Tate.torsion q H n)) |
| 46 | (heval : ∀ a, (TateComparison.Evaluation.Tate.evaluate q n).comp (θ a) = (ψ a).comp (TateComparison.Evaluation.Tate.evaluate q n)) |
| 47 | |
| 48 | include hdiv heval in |
| 49 | theorem finiteTateBlock_card : |
| 50 | Nat.card (TateComparison.ProductActionDecomposition.ProductAction.block ψ i) = (q ^ n) ^ Module.finrank ℤ_[q] (TateComparison.ProductActionDecomposition.ProductAction.block θ i) := by |
| 51 | let B := integralTateBlockBasis q hdiv θ i |
| 52 | let e := BlockTateCoordinates.Construction.blockTateTorsionCoordinates q n θ ψ heval hdiv i B |
| 53 | calc |
| 54 | Nat.card (TateComparison.ProductActionDecomposition.ProductAction.block ψ i) = |
| 55 | Nat.card (Fin (Module.finrank ℤ_[q] (TateComparison.ProductActionDecomposition.ProductAction.block θ i)) → ZMod (q ^ n)) := |
| 56 | Nat.card_congr e.toEquiv |
| 57 | _ = _ := by rw [Nat.card_eq_fintype_card, Fintype.card_fun, ZMod.card, Fintype.card_fin] |
| 58 | |
| 59 | variable (ψ₁ : (I → ℤ_[q]) →ₐ[ℤ_[q]] Module.End ℤ_[q] (TateComparison.Add.Tate.torsion q H 1)) |
| 60 | (heval₁ : ∀ a, (TateComparison.Evaluation.Tate.evaluate q 1).comp (θ a) = (ψ₁ a).comp (TateComparison.Evaluation.Tate.evaluate q 1)) |
| 61 | |
| 62 | include hdiv heval₁ in |
| 63 | theorem integralTateBlock_rank_of_card (d : ℕ) (hd : Nat.card (TateComparison.ProductActionDecomposition.ProductAction.block ψ₁ i) = q ^ d) : |
| 64 | Module.finrank ℤ_[q] (TateComparison.ProductActionDecomposition.ProductAction.block θ i) = d := by |
| 65 | have he := (finiteTateBlock_card q hdiv θ i 1 ψ₁ heval₁).symm.trans hd |
| 66 | rw [pow_one] at he |
| 67 | exact Nat.pow_right_injective (Fact.out : q.Prime).two_le he |
| 68 | |
| 69 | def rankThreeTateBlockBasis (hd : Nat.card (TateComparison.ProductActionDecomposition.ProductAction.block ψ₁ i) = q ^ 3) : |
| 70 | Module.Basis (Fin 3) ℤ_[q] (TateComparison.ProductActionDecomposition.ProductAction.block θ i) := |
| 71 | (integralTateBlockBasis q hdiv θ i).reindex |
| 72 | (finCongr (integralTateBlock_rank_of_card q hdiv θ i ψ₁ heval₁ 3 hd)) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TateBlockBasis.Construction |