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.AbelianModuli.HilbertConstruction.Coefficient.AlgebraPullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSectionModules |
| 3 | import Mathlib.Algebra.Category.CommAlgCat.Monoidal |
| 4 | |
| 5 | /-! # Section Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.SectionComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The natural tensor comparison for functions on inverse images of opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X P : Scheme.{u}} {R : Type u} [CommRing R] |
| 18 | |
| 19 | def tensorAlgebraSectionComparisonApp (a : P ⟶ X) (f : R →+* Γ(X, ⊤)) |
| 20 | (B : CommAlgCat.{u} R) (q : B →+* Γ(P, ⊤)) |
| 21 | (hq : q.comp (algebraMap R B) = a.appTop.hom.comp f) (U : X.Opens) : |
| 22 | B ⊗ Coefficient.AlgebraPresheaf.coefficientAlgebraSections f U ⟶ |
| 23 | Coefficient.AlgebraPresheaf.coefficientAlgebraSections (a.appTop.hom.comp f) (a ⁻¹ᵁ U) := by |
| 24 | letI := (Coefficient.AlgebraPresheaf.coefficientSectionMap f U).toAlgebra |
| 25 | letI := (Coefficient.AlgebraPresheaf.coefficientSectionMap (a.appTop.hom.comp f) (a ⁻¹ᵁ U)).toAlgebra |
| 26 | let i : B →ₐ[R] Γ(P, a ⁻¹ᵁ U) := |
| 27 | (Coefficient.AlgebraPullback.coefficientAlgebraGlobalRestriction _ B q hq (a ⁻¹ᵁ U)).hom |
| 28 | let j : Γ(X, U) →ₐ[R] Γ(P, a ⁻¹ᵁ U) := (Coefficient.AlgebraPullback.coefficientAlgebraPullbackApp a f U).hom |
| 29 | exact CommAlgCat.ofHom (Algebra.TensorProduct.lift (R := R) (S := R) i j |
| 30 | (fun _ _ => .all _ _)) |
| 31 | |
| 32 | theorem tensorAlgebraSectionComparisonApp_tmul (a : P ⟶ X) (f : R →+* Γ(X, ⊤)) |
| 33 | (B : CommAlgCat.{u} R) (q : B →+* Γ(P, ⊤)) |
| 34 | (hq : q.comp (algebraMap R B) = a.appTop.hom.comp f) (U : X.Opens) |
| 35 | (b : B) (r : Coefficient.AlgebraPresheaf.coefficientAlgebraSections f U) : |
| 36 | (tensorAlgebraSectionComparisonApp a f B q hq U).hom (b ⊗ₜ[R] r) = |
| 37 | (Coefficient.AlgebraPullback.coefficientAlgebraGlobalRestriction _ B q hq (a ⁻¹ᵁ U)).hom b * |
| 38 | (Coefficient.AlgebraPullback.coefficientAlgebraPullbackApp a f U).hom r := rfl |
| 39 | |
| 40 | theorem tensorAlgebraSectionComparisonApp_naturality (a : P ⟶ X) (f : R →+* Γ(X, ⊤)) |
| 41 | (B : CommAlgCat.{u} R) (q : B →+* Γ(P, ⊤)) |
| 42 | (hq : q.comp (algebraMap R B) = a.appTop.hom.comp f) |
| 43 | {U V : X.Opens} (h : V ≤ U) : |
| 44 | B ◁ Coefficient.AlgebraPresheaf.coefficientAlgebraRestriction f h ≫ tensorAlgebraSectionComparisonApp a f B q hq V = |
| 45 | tensorAlgebraSectionComparisonApp a f B q hq U ≫ |
| 46 | Coefficient.AlgebraPresheaf.coefficientAlgebraRestriction _ ((TopologicalSpace.Opens.map a.base).map (homOfLE h)).le := by |
| 47 | apply CommAlgCat.hom_ext |
| 48 | apply Algebra.TensorProduct.ext' |
| 49 | intro b r |
| 50 | change (tensorAlgebraSectionComparisonApp a f B q hq V).hom |
| 51 | (b ⊗ₜ[R] (Coefficient.AlgebraPresheaf.coefficientAlgebraRestriction f h).hom r) = |
| 52 | (Coefficient.AlgebraPresheaf.coefficientAlgebraRestriction _ |
| 53 | ((TopologicalSpace.Opens.map a.base).map (homOfLE h)).le).hom |
| 54 | ((tensorAlgebraSectionComparisonApp a f B q hq U).hom (b ⊗ₜ[R] r)) |
| 55 | rw [tensorAlgebraSectionComparisonApp_tmul, tensorAlgebraSectionComparisonApp_tmul, map_mul] |
| 56 | congr 1 |
| 57 | · exact (congrArg (fun k => k.hom b) |
| 58 | (Coefficient.AlgebraPullback.coefficientAlgebraGlobalRestriction_naturality _ B q hq |
| 59 | ((TopologicalSpace.Opens.map a.base).map (homOfLE h)).le)).symm |
| 60 | · exact congrArg (fun k => k r) (a.naturality (homOfLE h).op) |
| 61 | |
| 62 | def tensorAlgebraSectionComparison (a : P ⟶ X) (f : R →+* Γ(X, ⊤)) |
| 63 | (B : CommAlgCat.{u} R) (q : B →+* Γ(P, ⊤)) |
| 64 | (hq : q.comp (algebraMap R B) = a.appTop.hom.comp f) : |
| 65 | Coefficient.AlgebraPresheaf.coefficientAlgebraPresheaf f ⋙ tensorLeft B ⟶ |
| 66 | (TopologicalSpace.Opens.map a.base).op ⋙ |
| 67 | Coefficient.AlgebraPresheaf.coefficientAlgebraPresheaf (a.appTop.hom.comp f) where |
| 68 | app U := tensorAlgebraSectionComparisonApp a f B q hq U.unop |
| 69 | naturality _ _ h := tensorAlgebraSectionComparisonApp_naturality a f B q hq h.unop.le |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.SectionComparison |