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.FrobeniusKernel.GeometricQuotient |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.QuotientRepresentability |
| 3 | |
| 4 | /-! # Geometric Quotient Sheaf Cokernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The constructed geometric abelian quotient is the actual cokernel |
| 11 | of its subgroup inclusion in commutative fppf sheaves. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.QuotientRepresentability.Construction.Schemes |
| 19 | |
| 20 | variable {k : Type u} [Field k] [IsAlgClosed k] {g : ℕ} |
| 21 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} |
| 22 | variable {H : Grp (Over (Spec (.of k)))} [IsCommMonObj H.X] |
| 23 | variable {i : H.X ⟶ A.scheme} [IsMonHom i] [Mono i] |
| 24 | variable (Q : GeometricQuotient.Construction.GeometricKernelQuotient A H i) |
| 25 | |
| 26 | def GeometricQuotient.Construction.GeometricKernelQuotient.commutativeSheafProjection : CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk A.scheme) ⟶ |
| 27 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk Q.target.toOver) := |
| 28 | CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom Q.projection) |
| 29 | |
| 30 | omit [IsAlgClosed k] [IsMonHom i] [IsCommMonObj H.X] [Mono i] in |
| 31 | theorem GeometricQuotient.Construction.GeometricKernelQuotient.commutativeSheafProjection_epi : Epi Q.commutativeSheafProjection := |
| 32 | @CartierDuality.FppfEpimorphisms.Construction.Schemes.representedFppfAbMap_epi (Spec (.of k)) (Grp.mk A.scheme) (Grp.mk Q.target.toOver) |
| 33 | inferInstance inferInstance (Grp.ofHom Q.projection) Q.flat Q.surjective Q.finitelyPresented |
| 34 | |
| 35 | omit [IsAlgClosed k] in |
| 36 | theorem GeometricQuotient.Construction.GeometricKernelQuotient.commutativeSheafProjection_zero : |
| 37 | CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom i) ≫ Q.commutativeSheafProjection = 0 := by |
| 38 | apply Sheaf.hom_ext |
| 39 | apply NatTrans.ext |
| 40 | funext T |
| 41 | apply CommGrpCat.hom_ext |
| 42 | apply MonoidHom.ext |
| 43 | rintro ⟨x⟩ |
| 44 | exact congrArg ULift.up (Quotients.FiniteDescent.Epi.Construction.subgroup_point_comp_eq_one i Q.projection Q.kernel T.unop x) |
| 45 | |
| 46 | def GeometricQuotient.Construction.GeometricKernelQuotient.commutativeSheafProjection_isKernel : |
| 47 | IsLimit (KernelFork.ofι (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom i)) Q.commutativeSheafProjection_zero) := by |
| 48 | have : Mono (Grp.ofHom i).hom.hom := inferInstanceAs (Mono i) |
| 49 | have : Mono (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom i)) := CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap_mono (Grp.ofHom i) |
| 50 | refine CartierDuality.SheafKernels.Construction.Schemes.sheafKernelIsLimitOfPoints (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom i)) |
| 51 | Q.commutativeSheafProjection Q.commutativeSheafProjection_zero ?_ |
| 52 | intro T x hx |
| 53 | obtain ⟨x⟩ := x |
| 54 | have hx' : x ≫ Q.projection = 1 := congrArg ULift.down hx |
| 55 | obtain ⟨y, hy, _⟩ := (Q.kernel T x).mp hx' |
| 56 | exact ⟨ULift.up y, congrArg ULift.up hy⟩ |
| 57 | |
| 58 | def GeometricQuotient.Construction.GeometricKernelQuotient.commutativeSheafProjection_isCokernel : |
| 59 | IsColimit (CokernelCofork.ofπ Q.commutativeSheafProjection Q.commutativeSheafProjection_zero) := by |
| 60 | have : Epi Q.commutativeSheafProjection := Q.commutativeSheafProjection_epi |
| 61 | exact CartierDuality.QuotientRepresentability.Construction.Exactness.cokernelOfKernelEpi _ _ _ Q.commutativeSheafProjection_isKernel |
| 62 | |
| 63 | def GeometricQuotient.Construction.GeometricKernelQuotient.commutativeSheafCokernelIso : |
| 64 | cokernel (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom i)) ≅ |
| 65 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk Q.target.toOver) := |
| 66 | (colimit.isColimit (parallelPair (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom i)) 0)).coconePointUniqueUpToIso |
| 67 | Q.commutativeSheafProjection_isCokernel |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |