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.Finite.GroupRankIso |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.PicardMonomorphism |
| 3 | |
| 4 | /-! # Cartier Picard Rank Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CartierPicardRankIso.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The actual character-line morphism is an isomorphism onto dual torsion |
| 12 | when the kernel and that torsion have equal finite-flat rank. Perfection |
| 13 | of a pairing is not a premise of this criterion. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.PicardMonomorphism.Construction.KernelCharacters |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | theorem cartierToPicardTorsionGroup_isIso_of_rank |
| 24 | {k : Type u} [Field k] |
| 25 | {A B : Over (Spec (.of k))} [GrpObj A] [GrpObj B] [IsCommMonObj A] |
| 26 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 27 | (f : A ⟶ B) [IsMonHom f] |
| 28 | [IsFinite f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 29 | (D : Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData B) (C : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation (Spec (.of k)) (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))) |
| 30 | (n : ℕ) (hn : ∀ (T : Over (Spec (.of k))) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), x ^ n = 1) |
| 31 | (hD : letI := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup D |
| 32 | IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme D.abelian n).hom ∧ Flat (TorsionQuotient.SubgroupFunctor.torsionScheme D.abelian n).hom) |
| 33 | (s : Spec (.of k)) |
| 34 | (hr : letI := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup D |
| 35 | (Picard.Homomorphisms.Kernel.Construction.kernelScheme f).hom.finrank s = (TorsionQuotient.SubgroupFunctor.torsionScheme D.abelian n).hom.finrank s) : |
| 36 | letI := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup D |
| 37 | letI : IsCommMonObj D.abelian := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup_commutative D |
| 38 | IsIso (CartierDuality.PicardHomomorphism.Construction.KernelCharacters.cartierToPicardTorsionGroup f D C n hn) := by |
| 39 | let := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup D |
| 40 | have : IsCommMonObj D.abelian := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup_commutative D |
| 41 | have : IsCommMonObj C.dual.X := C.commutative |
| 42 | have : IsFinite C.dual.X.hom := C.finite |
| 43 | have : Flat C.dual.X.hom := C.flat |
| 44 | let H := CartierDuality.TorsionSheaves.Construction.Schemes.nativeTorsionGroup (Grp.mk D.abelian) n |
| 45 | have : IsFinite H.X.hom := hD.1 |
| 46 | have : Flat H.X.hom := hD.2 |
| 47 | have : Mono (CartierDuality.PicardHomomorphism.Construction.KernelCharacters.cartierToPicardTorsionGroup f D C n hn).hom.hom := |
| 48 | CartierDuality.PicardMonomorphism.Construction.KernelCharacters.cartierToPicardTorsion_mono f D C n hn |
| 49 | have hK := Picard.Homomorphisms.Kernel.Construction.kernelScheme_finiteLocallyFree f ⟨inferInstance, inferInstance, inferInstance⟩ |
| 50 | have : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme f).hom := hK.1 |
| 51 | have : Flat (Picard.Homomorphisms.Kernel.Construction.kernelScheme f).hom := hK.2.1 |
| 52 | apply Finite.GroupRankIso.Construction.finiteGroup_mono_isIso_of_finrank_eq C.dual H (CartierDuality.PicardHomomorphism.Construction.KernelCharacters.cartierToPicardTorsionGroup f D C n hn) s |
| 53 | exact (CartierRank.Construction.cartierGroupRepresentation_finrank (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f)) C s).trans hr |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CartierPicardRankIso.Construction |