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.AtOne |
| 2 | |
| 3 | /-! # Pushforward Section -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PushforwardSection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A section of a module on the inverse image of an affine open |
| 10 | defines multiplication on the entire actual principal-open diagram. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 20 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) (hU : IsAffineOpen U) |
| 21 | (N : X.Modules) (ω : Γ(N, f ⁻¹ᵁ U)) |
| 22 | |
| 23 | abbrev source := (Scheme.Modules.pushforward f).obj (SheafOfModules.unit X.ringCatSheaf) |
| 24 | abbrev target := (Scheme.Modules.pushforward f).obj N |
| 25 | |
| 26 | abbrev sourceInclusion (r : SectionPresheaf.Index U) : f ⁻¹ᵁ SectionPresheaf.openSubset U r ⟶ f ⁻¹ᵁ U := |
| 27 | homOfLE (f.preimage_mono (Y.basicOpen_le r.val)) |
| 28 | |
| 29 | abbrev sourceArrow {r s : SectionPresheaf.Index U} (a : r ⟶ s) : |
| 30 | f ⁻¹ᵁ SectionPresheaf.openSubset U r ⟶ f ⁻¹ᵁ SectionPresheaf.openSubset U s := |
| 31 | homOfLE (f.preimage_mono (SectionPresheaf.arrow U hU a).le) |
| 32 | |
| 33 | local instance nativeModule (r : SectionPresheaf.Index U) : |
| 34 | Module Γ(X, f ⁻¹ᵁ SectionPresheaf.openSubset U r) ((SectionPresheaf.modules U hU (target f N)).obj (op r)) := |
| 35 | inferInstanceAs (Module Γ(X, f ⁻¹ᵁ SectionPresheaf.openSubset U r) Γ(N, f ⁻¹ᵁ SectionPresheaf.openSubset U r)) |
| 36 | |
| 37 | def component (r : SectionPresheaf.Index U) : |
| 38 | (SectionPresheaf.modules U hU (source f)).obj (op r) →ₗ[Γ(Y, U)] |
| 39 | (SectionPresheaf.modules U hU (target f N)).obj (op r) where |
| 40 | toFun x := (show Γ(X, f ⁻¹ᵁ SectionPresheaf.openSubset U r) from x) • |
| 41 | N.presheaf.map (sourceInclusion f U r).op ω |
| 42 | map_add' x y := by |
| 43 | change Γ(X, f ⁻¹ᵁ SectionPresheaf.openSubset U r) at x y |
| 44 | exact add_smul x y _ |
| 45 | map_smul' a x := by |
| 46 | change Γ(X, f ⁻¹ᵁ SectionPresheaf.openSubset U r) at x |
| 47 | change (f.app (SectionPresheaf.openSubset U r) (algebraMap Γ(Y, U) Γ(Y, SectionPresheaf.openSubset U r) a) * x) • |
| 48 | N.presheaf.map (sourceInclusion f U r).op ω = |
| 49 | f.app (SectionPresheaf.openSubset U r) (algebraMap Γ(Y, U) Γ(Y, SectionPresheaf.openSubset U r) a) • |
| 50 | (x • N.presheaf.map (sourceInclusion f U r).op ω) |
| 51 | exact mul_smul _ _ _ |
| 52 | |
| 53 | def map : SectionPresheaf.modules U hU (source f) ⟶ SectionPresheaf.modules U hU (target f N) where |
| 54 | app r := ModuleCat.ofHom (component f U hU N ω r.unop) |
| 55 | naturality r s a := by |
| 56 | apply ModuleCat.hom_ext |
| 57 | apply LinearMap.ext |
| 58 | intro x |
| 59 | change Γ(X, f ⁻¹ᵁ SectionPresheaf.openSubset U r.unop) at x |
| 60 | change (X.presheaf.map (sourceArrow f U hU a.unop).op x) • |
| 61 | N.presheaf.map (sourceInclusion f U s.unop).op ω = |
| 62 | N.presheaf.map (sourceArrow f U hU a.unop).op |
| 63 | (x • N.presheaf.map (sourceInclusion f U r.unop).op ω) |
| 64 | rw [N.map_smul] |
| 65 | congr 1 |
| 66 | rw [← ConcreteCategory.comp_apply, ← N.presheaf.map_comp] |
| 67 | rfl |
| 68 | |
| 69 | theorem atOne (x : Γ(X, f ⁻¹ᵁ U)) : |
| 70 | (PushforwardSection.map f U hU N ω).app (op (AtOne.object U)) |
| 71 | (AtOne.equiv U (source f) x) = |
| 72 | AtOne.equiv U (target f N) (x • ω) := by |
| 73 | change (X.presheaf.map (sourceInclusion f U (AtOne.object U)).op x) • |
| 74 | N.presheaf.map (sourceInclusion f U (AtOne.object U)).op ω = |
| 75 | N.presheaf.map (sourceInclusion f U (AtOne.object U)).op (x • ω) |
| 76 | exact (N.map_smul (sourceInclusion f U (AtOne.object U)) x ω).symm |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PushforwardSection |