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.IsogenyQuotient.SectionHomLocalSurjectivity |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.UnbundledPicardPullbackHom |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CharacterIsoPicardLifting |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Picard.SourceLocalSurjectivity |
| 5 | |
| 6 | /-! # Sheaf Iso -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PicardImage.SheafIso.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Kernel-character recovery and the actual fppf source map prove |
| 13 | that the abelian Picard image represents the entire homogeneous Picard sheaf. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | universe u |
| 19 | variable {k : Type u} [Field k] {A B C K : Over (Spec (.of k))} |
| 20 | [GrpObj A] [GrpObj B] [GrpObj C] [IsCommMonObj C] |
| 21 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 22 | (D : Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData A) (f : A ⟶ B) [IsMonHom f] |
| 23 | [IsFinite f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 24 | (Y : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation _ (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))) |
| 25 | (i : uliftYoneda.{u + 1}.obj C ⟶ (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf B).obj) |
| 26 | (F : ∀ T : Over (Spec (.of k)), (T ⟶ C) →* (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf B).obj.obj (op T)) |
| 27 | (hF : ∀ (T : Over (Spec (.of k))) (x : T ⟶ C), F T x = i.app (op T) (ULift.up x)) |
| 28 | (v : K ⟶ C) (c : K ⟶ Y.dual.X) [IsIso c] |
| 29 | (hc : ∀ (T : Over (Spec (.of k))) (x : T ⟶ K), |
| 30 | CartierDuality.ParameterizedCharacterProducts.Construction.KernelCharacters.parameterCharacterPicardHom f T (Y.sectionEquiv T (x ≫ c)) = i.app (op T) (ULift.up (x ≫ v))) |
| 31 | [Flat (SourceMap.Construction.picardImageSourceMap D f i).left] [Surjective (SourceMap.Construction.picardImageSourceMap D f i).left] |
| 32 | [LocallyOfFinitePresentation (SourceMap.Construction.picardImageSourceMap D f i).left] |
| 33 | |
| 34 | include D F hF v c hc in |
| 35 | set_option backward.isDefEq.respectTransparency false in |
| 36 | theorem picardImage_locallySurjective_of_character_iso : |
| 37 | Presheaf.IsLocallySurjective (Scheme.fppfTopology.over (Spec (.of k))) i := by |
| 38 | let (T : (Over (Spec (.of k)))ᵒᵖ) : CommGroup ((uliftYoneda.{u + 1}.obj C).obj T) := |
| 39 | inferInstanceAs (CommGroup (ULift.{u + 1} (T.unop ⟶ C))) |
| 40 | let FI (T : Over (Spec (.of k))) : (uliftYoneda.{u + 1}.obj C).obj (op T) →* |
| 41 | (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf B).obj.obj (op T) := { |
| 42 | toFun := fun x => F T x.down |
| 43 | map_one' := (F T).map_one |
| 44 | map_mul' x y := (F T).map_mul x.down y.down } |
| 45 | have := Picard.SourceLocalSurjectivity.Construction.picardImageSource_pullback_locallySurjective D f i |
| 46 | apply SectionHomLocalSurjectivity.Construction.locallySurjective_of_section_homs _ i (Picard.Homomorphisms.UnbundledHomogeneousPullback.Construction.UnbundledPicard.homogeneousPicardPullback A B f).hom |
| 47 | FI |
| 48 | (fun T x => hF T x.down) |
| 49 | (UnbundledPicardPullbackHom.Construction.nativeHomogeneousPicardPullbackHom f) (UnbundledPicardPullbackHom.Construction.nativeHomogeneousPicardPullbackHom_apply f) |
| 50 | (fun a => Picard.Homomorphisms.GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom (Picard.Homomorphisms.UnbundledGroup.Construction.UnbundledPicard.homogeneousPicardGroupPresheaf B) a.op) |
| 51 | (fun a x => Picard.Homomorphisms.GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom_apply (Picard.Homomorphisms.UnbundledGroup.Construction.UnbundledPicard.homogeneousPicardGroupPresheaf B) a.op x) |
| 52 | intro T y hy |
| 53 | exact CharacterIsoPicardLifting.Construction.characterIso_picardKernel_cover f Y i v c hc T y |
| 54 | (UnbundledPicardPullbackHom.Construction.nativeHomogeneousPicardPullback_kernel_relative f T y hy) |
| 55 | |
| 56 | include D F hF v c hc in |
| 57 | theorem picardImage_isIso_of_character_iso [Mono i] : IsIso i := by |
| 58 | have hs : Presheaf.IsLocallySurjective (Scheme.fppfTopology.over (Spec (.of k))) i := |
| 59 | picardImage_locallySurjective_of_character_iso D f Y i F hF v c hc |
| 60 | have hi : Presheaf.IsLocallyInjective (Scheme.fppfTopology.over (Spec (.of k))) i := by |
| 61 | constructor |
| 62 | intro T x y hxy |
| 63 | have hinj : Function.Injective (i.app T) := (CategoryTheory.mono_iff_injective _).mp inferInstance |
| 64 | rw [hinj hxy, Presheaf.equalizerSieve_self_eq_top] |
| 65 | exact (Scheme.fppfTopology.over (Spec (.of k))).top_mem _ |
| 66 | let j : CartierDuality.CharacterFunctor.Construction.Schemes.pointSheaf _ C ⟶ Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf B := ⟨i⟩ |
| 67 | have : Sheaf.IsLocallySurjective j := hs |
| 68 | have : Sheaf.IsLocallyInjective j := hi |
| 69 | have : IsIso j := (Sheaf.isLocallyBijective_iff_isIso j).mp ⟨inferInstance, inferInstance⟩ |
| 70 | exact (sheafToPresheaf _ _).map_isIso j |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PicardImage.SheafIso.Construction |