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.PreimageExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.QuotientRepresentability |
| 3 | |
| 4 | /-! # Preimage Sheaf -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.PreimageSheaf.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual restricted quotient represents its fppf cokernel. |
| 11 | The target is the genuine complementary kernel, with its finite locally |
| 12 | free geometry supplied by the proved kernel isomorphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.Limits |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.QuotientRepresentability.Construction.Schemes |
| 19 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup Picard.PoincareBundle.Kernel.Scheme.kernelGroup_commutative |
| 20 | |
| 21 | universe u |
| 22 | variable {S : Scheme.{u}} {A B C : Over S} [GrpObj A] [GrpObj B] [GrpObj C] |
| 23 | [IsCommMonObj A] [IsCommMonObj B] |
| 24 | (f : A ⟶ B) [IsMonHom f] (r : B ⟶ C) [IsMonHom r] |
| 25 | |
| 26 | def kernelPreimageGroupInclusion : Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject f) ⟶ Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject (f ≫ r)) := |
| 27 | Grp.homMk (PreimageExactness.Construction.kernelPreimageInclusion f r) |
| 28 | |
| 29 | variable [IsFinite f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 30 | [IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom] [Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom] |
| 31 | [LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom] |
| 32 | |
| 33 | def kernelPreimageNativeQuotient : CartierDuality.IntrinsicQuotients.Construction.Schemes.NativeFiniteLocallyFreeQuotient (kernelPreimageGroupInclusion f r) := by |
| 34 | let hp := Picard.PoincareBundle.Kernel.PreimageQuotient.finite_flat_surjective f r |
| 35 | have hpfp : LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.PreimageQuotient.map f r).left := |
| 36 | MorphismProperty.of_isPullback (P := @LocallyOfFinitePresentation) |
| 37 | (Picard.PoincareBundle.Kernel.PreimageQuotient.underlying_isPullback f r) inferInstance |
| 38 | exact { |
| 39 | quotient := Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject r) |
| 40 | commutative := inferInstance |
| 41 | finite := inferInstance |
| 42 | flat := inferInstance |
| 43 | finitelyPresented := inferInstance |
| 44 | projection := Grp.homMk (Picard.PoincareBundle.Kernel.PreimageQuotient.map f r) |
| 45 | projectionFinite := hp.1 |
| 46 | projectionFlat := hp.2.1 |
| 47 | projectionFinitelyPresented := hpfp |
| 48 | projectionSurjective := hp.2.2 |
| 49 | kernel := PreimageExactness.Construction.kernelPreimage_kernel_iff f r |
| 50 | } |
| 51 | |
| 52 | set_option backward.isDefEq.respectTransparency false in |
| 53 | def kernelPreimageSheafQuotientIso : |
| 54 | cokernel (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (kernelPreimageGroupInclusion f r)) ≅ |
| 55 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject r)) := by |
| 56 | have : Mono (kernelPreimageGroupInclusion f r).hom.hom := |
| 57 | inferInstanceAs (Mono (PreimageExactness.Construction.kernelPreimageInclusion f r)) |
| 58 | have : Mono (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (kernelPreimageGroupInclusion f r)) := |
| 59 | CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap_mono (kernelPreimageGroupInclusion f r) |
| 60 | exact (kernelPreimageNativeQuotient f r).sheafCokernelIso |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.PreimageSheaf.Construction |