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.CoverCocycleSurjectivity |
| 2 | |
| 3 | /-! # Cover Cocycle Classes -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCocycleClasses |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A cocycle on a genuine pro-étale cover determines a sheaf H¹ class, |
| 10 | without a connectedness assumption on that cover. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Abelian |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCharacter OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.CoverCocycles |
| 18 | |
| 19 | universe u |
| 20 | variable {X : Scheme.{u}} (U D : X.ProEt) (a b : D ⟶ U) |
| 21 | [Surjective (terminal.from U).left] [QuasiCompact (terminal.from U).left] |
| 22 | (hD : IsPullback a.left b.left (terminal.from U).left (terminal.from U).left) |
| 23 | (S : ShortComplex (Sheaf (Scheme.ProEt.topology X) Ab.{u + 1})) (hS : S.ShortExact) |
| 24 | |
| 25 | include hD in |
| 26 | theorem class_eq_of_cocycle_eq {x y : S.X₁.H 1} |
| 27 | (r : CoverCharacter.Representative S hS U D a b x) (s : CoverCharacter.Representative S hS U D a b y) |
| 28 | (hrs : r.c = s.c) : x = y := by |
| 29 | have hcompat : S.X₂.obj.map a.op (r.t - s.t) = S.X₂.obj.map b.op (r.t - s.t) := by |
| 30 | have he := r.difference_eq.symm.trans ((congrArg (S.f.hom.app (op D)) hrs).trans |
| 31 | s.difference_eq) |
| 32 | simp only [map_sub] |
| 33 | exact sub_eq_sub_iff_sub_eq_sub.mp he |
| 34 | let F := (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).obj S.X₂ |
| 35 | obtain ⟨w, hw, _⟩ := AlgebraicGeometry.FormalGeometry.Completion.ProEtale.CechSections.Construction.proEtaleSheaf_descend_section_of_isPullback F |
| 36 | (terminal.from U) a b hD (r.t - s.t) hcompat |
| 37 | change S.X₂.obj.obj (op (⊤_ X.ProEt)) at w |
| 38 | change S.X₂.obj.map (terminal.from U).op w = r.t - s.t at hw |
| 39 | have hgw : S.g.hom.app (op (⊤_ X.ProEt)) w = r.z - s.z := by |
| 40 | apply Finite.CoverCocycles.cover_section_injective S.X₃ (terminal.from U) |
| 41 | rw [← NatTrans.naturality_apply, hw, map_sub, r.lift_eq, s.lift_eq, map_sub] |
| 42 | have hzero := Finite.CoverCocycles.connectingSections_projection S hS w |
| 43 | rw [hgw, map_sub, r.class_eq, s.class_eq] at hzero |
| 44 | exact sub_eq_zero.mp hzero |
| 45 | |
| 46 | variable [Injective S.X₂] |
| 47 | |
| 48 | include hD in |
| 49 | theorem exists_representative (c : S.X₁.obj.obj (op D)) |
| 50 | (hc : ∀ (T : X.ProEt) (p q r : T ⟶ D), p ≫ a = r ≫ a → p ≫ b = q ≫ a → |
| 51 | 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) : |
| 52 | ∃ x : S.X₁.H 1, ∃ r : CoverCharacter.Representative S hS U D a b x, r.c = c := by |
| 53 | have hc' : ∀ (T : X.ProEt) (p q r : T ⟶ D), p ≫ a = r ≫ a → p ≫ b = q ≫ a → |
| 54 | q ≫ b = r ≫ b → |
| 55 | 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) = |
| 56 | S.X₂.obj.map r.op (S.f.hom.app (op D) c) := by |
| 57 | intro T p q r hpa hpb hqb |
| 58 | rw [← NatTrans.naturality_apply, ← NatTrans.naturality_apply, |
| 59 | ← NatTrans.naturality_apply, ← map_add, hc T p q r hpa hpb hqb] |
| 60 | obtain ⟨t, ht⟩ := InjectiveSingleCoverCocycles.primitive.{u + 1, u} |
| 61 | (Scheme.ProEt.topology X) S.X₂ U D a b |
| 62 | (CoverCocycleSurjectivity.sitePullback U D a b hD) |
| 63 | (CoverCocycleSurjectivity.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 := |
| 65 | congrArg (fun f : S.X₁ ⟶ S.X₃ => f.hom.app (op D) c) S.zero |
| 66 | have hcompat : S.X₃.obj.map a.op (S.g.hom.app (op U) t) = |
| 67 | S.X₃.obj.map b.op (S.g.hom.app (op U) t) := by |
| 68 | apply sub_eq_zero.mp |
| 69 | rw [← NatTrans.naturality_apply, ← NatTrans.naturality_apply, ← map_sub, ht, hzero] |
| 70 | let F := (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).obj S.X₃ |
| 71 | obtain ⟨z, hz, _⟩ := AlgebraicGeometry.FormalGeometry.Completion.ProEtale.CechSections.Construction.proEtaleSheaf_descend_section_of_isPullback F |
| 72 | (terminal.from U) a b hD (S.g.hom.app (op U) t) hcompat |
| 73 | change S.X₃.obj.obj (op (⊤_ X.ProEt)) at z |
| 74 | change S.X₃.obj.map (terminal.from U).op z = S.g.hom.app (op U) t at hz |
| 75 | exact ⟨Finite.CoverCocycles.connectingSections S hS z, ⟨z, t, c, rfl, hz.symm, ht.symm⟩, rfl⟩ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CoverCocycleClasses |