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.Picard.PoincareBundle.CocycleSwitchNext |
| 2 | |
| 3 | /-! # Cocycle Normalization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleNormalization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Diagonal and symmetry identities follow from invertible gluing and the cocycle |
| 11 | -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | /-- In a braid relation, an involutive generator forces the other generator to be involutive. -/ |
| 19 | theorem braid_involutive {X : Type*} (a b : X ≃ X) (hb : Function.Involutive b) |
| 20 | (h : ∀ x, a (b (a x)) = b (a (b x))) : Function.Involutive a := by |
| 21 | intro x |
| 22 | apply a.injective.comp b.injective |
| 23 | change a (b (a (a x))) = a (b x) |
| 24 | rw [h (a x), h x, hb] |
| 25 | |
| 26 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.DescentSwitch OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleSwitchNext |
| 27 | |
| 28 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 29 | {M : Type u} [AddCommGroup M] [Module S M] [Module R M] [IsScalarTower R S M] |
| 30 | |
| 31 | omit [IsScalarTower R S M] in |
| 32 | /-- The tensor cocycle forces transposition of the two factors to invert the gluing. -/ |
| 33 | theorem switch_involutive (D : CocycleSwitchNext.CocycleSwitch R S M) : Function.Involutive D.switch := by |
| 34 | let a := TensorProduct.congr (LinearEquiv.refl R S) D.switch |
| 35 | let b := TensorProduct.leftComm R S S M |
| 36 | have hb : Function.Involutive b := by |
| 37 | have h : b.toLinearMap ∘ₗ b.toLinearMap = LinearMap.id := |
| 38 | TensorProduct.ext_threefold' (fun _ _ _ => rfl) |
| 39 | exact LinearMap.congr_fun h |
| 40 | have ha : Function.Involutive a := braid_involutive a.toEquiv b.toEquiv hb |
| 41 | (fun z => LinearMap.congr_fun D.cocycle z) |
| 42 | intro z |
| 43 | have h := ha ((1 : S) ⊗ₜ[R] z) |
| 44 | change (1 : S) ⊗ₜ[R] D.switch (D.switch z) = (1 : S) ⊗ₜ[R] z at h |
| 45 | have hd := congrArg (DescentSwitch.diagonal R S (S ⊗[R] M)) h |
| 46 | simpa only [DescentSwitch.diagonal_tmul, one_smul] using hd |
| 47 | |
| 48 | theorem switch_secondScalar (D : CocycleSwitchNext.CocycleSwitch R S M) (s : S) (z : S ⊗[R] M) : |
| 49 | D.switch (DescentSwitch.secondScalar (R := R) (M := M) s z) = s • D.switch z := by |
| 50 | induction z using TensorProduct.inductionOn with |
| 51 | | add x y hx hy => simp only [map_add, hx, hy, smul_add] |
| 52 | | tmul t m => exact D.second_smul s t m |
| 53 | |
| 54 | /-- The coaction determines the original gluing on every pure tensor. -/ |
| 55 | theorem switch_tmul (D : CocycleSwitchNext.CocycleSwitch R S M) (s : S) (m : M) : |
| 56 | D.switch (s ⊗ₜ[R] m) = DescentSwitch.secondScalar (R := R) (M := M) s (D.coaction m) := by |
| 57 | apply D.switch.injective |
| 58 | rw [switch_involutive D, switch_secondScalar] |
| 59 | change s ⊗ₜ[R] m = s • D.switch (D.switch (1 ⊗ₜ[R] m)) |
| 60 | rw [switch_involutive D] |
| 61 | rw [smul_tmul', smul_eq_mul, mul_one] |
| 62 | |
| 63 | theorem diagonal_secondScalar (s : S) (z : S ⊗[R] M) : |
| 64 | DescentSwitch.diagonal R S M (DescentSwitch.secondScalar (R := R) (M := M) s z) = s • DescentSwitch.diagonal R S M z := by |
| 65 | induction z using TensorProduct.inductionOn with |
| 66 | | add x y hx hy => simp only [map_add, hx, hy, smul_add] |
| 67 | | tmul t m => |
| 68 | change t • (s • m) = s • (t • m) |
| 69 | exact smul_comm t s m |
| 70 | |
| 71 | /-- The diagonal compatibility is forced by invertible gluing and the cocycle. -/ |
| 72 | theorem diagonal_switch (D : CocycleSwitchNext.CocycleSwitch R S M) (z : S ⊗[R] M) : |
| 73 | DescentSwitch.diagonal R S M (D.switch z) = DescentSwitch.diagonal R S M z := by |
| 74 | induction z using TensorProduct.inductionOn with |
| 75 | | add x y hx hy => simp only [map_add, hx, hy] |
| 76 | | tmul s m => rw [switch_tmul, diagonal_secondScalar, D.counit, DescentSwitch.diagonal_tmul] |
| 77 | |
| 78 | /-- An ordinary gluing cocycle supplies all the normalized descent-switch identities. -/ |
| 79 | def toSwitch (D : CocycleSwitchNext.CocycleSwitch R S M) : DescentSwitch.SwitchDatum R S M where |
| 80 | switch := D.switch |
| 81 | second_smul := D.second_smul |
| 82 | diagonal_switch := CocycleNormalization.diagonal_switch D |
| 83 | involutive := switch_involutive D |
| 84 | cocycle := D.cocycle |
| 85 | |
| 86 | /-- The derived normalization retains the exact original coaction. -/ |
| 87 | theorem toSwitch_coaction (D : CocycleSwitchNext.CocycleSwitch R S M) : (toSwitch D).coaction = D.coaction := rfl |
| 88 | |
| 89 | /-- Coaction extraction loses none of the original gluing switch. -/ |
| 90 | theorem switch_eq_of_coaction_eq (D E : CocycleSwitchNext.CocycleSwitch R S M) (h : D.coaction = E.coaction) : |
| 91 | D.switch = E.switch := |
| 92 | DescentSwitch.SwitchDatum.switch_eq_of_coaction_eq (toSwitch D) (toSwitch E) h |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleNormalization |