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.Kernel.PreimageSheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LagrangianCokernelDual |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.RepresentedGroupIsoReflection |
| 4 | import OAI.AlgebraicGeometry.CartierDuality.PolarizedTorsion |
| 5 | |
| 6 | /-! # Complement Kernel Cartier Dual -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ComplementKernelCartierDual.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Full self-annihilation identifies the actual complementary kernel |
| 13 | with the Cartier dual of the original quotient kernel. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.Limits |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 20 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup Picard.PoincareBundle.Kernel.Scheme.kernelGroup_commutative |
| 21 | |
| 22 | universe u |
| 23 | variable {S : Scheme.{u}} {A B C : Over S} [GrpObj A] [GrpObj B] [GrpObj C] |
| 24 | [IsCommMonObj A] [IsCommMonObj B] |
| 25 | (f : A ⟶ B) [IsMonHom f] (r : B ⟶ C) [IsMonHom r] |
| 26 | [IsFinite f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 27 | [IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom] [Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom] |
| 28 | [LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom] |
| 29 | |
| 30 | local instance complementKernelSubgroup_mono : |
| 31 | Mono (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r)) := by |
| 32 | have : Mono (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r).hom.hom := |
| 33 | inferInstanceAs (Mono (Kernel.PreimageExactness.Construction.kernelPreimageInclusion f r)) |
| 34 | exact CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap_mono (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r) |
| 35 | |
| 36 | variable (e : CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject (f ≫ r)))) |
| 37 | (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject (f ≫ r))))) |
| 38 | (he : e.IsPerfect) |
| 39 | (hlag : CartierDuality.SheafQuotients.Construction.Schemes.sheafAnnihilator e (Subobject.mk (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r))) = |
| 40 | Subobject.mk (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r))) |
| 41 | |
| 42 | def complementKernelCartierSheafIso : |
| 43 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject r)) ≅ CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject f))) := by |
| 44 | have : Mono (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r).hom.hom := |
| 45 | inferInstanceAs (Mono (Kernel.PreimageExactness.Construction.kernelPreimageInclusion f r)) |
| 46 | have : Mono (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r)) := |
| 47 | CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap_mono (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r) |
| 48 | have hb : IsIso (CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation (cokernel (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r)))) := |
| 49 | (CartierDuality.PolarizedTorsion.Construction.cartier_duality _ (Kernel.PreimageSheaf.Construction.kernelPreimageNativeQuotient f r).sheafCokernel_finiteLocallyFree).2.2.1 |
| 50 | exact (Kernel.PreimageSheaf.Construction.kernelPreimageSheafQuotientIso f r).symm ≪≫ |
| 51 | LagrangianCokernelDual.Construction.lagrangianCokernelDualIso (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r)) e he hlag |
| 52 | |
| 53 | def complementKernelCartierGroupIso |
| 54 | (Y : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject f))) : |
| 55 | Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject r) ≅ Y.dual := by |
| 56 | let : IsCommMonObj Y.dual.X := Y.commutative |
| 57 | exact RepresentedGroupIsoReflection.Construction.groupIsoOfRepresentedFppfAbIso _ _ |
| 58 | (complementKernelCartierSheafIso f r e he hlag ≪≫ Y.representedCartierDualIso.symm) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ComplementKernelCartierDual.Construction |