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.TateComparison.ScalarLattices |
| 3 | |
| 4 | /-! # Position Scaling -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Relative.PositionScaling |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact scalar shifts and reversal of intrinsic rank-three lattice |
| 11 | positions, retaining simultaneous bases and their original q-powers. -/ |
| 12 | |
| 13 | open scoped Pointwise |
| 14 | |
| 15 | variable (q : ℕ) [Fact q.Prime] |
| 16 | |
| 17 | def scaledRankThreeLattice (r : ℤ) (L : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RankThreeLattice ℤ_[q] ℚ_[q]) : |
| 18 | AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RankThreeLattice ℤ_[q] ℚ_[q] := |
| 19 | AlgebraicGeometry.AbelianScheme.TateComparison.RelativePositionTransport.rankThreeLatticeEquiv (LinearEquiv.smulOfUnit (M := Fin 3 → ℚ_[q]) (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ r)) L |
| 20 | |
| 21 | theorem scaledRankThreeLattice_val (r : ℤ) (L : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RankThreeLattice ℤ_[q] ℚ_[q]) : |
| 22 | (scaledRankThreeLattice q r L).val = (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ r) • L.val := by |
| 23 | ext x |
| 24 | rfl |
| 25 | |
| 26 | theorem relativePosition_scale_right (a : Fin 3 → ℤ) (r : ℤ) |
| 27 | (L M : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RankThreeLattice ℤ_[q] ℚ_[q]) (h : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RelativePosition (q : ℤ_[q]) a L M) : |
| 28 | AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RelativePosition (q : ℤ_[q]) (fun i => a i - r) L (scaledRankThreeLattice q r M) := by |
| 29 | obtain ⟨b, hL, hM⟩ := h |
| 30 | refine ⟨b, hL, ?_⟩ |
| 31 | rw [scaledRankThreeLattice_val, hM] |
| 32 | change ((AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ r : ℚ_[q]ˣ) : ℚ_[q]) • Submodule.span ℤ_[q] _ = _ |
| 33 | rw [Submodule.smul_span, Set.smul_set_range] |
| 34 | congr 2 |
| 35 | funext i |
| 36 | simp only [Units.val_zpow_eq_zpow_val, map_natCast] |
| 37 | change (q : ℚ_[q]) ^ r • ((q : ℚ_[q]) ^ (-a i) • b i) = |
| 38 | (q : ℚ_[q]) ^ (-(a i - r)) • b i |
| 39 | rw [smul_smul, ← zpow_add₀ (by exact_mod_cast (Fact.out : q.Prime).ne_zero)] |
| 40 | congr 2 |
| 41 | omega |
| 42 | |
| 43 | theorem relativePosition_swap (a : Fin 3 → ℤ) |
| 44 | (L M : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RankThreeLattice ℤ_[q] ℚ_[q]) (h : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RelativePosition (q : ℤ_[q]) a L M) : |
| 45 | AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RelativePosition (q : ℤ_[q]) (fun i => -a i) M L := by |
| 46 | obtain ⟨b, hL, hM⟩ := h |
| 47 | refine ⟨b.unitsSMul (fun i => AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ (-a i)), ?_, ?_⟩ |
| 48 | · rw [hM] |
| 49 | congr 2 |
| 50 | funext i |
| 51 | rw [Module.Basis.unitsSMul_apply] |
| 52 | simp only [Units.smul_def, Units.val_zpow_eq_zpow_val, map_natCast] |
| 53 | rfl |
| 54 | · rw [hL] |
| 55 | congr 2 |
| 56 | funext i |
| 57 | rw [Module.Basis.unitsSMul_apply] |
| 58 | simp only [Units.smul_def, Units.val_zpow_eq_zpow_val, map_natCast] |
| 59 | change b i = (q : ℚ_[q]) ^ (-(-a i)) • ((q : ℚ_[q]) ^ (-a i) • b i) |
| 60 | rw [neg_neg, smul_smul, ← zpow_add₀ (by exact_mod_cast (Fact.out : q.Prime).ne_zero), |
| 61 | add_neg_cancel, zpow_zero, one_smul] |
| 62 | |
| 63 | theorem relativePosition_reindex (a : Fin 3 → ℤ) (σ : Equiv.Perm (Fin 3)) |
| 64 | (L M : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RankThreeLattice ℤ_[q] ℚ_[q]) (h : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RelativePosition (q : ℤ_[q]) a L M) : |
| 65 | AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RelativePosition (q : ℤ_[q]) (fun i => a (σ.symm i)) L M := by |
| 66 | obtain ⟨b, hL, hM⟩ := h |
| 67 | refine ⟨b.reindex σ, ?_, ?_⟩ |
| 68 | · rw [hL] |
| 69 | congr 1 |
| 70 | simpa only [Module.Basis.coe_reindex] using (σ.symm.surjective.range_comp b).symm |
| 71 | · rw [hM] |
| 72 | congr 1 |
| 73 | simpa only [Module.Basis.reindex_apply, Function.comp_def, map_natCast] using |
| 74 | (σ.symm.surjective.range_comp (fun i => (q : ℚ_[q]) ^ (-a i) • b i)).symm |
| 75 | |
| 76 | theorem relativePosition_complement (a : Fin 3 → ℤ) (m : ℕ) |
| 77 | (L M : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RankThreeLattice ℤ_[q] ℚ_[q]) (h : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RelativePosition (q : ℤ_[q]) a L M) : |
| 78 | AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RelativePosition (q : ℤ_[q]) (fun i => (m : ℤ) - a (Fin.rev i)) |
| 79 | M (scaledRankThreeLattice q (-(m : ℤ)) L) := by |
| 80 | have H := relativePosition_reindex q _ Fin.revPerm _ _ |
| 81 | (relativePosition_scale_right q _ (-(m : ℤ)) _ _ (relativePosition_swap q a L M h)) |
| 82 | simpa only [Fin.revPerm_symm, Fin.revPerm_apply, sub_neg_eq_add, neg_add_eq_sub] using H |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.RepresentationTheory.Theta.Geometric.Relative.PositionScaling |