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.SingleBaseCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexCoefficientIso |
| 3 | |
| 4 | /-! # Coefficient -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.Coefficient.Reference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original principal single-class output has exactly the |
| 11 | unshifted presheaf comparison in its actual base-cohomology coordinates. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _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 : ∀ j, IsAffineOpen (V j)) |
| 27 | (N : X.Modules) [N.IsQuasicoherent] (c g q : ℕ) (hq : q=g+c) |
| 28 | |
| 29 | abbrev original := Relative.AdditiveCechConcentration.coefficients |
| 30 | (Reference.SinglePresheafCoordinates.moduleSingle N c) |
| 31 | abbrev plain := (single (X.Opensᵒᵖ ⥤ AddCommGrpCat.{u}) (.up ℕ) c).obj |
| 32 | (Reference.SinglePresheafCoordinates.presheaf N) |
| 33 | abbrev complement := ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker) |
| 34 | abbrev common := PointComplementGlobalCover.common f (Principal.RelativeConcentration.ambient U hU) V |
| 35 | abbrev left := PointComplementGlobalCover.left f (Principal.RelativeConcentration.ambient U hU) V |
| 36 | abbrev right := PointComplementGlobalCover.right f (Principal.RelativeConcentration.ambient U hU) V |
| 37 | |
| 38 | local instance single_qc (k : ℕ) : |
| 39 | ((Reference.SinglePresheafCoordinates.moduleSingle N c).X k).IsQuasicoherent := |
| 40 | QuasicoherentTruncation.single N c k |
| 41 | |
| 42 | variable [IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) (complement f) J s |
| 43 | (original N c) q)] |
| 44 | |
| 45 | include hfU hV haV in |
| 46 | private theorem original_global : |
| 47 | IsIso (homologyMap (OrderedCech.Refinement.totalMap V (common U hU f V) |
| 48 | (right U hU f V) (original N c)) q) := |
| 49 | Additive.OrderedCoverRefinement.homology_isIso V (common U hU f V) (right U hU f V) hV |
| 50 | (PointComplementGlobalCover.common_covers f (Principal.RelativeConcentration.ambient U hU) |
| 51 | (CoverTransfer.Reference.contains U hU f hfU) V hV) |
| 52 | haV (PointComplementGlobalCover.common_affine f (Principal.RelativeConcentration.ambient U hU) (Principal.RelativeConcentration.ambient_affine U hU) V haV) |
| 53 | (Reference.SinglePresheafCoordinates.moduleSingle N c) q |
| 54 | |
| 55 | local instance plain_relative : |
| 56 | IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) (complement f) J s (plain N c) q) := |
| 57 | Cech.ComplexCoefficientIso.relative (Reference.SinglePresheafCoordinates.iso N c) |
| 58 | (Principal.RelativeConcentration.ambient U hU) (complement f) J s q |
| 59 | |
| 60 | def coefficientComparison : |
| 61 | (AugmentedOrdered.Cech.complex W |
| 62 | ((Principal.AdditiveSections.opens U hU).op ⋙ Reference.SinglePresheafCoordinates.presheaf N)).homology g ⟶ |
| 63 | (OrderedCech.Projection.complex V (Reference.SinglePresheafCoordinates.presheaf N)).homology g := by |
| 64 | letI := original_global U hU f hfU V hV haV N c q |
| 65 | letI := Cech.ComplexCoefficientIso.ordered (Reference.SinglePresheafCoordinates.iso N c) |
| 66 | V (common U hU f V) (right U hU f V) q |
| 67 | exact Principal.PresheafSingleIndexedCoordinates.coefficientComparison |
| 68 | (Reference.SinglePresheafCoordinates.presheaf N) c g (Principal.AdditiveSections.opens U hU) |
| 69 | W (complement f) J r s V (common U hU f V) (left U hU f V) (right U hU f V) q hq |
| 70 | |
| 71 | theorem comparison : |
| 72 | SingleBaseCoordinates.Reference.coefficientComparison π U hU W f hfU J r s V hV haV N c g q hq ≫ |
| 73 | (IntrinsicOrdered.SingleAdditiveCoordinates.Intrinsic.coefficientIso π V N g).hom = |
| 74 | coefficientComparison U hU W f hfU J r s V hV haV N c g q hq := by |
| 75 | simp only [coefficientComparison, SingleBaseCoordinates.Reference.coefficientComparison, |
| 76 | SingleCoordinates.Reference.coefficientComparison, |
| 77 | Category.assoc, Iso.inv_hom_id_assoc, Iso.inv_hom_id, Category.comp_id] |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.Coefficient.Reference |