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 Linearization Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A proved relation cocycle gives compatible transport on all test |
| 10 | objects, hence ordinary module descent data for the actual quotient. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 15 | |
| 16 | universe u v u' v' |
| 17 | variable {C : Type u} [Category.{v} C] [HasPullbacks C] |
| 18 | (F : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{v', u'}) |
| 19 | {B T X : C} (u : T ⟶ B) (a : X ⟶ T) |
| 20 | (t : DescentCocycleChange.DescentCocycle.overlap u a ⟶ X) (ht : t ≫ a = DescentCocycleChange.DescentCocycle.base u a) |
| 21 | (hn : DescentCocycleChange.DescentCocycle.diagonal u a ≫ t = 𝟙 X) |
| 22 | (hc : DescentCocycleChange.DescentCocycle.composition u a t ht ≫ t = pullback.snd t (DescentCocycleChange.DescentCocycle.source u a) ≫ t) |
| 23 | (L : F.obj (.mk (op X))) (D : CocycleLinearizationSelf.CocycleLinearization F u a t ht hn hc L) |
| 24 | {Y : C} (q : X ⟶ Y) (hk : IsKernelPair q (DescentCocycleChange.DescentCocycle.source u a) t) |
| 25 | |
| 26 | theorem CocycleLinearizationSelf.CocycleLinearization.transport_trans {Z : C} (x y z : Z ⟶ X) |
| 27 | (hxy : x ≫ q = y ≫ q) (hyz : y ≫ q = z ≫ q) : |
| 28 | D.transport F u a t ht hn hc L q hk x y hxy ≫ |
| 29 | D.transport F u a t ht hn hc L q hk y z hyz = |
| 30 | D.transport F u a t ht hn hc L q hk x z (hxy.trans hyz) := by |
| 31 | let src := DescentCocycleChange.DescentCocycle.source u a |
| 32 | let r₁ := hk.lift x y hxy |
| 33 | let r₂ := hk.lift y z hyz |
| 34 | let r₃ := hk.lift x z (hxy.trans hyz) |
| 35 | let k := pullback.lift r₁ r₂ ((hk.lift_snd x y hxy).trans (hk.lift_fst y z hyz).symm) |
| 36 | have hk₁ : k ≫ pullback.fst t src = r₁ := pullback.lift_fst _ _ _ |
| 37 | have hk₂ : k ≫ pullback.snd t src = r₂ := pullback.lift_snd _ _ _ |
| 38 | let c := DescentCocycleChange.DescentCocycle.composition u a t ht |
| 39 | have hk₃ : k ≫ c = r₃ := by |
| 40 | apply hk.hom_ext |
| 41 | · change (k ≫ c) ≫ src = r₃ ≫ src |
| 42 | rw [Category.assoc, DescentCocycleChange.DescentCocycle.composition_source, ← Category.assoc, hk₁] |
| 43 | exact (hk.lift_fst _ _ _).trans (hk.lift_fst _ _ _).symm |
| 44 | · rw [Category.assoc, hc, ← Category.assoc, hk₂] |
| 45 | exact (hk.lift_snd _ _ _).trans (hk.lift_snd _ _ _).symm |
| 46 | have hs : k ≫ (pullback.fst t src ≫ src) = x := by |
| 47 | rw [← Category.assoc, hk₁] |
| 48 | exact hk.lift_fst _ _ _ |
| 49 | have hm : k ≫ (pullback.snd t src ≫ src) = y := by |
| 50 | rw [← Category.assoc, hk₂] |
| 51 | exact hk.lift_fst _ _ _ |
| 52 | have he : k ≫ (pullback.snd t src ≫ t) = z := by |
| 53 | rw [← Category.assoc, hk₂] |
| 54 | exact hk.lift_snd _ _ _ |
| 55 | have H := congrArg (fun φ => pullHom φ k x z hs he) D.cocycle |
| 56 | rw [Picard.PoincareBundle.PullHom.pullHom_comp _ _ k x y z hs hm he] at H |
| 57 | have H₁ := pullHom_pullHom D.iso.hom (pullback.fst t src) |
| 58 | (pullback.fst t src ≫ src) (pullback.snd t src ≫ src) k x y rfl pullback.condition hs hm |
| 59 | have H₂ := pullHom_pullHom D.iso.hom (pullback.snd t src) |
| 60 | (pullback.snd t src ≫ src) (pullback.snd t src ≫ t) k y z rfl rfl hm he |
| 61 | have H₃ := pullHom_pullHom D.iso.hom c |
| 62 | (pullback.fst t src ≫ src) (pullback.snd t src ≫ t) k x z |
| 63 | (DescentCocycleChange.DescentCocycle.composition_source u a t ht) hc hs he |
| 64 | rw [H₁, H₂, H₃] at H |
| 65 | simpa only [CocycleLinearizationSelf.CocycleLinearization.transport, hk₁, hk₂, hk₃] using H |
| 66 | |
| 67 | def CocycleLinearizationSelf.CocycleLinearization.descentData : F.DescentData (fun (_ : PUnit.{1}) => q) where |
| 68 | obj _ := L |
| 69 | hom := fun {_Z} _ {_i _j} x y hx hy => D.transport F u a t ht hn hc L q hk x y (hx.trans hy.symm) |
| 70 | pullHom_hom := fun {_Z' _Z} g _ _ _ {_i _j} x y hx hy x' y' hx' hy' => |
| 71 | D.transport_restrict F u a t ht hn hc L q hk x y (hx.trans hy.symm) g x' y' hx' hy' _ |
| 72 | hom_self := fun {_Z} _ {_i} x _ => D.transport_self F u a t ht hn hc L q hk x |
| 73 | hom_comp := fun {_Z} _ {_i _j _k} x y z hx hy hz => D.transport_trans F u a t ht hn hc L q hk x y z |
| 74 | (hx.trans hy.symm) (hy.trans hz.symm) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |