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.BaseCechCycles |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.FiniteModelCompletion |
| 3 | |
| 4 | /-! # Comparison Cech -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ComparisonCech.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Transfer the actual Cech formal zero-cycle comparison to the actual formal-functions map. -/ |
| 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] (I : Ideal R) {X : Scheme.{u}} [X.IsSeparated] |
| 22 | (f : X ⟶ Spec (CommRingCat.of R)) |
| 23 | {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 24 | (hU : ∀ i, IsAffineOpen (U i)) (hcover : iSup U = ⊤) |
| 25 | |
| 26 | /-- The actual formal-functions map has exactly the canonical completed Cech coordinates. -/ |
| 27 | theorem formalFunctionsComparison_cech (x : AdicCompletion I R) : |
| 28 | Infinitesimal.CompatibleCycles.Construction.infinitesimalGlobalSectionsCompatibleCyclesEquiv I f U hU hcover |
| 29 | (FunctionsComparison.Construction.formalFunctionsComparison I f x) = |
| 30 | CompatibleReducedKernels.Construction.reducedKernelComparison I ((RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).d 0 1).hom |
| 31 | (AdicCompletion.map I (BaseCechCycles.Construction.baseCechCycleMap f U hcover) x) := by |
| 32 | obtain ⟨s, rfl⟩ := AdicCompletion.mk_surjective I R x |
| 33 | apply Subtype.ext |
| 34 | funext n |
| 35 | cases n with |
| 36 | | zero => exact Infinitesimal.CompatibleCycles.Construction.adicZerothQuotient_eq I _ _ |
| 37 | | succ n => |
| 38 | rw [Infinitesimal.CompatibleCycles.Construction.infinitesimalGlobalSectionsCompatibleCyclesEquiv_coordinate] |
| 39 | change (Infinitesimal.CechZeroCycles.Construction.infinitesimalSectionsZeroCyclesEquiv I f U hU hcover n |
| 40 | (FunctionsComparison.Construction.infinitesimalBaseSectionsMap I f n |
| 41 | (AdicCompletion.evalₐ I (n + 1) (AdicCompletion.mk I R s)))).val = _ |
| 42 | rw [AdicCompletion.evalₐ_mk] |
| 43 | exact BaseCechCycles.Construction.infinitesimalSectionsZeroCyclesEquiv_base_mk f U hcover I hU n (s (n + 1)) |
| 44 | |
| 45 | include hU hcover in |
| 46 | /-- Once the actual global-section map is an isomorphism, actual Cech formal zero-cycle |
| 47 | surjectivity gives surjectivity of the original formal-functions ring homomorphism. -/ |
| 48 | theorem formalFunctionsComparison_surjective_of_cech [IsIso f.appTop] |
| 49 | (h : Completion.Finite.FiniteModelCompletion.Construction.FormalZeroCycleComparisonSurjective I (RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U)) : |
| 50 | Function.Surjective (FunctionsComparison.Construction.formalFunctionsComparison I f) := by |
| 51 | intro s |
| 52 | obtain ⟨z, hz⟩ := h (Infinitesimal.CompatibleCycles.Construction.infinitesimalGlobalSectionsCompatibleCyclesEquiv I f U hU hcover s) |
| 53 | let e := LinearEquiv.ofBijective (BaseCechCycles.Construction.baseCechCycleMap f U hcover) |
| 54 | (BaseCechCycles.Construction.baseCechCycleMap_bijective f U hcover) |
| 55 | obtain ⟨x, hx⟩ := (AdicCompletion.congr I e).surjective z |
| 56 | refine ⟨x, (Infinitesimal.CompatibleCycles.Construction.infinitesimalGlobalSectionsCompatibleCyclesEquiv I f U hU hcover).injective ?_⟩ |
| 57 | rw [formalFunctionsComparison_cech] |
| 58 | change AdicCompletion.map I (BaseCechCycles.Construction.baseCechCycleMap f U hcover) x = z at hx |
| 59 | rw [hx] |
| 60 | exact hz |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ComparisonCech.Construction |