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.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.SingleCoordinates |
| 2 | |
| 3 | /-! # Single Base Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.SingleBaseCoordinates.Reference |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original principal single-class comparison with the actual |
| 10 | base morphism used by projective Serre cohomology. The change of base |
| 11 | retains the same unshifted presheaf comparison. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeConcentration |
| 17 | variable {X Z S : Scheme.{u}} [X.IsSeparated] (π : X ⟶ S) |
| 18 | (U : X.Opens) (hU : IsAffineOpen U) |
| 19 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 20 | (W : ι → Principal.SectionPresheaf.Index U) (f : Z ⟶ X) [IsClosedImmersion f] (hfU : ⊤ ≤ f ⁻¹ᵁ U) |
| 21 | (J : ν → X.Opens) |
| 22 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (Principal.RelativeConcentration.family U hU W)) |
| 23 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk |
| 24 | (ComplementaryAffineCover.Index (SectionIdealPuncturedCover.outside f.ker)) |
| 25 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker))) |
| 26 | (V : κ → X.Opens) (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 27 | (N : X.Modules) [N.IsQuasicoherent] (c g q : ℕ) (hq : q=g+c) |
| 28 | |
| 29 | local instance single_qc (k : ℕ) : |
| 30 | ((Reference.SinglePresheafCoordinates.moduleSingle N c).X k).IsQuasicoherent := |
| 31 | QuasicoherentTruncation.single N c k |
| 32 | |
| 33 | variable [IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 34 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J s |
| 35 | (Relative.AdditiveCechConcentration.coefficients |
| 36 | (Reference.SinglePresheafCoordinates.moduleSingle N c)) q)] |
| 37 | |
| 38 | def coefficientComparison := |
| 39 | SingleCoordinates.Reference.coefficientComparison |
| 40 | U hU W f hfU J r s V hV haV N c g q hq ≫ |
| 41 | (IntrinsicOrdered.SingleAdditiveCoordinates.Intrinsic.coefficientIso (𝟙 X) V N g).hom ≫ |
| 42 | (IntrinsicOrdered.SingleAdditiveCoordinates.Intrinsic.coefficientIso π V N g).inv |
| 43 | |
| 44 | omit [X.IsSeparated] [N.IsQuasicoherent] in |
| 45 | private theorem output_change : |
| 46 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso (𝟙 X) V |
| 47 | (Reference.SinglePresheafCoordinates.moduleSingle N c) q).inv ≫ |
| 48 | (Global.PureIndexedCoordinates.singleIso (𝟙 X) V N c g q hq).hom ≫ |
| 49 | (IntrinsicOrdered.SingleAdditiveCoordinates.Intrinsic.coefficientIso (𝟙 X) V N g).hom ≫ |
| 50 | (IntrinsicOrdered.SingleAdditiveCoordinates.Intrinsic.coefficientIso π V N g).inv = |
| 51 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π V |
| 52 | (Reference.SinglePresheafCoordinates.moduleSingle N c) q).inv ≫ |
| 53 | (Global.PureIndexedCoordinates.singleIso π V N c g q hq).hom := by |
| 54 | rw [← Reference.SingleGlobalCoordinates.inverse π V N c g q hq] |
| 55 | rw [← Category.assoc _ |
| 56 | (Global.PureIndexedCoordinates.singleIso (𝟙 X) V N c g q hq).hom] |
| 57 | rw [← Reference.SingleGlobalCoordinates.inverse (𝟙 X) V N c g q hq] |
| 58 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 59 | |
| 60 | theorem comparison : |
| 61 | CoverTransfer.Reference.comparison U hU W f hfU J r s V hV haV |
| 62 | (K := Reference.SinglePresheafCoordinates.moduleSingle N c) q ≫ |
| 63 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π V |
| 64 | (Reference.SinglePresheafCoordinates.moduleSingle N c) q).inv ≫ |
| 65 | (Global.PureIndexedCoordinates.singleIso π V N c g q hq).hom = |
| 66 | (Principal.SinglePresheafCoordinates.coordinates U hU N c W g q hq).hom ≫ |
| 67 | coefficientComparison π U hU W f hfU J r s V hV haV N c g q hq := by |
| 68 | have h := congrArg (fun a => a ≫ |
| 69 | (IntrinsicOrdered.SingleAdditiveCoordinates.Intrinsic.coefficientIso (𝟙 X) V N g).hom ≫ |
| 70 | (IntrinsicOrdered.SingleAdditiveCoordinates.Intrinsic.coefficientIso π V N g).inv) |
| 71 | (SingleCoordinates.Reference.comparison U hU W f hfU J r s V hV haV N c g q hq) |
| 72 | simp only [Category.assoc] at h |
| 73 | rw [output_change π V N c g q hq] at h |
| 74 | exact h |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.SingleBaseCoordinates.Reference |