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.Isogenies.NeighborCounting.CompactChoiceExistence |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.TateChoices |
| 3 | |
| 4 | /-! # Compact Choices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Geometric.CompactChoices |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original compact supported-choice functor has precisely one |
| 11 | geometric point once its actual block coordinates are constructed. Its |
| 12 | subgroup membership is literally that of the whole block or its identity. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.TateChoices.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompactChoiceExistence |
| 18 | |
| 19 | variable {S : Scheme} {A : Over S} [GrpObj A] [IsCommMonObj A] |
| 20 | (q m : ℕ) [NeZero q] (flag : Bool) |
| 21 | (K : Type) [Field K] [IsAlgClosed K] (b : Spec (.of K) ⟶ S) |
| 22 | (p : A ⟶ A) [IsMonHom p] |
| 23 | [IsFinite (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) p).hom] [Etale (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) p).hom] |
| 24 | |
| 25 | local instance compactModuleAtLevel : |
| 26 | Module (ZMod (q ^ m)) (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (fun _ => if flag then m else 0)) := |
| 27 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q m (fun _ => if flag then m else 0) |
| 28 | (fun _ => by cases flag <;> simp) |
| 29 | |
| 30 | variable (e : Additive (Over.mk b ⟶ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) p) ≃+ (Fin 3 → ZMod (q ^ m))) |
| 31 | |
| 32 | def geometricCompactChoice : |
| 33 | AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction.SupportedChoice A (q ^ m) |
| 34 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (fun _ => if flag then m else 0)) p (Over.mk b) := |
| 35 | (AbelianScheme.IsogenyQuotient.Geometric.TateChoices.Construction.geometricSupportedAdditiveChoiceEquiv (q ^ m) |
| 36 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (fun _ => if flag then m else 0)) K b p |
| 37 | (AddEquiv.refl _)).symm (CompactChoiceExistence.compactTypedChoice q m _ e flag) |
| 38 | |
| 39 | theorem geometricCompactChoice_unique |
| 40 | (F : AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction.SupportedChoice A (q ^ m) |
| 41 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (fun _ => if flag then m else 0)) p (Over.mk b)) : |
| 42 | F = geometricCompactChoice q m flag K b p e := by |
| 43 | apply (AbelianScheme.IsogenyQuotient.Geometric.TateChoices.Construction.geometricSupportedAdditiveChoiceEquiv (q ^ m) |
| 44 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (fun _ => if flag then m else 0)) K b p |
| 45 | (AddEquiv.refl _)).injective |
| 46 | rw [geometricCompactChoice, Equiv.apply_symm_apply] |
| 47 | exact CompactChoiceExistence.compactTypedChoice_unique q m _ e flag _ |
| 48 | |
| 49 | include e in |
| 50 | theorem geometricCompactChoice_membership |
| 51 | (F : AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction.SupportedChoice A (q ^ m) |
| 52 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (fun _ => if flag then m else 0)) p (Over.mk b)) |
| 53 | (x : Additive (Over.mk b ⟶ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ m) p)) : |
| 54 | x.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ m) p ∈ F.val.subgroup.points (Over.mk b) (𝟙 _) ↔ |
| 55 | if flag then True else x = 0 := by |
| 56 | refine (AbelianScheme.IsogenyQuotient.Geometric.TateChoices.Construction.geometricSupportedAdditiveChoiceEquiv_membership (q ^ m) |
| 57 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (fun _ => if flag then m else 0)) K b p |
| 58 | (AddEquiv.refl _) F x).symm.trans ?_ |
| 59 | rw [CompactChoiceExistence.compactTypedChoice_unique q m _ e flag |
| 60 | (AbelianScheme.IsogenyQuotient.Geometric.TateChoices.Construction.geometricSupportedAdditiveChoiceEquiv (q ^ m) |
| 61 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (fun _ => if flag then m else 0)) K b p |
| 62 | (AddEquiv.refl _) F), |
| 63 | CompactChoiceExistence.compactTypedChoice_subgroup] |
| 64 | cases flag <;> simp |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Geometric.CompactChoices |