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.Divisors.LineBundles.Scheme.KernelSquare |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Module.UnitAdjunction |
| 3 | |
| 4 | /-! # Ideal Pullback Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.IdealPullbackMap.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical map from the pullback of an actual scheme ideal |
| 11 | to the ideal in a commuting square, constructed by kernels and the genuine |
| 12 | module pullback adjunction. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | variable {X Z X' Z' : Scheme.{0}} (i : Z ⟶ X) (j : Z' ⟶ X') |
| 17 | (f : X' ⟶ X) (g : Z' ⟶ Z) (h : g ≫ i = j ≫ f) |
| 18 | |
| 19 | include g h in |
| 20 | theorem schemeIdealSquare_composite_zero : |
| 21 | (SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i ≫ SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap f) ≫ |
| 22 | (Scheme.Modules.pushforward f).map (SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap j) = 0 := by |
| 23 | apply Scheme.Modules.hom_ext |
| 24 | intro U |
| 25 | ext s |
| 26 | change (SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap j).app (f ⁻¹ᵁ U) |
| 27 | ((SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap f).app U ((SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i).app U s)) = 0 |
| 28 | let a : Γ(X, U) := (SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i).app U s |
| 29 | have ha : a ∈ RingHom.ker (i.app U).hom := by |
| 30 | change (SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i).app U s ∈ RingHom.ker (i.app U).hom |
| 31 | rw [← IdealModule.BundleCycles.schemeIdealModuleSectionLinear_apply i U s] |
| 32 | exact IdealModule.BundleCycles.schemeIdealModuleSectionLinear_mem i U s |
| 33 | have h₁ := congrArg ((SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap j).app (f ⁻¹ᵁ U)) |
| 34 | (SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap_apply f U a) |
| 35 | have h₂ := SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap_apply j (f ⁻¹ᵁ U) (f.app U a) |
| 36 | exact (h₁.trans h₂).trans (KernelSquare.BundleCycles.schemeKernelSquare_mem i j f g h U a ha) |
| 37 | |
| 38 | def schemeIdealSquareAdjoint : SchemeIdealModule.BundleCycles.schemeIdealModule i ⟶ |
| 39 | (Scheme.Modules.pushforward f).obj (SchemeIdealModule.BundleCycles.schemeIdealModule j) := |
| 40 | kernel.lift ((Scheme.Modules.pushforward f).map (SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap j)) |
| 41 | (SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i ≫ SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap f) (schemeIdealSquare_composite_zero i j f g h) ≫ |
| 42 | (PreservesKernel.iso (Scheme.Modules.pushforward f) (SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap j)).inv |
| 43 | |
| 44 | theorem schemeIdealSquareAdjoint_inclusion : |
| 45 | schemeIdealSquareAdjoint i j f g h ≫ (Scheme.Modules.pushforward f).map (SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion j) = |
| 46 | SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i ≫ SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap f := by |
| 47 | let F := Scheme.Modules.pushforward f |
| 48 | let δ := SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap j |
| 49 | let ψ := SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i ≫ SchemeIdealModule.BundleCycles.schemeStructurePushforwardMap f |
| 50 | let ℓ := kernel.lift (F.map δ) ψ (schemeIdealSquare_composite_zero i j f g h) |
| 51 | let e := PreservesKernel.iso F δ |
| 52 | change (ℓ ≫ e.inv) ≫ F.map (kernel.ι δ) = ψ |
| 53 | exact (Category.assoc _ _ _).trans |
| 54 | ((congrArg (fun k => ℓ ≫ k) (PreservesKernel.iso_inv_ι F δ)).trans (kernel.lift_ι _ _ _)) |
| 55 | |
| 56 | def schemeIdealPullbackMap : (Scheme.Modules.pullback f).obj (SchemeIdealModule.BundleCycles.schemeIdealModule i) ⟶ SchemeIdealModule.BundleCycles.schemeIdealModule j := |
| 57 | ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).symm (schemeIdealSquareAdjoint i j f g h) |
| 58 | |
| 59 | theorem schemeIdealPullbackMap_adjunction : |
| 60 | (Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _ (schemeIdealPullbackMap i j f g h) = |
| 61 | schemeIdealSquareAdjoint i j f g h := |
| 62 | ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).apply_symm_apply _ |
| 63 | |
| 64 | theorem schemeIdealPullbackMap_inclusion : |
| 65 | schemeIdealPullbackMap i j f g h ≫ SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion j = |
| 66 | (Scheme.Modules.pullback f).map (SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i) ≫ (LineBundle.OpenRestriction.Cycles.modulePullbackUnitIso f).hom := by |
| 67 | apply ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).injective |
| 68 | rw [Adjunction.homEquiv_naturality_right, schemeIdealPullbackMap_adjunction, |
| 69 | Adjunction.homEquiv_naturality_left, Module.UnitAdjunction.BundleCycles.modulePullbackUnitIso_adjunction, |
| 70 | schemeIdealSquareAdjoint_inclusion] |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.IdealPullbackMap.BundleCycles |