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.MappedSingleCoordinates |
| 2 | |
| 3 | /-! # Mapped Single Degree Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleDegreeCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Changing the degree of the original mapped single coefficient |
| 10 | preserves the actual unshifted principal-to-global comparison. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 12 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleCoordinates |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u v w z |
| 16 | variable {X : TopCat.{u}} {D : Type v} [Category D] [Abelian D] |
| 17 | [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 18 | {A : Type w} [Category.{z} A] [Abelian A] |
| 19 | (J : A ⥤ (Opens X)ᵒᵖ ⥤ D) [J.Additive] (M : A) (c d g : ℕ) |
| 20 | {C : Type u} [Preorder C] [HasFiniteProducts C] (F : C ⥤ Opens X) |
| 21 | {ι κ ν μ ρ : Type u} |
| 22 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 23 | (W : ι → C) |
| 24 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 25 | (B : κ → Opens X) (E : ν → Opens X) |
| 26 | (r : FormalCoproduct.mk ν E ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 27 | (s : FormalCoproduct.mk ν E ⟶ FormalCoproduct.mk κ B) |
| 28 | (V : μ → Opens X) (T : ρ → Opens X) |
| 29 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 30 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 31 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 32 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B E s (MappedSingleCoordinates.source J M c) (g+c))] |
| 33 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (MappedSingleCoordinates.source J M c)) (g+c))] |
| 34 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B E s (MappedSingleCoordinates.source J M d) (g+d))] |
| 35 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (MappedSingleCoordinates.source J M d)) (g+d))] |
| 36 | |
| 37 | def sourceIso := MappedSingleCoordinates.localCoordinates J M c g F W ≪≫ (MappedSingleCoordinates.localCoordinates J M d g F W).symm |
| 38 | |
| 39 | def targetIso := MappedSingleCoordinates.globalCoordinates J M c g V ≪≫ (MappedSingleCoordinates.globalCoordinates J M d g V).symm |
| 40 | |
| 41 | theorem coefficient_eq : MappedSingleCoordinates.coefficientComparison J M c g F W B E r s V T l t = |
| 42 | MappedSingleCoordinates.coefficientComparison J M d g F W B E r s V T l t := rfl |
| 43 | |
| 44 | theorem comparison : |
| 45 | (sourceIso J M c d g F W).hom ≫ |
| 46 | PresheafCover.Comparison.comparison F W B E r s V T l t (MappedSingleCoordinates.source J M d) (g+d) = |
| 47 | PresheafCover.Comparison.comparison F W B E r s V T l t (MappedSingleCoordinates.source J M c) (g+c) ≫ |
| 48 | (targetIso J M c d g V).hom := by |
| 49 | apply (cancel_mono (MappedSingleCoordinates.globalCoordinates J M d g V).hom).mp |
| 50 | simp only [sourceIso, targetIso, Iso.trans_hom, Iso.symm_hom, Category.assoc, |
| 51 | Iso.inv_hom_id, Category.comp_id] |
| 52 | rw [MappedSingleCoordinates.comparison J M d g F W B E r s V T l t] |
| 53 | simp only [Iso.inv_hom_id_assoc] |
| 54 | rw [MappedSingleCoordinates.comparison J M c g F W B E r s V T l t] |
| 55 | rw [coefficient_eq J M c d g F W B E r s V T l t] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleDegreeCoordinates |