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.ModelGlobalFunctions |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.FiniteCechModel |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LocalPointedCechCover |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ResidueCechConstants |
| 5 | |
| 6 | /-! # Local Global Functions -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Noetherian.LocalGlobalFunctions.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every global function on a proper smooth family with connected |
| 13 | geometric fibers and a section comes from its Noetherian local base. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false in |
| 18 | theorem noetherianLocal_globalFunctions_isIso |
| 19 | {R : Type} [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 20 | {X : Scheme.{0}} (f : X ⟶ Spec (.of R)) |
| 21 | [IsProper f] [Smooth f] [GeometricallyConnected f] |
| 22 | (σ : Spec (.of R) ⟶ X) (hσ : σ ≫ f = 𝟙 _) : IsIso f.appTop := by |
| 23 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 24 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 25 | obtain ⟨I, hIfin, hIorder, U, hUa, hU, a, ha⟩ := LocalPointedCechCover.Construction.exists_local_pointed_finite_cech_cover σ |
| 26 | let := hIfin |
| 27 | let := hIorder |
| 28 | obtain ⟨D, φ, hφ, hf, hp, ht⟩ := Relative.FiniteCechModel.Construction.relativeStructureCech_exists_finite_projective_model f U hU hUa |
| 29 | have := hφ |
| 30 | have := hf 0 |
| 31 | have := hf 1 |
| 32 | have := hp 1 |
| 33 | have : Module.Free R (D.X 1) := Module.free_of_flat_of_isLocalRing |
| 34 | have := ht (IsLocalRing.ResidueField R) |
| 35 | exact Finite.ModelGlobalFunctions.Construction.globalFunctions_iso_of_finite_cech_model f σ hσ U hU a ha φ |
| 36 | (ResidueCechConstants.Construction.residueCech_constants_exact f σ hσ U hU hUa) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Noetherian.LocalGlobalFunctions.Construction |