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.Permutations |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.ExtensionTransportComposition |
| 3 | |
| 4 | /-! # Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Transport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The actual Čech gluing maps under coordinate permutations |
| 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.Permutations |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.ExtensionTwist OAI.AlgebraicGeometry.Picard.PoincareBundle.ExtensionTransportComposition |
| 21 | |
| 22 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 23 | (M : ModuleCat.{u} S) |
| 24 | |
| 25 | /-- Swap the second and third coefficients of the first-coordinate module. -/ |
| 26 | def swap23OnFirst : TripleGluing.slotModule R S M (TripleGluing.slot1 R S) ≃+ TripleGluing.slotModule R S M (TripleGluing.slot1 R S) := |
| 27 | ExtensionTwist.extensionEquiv (TripleGluing.slot1 R S) (TripleGluing.slot1 R S) (Permutations.swap23 R S).toRingEquiv (Permutations.swap23_slot1 R S) M |
| 28 | |
| 29 | /-- Swap the second-coordinate pullback into the third-coordinate pullback. -/ |
| 30 | def swap23OnSecond : TripleGluing.slotModule R S M (TripleGluing.slot2 R S) ≃+ TripleGluing.slotModule R S M (TripleGluing.slot3 R S) := |
| 31 | ExtensionTwist.extensionEquiv (TripleGluing.slot2 R S) (TripleGluing.slot3 R S) (Permutations.swap23 R S).toRingEquiv (Permutations.swap23_slot2 R S) M |
| 32 | |
| 33 | /-- Swap the first-coordinate pullback into the second-coordinate pullback. -/ |
| 34 | def swap12OnFirst : TripleGluing.slotModule R S M (TripleGluing.slot1 R S) ≃+ TripleGluing.slotModule R S M (TripleGluing.slot2 R S) := |
| 35 | ExtensionTwist.extensionEquiv (TripleGluing.slot1 R S) (TripleGluing.slot2 R S) (Permutations.swap12 R S).toRingEquiv (Permutations.swap12_slot1 R S) M |
| 36 | |
| 37 | /-- Swap the first two coefficients of the third-coordinate pullback. -/ |
| 38 | def swap12OnThird : TripleGluing.slotModule R S M (TripleGluing.slot3 R S) ≃+ TripleGluing.slotModule R S M (TripleGluing.slot3 R S) := |
| 39 | ExtensionTwist.extensionEquiv (TripleGluing.slot3 R S) (TripleGluing.slot3 R S) (Permutations.swap12 R S).toRingEquiv (Permutations.swap12_slot3 R S) M |
| 40 | |
| 41 | /-- The gluing map from the first slot to the third is transported from first-to-second gluing. -/ |
| 42 | theorem transport_gluing12 (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) |
| 43 | (z : TripleGluing.slotModule R S M (TripleGluing.slot1 R S)) : |
| 44 | swap23OnSecond R S M (TripleGluing.gluing12 R S M σ z) = |
| 45 | TripleGluing.gluing13 R S M σ (swap23OnFirst R S M z) := by |
| 46 | exact ExtensionTransportComposition.transport_extendedMapTo (TripleGluing.pair12 R S) (TripleGluing.pair13 R S) (Permutations.swap23 R S).toRingEquiv |
| 47 | (Permutations.swap23_pair12 R S) M (ModuleModels.firstMap R S) (ModuleModels.secondMap R S) |
| 48 | (TripleGluing.slot1 R S) (TripleGluing.slot2 R S) (TripleGluing.slot1 R S) (TripleGluing.slot3 R S) |
| 49 | rfl rfl (TripleGluing.pair13_first R S) (TripleGluing.pair13_second R S) |
| 50 | (Permutations.swap23_slot1 R S) (Permutations.swap23_slot2 R S) σ.hom z |
| 51 | |
| 52 | /-- The gluing map from the second slot to the third is transported from first-to-third gluing. -/ |
| 53 | theorem transport_gluing13 (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) |
| 54 | (z : TripleGluing.slotModule R S M (TripleGluing.slot1 R S)) : |
| 55 | swap12OnThird R S M (TripleGluing.gluing13 R S M σ z) = |
| 56 | TripleGluing.gluing23 R S M σ (swap12OnFirst R S M z) := by |
| 57 | exact ExtensionTransportComposition.transport_extendedMapTo (TripleGluing.pair13 R S) (TripleGluing.pair23 R S) (Permutations.swap12 R S).toRingEquiv |
| 58 | (Permutations.swap12_pair13 R S) M (ModuleModels.firstMap R S) (ModuleModels.secondMap R S) |
| 59 | (TripleGluing.slot1 R S) (TripleGluing.slot3 R S) (TripleGluing.slot2 R S) (TripleGluing.slot3 R S) |
| 60 | (TripleGluing.pair13_first R S) (TripleGluing.pair13_second R S) (TripleGluing.pair23_first R S) (TripleGluing.pair23_second R S) |
| 61 | (Permutations.swap12_slot1 R S) (Permutations.swap12_slot3 R S) σ.hom z |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Transport |