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.ExtensionTwist |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.ExtensionComposition |
| 3 | |
| 4 | /-! # Extension Transport Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.ExtensionTransportComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Coefficient transport commutes with canonical composition of scalar extensions |
| 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.ExtensionTwist OAI.AlgebraicGeometry.Picard.PoincareBundle.ExtensionComposition |
| 20 | |
| 21 | variable {R A B C : Type u} [CommRing R] [CommRing A] [CommRing B] [CommRing C] |
| 22 | (f : R →+* A) (g : A →+* B) (g' : A →+* C) |
| 23 | (e : B ≃+* C) (h : ∀ a, e (g a) = g' a) (M : ModuleCat.{u} R) |
| 24 | |
| 25 | /-- Transporting after expansion into two scalar extensions equals expanding after transport. -/ |
| 26 | theorem transport_composition_hom (z : (extendScalars (g.comp f)).obj M) : |
| 27 | ExtensionTwist.extensionEquiv g g' e h ((extendScalars f).obj M) |
| 28 | ((extendScalarsComp f g).hom.app M z) = |
| 29 | (extendScalarsComp f g').hom.app M |
| 30 | (ExtensionTwist.extensionEquiv (g.comp f) (g'.comp f) e (fun r => h (f r)) M z) := by |
| 31 | induction z using TensorProduct.inductionOn with |
| 32 | | add x y hx hy => |
| 33 | erw [map_add, map_add, hx, hy, map_add, map_add] |
| 34 | | tmul b m => |
| 35 | exact (congrArg (ExtensionTwist.extensionEquiv g g' e h ((extendScalars f).obj M)) |
| 36 | (ExtensionComposition.composition_hom_tmul f g M b m)).trans |
| 37 | (ExtensionComposition.composition_hom_tmul f g' M (e b) m).symm |
| 38 | |
| 39 | /-- Transport also commutes with flattening the two scalar extensions. -/ |
| 40 | theorem transport_composition_inv |
| 41 | (z : (extendScalars g).obj ((extendScalars f).obj M)) : |
| 42 | ExtensionTwist.extensionEquiv (g.comp f) (g'.comp f) e (fun r => h (f r)) M |
| 43 | ((extendScalarsComp f g).inv.app M z) = |
| 44 | (extendScalarsComp f g').inv.app M |
| 45 | (ExtensionTwist.extensionEquiv g g' e h ((extendScalars f).obj M) z) := by |
| 46 | apply ((extendScalarsComp f g').app M).toLinearEquiv.injective |
| 47 | calc |
| 48 | _ = ExtensionTwist.extensionEquiv g g' e h ((extendScalars f).obj M) |
| 49 | ((extendScalarsComp f g).hom.app M ((extendScalarsComp f g).inv.app M z)) := |
| 50 | (transport_composition_hom f g g' e h M _).symm |
| 51 | _ = ExtensionTwist.extensionEquiv g g' e h ((extendScalars f).obj M) z := |
| 52 | congrArg (ExtensionTwist.extensionEquiv g g' e h ((extendScalars f).obj M)) |
| 53 | (Iso.inv_hom_id_apply ((extendScalarsComp f g).app M) z) |
| 54 | _ = _ := (Iso.inv_hom_id_apply ((extendScalarsComp f g').app M) _).symm |
| 55 | |
| 56 | variable (f₁ f₂ : R →+* A) |
| 57 | |
| 58 | /-- A module map extended to the final coefficient ring and flattened canonically. -/ |
| 59 | def extendedMap (σ : (extendScalars f₁).obj M ⟶ (extendScalars f₂).obj M) : |
| 60 | (extendScalars (g.comp f₁)).obj M ⟶ (extendScalars (g.comp f₂)).obj M := |
| 61 | (extendScalarsComp f₁ g).hom.app M ≫ (extendScalars g).map σ ≫ |
| 62 | (extendScalarsComp f₂ g).inv.app M |
| 63 | |
| 64 | /-- Transport of the coefficient ring commutes with an actual extended module map. -/ |
| 65 | theorem transport_extendedMap |
| 66 | (σ : (extendScalars f₁).obj M ⟶ (extendScalars f₂).obj M) |
| 67 | (z : (extendScalars (g.comp f₁)).obj M) : |
| 68 | ExtensionTwist.extensionEquiv (g.comp f₂) (g'.comp f₂) e (fun r => h (f₂ r)) M |
| 69 | (extendedMap g M f₁ f₂ σ z) = |
| 70 | extendedMap g' M f₁ f₂ σ |
| 71 | (ExtensionTwist.extensionEquiv (g.comp f₁) (g'.comp f₁) e (fun r => h (f₁ r)) M z) := by |
| 72 | calc |
| 73 | _ = (extendScalarsComp f₂ g').inv.app M |
| 74 | (ExtensionTwist.extensionEquiv g g' e h ((extendScalars f₂).obj M) |
| 75 | ((extendScalars g).map σ ((extendScalarsComp f₁ g).hom.app M z))) := |
| 76 | transport_composition_inv f₂ g g' e h M _ |
| 77 | _ = (extendScalarsComp f₂ g').inv.app M |
| 78 | ((extendScalars g').map σ |
| 79 | (ExtensionTwist.extensionEquiv g g' e h ((extendScalars f₁).obj M) |
| 80 | ((extendScalarsComp f₁ g).hom.app M z))) := |
| 81 | congrArg ((extendScalarsComp f₂ g').inv.app M) |
| 82 | (ExtensionTwist.extensionEquiv_naturality g g' e h σ _) |
| 83 | _ = _ := congrArg (fun x => (extendScalarsComp f₂ g').inv.app M |
| 84 | ((extendScalars g').map σ x)) (transport_composition_hom f₁ g g' e h M z) |
| 85 | |
| 86 | /-- Place an extended map between specified, equal coordinate-ring homomorphisms. -/ |
| 87 | def extendedMapTo (s₁ s₂ : R →+* B) (hs₁ : g.comp f₁ = s₁) (hs₂ : g.comp f₂ = s₂) |
| 88 | (σ : (extendScalars f₁).obj M ⟶ (extendScalars f₂).obj M) : |
| 89 | (extendScalars s₁).obj M ⟶ (extendScalars s₂).obj M := |
| 90 | eqToHom (congrArg (fun k => (extendScalars k).obj M) hs₁.symm) ≫ |
| 91 | extendedMap g M f₁ f₂ σ ≫ |
| 92 | eqToHom (congrArg (fun k => (extendScalars k).obj M) hs₂) |
| 93 | |
| 94 | include h in |
| 95 | /-- Coefficient transport is compatible with the canonical identification of coordinate maps. -/ |
| 96 | theorem transport_extendedMapTo (s₁ s₂ : R →+* B) (t₁ t₂ : R →+* C) |
| 97 | (hs₁ : g.comp f₁ = s₁) (hs₂ : g.comp f₂ = s₂) |
| 98 | (ht₁ : g'.comp f₁ = t₁) (ht₂ : g'.comp f₂ = t₂) |
| 99 | (he₁ : ∀ r, e (s₁ r) = t₁ r) (he₂ : ∀ r, e (s₂ r) = t₂ r) |
| 100 | (σ : (extendScalars f₁).obj M ⟶ (extendScalars f₂).obj M) |
| 101 | (z : (extendScalars s₁).obj M) : |
| 102 | ExtensionTwist.extensionEquiv s₂ t₂ e he₂ M (extendedMapTo g M f₁ f₂ s₁ s₂ hs₁ hs₂ σ z) = |
| 103 | extendedMapTo g' M f₁ f₂ t₁ t₂ ht₁ ht₂ σ (ExtensionTwist.extensionEquiv s₁ t₁ e he₁ M z) := by |
| 104 | subst s₁ |
| 105 | subst s₂ |
| 106 | subst t₁ |
| 107 | subst t₂ |
| 108 | simpa only [extendedMapTo, eqToHom_refl, Category.id_comp, Category.comp_id] using |
| 109 | transport_extendedMap g g' e h M f₁ f₂ σ z |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.ExtensionTransportComposition |