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 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveSingleCoverCocycles |
| 3 | |
| 4 | /-! # Cover Cocycle Surjectivity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCocycleSurjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual overlap cocycles give degree-one sheaf cohomology classes. |
| 11 | The construction takes a primitive in an injective sheaf, descends its |
| 12 | quotient section, and applies the connecting homomorphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Abelian |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCharacter OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.CoverCocycles |
| 20 | |
| 21 | universe u |
| 22 | variable {X : Scheme.{u}} (U D : X.ProEt) (a b : D ⟶ U) |
| 23 | [Surjective (terminal.from U).left] [QuasiCompact (terminal.from U).left] |
| 24 | (hD : IsPullback a.left b.left (terminal.from U).left (terminal.from U).left) |
| 25 | |
| 26 | theorem coveringObjects (V : X.ProEt) : |
| 27 | CoveringObjectsSheafDetection.sieve (fun _ : PUnit.{u + 1} => U) V ∈ |
| 28 | Scheme.ProEt.topology X V := by |
| 29 | apply (Scheme.ProEt.topology X).superset_covering ?_ |
| 30 | ((Scheme.ProEt.topology X).pullback_stable (terminal.from V) |
| 31 | (AlgebraicGeometry.FormalGeometry.Completion.ProEtale.SingleCover.Construction.proEtaleSingleton_cover (terminal.from U))) |
| 32 | rintro W f ⟨Z, g, h, hh, he⟩ |
| 33 | cases hh |
| 34 | exact ⟨PUnit.unit, ⟨g⟩⟩ |
| 35 | |
| 36 | include hD in |
| 37 | omit [Surjective (terminal.from U).left] [QuasiCompact (terminal.from U).left] in |
| 38 | theorem sitePullback : IsPullback a b (terminal.from U) (terminal.from U) := by |
| 39 | exact IsPullback.of_map ((Scheme.ProEt.forget X) ⋙ Over.forget X) (by simp) hD |
| 40 | |
| 41 | variable |
| 42 | (S : ShortComplex (Sheaf (Scheme.ProEt.topology X) Ab.{u + 1})) |
| 43 | (hS : S.ShortExact) [Injective S.X₂] |
| 44 | (hlift : ∀ z : S.X₃.obj.obj (op (⊤_ X.ProEt)), |
| 45 | ∃ t : S.X₂.obj.obj (op U), S.g.hom.app (op U) t = |
| 46 | S.X₃.obj.map (terminal.from U).op z) |
| 47 | (hcoeff : ∀ v : S.X₁.obj.obj (op U), S.X₁.obj.map a.op v = S.X₁.obj.map b.op v) |
| 48 | |
| 49 | include hD in |
| 50 | theorem exists_class (c : S.X₁.obj.obj (op D)) |
| 51 | (hc : ∀ (T : X.ProEt) (p q r : T ⟶ D), p ≫ a = r ≫ a → p ≫ b = q ≫ a → |
| 52 | q ≫ b = r ≫ b → S.X₁.obj.map p.op c + S.X₁.obj.map q.op c = S.X₁.obj.map r.op c) : |
| 53 | ∃ x : S.X₁.H 1, CoverCharacter.character S hS U D a b hlift hcoeff x = c := by |
| 54 | have hc' : ∀ (T : X.ProEt) (p q r : T ⟶ D), p ≫ a = r ≫ a → p ≫ b = q ≫ a → |
| 55 | q ≫ b = r ≫ b → |
| 56 | S.X₂.obj.map p.op (S.f.hom.app (op D) c) + S.X₂.obj.map q.op (S.f.hom.app (op D) c) = |
| 57 | S.X₂.obj.map r.op (S.f.hom.app (op D) c) := by |
| 58 | intro T p q r hpa hpb hqb |
| 59 | rw [← NatTrans.naturality_apply, ← NatTrans.naturality_apply, |
| 60 | ← NatTrans.naturality_apply, ← map_add, hc T p q r hpa hpb hqb] |
| 61 | obtain ⟨t, ht⟩ := InjectiveSingleCoverCocycles.primitive.{u + 1, u} |
| 62 | (Scheme.ProEt.topology X) S.X₂ U D a b (sitePullback U D a b hD) |
| 63 | (coveringObjects U) (S.f.hom.app (op D) c) hc' |
| 64 | have hzero : S.g.hom.app (op D) (S.f.hom.app (op D) c) = 0 := by |
| 65 | have he := congrArg (fun f : S.X₁ ⟶ S.X₃ => f.hom.app (op D) c) S.zero |
| 66 | exact he |
| 67 | have hcompat : S.X₃.obj.map a.op (S.g.hom.app (op U) t) = |
| 68 | S.X₃.obj.map b.op (S.g.hom.app (op U) t) := by |
| 69 | apply sub_eq_zero.mp |
| 70 | rw [← NatTrans.naturality_apply, ← NatTrans.naturality_apply, ← map_sub, ht, hzero] |
| 71 | let F := (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).obj S.X₃ |
| 72 | obtain ⟨z, hz, _⟩ := AlgebraicGeometry.FormalGeometry.Completion.ProEtale.CechSections.Construction.proEtaleSheaf_descend_section_of_isPullback F |
| 73 | (terminal.from U) a b hD (S.g.hom.app (op U) t) hcompat |
| 74 | change S.X₃.obj.obj (op (⊤_ X.ProEt)) at z |
| 75 | change S.X₃.obj.map (terminal.from U).op z = S.g.hom.app (op U) t at hz |
| 76 | let x := Finite.CoverCocycles.connectingSections S hS z |
| 77 | let r : CoverCharacter.Representative S hS U D a b x := |
| 78 | ⟨z, t, c, rfl, hz.symm, ht.symm⟩ |
| 79 | exact ⟨x, CoverCharacter.representative_unique S hS U D a b hcoeff |
| 80 | (CoverCharacter.representative S hS U D a b hlift x) r⟩ |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCocycleSurjectivity |