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.Homomorphisms.OpenDescentMatching |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.PullbackHomRestriction |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.CommonLineFrames |
| 4 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.OpenHomEquality |
| 5 | |
| 6 | /-! # Line Morphism Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.LineMorphismDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Compatible morphisms of actual pulled-back line bundles descend |
| 13 | uniquely. Local scalar descent and overlap matching are glued on the |
| 14 | base, and faithful pullback reflects the resulting isomorphisms. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 25 | variable [IsAffineHom f] [Flat f] [Surjective f] [IsLocallyNoetherian Y] |
| 26 | variable (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 27 | |
| 28 | theorem existsUnique_lineHom_descent |
| 29 | (b : (Scheme.Modules.pullback f).obj L.sheaf ⟶ (Scheme.Modules.pullback f).obj M.sheaf) |
| 30 | (hb : ∀ {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 31 | (hx : x ≫ f = q) (hy : y ≫ f = q), |
| 32 | (Scheme.Modules.pullback x).map b ≫ (CanonicalDescentFrames.Construction.canonicalModuleDescent f M.sheaf).hom q x y hx hy = |
| 33 | (CanonicalDescentFrames.Construction.canonicalModuleDescent f L.sheaf).hom q x y hx hy ≫ (Scheme.Modules.pullback y).map b) : |
| 34 | ∃! a : L.sheaf ⟶ M.sheaf, (Scheme.Modules.pullback f).map a = b := by |
| 35 | classical |
| 36 | let bD := ModuleHomBaseChange.Construction.canonicalDescentHom f b hb |
| 37 | choose U hU e d using fun y => CommonLineFrames.Construction.common_line_frame_neighborhood L M y |
| 38 | choose a ha using fun y => |
| 39 | (OpenFrameDescent.Construction.existsUnique_descent_on_frame_open f (U y) (e y).some (d y).some bD).exists |
| 40 | have hmatch (i : Y) : |
| 41 | ModuleHomTransport.Construction.moduleHomTransport (U i).ι (a i) (f ∣_ U i) ((f ⁻¹ᵁ U i).ι ≫ f) (morphismRestrict_ι f (U i)) = |
| 42 | ModuleHomTransport.Construction.moduleHomTransport f b (f ⁻¹ᵁ U i).ι ((f ⁻¹ᵁ U i).ι ≫ f) rfl := |
| 43 | OpenDescentMatching.Construction.openDescentModuleHom_matches f (U i) bD b rfl (a i) (ha i) |
| 44 | have hcompat (i j : Y) : |
| 45 | (InternalHom.Construction.moduleInternalHom L.sheaf M.sheaf).presheaf.map |
| 46 | (homOfLE (show U i ⊓ U j ≤ U i from inf_le_left)).op |
| 47 | (PullbackHomGluing.Construction.pullbackHomOnOpenEquiv L.sheaf M.sheaf (U i) (a i)) = |
| 48 | (InternalHom.Construction.moduleInternalHom L.sheaf M.sheaf).presheaf.map |
| 49 | (homOfLE (show U i ⊓ U j ≤ U j from inf_le_right)).op |
| 50 | (PullbackHomGluing.Construction.pullbackHomOnOpenEquiv L.sheaf M.sheaf (U j) (a j)) := by |
| 51 | have h := OpenDescentMatching.Construction.openMatching_overlap f L M b (U i) (U j) (a i) (a j) (hmatch i) (hmatch j) |
| 52 | exact (PullbackHomRestriction.Construction.pullbackHomOnOpenEquiv_restrict L.sheaf M.sheaf inf_le_left (a i)).symm.trans |
| 53 | ((congrArg (PullbackHomGluing.Construction.pullbackHomOnOpenEquiv L.sheaf M.sheaf (U i ⊓ U j)) h).trans |
| 54 | (PullbackHomRestriction.Construction.pullbackHomOnOpenEquiv_restrict L.sheaf M.sheaf inf_le_right (a j))) |
| 55 | obtain ⟨a₀, ha₀, _⟩ := PullbackHomGluing.Construction.pullbackModuleHom_glue L.sheaf M.sheaf U (fun y => ⟨y, hU y⟩) a hcompat |
| 56 | have hfa : (Scheme.Modules.pullback f).map a₀ = b := by |
| 57 | apply OpenHomEquality.Construction.moduleHom_eq_of_open_cover (fun i => f ⁻¹ᵁ U i) (fun x => ⟨f x, hU (f x)⟩) |
| 58 | intro i |
| 59 | apply OpenHomEquality.Construction.moduleHomTransport_map_eq_of_eq f _ _ (f ⁻¹ᵁ U i).ι ((f ⁻¹ᵁ U i).ι ≫ f) rfl |
| 60 | calc |
| 61 | ModuleHomTransport.Construction.moduleHomTransport f ((Scheme.Modules.pullback f).map a₀) (f ⁻¹ᵁ U i).ι |
| 62 | ((f ⁻¹ᵁ U i).ι ≫ f) rfl = (Scheme.Modules.pullback ((f ⁻¹ᵁ U i).ι ≫ f)).map a₀ := |
| 63 | OpenHomEquality.Construction.moduleHomTransport_map f a₀ _ _ _ |
| 64 | _ = ModuleHomTransport.Construction.moduleHomTransport (U i).ι ((Scheme.Modules.pullback (U i).ι).map a₀) |
| 65 | (f ∣_ U i) ((f ⁻¹ᵁ U i).ι ≫ f) (morphismRestrict_ι f (U i)) := |
| 66 | (OpenHomEquality.Construction.moduleHomTransport_map (U i).ι a₀ _ _ _).symm |
| 67 | _ = ModuleHomTransport.Construction.moduleHomTransport (U i).ι (a i) (f ∣_ U i) ((f ⁻¹ᵁ U i).ι ≫ f) |
| 68 | (morphismRestrict_ι f (U i)) := |
| 69 | congrArg (fun c => ModuleHomTransport.Construction.moduleHomTransport (U i).ι c (f ∣_ U i) |
| 70 | ((f ⁻¹ᵁ U i).ι ≫ f) (morphismRestrict_ι f (U i))) (ha₀ i) |
| 71 | _ = ModuleHomTransport.Construction.moduleHomTransport f b (f ⁻¹ᵁ U i).ι ((f ⁻¹ᵁ U i).ι ≫ f) rfl := hmatch i |
| 72 | exact ⟨a₀, hfa, fun a' ha' => |
| 73 | FaithfulLineMorphisms.Construction.pullbackHom_injective_of_lineTarget f L.sheaf M.sheaf M.locallyTrivial (ha'.trans hfa.symm)⟩ |
| 74 | |
| 75 | theorem exists_lineIso_of_compatible_pullbackIso |
| 76 | (b : (Scheme.Modules.pullback f).obj L.sheaf ≅ (Scheme.Modules.pullback f).obj M.sheaf) |
| 77 | (hb : ∀ {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 78 | (hx : x ≫ f = q) (hy : y ≫ f = q), |
| 79 | (Scheme.Modules.pullback x).map b.hom ≫ (CanonicalDescentFrames.Construction.canonicalModuleDescent f M.sheaf).hom q x y hx hy = |
| 80 | (CanonicalDescentFrames.Construction.canonicalModuleDescent f L.sheaf).hom q x y hx hy ≫ (Scheme.Modules.pullback y).map b.hom) : |
| 81 | ∃ e : L.sheaf ≅ M.sheaf, (Scheme.Modules.pullback f).map e.hom = b.hom := by |
| 82 | obtain ⟨a, ha, _⟩ := existsUnique_lineHom_descent f L M b.hom hb |
| 83 | have hp : IsIso ((Scheme.Modules.pullback f).map a) := ha.symm ▸ b.isIso_hom |
| 84 | have hi : IsIso a := PoincareBundle.FaithfulPullback.isIso_of_pullback f a |
| 85 | L.locallyTrivial M.locallyTrivial hp |
| 86 | exact ⟨asIso a, ha⟩ |
| 87 | |
| 88 | end Construction |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.LineMorphismDescent |