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.FormalGeometry.Completion.Infinitesimal.CompatibleCycles |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.FunctionsComparison |
| 3 | |
| 4 | /-! # Base Cech Cycles -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.BaseCechCycles.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual base-ring map into native Cech zero-cycles and its infinitesimal coordinates. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 22 | (f : X ⟶ Spec (CommRingCat.of R)) |
| 23 | |
| 24 | /-- The actual global base-ring map with its literal R-linear structure. -/ |
| 25 | def baseGlobalSectionsLinearMap : R →ₗ[R] (RelativeStructureSections.Construction.relativeStructureSections f).obj (op ⊤) where |
| 26 | toFun := Affine.InfinitesimalSections.Construction.baseOpenSectionsMap f ⊤ |
| 27 | map_add' := map_add _ |
| 28 | map_smul' r s := (Affine.InfinitesimalSections.Construction.baseOpenSectionsMap f ⊤).map_mul r s |
| 29 | |
| 30 | theorem baseGlobalSectionsLinearMap_bijective [IsIso f.appTop] : |
| 31 | Function.Bijective (baseGlobalSectionsLinearMap f) := by |
| 32 | have he : Affine.InfinitesimalSections.Construction.baseOpenSectionsMap f ⊤ = |
| 33 | ((Scheme.ΓSpecIso (.of R)).inv ≫ f.appTop).hom := by |
| 34 | simp [Affine.InfinitesimalSections.Construction.baseOpenSectionsMap, Scheme.Hom.appTop, Scheme.Hom.appLE] |
| 35 | change Function.Bijective (Affine.InfinitesimalSections.Construction.baseOpenSectionsMap f ⊤) |
| 36 | rw [he] |
| 37 | exact ConcreteCategory.bijective_of_isIso _ |
| 38 | |
| 39 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hcover : iSup U = ⊤) |
| 40 | |
| 41 | /-- A base coefficient gives its actual constant Cech zero-cycle. -/ |
| 42 | def baseCechCycleMap : R →ₗ[R] ((RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).d 0 1).hom.ker := |
| 43 | (RelativeCechZeroCycles.Construction.relativeStructureGlobalSectionsEquiv f U hcover).toLinearMap.comp |
| 44 | (baseGlobalSectionsLinearMap f) |
| 45 | |
| 46 | theorem baseCechCycleMap_bijective [IsIso f.appTop] : |
| 47 | Function.Bijective (baseCechCycleMap f U hcover) := |
| 48 | (RelativeCechZeroCycles.Construction.relativeStructureGlobalSectionsEquiv f U hcover).bijective.comp |
| 49 | (baseGlobalSectionsLinearMap_bijective f) |
| 50 | |
| 51 | theorem baseCechCycleMap_coordinate (r : R) (a : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0) : |
| 52 | Infinitesimal.SectionCoordinates.Construction.relativeCechProjection f U 0 a (baseCechCycleMap f U hcover r).val = |
| 53 | Affine.InfinitesimalSections.Construction.baseOpenSectionsMap f (∏ᶜ fun k : Fin 1 => U (a.val k)) r := by |
| 54 | have hc := (RelativeCechTerms.Construction.relativeStructureCechTermIso_coordinate f U 0 |
| 55 | (baseCechCycleMap f U hcover r).val a).trans |
| 56 | (RelativeCechZeroCycles.Construction.relativeStructureGlobalSectionsEquiv_coordinate f U hcover |
| 57 | (baseGlobalSectionsLinearMap f r) a) |
| 58 | exact hc.trans (RingHom.congr_fun (Infinitesimal.ChartRestriction.Construction.baseOpenSectionsMap_restrict f le_top) r) |
| 59 | |
| 60 | variable (I : Ideal R) [X.IsSeparated] [Finite ι] (hU : ∀ i, IsAffineOpen (U i)) |
| 61 | |
| 62 | /-- The reduced constant zero-cycle is the actual infinitesimal structure-map section. -/ |
| 63 | theorem infinitesimalSectionsZeroCyclesEquiv_base_mk (n : ℕ) (r : R) : |
| 64 | (Infinitesimal.CechZeroCycles.Construction.infinitesimalSectionsZeroCyclesEquiv I f U hU hcover n |
| 65 | (FunctionsComparison.Construction.infinitesimalBaseSectionsMap I f n (Ideal.Quotient.mk (I ^ (n + 1)) r))).val = |
| 66 | Submodule.Quotient.mk ((baseCechCycleMap f U hcover r).val) := by |
| 67 | apply Infinitesimal.ZeroCycleTransitions.Construction.relativeCechReducedCoordinates_ext (I ^ (n + 1)) f U 0 |
| 68 | intro a |
| 69 | let V := ∏ᶜ fun k : Fin 1 => U (a.val k) |
| 70 | have hV : IsAffineOpen V := SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U hU 0 a.val |
| 71 | apply (Infinitesimal.ChartModules.Construction.affineInfinitesimalSectionsModuleEquiv I f n V hV).injective |
| 72 | have hc := Infinitesimal.ChartZeroCycles.Construction.infinitesimalSectionsZeroCyclesEquiv_chart I f U hU hcover n |
| 73 | (FunctionsComparison.Construction.infinitesimalBaseSectionsMap I f n (Ideal.Quotient.mk (I ^ (n + 1)) r)) a |
| 74 | refine hc.trans ?_ |
| 75 | rw [LinearMap.reduceModIdeal_apply, |
| 76 | baseCechCycleMap_coordinate, Infinitesimal.ChartModules.Construction.affineInfinitesimalSectionsModuleEquiv_mk, |
| 77 | RelativeStructureSections.Construction.relativeStructureSectionsPullback_apply] |
| 78 | have hs : (Scheme.ΓSpecIso (.of (R ⧸ I ^ (n + 1)))).inv ≫ |
| 79 | (pullback.snd f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n)).appTop ≫ |
| 80 | (Infinitesimal.Neighborhoods.Construction.infinitesimalNeighborhood I f n).presheaf.map |
| 81 | (homOfLE (show pullback.fst f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n) ⁻¹ᵁ V ≤ ⊤ from le_top)).op = |
| 82 | Affine.InfinitesimalSections.Construction.infinitesimalOpenBaseSectionsMap I f n V := by |
| 83 | rfl |
| 84 | have hp := ConcreteCategory.congr_hom |
| 85 | (Affine.InfinitesimalSections.Construction.affineInfinitesimalSections_isPushout I f n V hV).w r |
| 86 | exact (ConcreteCategory.congr_hom hs (Ideal.Quotient.mk (I ^ (n + 1)) r)).trans hp.symm |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.BaseCechCycles.Construction |