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.AffineOpen |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechTensorProducts |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.NormalizedScalar |
| 4 | |
| 5 | /-! # Cech Affine Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechAffineBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical base change of ordered affine Cech complexes across affine base schemes. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | open scoped ChangeOfRings |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace Construction.CechBaseChangeMap |
| 22 | |
| 23 | variable {X Y S T : Scheme.{u}} [IsAffine S] [IsAffine T] |
| 24 | variable (f : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ T) (g : T ⟶ S) |
| 25 | variable (h : IsPullback f ρ π g) (M : X.Modules) [M.IsQuasicoherent] |
| 26 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 27 | |
| 28 | def factorData (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) |
| 29 | (hU : IsAffineOpen (∏ᶜ fun k => U (i.1 k))) : |
| 30 | NormalizedScalar.Construction.NormalizedScalarIso.Data g.appTop.hom |
| 31 | (A := SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U q i.1) |
| 32 | (B := SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor ρ ((Scheme.Modules.pullback f).obj M) (fun j => f ⁻¹ᵁ U j) q i.1) |
| 33 | (fun s => ((Scheme.Modules.pullback f).obj M).presheaf.map |
| 34 | (eqToHom ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection f) U q i.1).symm).op |
| 35 | (PullbackSectionRestrict.Construction.PullbackSectionCoefficients.map f M (∏ᶜ fun k => U (i.1 k)) s)) := by |
| 36 | let A := SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U q i.1 |
| 37 | let B := (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf ρ ((Scheme.Modules.pullback f).obj M)).obj |
| 38 | (op (f ⁻¹ᵁ (∏ᶜ fun k => U (i.1 k)))) |
| 39 | let C := SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor ρ ((Scheme.Modules.pullback f).obj M) (fun j => f ⁻¹ᵁ U j) q i.1 |
| 40 | let v : A → B := PullbackSectionRestrict.Construction.PullbackSectionCoefficients.map f M (∏ᶜ fun k => U (i.1 k)) |
| 41 | let e : NormalizedScalar.Construction.NormalizedScalarIso.Data g.appTop.hom v := |
| 42 | @AffineOpen.Construction.AffineOpenSquare.data X Y S T ‹IsAffine S› ‹IsAffine T› f π ρ g h M |
| 43 | ‹M.IsQuasicoherent› ⟨_, hU⟩ |
| 44 | let d : B ≅ C := (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf ρ ((Scheme.Modules.pullback f).obj M)).mapIso |
| 45 | (eqToIso ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection f) U q i.1).symm).op |
| 46 | exact @NormalizedScalar.Construction.NormalizedScalarIso.post Γ(S, ⊤) Γ(T, ⊤) inferInstance inferInstance g.appTop.hom |
| 47 | A B C v e d |
| 48 | |
| 49 | def factorIso (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) |
| 50 | (hU : IsAffineOpen (∏ᶜ fun k => U (i.1 k))) : |
| 51 | (ModuleCat.extendScalars g.appTop.hom).obj (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U q i.1) ≅ |
| 52 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor ρ ((Scheme.Modules.pullback f).obj M) (fun j => f ⁻¹ᵁ U j) q i.1 := |
| 53 | (factorData f π ρ g h M U q i hU).val |
| 54 | |
| 55 | theorem factorIso_one (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) |
| 56 | (hU : IsAffineOpen (∏ᶜ fun k => U (i.1 k))) (s : SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U q i.1) : |
| 57 | (factorIso f π ρ g h M U q i hU).hom ((1 : Γ(T, ⊤)) ⊗ₜ[Γ(S, ⊤),g.appTop.hom] s) = |
| 58 | ((Scheme.Modules.pullback f).obj M).presheaf.map |
| 59 | (eqToHom ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection f) U q i.1).symm).op |
| 60 | (PullbackSectionRestrict.Construction.PullbackSectionCoefficients.map f M (∏ᶜ fun k => U (i.1 k)) s) := |
| 61 | (factorData f π ρ g h M U q i hU).property s |
| 62 | |
| 63 | theorem tensorFactor_isIso (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) |
| 64 | (hU : IsAffineOpen (∏ᶜ fun k => U (i.1 k))) : |
| 65 | IsIso (CechBaseChangeFactors.Construction.CechBaseChangeMap.tensorFactor f π ρ g h.w M U q i) := by |
| 66 | exact @NormalizedScalar.Construction.NormalizedScalarIso.isIso Γ(S, ⊤) Γ(T, ⊤) inferInstance inferInstance g.appTop.hom |
| 67 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U q i.1) |
| 68 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor ρ ((Scheme.Modules.pullback f).obj M) (fun j => f ⁻¹ᵁ U j) q i.1) |
| 69 | _ (factorData f π ρ g h M U q i hU) (CechBaseChangeFactors.Construction.CechBaseChangeMap.tensorFactor f π ρ g h.w M U q i) |
| 70 | (CechBaseChangeFactors.Construction.CechBaseChangeMap.tensorFactor_one f π ρ g h.w M U q i) |
| 71 | |
| 72 | theorem isIso_of_affine_intersections [Finite ι] |
| 73 | (hU : ∀ (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q), IsAffineOpen (∏ᶜ fun k => U (i.1 k))) : |
| 74 | IsIso (CechBaseTmul.Construction.CechBaseChangeMap.map f π ρ g h.w M U) := by |
| 75 | have (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) : IsIso (CechBaseChangeFactors.Construction.CechBaseChangeMap.tensorFactor f π ρ g h.w M U q i) := |
| 76 | tensorFactor_isIso f π ρ g h M U q i (hU q i) |
| 77 | exact CechTensorProducts.Construction.CechBaseChangeMap.isIso_of_factors f π ρ g h.w M U |
| 78 | |
| 79 | end Construction.CechBaseChangeMap |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechAffineBaseChange |