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.CentralAction.ReducedFiber |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.GroupKernel |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.ScalarIsogeny |
| 4 | |
| 5 | /-! # Polarization Etale -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.PolarizationEtale.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The degree and geometric kernel type of a polarization prove its |
| 12 | etaleness on an algebraically closed fiber. The polarization equation then |
| 13 | proves etaleness of every PEL isogeny with an invertible multiplier. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | variable {k : Type} [Field k] [IsAlgClosed k] {g N n : ℕ} |
| 20 | |
| 21 | theorem polarization_kernel_etale |
| 22 | {A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} (p : A.Isogeny B) |
| 23 | (δ : Fin g → ℕ) (hp : p.HasPolarizationType δ) : |
| 24 | Etale (GroupKernel.Construction.groupKernelScheme p.hom).hom := by |
| 25 | have : IsFinite (GroupKernel.Construction.groupKernelScheme p.hom).hom := |
| 26 | MorphismProperty.of_isPullback (P := @IsFinite) (GroupKernel.Construction.groupKernel_isPullback_left p.hom) inferInstance |
| 27 | have : Flat (GroupKernel.Construction.groupKernelScheme p.hom).hom := |
| 28 | MorphismProperty.of_isPullback (P := @Flat) (GroupKernel.Construction.groupKernel_isPullback_left p.hom) inferInstance |
| 29 | have hcount : Nat.card (Over.mk (𝟙 (Spec (.of k))) ⟶ GroupKernel.Construction.groupKernelScheme p.hom) = |
| 30 | (∏ i, δ i) ^ 2 := by |
| 31 | calc |
| 32 | _ = Nat.card (p.kernelAt (Over.mk (𝟙 (Spec (.of k))))) := |
| 33 | Nat.card_congr (GroupKernel.Construction.groupKernelPointsEquiv p.hom _) |
| 34 | _ = _ := by |
| 35 | rw [Nat.card_congr (hp.geometricKernel k (𝟙 _)).some.toEquiv] |
| 36 | change Nat.card ((∀ i, ZMod (δ i)) × (∀ i, ZMod (δ i))) = _ |
| 37 | rw [Nat.card_prod, Nat.card_pi] |
| 38 | simp only [Nat.card_zmod, ← pow_two] |
| 39 | apply ReducedFiber.Construction.finite_field_scheme_etale_of_point_count k |
| 40 | rw [hcount, Scheme.Hom.finrank_of_isPullback _ _ _ _ (GroupKernel.Construction.groupKernel_isPullback_left p.hom)] |
| 41 | exact (hp.degree _).symm |
| 42 | |
| 43 | theorem polarization_etale |
| 44 | {A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} (p : A.Isogeny B) |
| 45 | (δ : Fin g → ℕ) (hp : p.HasPolarizationType δ) : Etale p.hom.left := by |
| 46 | have : IsFinite (GroupKernel.Construction.groupKernelScheme p.hom).hom := |
| 47 | MorphismProperty.of_isPullback (P := @IsFinite) (GroupKernel.Construction.groupKernel_isPullback_left p.hom) inferInstance |
| 48 | have : Etale (GroupKernel.Construction.groupKernelScheme p.hom).hom := polarization_kernel_etale p δ hp |
| 49 | have : FormallyUnramified p.hom.left := GroupKernel.Construction.groupHom_unramified_of_etale_kernel p.hom |
| 50 | have : IsLocallyNoetherian B.scheme.left := LocallyOfFiniteType.isLocallyNoetherian B.scheme.hom |
| 51 | have : LocallyOfFinitePresentation p.hom.left := inferInstance |
| 52 | exact Etale.of_formallyUnramified_of_flat _ |
| 53 | |
| 54 | variable {R : Type} [CommRing R] |
| 55 | |
| 56 | /-- The source polarization and the actual PEL equation prove etaleness; |
| 57 | no separability or reduced-kernel assumption is imposed on the isogeny. -/ |
| 58 | theorem pelIsogeny_etale_of_polarization_type |
| 59 | {A B : TateComparison.PEL.PELFamilyData R g N (Spec (.of k))} (f : TateComparison.PELIsogenies.PELIsogeny A B n) |
| 60 | (δ : Fin g → ℕ) (hA : A.polarizationMap.HasPolarizationType δ) |
| 61 | (hn : ∀ x : Spec (.of k), IsUnit (n : (Spec (.of k)).presheaf.stalk x)) : |
| 62 | Etale f.isogeny.hom.left := by |
| 63 | have : Etale A.polarizationMap.hom.left := polarization_etale A.polarizationMap δ hA |
| 64 | have : Etale ((𝟙 A.dual.abelian.scheme) ^ n).left := |
| 65 | (ScalarIsogeny.Construction.abelian_multiplier_finite_etale_surjective A.dual.abelian n hn).2.1 |
| 66 | have hpower : (A.polarizationMap.hom ^ n).left = |
| 67 | A.polarizationMap.hom.left ≫ ((𝟙 A.dual.abelian.scheme) ^ n).left := by |
| 68 | rw [← Over.comp_left, MonObj.comp_pow, Category.comp_id] |
| 69 | have : Etale (A.polarizationMap.hom ^ n).left := by rw [hpower]; infer_instance |
| 70 | have hpol : f.isogeny.hom.left ≫ (B.polarizationMap.hom.left ≫ f.dualHom.left) = |
| 71 | (A.polarizationMap.hom ^ n).left := congrArg Over.Hom.left f.polarization |
| 72 | have : FormallyUnramified (f.isogeny.hom.left ≫ |
| 73 | (B.polarizationMap.hom.left ≫ f.dualHom.left)) := by rw [hpol]; infer_instance |
| 74 | have : FormallyUnramified f.isogeny.hom.left := FormallyUnramified.of_comp |
| 75 | f.isogeny.hom.left (B.polarizationMap.hom.left ≫ f.dualHom.left) |
| 76 | have : IsLocallyNoetherian B.abelian.scheme.left := |
| 77 | LocallyOfFiniteType.isLocallyNoetherian B.abelian.scheme.hom |
| 78 | have : LocallyOfFinitePresentation f.isogeny.hom.left := inferInstance |
| 79 | exact Etale.of_formallyUnramified_of_flat _ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.PolarizationEtale.Construction |