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.AbelianScheme.IsogenyQuotient.Finite.CechConstants |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.CechEvaluation |
| 3 | |
| 4 | /-! # Model Global Functions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.ModelGlobalFunctions.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite free Cech model and residue exactness force literal |
| 11 | global functions to be precisely the functions on the local base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false in |
| 19 | theorem globalFunctions_iso_of_finite_cech_model |
| 20 | {R : Type u} [CommRing R] [IsLocalRing R] |
| 21 | {X : Scheme.{u}} (f : X ⟶ Spec (.of R)) |
| 22 | (σ : Spec (.of R) ⟶ X) (hσ : σ ≫ f = 𝟙 _) |
| 23 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 24 | (a : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0) (ha : ⊤ ≤ σ ⁻¹ᵁ (∏ᶜ fun k : Fin 1 => U (a.val k))) |
| 25 | {D : CochainComplex (ModuleCat.{u} R) ℕ} (φ : D ⟶ FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U) |
| 26 | [QuasiIsoAt φ 0] [Module.Finite R (D.X 0)] [Module.Finite R (D.X 1)] |
| 27 | [Module.Free R (D.X 1)] |
| 28 | [QuasiIsoAt (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map (IsLocalRing.ResidueField R) φ) 0] |
| 29 | (hres : Function.Exact ((Relative.CechConstants.Construction.relativeCechConstants f U hU).lTensor (IsLocalRing.ResidueField R)) |
| 30 | (((FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).d 0 1).hom.lTensor (IsLocalRing.ResidueField R))) : |
| 31 | IsIso f.appTop := by |
| 32 | let E := FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureGlobalSectionsEquiv f U hU |
| 33 | let e := Relative.CechEvaluation.Construction.relativeCechEvaluation f σ hσ U a ha |
| 34 | have hda : ((FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).d 0 1).hom.comp (Relative.CechConstants.Construction.relativeCechConstants f U hU) = 0 := by |
| 35 | apply LinearMap.ext |
| 36 | intro r |
| 37 | exact Relative.CechConstants.Construction.relativeCechConstants_cycle f U hU r |
| 38 | have hs : Function.Surjective (FormalGeometry.Completion.Affine.InfinitesimalSections.Construction.baseOpenSectionsMap f ⊤) := by |
| 39 | intro t |
| 40 | let x := E t |
| 41 | have he := CechConstants.Construction.finite_model_cycle_constants φ (Relative.CechConstants.Construction.relativeCechConstants f U hU) e |
| 42 | (Relative.CechEvaluation.Construction.relativeCechEvaluation_constants f σ hσ U a ha hU) hda hres x.val x.property |
| 43 | refine ⟨e x.val, ?_⟩ |
| 44 | apply E.injective |
| 45 | apply Subtype.ext |
| 46 | exact he.symm |
| 47 | have hi : Function.Injective (FormalGeometry.Completion.Affine.InfinitesimalSections.Construction.baseOpenSectionsMap f ⊤) := |
| 48 | Function.LeftInverse.injective (fun r => Relative.CechEvaluation.Construction.sectionEvaluation_constants f σ hσ ⊤ (by simp) r) |
| 49 | have : IsIso (CommRingCat.ofHom (FormalGeometry.Completion.Affine.InfinitesimalSections.Construction.baseOpenSectionsMap f ⊤)) := |
| 50 | (ConcreteCategory.isIso_iff_bijective _).mpr ⟨hi, hs⟩ |
| 51 | have he : CommRingCat.ofHom (FormalGeometry.Completion.Affine.InfinitesimalSections.Construction.baseOpenSectionsMap f ⊤) = |
| 52 | (Scheme.ΓSpecIso (.of R)).inv ≫ f.appTop := by |
| 53 | simp [FormalGeometry.Completion.Affine.InfinitesimalSections.Construction.baseOpenSectionsMap, Scheme.Hom.appTop, Scheme.Hom.appLE] |
| 54 | have : IsIso ((Scheme.ΓSpecIso (.of R)).inv ≫ f.appTop) := he ▸ this |
| 55 | exact IsIso.of_isIso_comp_left (Scheme.ΓSpecIso (.of R)).inv f.appTop |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.ModelGlobalFunctions.Construction |