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.GeometricKernelChoices |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricIntegralBlocks |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockTateChoices |
| 4 | |
| 5 | /-! # Geometric Branches -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual IsogenyQuotient branches over every geometric point correspond to the |
| 12 | raw local right-coset supports. The rank-three bases are constructed on |
| 13 | the actual Tate blocks, and the subgroup formula is the actual kernel. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 19 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 20 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 21 | (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) (h : D.HasIntegralModelGeometry) |
| 22 | {k : Type} [Field k] [IsAlgClosed k] |
| 23 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) |
| 24 | |
| 25 | def Data.SphericalPELAlbaneseData.geometricIntegralBlockBasis (v : Fin s × Bool) : |
| 26 | Module.Basis (Fin 3) ℤ_[q] |
| 27 | (D.integralTateBlock hg (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) v) := by |
| 28 | have hff := D.fiberTateBlock_finite_free b x hg v |
| 29 | have := hff.1 |
| 30 | have := hff.2 |
| 31 | exact Module.finBasisOfFinrankEq ℤ_[q] _ |
| 32 | (D.geometricIntegralBlock_finrank hg hdegree hs h b x v) |
| 33 | |
| 34 | def Data.SphericalPELAlbaneseData.geometricRawBlockSubgroupEquiv (t : Local.IntegralType s) (v : Fin s) : |
| 35 | IsogenyQuotient.Hecke.Construction.rawRightCosetSupport (IsogenyQuotient.BlockLatticeCosets.Construction.blockIntegralLevel q) |
| 36 | (IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun i => (t.exponentNat v i : ℤ))) ≃ |
| 37 | {J : AddSubgroup (D.torsionBlock hg (Over.mk (𝟙 (Spec (.of k)))) |
| 38 | (D.fiberFamily b x) t.multiplierNat (v, false)) // |
| 39 | Nonempty (J ≃+ (∀ i : Fin 3, ZMod (q ^ t.exponentNat v i)))} := by |
| 40 | have : CharZero k := FiberLattices.charZero_of_field_spec_map b |
| 41 | exact IsogenyQuotient.BlockTateChoices.Construction.rawTateBlockSubgroupChoicesEquiv q t.multiplierNat |
| 42 | (D.splitTateAction hg (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x)) |
| 43 | (D.splitTorsionAction hg (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) t.multiplierNat) |
| 44 | (D.evaluate_splitAction hg (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) t.multiplierNat) |
| 45 | (GeometricDivision.geometricPoint_divisible (D.fiberFamily b x).abelian q) (v, false) |
| 46 | (D.geometricIntegralBlockBasis hg hdegree hs h b x (v, false)) |
| 47 | (t.exponentNat v) (t.exponentNat_le v) |
| 48 | (fun _ _ hij => Int.toNat_le_toNat (t.val.dominant v hij)) IsogenyQuotient.ElementaryDivisors.Construction.verified_ElementaryDivisorsInput |
| 49 | |
| 50 | def Data.SphericalPELAlbaneseData.geometricFiberRawCosetEquiv (hIsogenyQuotient : D.RealizesIsogenyQuotient) (t : Local.IntegralType s) : |
| 51 | (D.correspondence t).Fiber x ≃ |
| 52 | ∀ v : Fin s, IsogenyQuotient.Hecke.Construction.rawRightCosetSupport (IsogenyQuotient.BlockLatticeCosets.Construction.blockIntegralLevel q) |
| 53 | (IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun i => (t.exponentNat v i : ℤ))) := |
| 54 | (D.c46FiberTorsionSubgroupEquiv t hg b hIsogenyQuotient x).trans |
| 55 | (Equiv.piCongrRight fun v => (D.geometricRawBlockSubgroupEquiv hg hdegree hs h b x t v).symm) |
| 56 | |
| 57 | theorem Data.SphericalPELAlbaneseData.geometricFiberRawCosetEquiv_kernel (hIsogenyQuotient : D.RealizesIsogenyQuotient) (t : Local.IntegralType s) |
| 58 | (c : (D.correspondence t).Fiber x) (v : Fin s) |
| 59 | (z : D.torsionBlock hg (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) t.multiplierNat (v, false)) : |
| 60 | z ∈ (D.geometricRawBlockSubgroupEquiv hg hdegree hs h b x t v |
| 61 | (D.geometricFiberRawCosetEquiv hg hdegree hs h b x hIsogenyQuotient t c v)).val ↔ |
| 62 | z.val.val.toMul ≫ |
| 63 | (D.c46FiberIsogeny hIsogenyQuotient t x (c.val ≫ (D.correspondence t).target) |
| 64 | c.val c.property rfl).isogeny.hom = 1 := by |
| 65 | change z ∈ (D.geometricRawBlockSubgroupEquiv hg hdegree hs h b x t v |
| 66 | ((D.geometricRawBlockSubgroupEquiv hg hdegree hs h b x t v).symm |
| 67 | (D.c46FiberTorsionSubgroupEquiv t hg b hIsogenyQuotient x c v))).val ↔ _ |
| 68 | rw [Equiv.apply_symm_apply] |
| 69 | exact D.c46FiberTorsionSubgroupEquiv_membership t hg b hIsogenyQuotient x c v z |
| 70 | |
| 71 | include hg hdegree hs h in |
| 72 | theorem Data.SphericalPELAlbaneseData.geometricBranchCount (hIsogenyQuotient : D.RealizesIsogenyQuotient) (t : Local.IntegralType s) : |
| 73 | Nat.card ((D.correspondence t).Fiber x) = |
| 74 | ∏ v : Fin s, Nat.card (IsogenyQuotient.Hecke.Construction.rawRightCosetSupport (IsogenyQuotient.BlockLatticeCosets.Construction.blockIntegralLevel q) |
| 75 | (IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun i => (t.exponentNat v i : ℤ)))) := by |
| 76 | rw [Nat.card_congr (D.geometricFiberRawCosetEquiv hg hdegree hs h b x hIsogenyQuotient t), Nat.card_pi] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |