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.AlgebraicGeometry.PELModuli.IntegralModel.CocycleLinearizationSelf |
| 2 | |
| 3 | /-! # Cocycle Point Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A relation linearization transports along arbitrary actual relation |
| 10 | points, before a quotient exists. This is the form preserved by scalar |
| 11 | change of the quotient presentation. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 16 | |
| 17 | universe u v u' v' |
| 18 | variable {C : Type u} [Category.{v} C] [HasPullbacks C] |
| 19 | (F : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{v', u'}) |
| 20 | {B T X : C} (u : T ⟶ B) (a : X ⟶ T) |
| 21 | (t : DescentCocycleChange.DescentCocycle.overlap u a ⟶ X) (ht : t ≫ a = DescentCocycleChange.DescentCocycle.base u a) |
| 22 | (hn : DescentCocycleChange.DescentCocycle.diagonal u a ≫ t = 𝟙 X) |
| 23 | (hc : DescentCocycleChange.DescentCocycle.composition u a t ht ≫ t = pullback.snd t (DescentCocycleChange.DescentCocycle.source u a) ≫ t) |
| 24 | (L : F.obj (.mk (op X))) (D : CocycleLinearizationSelf.CocycleLinearization F u a t ht hn hc L) |
| 25 | |
| 26 | include ht in |
| 27 | theorem CocycleLinearizationSelf.CocycleLinearization.relation_ext {Z : C} (r r' : Z ⟶ DescentCocycleChange.DescentCocycle.overlap u a) |
| 28 | (hs : r ≫ DescentCocycleChange.DescentCocycle.source u a = r' ≫ DescentCocycleChange.DescentCocycle.source u a) |
| 29 | (he : r ≫ t = r' ≫ t) : r = r' := by |
| 30 | apply pullback.hom_ext hs |
| 31 | change r ≫ DescentCocycleChange.DescentCocycle.base u a = r' ≫ DescentCocycleChange.DescentCocycle.base u a |
| 32 | rw [← ht, ← Category.assoc, ← Category.assoc, he] |
| 33 | |
| 34 | def CocycleLinearizationSelf.CocycleLinearization.pointHom {Z : C} (r : Z ⟶ DescentCocycleChange.DescentCocycle.overlap u a) (x y : Z ⟶ X) |
| 35 | (hs : r ≫ DescentCocycleChange.DescentCocycle.source u a = x) (he : r ≫ t = y) : |
| 36 | (F.map x.op.toLoc).toFunctor.obj L ⟶ (F.map y.op.toLoc).toFunctor.obj L := |
| 37 | pullHom D.iso.hom r x y hs he |
| 38 | |
| 39 | theorem CocycleLinearizationSelf.CocycleLinearization.pointHom_self {Z : C} (r : Z ⟶ DescentCocycleChange.DescentCocycle.overlap u a) (x : Z ⟶ X) |
| 40 | (hs : r ≫ DescentCocycleChange.DescentCocycle.source u a = x) (he : r ≫ t = x) : |
| 41 | D.pointHom F u a t ht hn hc L r x x hs he = 𝟙 _ := by |
| 42 | have hr : r = x ≫ DescentCocycleChange.DescentCocycle.diagonal u a := by |
| 43 | apply CocycleLinearizationSelf.CocycleLinearization.relation_ext u a t ht |
| 44 | · simpa only [Category.assoc, DescentCocycleChange.DescentCocycle.diagonal_source, Category.comp_id] using hs |
| 45 | · simpa only [Category.assoc, hn, Category.comp_id] using he |
| 46 | have hi := congrArg (fun φ => pullHom φ x x x (Category.comp_id x) (Category.comp_id x)) D.identity |
| 47 | rw [Picard.PoincareBundle.PullHom.pullHom_identity] at hi |
| 48 | exact (Picard.PoincareBundle.PullHom.pullHom_congr D.iso.hom _ _ hr x x _ _ _ _).trans |
| 49 | ((pullHom_pullHom D.iso.hom (DescentCocycleChange.DescentCocycle.diagonal u a) (𝟙 X) (𝟙 X) x x x |
| 50 | (DescentCocycleChange.DescentCocycle.diagonal_source u a) hn (Category.comp_id x) (Category.comp_id x)).symm.trans hi) |
| 51 | |
| 52 | theorem CocycleLinearizationSelf.CocycleLinearization.pointHom_restrict {Z Z' : C} (r : Z ⟶ DescentCocycleChange.DescentCocycle.overlap u a) (x y : Z ⟶ X) |
| 53 | (hs : r ≫ DescentCocycleChange.DescentCocycle.source u a = x) (he : r ≫ t = y) |
| 54 | (g : Z' ⟶ Z) (r' : Z' ⟶ DescentCocycleChange.DescentCocycle.overlap u a) (x' y' : Z' ⟶ X) |
| 55 | (hr : g ≫ r = r') (hx : g ≫ x = x') (hy : g ≫ y = y') |
| 56 | (hs' : r' ≫ DescentCocycleChange.DescentCocycle.source u a = x') (he' : r' ≫ t = y') : |
| 57 | pullHom (D.pointHom F u a t ht hn hc L r x y hs he) g x' y' hx hy = |
| 58 | D.pointHom F u a t ht hn hc L r' x' y' hs' he' := |
| 59 | (pullHom_pullHom D.iso.hom r x y g x' y' hs he hx hy).trans |
| 60 | (Picard.PoincareBundle.PullHom.pullHom_congr D.iso.hom _ _ hr x' y' _ _ hs' he') |
| 61 | |
| 62 | theorem CocycleLinearizationSelf.CocycleLinearization.pointHom_trans {Z : C} (r₁ r₂ r₃ : Z ⟶ DescentCocycleChange.DescentCocycle.overlap u a) (x y z : Z ⟶ X) |
| 63 | (hs₁ : r₁ ≫ DescentCocycleChange.DescentCocycle.source u a = x) (ht₁ : r₁ ≫ t = y) |
| 64 | (hs₂ : r₂ ≫ DescentCocycleChange.DescentCocycle.source u a = y) (ht₂ : r₂ ≫ t = z) |
| 65 | (hs₃ : r₃ ≫ DescentCocycleChange.DescentCocycle.source u a = x) (ht₃ : r₃ ≫ t = z) : |
| 66 | D.pointHom F u a t ht hn hc L r₁ x y hs₁ ht₁ ≫ |
| 67 | D.pointHom F u a t ht hn hc L r₂ y z hs₂ ht₂ = |
| 68 | D.pointHom F u a t ht hn hc L r₃ x z hs₃ ht₃ := by |
| 69 | let src := DescentCocycleChange.DescentCocycle.source u a |
| 70 | let k := pullback.lift r₁ r₂ (ht₁.trans hs₂.symm) |
| 71 | have hk₁ : k ≫ pullback.fst t src = r₁ := pullback.lift_fst _ _ _ |
| 72 | have hk₂ : k ≫ pullback.snd t src = r₂ := pullback.lift_snd _ _ _ |
| 73 | let c := DescentCocycleChange.DescentCocycle.composition u a t ht |
| 74 | have hk₃ : k ≫ c = r₃ := by |
| 75 | apply CocycleLinearizationSelf.CocycleLinearization.relation_ext u a t ht |
| 76 | · rw [Category.assoc, DescentCocycleChange.DescentCocycle.composition_source, ← Category.assoc, hk₁] |
| 77 | exact hs₁.trans hs₃.symm |
| 78 | · rw [Category.assoc, hc, ← Category.assoc, hk₂] |
| 79 | exact ht₂.trans ht₃.symm |
| 80 | have hs : k ≫ (pullback.fst t src ≫ src) = x := by rw [← Category.assoc, hk₁]; exact hs₁ |
| 81 | have hm : k ≫ (pullback.snd t src ≫ src) = y := by rw [← Category.assoc, hk₂]; exact hs₂ |
| 82 | have he : k ≫ (pullback.snd t src ≫ t) = z := by rw [← Category.assoc, hk₂]; exact ht₂ |
| 83 | have H := congrArg (fun φ => pullHom φ k x z hs he) D.cocycle |
| 84 | rw [Picard.PoincareBundle.PullHom.pullHom_comp _ _ k x y z hs hm he] at H |
| 85 | have H₁ := pullHom_pullHom D.iso.hom (pullback.fst t src) |
| 86 | (pullback.fst t src ≫ src) (pullback.snd t src ≫ src) k x y rfl pullback.condition hs hm |
| 87 | have H₂ := pullHom_pullHom D.iso.hom (pullback.snd t src) |
| 88 | (pullback.snd t src ≫ src) (pullback.snd t src ≫ t) k y z rfl rfl hm he |
| 89 | have H₃ := pullHom_pullHom D.iso.hom c |
| 90 | (pullback.fst t src ≫ src) (pullback.snd t src ≫ t) k x z |
| 91 | (DescentCocycleChange.DescentCocycle.composition_source u a t ht) hc hs he |
| 92 | rw [H₁, H₂, H₃] at H |
| 93 | simpa only [CocycleLinearizationSelf.CocycleLinearization.pointHom, hk₁, hk₂, hk₃] using H |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |