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.CoprimeComplementKernelComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ComplementTorsionPairing |
| 3 | |
| 4 | /-! # Coprime Kernel Cartier Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CoprimeKernelCartierIso.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coprime source-kernel comparison and full torsion self-annihilation |
| 11 | give an actual Cartier-dual isomorphism for the Picard source-map kernel. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 17 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup Picard.PoincareBundle.Kernel.Scheme.kernelGroup_commutative |
| 18 | |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} {A B C Z : Over S} |
| 21 | [GrpObj A] [GrpObj B] [GrpObj C] [GrpObj Z] |
| 22 | [IsCommMonObj A] [IsCommMonObj B] [IsCommMonObj C] |
| 23 | (f : A ⟶ B) [IsMonHom f] [IsFinite f.left] [Flat f.left] [Surjective f.left] |
| 24 | [LocallyOfFinitePresentation f.left] |
| 25 | (q : B ⟶ C) [IsMonHom q] [IsFinite q.left] [Flat q.left] [Surjective q.left] |
| 26 | (g : C ⟶ Z) [IsMonHom g] |
| 27 | [IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject g).hom] [Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject g).hom] |
| 28 | [LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.Scheme.kernelObject g).hom] |
| 29 | (φ : A ⟶ Z) [IsMonHom φ] |
| 30 | (n d : ℕ) (hnd : n.Coprime d) (hcomp : f ≫ q ≫ g = φ ^ n) |
| 31 | (hφ : ∀ (T : Over S) (x : T ⟶ A), x ≫ φ = 1 → x ^ d = 1) |
| 32 | (hf : ∀ (T : Over S) (x : T ⟶ A), x ≫ f = 1 → x ^ n = 1) |
| 33 | (eK : Picard.PoincareBundle.Kernel.Scheme.kernelObject φ ≅ Picard.PoincareBundle.Kernel.Scheme.kernelObject q) [IsMonHom eK.hom] |
| 34 | (heK : eK.hom ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion q = Picard.PoincareBundle.Kernel.Scheme.kernelInclusion φ ≫ f) |
| 35 | (b : Annihilator.Construction.SchemeBicharacter (A := Torsion.Groups.Construction.nativeTorsionScheme A n) (B := Torsion.Groups.Construction.nativeTorsionScheme A n) |
| 36 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) |
| 37 | (hb : b.toSheafPairing.IsPerfect) |
| 38 | (hlag : |
| 39 | let F := SubgroupTransport.Construction.relativeSubgroupPullback (Torsion.Groups.Construction.nativeTorsionInclusion A n) (Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f) |
| 40 | b.relativeAnnihilator F = F) |
| 41 | (Y : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject f))) |
| 42 | |
| 43 | include hnd hcomp hφ hf eK heK b hb hlag in |
| 44 | theorem coprimeKernel_cartierSheafIso : |
| 45 | Nonempty (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject g)) ≅ |
| 46 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject f)))) := by |
| 47 | obtain ⟨r, hr, hfr, _hrf, j, hj⟩ := |
| 48 | CoprimeComplementKernelComparison.Construction.exists_coprime_complement_kernel_comparison f q g φ n d hnd hcomp hφ hf eK heK |
| 49 | have : IsMonHom r := hr |
| 50 | have : IsMonHom (j.hom ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion g) := by rw [hj]; infer_instance |
| 51 | have : IsMonHom j.hom := Picard.PoincareBundle.Kernel.Splitting.isMonHom_of_mono_postcomp j.hom (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion g) |
| 52 | have : IsIso j.hom.left := (Over.forget S).map_isIso j.hom |
| 53 | have : IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom := by rw [← j.hom.w]; infer_instance |
| 54 | have : Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom := by rw [← j.hom.w]; infer_instance |
| 55 | have : LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom := by rw [← j.hom.w]; infer_instance |
| 56 | have hl := ComplementTorsionPairing.Construction.complementTorsionPairing_selfAnnihilating f r n hfr hf b hlag |
| 57 | have : Mono (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r).hom.hom := |
| 58 | inferInstanceAs (Mono (Kernel.PreimageExactness.Construction.kernelPreimageInclusion f r)) |
| 59 | exact ⟨(CartierDuality.SheafBaseChange.Construction.Schemes.representedFppfAbIso (Grp.mkIso' j)).symm ≪≫ |
| 60 | ComplementKernelCartierDual.Construction.complementKernelCartierSheafIso f r (ComplementTorsionPairing.Construction.complementTorsionPairing f r n hfr b).toSheafPairing |
| 61 | (ComplementTorsionPairing.Construction.complementTorsionPairing_isPerfect f r n hfr b hb) |
| 62 | ((ComplementTorsionPairing.Construction.complementTorsionPairing f r n hfr b).nativeImage_selfAnnihilation_sheaf |
| 63 | (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r) hl)⟩ |
| 64 | |
| 65 | include hnd hcomp hφ hf eK heK b hb hlag in |
| 66 | omit [IsCommMonObj C] in |
| 67 | theorem coprimeKernel_cartierIso : Nonempty (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject g) ≅ Y.dual) := by |
| 68 | obtain ⟨r, hr, hfr, _hrf, j, hj⟩ := |
| 69 | CoprimeComplementKernelComparison.Construction.exists_coprime_complement_kernel_comparison f q g φ n d hnd hcomp hφ hf eK heK |
| 70 | have : IsMonHom r := hr |
| 71 | have : IsMonHom (j.hom ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion g) := by rw [hj]; infer_instance |
| 72 | have : IsMonHom j.hom := Picard.PoincareBundle.Kernel.Splitting.isMonHom_of_mono_postcomp j.hom (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion g) |
| 73 | have : IsIso j.hom.left := (Over.forget S).map_isIso j.hom |
| 74 | have : IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom := by rw [← j.hom.w]; infer_instance |
| 75 | have : Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom := by rw [← j.hom.w]; infer_instance |
| 76 | have : LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom := by rw [← j.hom.w]; infer_instance |
| 77 | exact ⟨(Grp.mkIso' j).symm ≪≫ ComplementTorsionPairing.Construction.complementKernelCartierIsoOfTorsion f r n hfr hf b hlag hb Y⟩ |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CoprimeKernelCartierIso.Construction |