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.CoverCharacter |
| 2 | |
| 3 | /-! # Cover Character Naturality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCharacterNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual H¹ overlap character is natural for coefficient maps |
| 10 | and refinements of covers. The proof transports genuine representatives |
| 11 | through a morphism of short exact sequences. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Abelian |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCharacter OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.CoverCocycles |
| 19 | |
| 20 | universe u |
| 21 | variable {X : Scheme.{u}} |
| 22 | {S T : ShortComplex (Sheaf (Scheme.ProEt.topology X) Ab.{u + 1})} |
| 23 | (hS : S.ShortExact) (hT : T.ShortExact) (φ : S ⟶ T) |
| 24 | |
| 25 | theorem connecting_naturality (z : S.X₃.obj.obj (op (⊤_ X.ProEt))) : |
| 26 | Finite.CoverCocycles.connectingSections T hT (φ.τ₃.hom.app (op (⊤_ X.ProEt)) z) = |
| 27 | Sheaf.H.map φ.τ₁ 1 (Finite.CoverCocycles.connectingSections S hS z) := by |
| 28 | change ((Sheaf.H.equiv₀ T.X₃ terminalIsTerminal).symm |
| 29 | (φ.τ₃.hom.app (op (⊤_ X.ProEt)) z)).comp hT.extClass (zero_add 1) = |
| 30 | Sheaf.H.map φ.τ₁ 1 |
| 31 | (((Sheaf.H.equiv₀ S.X₃ terminalIsTerminal).symm z).comp hS.extClass (zero_add 1)) |
| 32 | rw [← Sheaf.H.equiv₀_symm_naturality, Sheaf.H.map_apply, Sheaf.H.map_apply, |
| 33 | Ext.comp_assoc_of_second_deg_zero, Ext.comp_assoc_of_third_deg_zero, |
| 34 | hS.extClass_naturality hT φ] |
| 35 | |
| 36 | theorem app_comm₁₂ (V : X.ProEt) (x : S.X₁.obj.obj (op V)) : |
| 37 | T.f.hom.app (op V) (φ.τ₁.hom.app (op V) x) = |
| 38 | φ.τ₂.hom.app (op V) (S.f.hom.app (op V) x) := |
| 39 | congrArg (fun f : S.X₁ ⟶ T.X₂ => f.hom.app (op V) x) φ.comm₁₂ |
| 40 | |
| 41 | theorem app_comm₂₃ (V : X.ProEt) (x : S.X₂.obj.obj (op V)) : |
| 42 | T.g.hom.app (op V) (φ.τ₂.hom.app (op V) x) = |
| 43 | φ.τ₃.hom.app (op V) (S.g.hom.app (op V) x) := |
| 44 | congrArg (fun f : S.X₂ ⟶ T.X₃ => f.hom.app (op V) x) φ.comm₂₃ |
| 45 | |
| 46 | theorem restriction_comp (H : Sheaf (Scheme.ProEt.topology X) Ab.{u + 1}) |
| 47 | {V W Z : X.ProEt} (f : V ⟶ W) (g : W ⟶ Z) (x : H.obj.obj (op Z)) : |
| 48 | H.obj.map f.op (H.obj.map g.op x) = H.obj.map (f ≫ g).op x := by |
| 49 | rw [op_comp, CategoryTheory.Functor.map_comp] |
| 50 | rfl |
| 51 | |
| 52 | variable (U D V E : X.ProEt) (a b : D ⟶ U) (c d : E ⟶ V) |
| 53 | (rU : V ⟶ U) (rD : E ⟶ D) (ha : rD ≫ a = c ≫ rU) (hb : rD ≫ b = d ≫ rU) |
| 54 | |
| 55 | def mapRepresentative {x : S.X₁.H 1} (r : CoverCharacter.Representative S hS U D a b x) : |
| 56 | CoverCharacter.Representative T hT V E c d (Sheaf.H.map φ.τ₁ 1 x) where |
| 57 | z := φ.τ₃.hom.app (op (⊤_ X.ProEt)) r.z |
| 58 | t := φ.τ₂.hom.app (op V) (S.X₂.obj.map rU.op r.t) |
| 59 | c := φ.τ₁.hom.app (op E) (S.X₁.obj.map rD.op r.c) |
| 60 | class_eq := (connecting_naturality hS hT φ r.z).trans (congrArg (Sheaf.H.map φ.τ₁ 1) r.class_eq) |
| 61 | lift_eq := by |
| 62 | rw [app_comm₂₃, NatTrans.naturality_apply, r.lift_eq] |
| 63 | rw [restriction_comp, terminal.comp_from, NatTrans.naturality_apply] |
| 64 | difference_eq := by |
| 65 | rw [app_comm₁₂, NatTrans.naturality_apply, r.difference_eq, map_sub, map_sub] |
| 66 | rw [restriction_comp, restriction_comp, ha, hb, |
| 67 | ← restriction_comp S.X₂ c rU, ← restriction_comp S.X₂ d rU] |
| 68 | rw [NatTrans.naturality_apply, NatTrans.naturality_apply] |
| 69 | simp only [NatTrans.naturality_apply] |
| 70 | |
| 71 | variable [Injective S.X₂] [Injective T.X₂] |
| 72 | (hSlift : ∀ z : S.X₃.obj.obj (op (⊤_ X.ProEt)), |
| 73 | ∃ t : S.X₂.obj.obj (op U), S.g.hom.app (op U) t = S.X₃.obj.map (terminal.from U).op z) |
| 74 | (hTlift : ∀ z : T.X₃.obj.obj (op (⊤_ X.ProEt)), |
| 75 | ∃ t : T.X₂.obj.obj (op V), T.g.hom.app (op V) t = T.X₃.obj.map (terminal.from V).op z) |
| 76 | (hScoeff : ∀ z : S.X₁.obj.obj (op U), S.X₁.obj.map a.op z = S.X₁.obj.map b.op z) |
| 77 | (hTcoeff : ∀ z : T.X₁.obj.obj (op V), T.X₁.obj.map c.op z = T.X₁.obj.map d.op z) |
| 78 | |
| 79 | include ha hb in |
| 80 | theorem character_naturality (x : S.X₁.H 1) : |
| 81 | CoverCharacter.character T hT V E c d hTlift hTcoeff (Sheaf.H.map φ.τ₁ 1 x) = |
| 82 | φ.τ₁.hom.app (op E) (S.X₁.obj.map rD.op (CoverCharacter.character S hS U D a b hSlift hScoeff x)) := by |
| 83 | exact CoverCharacter.representative_unique T hT V E c d hTcoeff |
| 84 | (CoverCharacter.representative T hT V E c d hTlift _) |
| 85 | (mapRepresentative hS hT φ U D V E a b c d rU rD ha hb |
| 86 | (CoverCharacter.representative S hS U D a b hSlift x)) |
| 87 | |
| 88 | theorem character_refinement_square |
| 89 | (sU : U ⟶ V) (sD : D ⟶ E) (hc : sD ≫ c = a ≫ sU) (hd : sD ≫ d = b ≫ sU) |
| 90 | (hTcoeffU : ∀ z : T.X₁.obj.obj (op U), T.X₁.obj.map a.op z = T.X₁.obj.map b.op z) |
| 91 | (x : S.X₁.H 1) : |
| 92 | φ.τ₁.hom.app (op D) (CoverCharacter.character S hS U D a b hSlift hScoeff x) = |
| 93 | T.X₁.obj.map sD.op |
| 94 | (CoverCharacter.character T hT V E c d hTlift hTcoeff (Sheaf.H.map φ.τ₁ 1 x)) := by |
| 95 | let r := mapRepresentative hS hT φ U D U D a b a b (𝟙 U) (𝟙 D) |
| 96 | (by simp) (by simp) (CoverCharacter.representative S hS U D a b hSlift x) |
| 97 | let s := mapRepresentative hT hT (𝟙 T) V E U D c d a b sU sD hc hd |
| 98 | (CoverCharacter.representative T hT V E c d hTlift (Sheaf.H.map φ.τ₁ 1 x)) |
| 99 | let s' : CoverCharacter.Representative T hT U D a b (Sheaf.H.map φ.τ₁ 1 x) := { |
| 100 | z := s.z, t := s.t, c := s.c |
| 101 | class_eq := s.class_eq.trans (Sheaf.H.map_id_apply _) |
| 102 | lift_eq := s.lift_eq, difference_eq := s.difference_eq } |
| 103 | have he := CoverCharacter.representative_unique T hT U D a b hTcoeffU r s' |
| 104 | change φ.τ₁.hom.app (op D) |
| 105 | (S.X₁.obj.map (𝟙 D).op (CoverCharacter.character S hS U D a b hSlift hScoeff x)) = |
| 106 | (𝟙 T.X₁ : T.X₁ ⟶ T.X₁).hom.app (op D) |
| 107 | (T.X₁.obj.map sD.op |
| 108 | (CoverCharacter.character T hT V E c d hTlift hTcoeff (Sheaf.H.map φ.τ₁ 1 x))) at he |
| 109 | have hi : (𝟙 T.X₁ : T.X₁ ⟶ T.X₁).hom.app (op D) = 𝟙 (T.X₁.obj.obj (op D)) := rfl |
| 110 | rw [hi] at he |
| 111 | simpa only [op_id, CategoryTheory.Functor.map_id, ConcreteCategory.id_apply] using he |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCharacterNaturality |