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.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedScalars |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AtOne |
| 3 | |
| 4 | /-! # Closed At One -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedAtOne |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The unit principal component of the closed-scheme diagram is the |
| 11 | original section module, linearly over the closed-scheme section ring. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedScalars |
| 18 | variable {X Z : Scheme.{u}} (i : X ⟶ Z) (U : Z.Opens) (M : X.Modules) |
| 19 | |
| 20 | instance inclusion_isIso : IsIso (ClosedScalars.pullbackInclusion i U (AtOne.object U)) := by |
| 21 | have h : ClosedScalars.pullbackInclusion i U (AtOne.object U) = |
| 22 | (TopologicalSpace.Opens.map i.base).map |
| 23 | (SectionPresheaf.inclusion U (AtOne.object U)) := |
| 24 | Subsingleton.elim _ _ |
| 25 | rw [h] |
| 26 | infer_instance |
| 27 | |
| 28 | def restriction : Γ(M, i ⁻¹ᵁ U) →ₗ[Γ(X, i ⁻¹ᵁ U)] |
| 29 | Γ(M, ClosedScalars.pullbackOpen i U (AtOne.object U)) where |
| 30 | toFun := M.presheaf.map (ClosedScalars.pullbackInclusion i U (AtOne.object U)).op |
| 31 | map_add' := map_add _ |
| 32 | map_smul' a x := by |
| 33 | exact M.map_smul (ClosedScalars.pullbackInclusion i U (AtOne.object U)) a x |
| 34 | |
| 35 | def equiv : Γ(M, i ⁻¹ᵁ U) ≃ₗ[Γ(X, i ⁻¹ᵁ U)] |
| 36 | Γ(M, ClosedScalars.pullbackOpen i U (AtOne.object U)) := |
| 37 | LinearEquiv.ofBijective (restriction i U M) |
| 38 | (ConcreteCategory.bijective_of_isIso |
| 39 | (M.presheaf.map (ClosedScalars.pullbackInclusion i U (AtOne.object U)).op)) |
| 40 | |
| 41 | theorem equiv_apply (x : Γ(M, i ⁻¹ᵁ U)) : equiv i U M x = |
| 42 | AtOne.equiv U ((Scheme.Modules.pushforward i).obj M) x := rfl |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedAtOne |