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.Quotients.FiniteDescent.AffineCechBaseChange |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModuleCechPullbackShort |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechCoefficient |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackSectionCongr |
| 5 | |
| 6 | /-! # Cech Base Middle -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechBaseMiddle |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Canonical affine Cech base change commutes with restriction along a |
| 13 | morphism and a refinement of its cover, in degree one. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 19 | open scoped ChangeOfRings |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace Construction.CechBaseChangeRestriction |
| 24 | |
| 25 | variable {X Y X' Y' S T : Scheme.{u}} [IsAffine S] [IsAffine T] |
| 26 | variable (i : Y ⟶ X) (p : X' ⟶ X) (q : Y' ⟶ Y) (j : Y' ⟶ X') |
| 27 | variable (π : X ⟶ S) (ρ : Y ⟶ S) (π' : X' ⟶ T) (ρ' : Y' ⟶ T) (g : T ⟶ S) |
| 28 | variable (hi : i ≫ π = ρ) (hj : j ≫ π' = ρ') (h : q ≫ i = j ≫ p) |
| 29 | variable (hp : IsPullback p π' π g) (hq : IsPullback q ρ' ρ g) |
| 30 | variable (M : X.Modules) [M.IsQuasicoherent] |
| 31 | variable [((Scheme.Modules.pullback i).obj M).IsQuasicoherent] |
| 32 | variable {ι κ : Type u} [Finite ι] [Finite κ] |
| 33 | variable (U : ι → X.Opens) (V : κ → Y.Opens) (r : κ → ι) |
| 34 | variable (hr : ∀ a, V a ≤ i ⁻¹ᵁ U (r a)) |
| 35 | variable (hr' : ∀ a, q ⁻¹ᵁ V a ≤ j ⁻¹ᵁ (p ⁻¹ᵁ U (r a))) |
| 36 | variable (hU : ∀ a, IsAffineOpen (U a)) (hUU : ∀ a b, IsAffineOpen (U a ⊓ U b)) |
| 37 | variable (hUUU : ∀ a b c, IsAffineOpen ((U a ⊓ U b) ⊓ U c)) |
| 38 | variable (hV : ∀ a, IsAffineOpen (V a)) (hVV : ∀ a b, IsAffineOpen (V a ⊓ V b)) |
| 39 | variable (hVVV : ∀ a b c, IsAffineOpen ((V a ⊓ V b) ⊓ V c)) |
| 40 | |
| 41 | def sourceIso := AffineCechBaseChange.Construction.OrdinaryAffineCechBaseChange.iso p π π' g hp M U hU hUU hUUU |
| 42 | def targetIso := AffineCechBaseChange.Construction.OrdinaryAffineCechBaseChange.iso q ρ ρ' g hq |
| 43 | ((Scheme.Modules.pullback i).obj M) V hV hVV hVVV |
| 44 | |
| 45 | def coefficientIso := (CechCoefficient.Construction.CechCoefficientFunctor.moduleFunctor ρ' (fun a => q ⁻¹ᵁ V a)).mapIso |
| 46 | (PullbackSectionCongr.Construction.PullbackSectionSquare.iso i p q j h M) |
| 47 | |
| 48 | theorem middle : |
| 49 | (ModuleCat.extendScalars g.appTop.hom).map |
| 50 | (ModuleCechPullbackShort.Construction.ModuleCechPullback.shortMap i π ρ hi M U V r hr).τ₂ ≫ |
| 51 | (targetIso i q ρ ρ' g hq M V hV hVV hVVV).hom.τ₂ ≫ |
| 52 | (coefficientIso i p q j ρ' h M V).hom.τ₂ = |
| 53 | (sourceIso p π π' g hp M U hU hUU hUUU).hom.τ₂ ≫ |
| 54 | (ModuleCechPullbackShort.Construction.ModuleCechPullback.shortMap j π' ρ' hj ((Scheme.Modules.pullback p).obj M) |
| 55 | (fun a => p ⁻¹ᵁ U a) (fun a => q ⁻¹ᵁ V a) r hr').τ₂ := by |
| 56 | apply ModuleCat.ExtendScalars.hom_ext |
| 57 | intro z |
| 58 | change (coefficientIso i p q j ρ' h M V).hom.τ₂ |
| 59 | ((targetIso i q ρ ρ' g hq M V hV hVV hVVV).hom.τ₂ |
| 60 | ((ModuleCat.extendScalars g.appTop.hom).map |
| 61 | (ModuleCechPullbackShort.Construction.ModuleCechPullback.shortMap i π ρ hi M U V r hr).τ₂ |
| 62 | ((1 : Γ(T, ⊤)) ⊗ₜ[Γ(S, ⊤),g.appTop.hom] z))) = |
| 63 | (ModuleCechPullbackShort.Construction.ModuleCechPullback.shortMap j π' ρ' hj ((Scheme.Modules.pullback p).obj M) |
| 64 | (fun a => p ⁻¹ᵁ U a) (fun a => q ⁻¹ᵁ V a) r hr').τ₂ |
| 65 | ((sourceIso p π π' g hp M U hU hUU hUUU).hom.τ₂ |
| 66 | ((1 : Γ(T, ⊤)) ⊗ₜ[Γ(S, ⊤),g.appTop.hom] z)) |
| 67 | rw [ModuleCat.ExtendScalars.map_tmul] |
| 68 | change (coefficientIso i p q j ρ' h M V).hom.τ₂ |
| 69 | ((AffineCechBaseChange.Construction.OrdinaryAffineCechBaseChange.iso q ρ ρ' g hq ((Scheme.Modules.pullback i).obj M) |
| 70 | V hV hVV hVVV).hom.τ₂ ((1 : Γ(T, ⊤)) ⊗ₜ[Γ(S, ⊤),g.appTop.hom] |
| 71 | ((ModuleCechPullbackShort.Construction.ModuleCechPullback.shortMap i π ρ hi M U V r hr).τ₂ z))) = _ |
| 72 | rw [AffineCechBaseChange.Construction.OrdinaryAffineCechBaseChange.middle_one] |
| 73 | change _ = (ModuleCechPullbackShort.Construction.ModuleCechPullback.shortMap j π' ρ' hj ((Scheme.Modules.pullback p).obj M) |
| 74 | (fun a => p ⁻¹ᵁ U a) (fun a => q ⁻¹ᵁ V a) r hr').τ₂ |
| 75 | ((AffineCechBaseChange.Construction.OrdinaryAffineCechBaseChange.iso p π π' g hp M U hU hUU hUUU).hom.τ₂ |
| 76 | ((1 : Γ(T, ⊤)) ⊗ₜ[Γ(S, ⊤),g.appTop.hom] z)) |
| 77 | rw [AffineCechBaseChange.Construction.OrdinaryAffineCechBaseChange.middle_one] |
| 78 | funext a b |
| 79 | change (PullbackSectionCongr.Construction.PullbackSectionSquare.iso i p q j h M).hom.app (q ⁻¹ᵁ (V a ⊓ V b)) |
| 80 | (PullbackSectionRestrict.Construction.PullbackSectionCoefficients.map q ((Scheme.Modules.pullback i).obj M) (V a ⊓ V b) |
| 81 | (ModuleSections.Construction.ModuleSectionsOver.map i π ρ hi M (U (r a) ⊓ U (r b)) (V a ⊓ V b) |
| 82 | (ModuleCechD.Construction.ModuleCechPullback.cechPullback_overlap_preimage i U V r hr a b) (z (r a) (r b)))) = |
| 83 | ModuleSections.Construction.ModuleSectionsOver.map j π' ρ' hj ((Scheme.Modules.pullback p).obj M) |
| 84 | (p ⁻¹ᵁ (U (r a) ⊓ U (r b))) (q ⁻¹ᵁ (V a ⊓ V b)) |
| 85 | (ModuleCechD.Construction.ModuleCechPullback.cechPullback_overlap_preimage j (fun a => p ⁻¹ᵁ U a) |
| 86 | (fun a => q ⁻¹ᵁ V a) r hr' a b) |
| 87 | (PullbackSectionRestrict.Construction.PullbackSectionCoefficients.map p M (U (r a) ⊓ U (r b)) (z (r a) (r b))) |
| 88 | rw [ModuleSections.Construction.ModuleSectionsOver.map_apply, ModuleSections.Construction.ModuleSectionsOver.map_apply] |
| 89 | exact PullbackSectionCongr.Construction.PullbackSectionSquare.vertical i p q j h M (U (r a) ⊓ U (r b)) (V a ⊓ V b) |
| 90 | (ModuleCechD.Construction.ModuleCechPullback.cechPullback_overlap_preimage i U V r hr a b) |
| 91 | (ModuleCechD.Construction.ModuleCechPullback.cechPullback_overlap_preimage j (fun a => p ⁻¹ᵁ U a) |
| 92 | (fun a => q ⁻¹ᵁ V a) r hr' a b) (z (r a) (r b)) |
| 93 | |
| 94 | end Construction.CechBaseChangeRestriction |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechBaseMiddle |