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.Cech.TripleGluing |
| 2 | |
| 3 | /-! # Permutations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Permutations |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Permuting coordinates of the actual affine triple fiber product |
| 11 | -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.TripleGluing |
| 19 | |
| 20 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 21 | |
| 22 | local notation "U" => S ⊗[R] S |
| 23 | local notation "V" => (S ⊗[R] S) ⊗[R] S |
| 24 | |
| 25 | /-- Interchange the first and second coordinates. -/ |
| 26 | def swap12 : V ≃ₐ[R] V := |
| 27 | Algebra.TensorProduct.congr (Algebra.TensorProduct.comm R S S) (AlgEquiv.refl : S ≃ₐ[R] S) |
| 28 | |
| 29 | /-- Interchange the second and third coordinates. -/ |
| 30 | def swap23 : V ≃ₐ[R] V := |
| 31 | (Algebra.TensorProduct.assoc R R R S S S).trans |
| 32 | ((Algebra.TensorProduct.congr (AlgEquiv.refl : S ≃ₐ[R] S) |
| 33 | (Algebra.TensorProduct.comm R S S)).trans |
| 34 | (Algebra.TensorProduct.assoc R R R S S S).symm) |
| 35 | |
| 36 | @[simp] |
| 37 | theorem swap12_tmul (a b c : S) : |
| 38 | swap12 R S ((a ⊗ₜ[R] b) ⊗ₜ[R] c) = (b ⊗ₜ[R] a) ⊗ₜ[R] c := rfl |
| 39 | |
| 40 | @[simp] |
| 41 | theorem swap23_tmul (a b c : S) : |
| 42 | swap23 R S ((a ⊗ₜ[R] b) ⊗ₜ[R] c) = (a ⊗ₜ[R] c) ⊗ₜ[R] b := rfl |
| 43 | |
| 44 | theorem swap12_involutive (z : V) : swap12 R S (swap12 R S z) = z := by |
| 45 | induction z using TensorProduct.inductionOn with |
| 46 | | add x y hx hy => simp only [map_add, hx, hy] |
| 47 | | tmul x c => |
| 48 | induction x using TensorProduct.inductionOn with |
| 49 | | add x y hx hy => simp only [add_tmul, map_add, hx, hy] |
| 50 | | tmul a b => rfl |
| 51 | |
| 52 | theorem swap23_involutive (z : V) : swap23 R S (swap23 R S z) = z := by |
| 53 | induction z using TensorProduct.inductionOn with |
| 54 | | add x y hx hy => simp only [map_add, hx, hy] |
| 55 | | tmul x c => |
| 56 | induction x using TensorProduct.inductionOn with |
| 57 | | add x y hx hy => simp only [add_tmul, map_add, hx, hy] |
| 58 | | tmul a b => rfl |
| 59 | |
| 60 | theorem swap23_slot1 (s : S) : swap23 R S (TripleGluing.slot1 R S s) = TripleGluing.slot1 R S s := rfl |
| 61 | theorem swap23_slot2 (s : S) : swap23 R S (TripleGluing.slot2 R S s) = TripleGluing.slot3 R S s := rfl |
| 62 | theorem swap23_slot3 (s : S) : swap23 R S (TripleGluing.slot3 R S s) = TripleGluing.slot2 R S s := rfl |
| 63 | |
| 64 | theorem swap12_slot1 (s : S) : swap12 R S (TripleGluing.slot1 R S s) = TripleGluing.slot2 R S s := rfl |
| 65 | theorem swap12_slot2 (s : S) : swap12 R S (TripleGluing.slot2 R S s) = TripleGluing.slot1 R S s := rfl |
| 66 | theorem swap12_slot3 (s : S) : swap12 R S (TripleGluing.slot3 R S s) = TripleGluing.slot3 R S s := rfl |
| 67 | |
| 68 | /-- The first-to-third gluing square is the transposed first-to-second square. -/ |
| 69 | theorem swap23_pair12 (z : U) : swap23 R S (TripleGluing.pair12 R S z) = TripleGluing.pair13 R S z := by |
| 70 | induction z using TensorProduct.inductionOn with |
| 71 | | add x y hx hy => simp only [map_add, hx, hy] |
| 72 | | tmul a b => rfl |
| 73 | |
| 74 | /-- The second-to-third gluing square is the transposed first-to-third square. -/ |
| 75 | theorem swap12_pair13 (z : U) : swap12 R S (TripleGluing.pair13 R S z) = TripleGluing.pair23 R S z := by |
| 76 | induction z using TensorProduct.inductionOn with |
| 77 | | add x y hx hy => simp only [map_add, hx, hy] |
| 78 | | tmul a b => rfl |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Permutations |