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.Relative.CechConstants |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.BaseCechCycles |
| 3 | |
| 4 | /-! # Infinitesimal Cech Constants -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.InfinitesimalCechConstants.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! If an actual infinitesimal fiber has only base functions, the |
| 11 | tensor reduction of the native Cech complex has exactly the constant |
| 12 | zero-cycles. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.BaseCechCycles.Construction |
| 19 | |
| 20 | universe u |
| 21 | variable {R : Type u} [CommRing R] (I : Ideal R) {X : Scheme.{u}} [X.IsSeparated] |
| 22 | (f : X ⟶ Spec (.of R)) {ι : Type u} [LinearOrder ι] [Finite ι] |
| 23 | (U : ι → X.Opens) (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) (n : ℕ) |
| 24 | |
| 25 | include ha in |
| 26 | set_option backward.isDefEq.respectTransparency false in |
| 27 | theorem infinitesimalCech_constants_exact |
| 28 | [IsIso (pullback.snd f (FormalGeometry.Completion.Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n)).appTop] : |
| 29 | Function.Exact ((Relative.CechConstants.Construction.relativeCechConstants f U hU).lTensor (R ⧸ I ^ (n + 1))) |
| 30 | (((FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).d 0 1).hom.lTensor (R ⧸ I ^ (n + 1))) := by |
| 31 | let D := FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U |
| 32 | let J := I ^ (n + 1) |
| 33 | let e0 := TensorProduct.quotTensorEquivQuotSMul (D.X 0) J |
| 34 | let e1 := TensorProduct.quotTensorEquivQuotSMul (D.X 1) J |
| 35 | let E := FormalGeometry.Completion.Infinitesimal.CechZeroCycles.Construction.infinitesimalSectionsZeroCyclesEquiv I f U ha hU n |
| 36 | intro x |
| 37 | constructor |
| 38 | · intro hx |
| 39 | have hcomm := ConcreteCategory.congr_hom ((FormalGeometry.Completion.AdicReduction.Construction.adicReductionTensorIso J).hom.naturality (D.d 0 1)) x |
| 40 | have hy : ((FormalGeometry.Completion.AdicReduction.Construction.adicReductionComplex J D).d 0 1).hom (e0 x) = 0 := by |
| 41 | change e1 ((D.d 0 1).hom.lTensor (R ⧸ J) x) = |
| 42 | ((FormalGeometry.Completion.AdicReduction.Construction.adicReductionComplex J D).d 0 1).hom (e0 x) at hcomm |
| 43 | exact hcomm.symm.trans ((congrArg e1 hx).trans (map_zero e1)) |
| 44 | let y : ((FormalGeometry.Completion.AdicReduction.Construction.adicReductionComplex J D).d 0 1).hom.ker := ⟨e0 x, hy⟩ |
| 45 | have hs : Function.Surjective (FormalGeometry.Completion.FunctionsComparison.Construction.infinitesimalBaseSectionsMap I f n) := |
| 46 | (ConcreteCategory.bijective_of_isIso |
| 47 | ((Scheme.ΓSpecIso (.of (R ⧸ J))).inv ≫ (pullback.snd f (FormalGeometry.Completion.Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n)).appTop)).surjective |
| 48 | obtain ⟨rbar, hr⟩ := hs (E.symm y) |
| 49 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective rbar |
| 50 | have he : e0 x = Submodule.Quotient.mk (Relative.CechConstants.Construction.relativeCechConstants f U hU r) := by |
| 51 | have h := congrArg (fun z => (E z).val) hr |
| 52 | rw [E.apply_symm_apply] at h |
| 53 | exact h.symm.trans (FormalGeometry.Completion.BaseCechCycles.Construction.infinitesimalSectionsZeroCyclesEquiv_base_mk f U hU I ha n r) |
| 54 | refine ⟨1 ⊗ₜ[R] r, ?_⟩ |
| 55 | apply e0.injective |
| 56 | simpa [e0] using he.symm |
| 57 | · rintro ⟨r, rfl⟩ |
| 58 | have hzero : (D.d 0 1).hom.comp (Relative.CechConstants.Construction.relativeCechConstants f U hU) = 0 := by |
| 59 | apply LinearMap.ext |
| 60 | intro r |
| 61 | exact Relative.CechConstants.Construction.relativeCechConstants_cycle f U hU r |
| 62 | rw [← LinearMap.lTensor_comp_apply, hzero, LinearMap.lTensor_zero, LinearMap.zero_apply] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.InfinitesimalCechConstants.Construction |