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.RepresentationTheory.Theta.Geometric.IsogenyKernelLabels |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.ConstantSchemeDegree |
| 3 | |
| 4 | /-! # Isogeny Kernel Degree -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.IsogenyKernelDegree |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite-flat degree is the cardinality of the actual complex kernel. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 16 | |
| 17 | variable {g h : ℕ} {A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} {B : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} |
| 18 | (p : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) [Etale p.hom.left] |
| 19 | |
| 20 | def isogenyKernelLabelSchemeIso (G : Type) [Group G] |
| 21 | (labels : G ≃* p.kernelAt (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) : |
| 22 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase G ≅ IsogenyKernelScheme.isogenyKernelScheme p := |
| 23 | ((AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.BaseChange.constantSetRepresentable AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase G).ofIso |
| 24 | (Functor.isoWhiskerRight (IsogenyKernelLabels.exists_isogenyKernel_labelIso p G labels).some |
| 25 | (forget GrpCat))).uniqueUpToIso (IsogenyKernelScheme.isogenyKernelRepresentable p) |
| 26 | |
| 27 | theorem isogenyKernelScheme_finrank (G : Type) [Group G] [Finite G] |
| 28 | (labels : G ≃* p.kernelAt (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) (z : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 29 | (IsogenyKernelScheme.isogenyKernelScheme p).hom.finrank z = Nat.card G := by |
| 30 | let e := isogenyKernelLabelSchemeIso p G labels |
| 31 | let : IsIso e.hom.left := inferInstanceAs (IsIso (((Over.forget AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase).mapIso e).hom)) |
| 32 | let : Flat (IsogenyKernelScheme.isogenyKernelScheme p).hom := |
| 33 | (Etale.iff_flat_and_formallyUnramified.mp inferInstance).1 |
| 34 | calc |
| 35 | _ = (e.hom.left ≫ (IsogenyKernelScheme.isogenyKernelScheme p).hom).finrank z := by |
| 36 | rw [Scheme.Hom.finrank_comp_left_of_isIso] |
| 37 | _ = (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase G).hom.finrank z := |
| 38 | congrArg (fun f => Scheme.Hom.finrank f z) e.hom.w |
| 39 | _ = Nat.card G := ConstantSchemeDegree.constantScheme_finrank ℂ G z |
| 40 | |
| 41 | theorem isogeny_finrank_of_complex_labels [PreconnectedSpace B.scheme.left] |
| 42 | (G : Type) [Group G] [Finite G] (labels : G ≃* p.kernelAt (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) |
| 43 | (b : B.scheme.left) : p.hom.left.finrank b = Nat.card G := by |
| 44 | let z : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := default |
| 45 | calc |
| 46 | _ = p.hom.left.finrank (η[B.scheme].left z) := |
| 47 | (Scheme.Hom.isLocallyConstant_finrank p.hom.left).apply_eq_of_preconnectedSpace _ _ |
| 48 | _ = (IsogenyKernelScheme.isogenyKernelScheme p).hom.finrank z := |
| 49 | (Scheme.Hom.finrank_pullback_snd p.hom.left η[B.scheme].left z).symm |
| 50 | _ = Nat.card G := isogenyKernelScheme_finrank p G labels z |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.RepresentationTheory.Theta.Geometric.IsogenyKernelDegree |