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.PairedBlocks |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CharacterSeparation |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Rational |
| 4 | |
| 5 | /-! # Split Pairing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Rosati balance and the actual separated local characters force the |
| 12 | chosen/opposite block decomposition of a nondegenerate rational form. -/ |
| 13 | |
| 14 | section Coordinates |
| 15 | |
| 16 | variable {F V I R : Type*} [Field F] [AddCommGroup V] [Module F V] |
| 17 | [Fintype I] [DecidableEq I] |
| 18 | |
| 19 | def SplitPairing.coordinateScalarMap (c : I → F) : (I → V) →ₗ[F] (I → V) := |
| 20 | LinearMap.pi (fun i => c i • LinearMap.proj i) |
| 21 | |
| 22 | omit [Fintype I] in |
| 23 | theorem SplitPairing.coordinateScalarMap_single (c : I → F) (i : I) (x : V) : |
| 24 | SplitPairing.coordinateScalarMap c (Pi.single i x : I → V) = c i • (Pi.single i x : I → V) := by |
| 25 | funext j |
| 26 | change c j • (Pi.single i x : I → V) j = c i • (Pi.single i x : I → V) j |
| 27 | by_cases hj : j = i |
| 28 | · subst j; rfl |
| 29 | · simp only [Pi.single_eq_of_ne hj, smul_zero] |
| 30 | |
| 31 | omit [Fintype I] in |
| 32 | theorem SplitPairing.balanced_blocks_orthogonal (B : LinearMap.BilinForm F (I → V)) |
| 33 | (τ : I → I) (hτ : Function.Involutive τ) (χ : R → I → F) |
| 34 | (hχ : ∀ i j, i ≠ j → ∃ a, χ a i ≠ χ a j) |
| 35 | (hbal : ∀ a x y, B (SplitPairing.coordinateScalarMap (fun i => χ a (τ i)) x) y = |
| 36 | B x (SplitPairing.coordinateScalarMap (χ a) y)) |
| 37 | (i j : I) (hij : i ≠ τ j) (x y : V) : B (Pi.single i x) (Pi.single j y) = 0 := by |
| 38 | have hne : τ i ≠ j := fun he => hij ((hτ i).symm.trans (congrArg τ he)) |
| 39 | obtain ⟨a, ha⟩ := hχ (τ i) j hne |
| 40 | have he := hbal a (Pi.single i x) (Pi.single j y) |
| 41 | rw [SplitPairing.coordinateScalarMap_single, SplitPairing.coordinateScalarMap_single, |
| 42 | map_smul, LinearMap.smul_apply, map_smul] at he |
| 43 | change χ a (τ i) * B (Pi.single i x) (Pi.single j y) = |
| 44 | χ a j * B (Pi.single i x) (Pi.single j y) at he |
| 45 | by_contra hz |
| 46 | exact ha (mul_right_cancel₀ hz he) |
| 47 | |
| 48 | end Coordinates |
| 49 | |
| 50 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 51 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 52 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 53 | |
| 54 | def Data.SphericalPELAlbaneseData.oppositeBlock (v : Fin s × Bool) : Fin s × Bool := (v.1, !v.2) |
| 55 | |
| 56 | theorem Data.SphericalPELAlbaneseData.oppositeBlock_involutive : Function.Involutive (Data.SphericalPELAlbaneseData.oppositeBlock (s := s)) := by |
| 57 | intro v |
| 58 | exact Prod.ext rfl (Bool.not_not v.2) |
| 59 | |
| 60 | include hg in |
| 61 | theorem Data.SphericalPELAlbaneseData.splitPairing_block_nondegenerate (B : LinearMap.BilinForm ℚ_[q] (Rational.SplitTateSpace s q)) |
| 62 | (hB : B.Nondegenerate) |
| 63 | (hbal : ∀ (a : NumberField.RingOfIntegers E) x y, |
| 64 | B (SplitPairing.coordinateScalarMap (fun i => (D.localCharacter (Data.SphericalPELAlbaneseData.oppositeBlock i) a : ℚ_[q])) x) y = |
| 65 | B x (SplitPairing.coordinateScalarMap (fun i => (D.localCharacter i a : ℚ_[q])) y)) |
| 66 | (v : Fin s × Bool) : (PairedBlocks.oppositeBlockPairing B Data.SphericalPELAlbaneseData.oppositeBlock v).Nondegenerate := by |
| 67 | apply PairedBlocks.oppositeBlockPairing_nondegenerate B Data.SphericalPELAlbaneseData.oppositeBlock Data.SphericalPELAlbaneseData.oppositeBlock_involutive.injective hB |
| 68 | exact SplitPairing.balanced_blocks_orthogonal B Data.SphericalPELAlbaneseData.oppositeBlock Data.SphericalPELAlbaneseData.oppositeBlock_involutive |
| 69 | (fun a i => (D.localCharacter i a : ℚ_[q])) |
| 70 | (fun i j hij => D.rationalCharacter_separates hg hij) hbal |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |