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.CoverPureMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Global.PureIndexedCoordinates |
| 3 | |
| 4 | /-! # Cover Shifted Map -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.CoverShiftedMap.Reference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original principal-to-global comparison followed by the signed |
| 11 | single-row identification recovers the original shifted pure class. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeConcentration |
| 18 | variable {X Z S : Scheme.{u}} [X.IsSeparated] (π : X ⟶ S) |
| 19 | (U : X.Opens) (hU : IsAffineOpen U) |
| 20 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 21 | (W : ι → Principal.SectionPresheaf.Index U) (f : Z ⟶ X) [IsClosedImmersion f] |
| 22 | (hfU : ⊤ ≤ f ⁻¹ᵁ U) |
| 23 | (J : ν → X.Opens) (hJ : ∀ i, IsAffineOpen (J i)) |
| 24 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (Principal.RelativeConcentration.family U hU W)) |
| 25 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk |
| 26 | (ComplementaryAffineCover.Index (SectionIdealPuncturedCover.outside f.ker)) |
| 27 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker))) |
| 28 | (V : κ → X.Opens) (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 29 | (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 30 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 31 | (N : X.Modules) [N.IsQuasicoherent] (φ : K.homology c ⟶ N) |
| 32 | (g q : ℕ) (hq : q=g+c) |
| 33 | [IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 34 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J s |
| 35 | (Relative.AdditiveCechConcentration.coefficients K) q)] |
| 36 | [IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 37 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J s |
| 38 | (Relative.AdditiveCechConcentration.coefficients |
| 39 | ((single X.Modules (.up ℕ) c).obj (K.homology c))) q)] |
| 40 | [IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 41 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J s |
| 42 | (Relative.AdditiveCechConcentration.coefficients ((single X.Modules (.up ℕ) c).obj N)) q)] |
| 43 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.forgetScalars (S := S) |
| 44 | local instance single_qc (M : X.Modules) [M.IsQuasicoherent] (k : ℕ) : |
| 45 | (((single X.Modules (.up ℕ) c).obj M).X k).IsQuasicoherent := |
| 46 | QuasicoherentTruncation.single M c k |
| 47 | |
| 48 | include hJ in |
| 49 | theorem comparison : |
| 50 | (Principal.AdditiveSections.forgetScalars U).map |
| 51 | ((Concentration.Reference.iso U hU W K c hK q).hom ≫ |
| 52 | (Concentration.Reference.functor U hU W q).map |
| 53 | ((single X.Modules (.up ℕ) c).map φ)) ≫ |
| 54 | CoverTransfer.Reference.comparison U hU W f hfU J r s V hV haV |
| 55 | (K := (single X.Modules (.up ℕ) c).obj N) q ≫ |
| 56 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π V |
| 57 | ((single X.Modules (.up ℕ) c).obj N) q).inv ≫ |
| 58 | (Global.PureIndexedCoordinates.singleIso π V N c g q hq).hom = |
| 59 | CoverTransfer.Reference.comparison U hU W f hfU J r s V hV haV (K := K) q ≫ |
| 60 | (IntrinsicOrdered.CechTransferCoordinates.Intrinsic.iso π V q K).inv ≫ |
| 61 | (Global.PureIndexedCoordinates.concentration π V haV K c hK g q hq).hom ≫ |
| 62 | (G).map (homologyMap ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π V).map φ) g) := by |
| 63 | have h := congrArg (fun z => z ≫ |
| 64 | (Global.PureIndexedCoordinates.singleIso π V N c g q hq).hom) |
| 65 | (CoverPureMap.Reference.comparison π U hU W f hfU J hJ r s V hV haV K c hK N φ q) |
| 66 | simp only [Category.assoc] at h |
| 67 | rw [Global.PureIndexedCoordinates.map_single π V haV K c hK N φ g q hq] at h |
| 68 | exact h |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.CoverShiftedMap.Reference |