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.Principal.PresheafSingleCoordinates |
| 2 | |
| 3 | /-! # Presheaf Single Indexed Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafSingleIndexedCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original principal-to-cover single-coordinate square retains |
| 10 | an explicit total-degree equality. In particular it applies with |
| 11 | q = c + g and the canonical equality c + g = g + c. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleTotal OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v |
| 17 | variable {X : TopCat.{u}} {D : Type v} [Category D] [Abelian D] |
| 18 | [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 19 | (P : (Opens X)ᵒᵖ ⥤ D) (c g : ℕ) |
| 20 | {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 21 | (F : C ⥤ Opens X) |
| 22 | {ι κ ν μ ρ : Type u} |
| 23 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 24 | (W : ι → C) |
| 25 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 26 | (B : κ → Opens X) (J : ν → Opens X) |
| 27 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 28 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 29 | (V : μ → Opens X) (T : ρ → Opens X) |
| 30 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 31 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 32 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 33 | (q : ℕ) (hq : q = g+c) |
| 34 | |
| 35 | def sourceIso := |
| 36 | eqToIso (congrArg (fun j => ((Functor.SingleTotal.bicomplex (Cech.SingleFunctorCoordinates.localFunctor F W) |
| 37 | P c).total (.up ℕ)).homology j) hq) ≪≫ |
| 38 | Functor.SingleTotal.homologyIso (Cech.SingleFunctorCoordinates.localFunctor F W) P c g |
| 39 | |
| 40 | def targetIso := |
| 41 | eqToIso (congrArg (fun j => ((Functor.SingleTotal.bicomplex (OrderedCech.Functor.Projection.functor V) |
| 42 | P c).total (.up ℕ)).homology j) hq) ≪≫ |
| 43 | Functor.SingleTotal.homologyIso (OrderedCech.Functor.Projection.functor V) P c g |
| 44 | |
| 45 | variable |
| 46 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 47 | ((single ((Opens X)ᵒᵖ ⥤ D) (.up ℕ) c).obj P) q)] |
| 48 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 49 | ((single ((Opens X)ᵒᵖ ⥤ D) (.up ℕ) c).obj P)) q)] |
| 50 | |
| 51 | def coefficientComparison : |
| 52 | (AugmentedOrdered.Cech.complex W (F.op ⋙ P)).homology g ⟶ |
| 53 | (OrderedCech.Projection.complex V P).homology g := by |
| 54 | subst q |
| 55 | exact PresheafSingleCoordinates.coefficientComparison P c g F W B J r s V T l t |
| 56 | |
| 57 | theorem comparison : |
| 58 | PresheafCover.Comparison.comparison F W B J r s V T l t |
| 59 | ((single ((Opens X)ᵒᵖ ⥤ D) (.up ℕ) c).obj P) q ≫ (targetIso P c g V q hq).hom = |
| 60 | (sourceIso P c g F W q hq).hom ≫ |
| 61 | coefficientComparison P c g F W B J r s V T l t q hq := by |
| 62 | subst q |
| 63 | simpa only [sourceIso, targetIso, coefficientComparison, eqToIso_refl, Iso.refl_trans] using |
| 64 | PresheafSingleCoordinates.comparison P c g F W B J r s V T l t |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafSingleIndexedCoordinates |