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.Local |
| 2 | import Mathlib.LinearAlgebra.PerfectPairing.Basic |
| 3 | |
| 4 | /-! # Integral Pairing Lattices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralPairingLattices |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A perfect integral pairing identifies the images of its two modules |
| 11 | as dual lattices, once the ambient rational form agrees with its values. |
| 12 | The integral dual-lattice identity is proved from the pairing map. -/ |
| 13 | |
| 14 | variable {R K U V W : Type*} [CommRing R] [IsDomain R] |
| 15 | [Field K] [Algebra R K] [Module.IsTorsionFree R K] |
| 16 | [AddCommGroup U] [Module R U] [Module K U] [IsScalarTower R K U] |
| 17 | [AddCommGroup V] [Module R V] [AddCommGroup W] [Module R W] |
| 18 | (B : LinearMap.BilinForm K U) (L M : Submodule R U) |
| 19 | (eV : V ≃ₗ[R] L) (eW : W ≃ₗ[R] M) |
| 20 | (β : W →ₗ[R] V →ₗ[R] R) |
| 21 | (hB : ∀ (y : W) (x : V), B (eW y).val (eV x).val = algebraMap R K (β y x)) |
| 22 | |
| 23 | include hB in |
| 24 | omit [IsDomain R] [Module.IsTorsionFree R K] in |
| 25 | theorem integralPairing_image_le_dual : M ≤ B.dualSubmodule L := by |
| 26 | intro y hy x hx |
| 27 | apply Submodule.mem_one.mpr |
| 28 | refine ⟨β (eW.symm ⟨y, hy⟩) (eV.symm ⟨x, hx⟩), ?_⟩ |
| 29 | have h := hB (eW.symm ⟨y, hy⟩) (eV.symm ⟨x, hx⟩) |
| 30 | simpa only [LinearEquiv.apply_symm_apply] using h.symm |
| 31 | |
| 32 | include hB in |
| 33 | theorem integralPairing_latticePairingMap (hIntegral : M ≤ B.dualSubmodule L) |
| 34 | (y : W) (x : V) : |
| 35 | Local.latticePairingMap B L M hIntegral (eW y) (eV x) = β y x := by |
| 36 | apply FaithfulSMul.algebraMap_injective R K |
| 37 | change algebraMap R K |
| 38 | (B.dualSubmoduleParing (Submodule.inclusion hIntegral (eW y)) (eV x)) = _ |
| 39 | rw [B.dualSubmoduleParing_spec] |
| 40 | exact hB y x |
| 41 | |
| 42 | include hB in |
| 43 | theorem perfectLatticePairing_of_integralPairing (hβ : Function.Bijective β) : |
| 44 | Local.IsPerfectLatticePairing B L M := by |
| 45 | let hIntegral := integralPairing_image_le_dual B L M eV eW β hB |
| 46 | refine ⟨hIntegral, ?_⟩ |
| 47 | have hmap : Local.latticePairingMap B L M hIntegral = |
| 48 | eV.symm.dualMap.toLinearMap.comp (β.comp eW.symm.toLinearMap) := by |
| 49 | apply LinearMap.ext |
| 50 | intro y |
| 51 | obtain ⟨y, rfl⟩ := eW.surjective y |
| 52 | apply LinearMap.ext |
| 53 | intro x |
| 54 | obtain ⟨x, rfl⟩ := eV.surjective x |
| 55 | simpa only [LinearMap.comp_apply, LinearEquiv.coe_toLinearMap, |
| 56 | LinearEquiv.symm_apply_apply, LinearEquiv.dualMap_apply] using |
| 57 | integralPairing_latticePairingMap B L M eV eW β hB hIntegral y x |
| 58 | rw [hmap] |
| 59 | exact eV.symm.dualMap.bijective.comp (hβ.comp eW.symm.bijective) |
| 60 | |
| 61 | include hB in |
| 62 | theorem integralPairing_image_eq_dual (hβ : Function.Bijective β) |
| 63 | (hBnd : B.Nondegenerate) (hL : Submodule.span K (L : Set U) = ⊤) : |
| 64 | M = B.dualSubmodule L := |
| 65 | Local.perfectLatticePairing_forces_dual B hBnd L M hL |
| 66 | (perfectLatticePairing_of_integralPairing B L M eV eW β hB hβ) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralPairingLattices |