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.Transport |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.FlatCoordinates |
| 3 | |
| 4 | /-! # Transport Models -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.TransportModels |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Coordinate transport in the common triple tensor model |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.ModuleCat TensorProduct |
| 15 | open scoped TensorProduct ChangeOfRings |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModuleModels OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.TripleGluing OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.TripleExtension |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ThirdModel OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.FlatCoordinates OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Transport |
| 21 | |
| 22 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 23 | (M : ModuleCat.{u} S) |
| 24 | |
| 25 | local notation "V" => (S ⊗[R] S) ⊗[R] S |
| 26 | |
| 27 | /-- Additive maps out of a triple-ring scalar extension are determined on pure tensors. -/ |
| 28 | theorem tripleTensor_ext (i : S →+* V) {N : Type u} [AddCommGroup N] |
| 29 | (f g : TripleGluing.slotModule R S M i → N) |
| 30 | (hf : ∀ x y, f (x + y) = f x + f y) (hg : ∀ x y, g (x + y) = g x + g y) |
| 31 | (h : ∀ (a b c : S) (m : M), |
| 32 | f (((a ⊗ₜ[R] b) ⊗ₜ[R] c) ⊗ₜ[S,i] m) = |
| 33 | g (((a ⊗ₜ[R] b) ⊗ₜ[R] c) ⊗ₜ[S,i] m)) |
| 34 | (z : TripleGluing.slotModule R S M i) : f z = g z := by |
| 35 | have hf0 : f 0 = 0 := add_eq_left.mp (by simpa only [zero_add] using (hf 0 0).symm) |
| 36 | have hg0 : g 0 = 0 := add_eq_left.mp (by simpa only [zero_add] using (hg 0 0).symm) |
| 37 | have hz : f 0 = g 0 := hf0.trans hg0.symm |
| 38 | have ht (m : M) : ((0 : V) ⊗ₜ[S,i] m : TripleGluing.slotModule R S M i) = 0 := |
| 39 | TensorProduct.zero_tmul _ _ |
| 40 | induction z using TensorProduct.inductionOn with |
| 41 | | add x y hx hy => exact (hf x y).trans ((congrArg₂ (· + ·) hx hy).trans (hg x y).symm) |
| 42 | | tmul v m => |
| 43 | induction v using TensorProduct.inductionOn with |
| 44 | | add x y hx hy => |
| 45 | erw [add_tmul, hf, hx, hy, hg] |
| 46 | | tmul u c => |
| 47 | induction u using TensorProduct.inductionOn with |
| 48 | | add x y hx hy => erw [add_tmul, add_tmul, hf, hx, hy, hg] |
| 49 | | tmul a b => exact h a b c m |
| 50 | |
| 51 | /-- Transposing the second and third coordinates swaps the two coefficient tensor factors. -/ |
| 52 | theorem firstModel_swap23 (z : TripleGluing.slotModule R S M (TripleGluing.slot1 R S)) : |
| 53 | (TripleGluing.firstFlatModel R S M).hom (Transport.swap23OnFirst R S M z) = |
| 54 | TensorProduct.leftComm R S S ((restrictScalars (algebraMap R S)).obj M) |
| 55 | ((TripleGluing.firstFlatModel R S M).hom z) := by |
| 56 | refine tripleTensor_ext R S M (TripleGluing.slot1 R S) (N := TripleExtension.tripleModule R S M) |
| 57 | (fun x => (TripleGluing.firstFlatModel R S M).hom (Transport.swap23OnFirst R S M x)) |
| 58 | (fun x => TensorProduct.leftComm R S S ((restrictScalars (algebraMap R S)).obj M) |
| 59 | ((TripleGluing.firstFlatModel R S M).hom x)) ?_ ?_ ?_ z |
| 60 | · intro x y |
| 61 | erw [map_add, map_add] |
| 62 | · intro x y |
| 63 | erw [map_add, map_add] |
| 64 | · intro a b c m |
| 65 | exact (FlatCoordinates.firstFlatModel_tmul R S M a c b m).trans |
| 66 | (congrArg (TensorProduct.leftComm R S S ((restrictScalars (algebraMap R S)).obj M)) |
| 67 | (FlatCoordinates.firstFlatModel_tmul R S M a b c m)).symm |
| 68 | |
| 69 | /-- Transporting the second pullback to the third preserves these tensor coordinates. -/ |
| 70 | theorem thirdModel_swap23 (z : TripleGluing.slotModule R S M (TripleGluing.slot2 R S)) : |
| 71 | ThirdModel.thirdFlatModel R S M (Transport.swap23OnSecond R S M z) = (TripleGluing.secondFlatModel R S M).hom z := by |
| 72 | refine tripleTensor_ext R S M (TripleGluing.slot2 R S) (N := TripleExtension.tripleModule R S M) |
| 73 | (fun x => ThirdModel.thirdFlatModel R S M (Transport.swap23OnSecond R S M x)) |
| 74 | (fun x => (TripleGluing.secondFlatModel R S M).hom x) ?_ ?_ ?_ z |
| 75 | · intro x y |
| 76 | erw [map_add, map_add] |
| 77 | · intro x y |
| 78 | exact ((TripleGluing.secondFlatModel R S M).hom).hom.map_add x y |
| 79 | · intro a b c m |
| 80 | exact (ThirdModel.thirdFlatModel_tmul R S M a c b m).trans (FlatCoordinates.secondFlatModel_tmul R S M a b c m).symm |
| 81 | |
| 82 | /-- Transporting the first pullback to the second preserves these tensor coordinates. -/ |
| 83 | theorem secondModel_swap12 (z : TripleGluing.slotModule R S M (TripleGluing.slot1 R S)) : |
| 84 | (TripleGluing.secondFlatModel R S M).hom (Transport.swap12OnFirst R S M z) = (TripleGluing.firstFlatModel R S M).hom z := by |
| 85 | refine tripleTensor_ext R S M (TripleGluing.slot1 R S) (N := TripleExtension.tripleModule R S M) |
| 86 | (fun x => (TripleGluing.secondFlatModel R S M).hom (Transport.swap12OnFirst R S M x)) |
| 87 | (fun x => (TripleGluing.firstFlatModel R S M).hom x) ?_ ?_ ?_ z |
| 88 | · intro x y |
| 89 | erw [map_add, map_add] |
| 90 | · intro x y |
| 91 | exact ((TripleGluing.firstFlatModel R S M).hom).hom.map_add x y |
| 92 | · intro a b c m |
| 93 | exact (FlatCoordinates.secondFlatModel_tmul R S M b a c m).trans (FlatCoordinates.firstFlatModel_tmul R S M a b c m).symm |
| 94 | |
| 95 | /-- Transposition of the first two coordinates swaps the coefficient factors of the third model. -/ |
| 96 | theorem thirdModel_swap12 (z : TripleGluing.slotModule R S M (TripleGluing.slot3 R S)) : |
| 97 | ThirdModel.thirdFlatModel R S M (Transport.swap12OnThird R S M z) = |
| 98 | TensorProduct.leftComm R S S ((restrictScalars (algebraMap R S)).obj M) |
| 99 | (ThirdModel.thirdFlatModel R S M z) := by |
| 100 | refine tripleTensor_ext R S M (TripleGluing.slot3 R S) (N := TripleExtension.tripleModule R S M) |
| 101 | (fun x => ThirdModel.thirdFlatModel R S M (Transport.swap12OnThird R S M x)) |
| 102 | (fun x => TensorProduct.leftComm R S S ((restrictScalars (algebraMap R S)).obj M) |
| 103 | (ThirdModel.thirdFlatModel R S M x)) ?_ ?_ ?_ z |
| 104 | · intro x y |
| 105 | erw [map_add, map_add] |
| 106 | · intro x y |
| 107 | erw [map_add, map_add] |
| 108 | · intro a b c m |
| 109 | exact (ThirdModel.thirdFlatModel_tmul R S M b a c m).trans |
| 110 | (congrArg (TensorProduct.leftComm R S S ((restrictScalars (algebraMap R S)).obj M)) |
| 111 | (ThirdModel.thirdFlatModel_tmul R S M a b c m)).symm |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.TransportModels |