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.FiniteTorsor.RestrictedAffine |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.IsoBase |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.SliceEquivalence |
| 4 | |
| 5 | /-! # Affine Slices -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Completion: actual finite étale representatives in affine slice categories |
| 13 | |
| 14 | Transport from the spectrum of an affine object's coordinate ring gives |
| 15 | the local representatives directly over that object, ready for geometric gluing. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {X : Scheme.{u}} (U : X.ProEt) [IsAffine U.left] |
| 26 | |
| 27 | /-- The site of the affine coordinate spectrum is equivalent to the original slice. -/ |
| 28 | def AffineSlices.Construction.proEtAffineSliceEquivalence : (Spec Γ(U.left, ⊤)).ProEt ≌ Over U := |
| 29 | (ProEtale.IsoBase.Construction.proEtIsoBaseEquivalence U.left.isoSpec.symm).trans (ProEtale.SliceEquivalence.Construction.proEtaleSliceEquivalence U) |
| 30 | |
| 31 | /-- This equivalence has the original composite structure map to the base. -/ |
| 32 | def AffineSlices.Construction.proEtAffineSliceForgetIso : |
| 33 | (AffineSlices.Construction.proEtAffineSliceEquivalence U).functor ⋙ Over.forget U ≅ |
| 34 | ProEtale.EtaleRestriction.Construction.proEtCompose (U.left.isoSpec.inv ≫ U.hom) inferInstance := |
| 35 | NatIso.ofComponents (fun V => MorphismProperty.Over.isoMk (Iso.refl V.left) |
| 36 | (by |
| 37 | change (𝟙 V.left) ≫ (V.hom ≫ U.left.isoSpec.inv ≫ U.hom) = |
| 38 | (V.hom ≫ U.left.isoSpec.inv) ≫ U.hom |
| 39 | simp [Category.assoc])) |
| 40 | (by |
| 41 | intro V W g |
| 42 | apply MorphismProperty.Over.Hom.ext |
| 43 | change g.left ≫ 𝟙 W.left = 𝟙 V.left ≫ g.left |
| 44 | simp) |
| 45 | |
| 46 | variable {ℓ n : ℕ} [NeZero (ℓ ^ n)] (E : App.Construction.FiniteCoefficientExtension ℓ n X) |
| 47 | |
| 48 | /-- Every affine slice of the actual torsor has an actual finite étale representative. -/ |
| 49 | theorem App.Construction.FiniteCoefficientExtension.exists_finiteEtale_representative_affine_slice : |
| 50 | ∃ T : Over U, IsFinite T.hom.left ∧ Etale T.hom.left ∧ |
| 51 | Nonempty (((Over.forget U).op ⋙ E.fiberPresheaf).RepresentableBy T) := by |
| 52 | let b := U.left.isoSpec.inv ≫ U.hom |
| 53 | have hb : WeaklyEtale b := inferInstance |
| 54 | obtain ⟨T, hfin, het, ⟨rep⟩⟩ := E.exists_finiteEtale_representative_restricted_affine b hb |
| 55 | let G := AffineSlices.Construction.proEtAffineSliceEquivalence U |
| 56 | let e := AffineSlices.Construction.proEtAffineSliceForgetIso U |
| 57 | let er : (ProEtale.EtaleRestriction.Construction.proEtCompose b hb).op ⋙ E.fiberPresheaf ≅ |
| 58 | G.functor.op ⋙ (Over.forget U).op ⋙ E.fiberPresheaf := |
| 59 | NatIso.ofComponents (fun V => E.fiberPresheaf.mapIso ((e.app V.unop).op)) |
| 60 | (by |
| 61 | intro V W g |
| 62 | change E.fiberPresheaf.map _ ≫ E.fiberPresheaf.map _ = |
| 63 | E.fiberPresheaf.map _ ≫ E.fiberPresheaf.map _ |
| 64 | rw [← CategoryTheory.Functor.map_comp, ← CategoryTheory.Functor.map_comp] |
| 65 | exact E.fiberPresheaf.congr_map (congrArg Quiver.Hom.op (e.hom.naturality g.unop).symm)) |
| 66 | have : IsFinite T.hom := hfin |
| 67 | have : Etale T.hom := het |
| 68 | refine ⟨G.functor.obj T, ?_, ?_, ?_⟩ |
| 69 | · change IsFinite (T.hom ≫ U.left.isoSpec.inv) |
| 70 | infer_instance |
| 71 | · change Etale (T.hom ≫ U.left.isoSpec.inv) |
| 72 | infer_instance |
| 73 | · exact ⟨DenseRepresentation.Construction.representableByOfCoverDense.{u + 1, u, u + 1, u, u + 1} |
| 74 | G.functor (Functor.FullyFaithful.ofFullyFaithful G.functor) |
| 75 | ((Scheme.ProEt.topology X).over U) (E.fiberSheaf.over U) (rep.ofIso er)⟩ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |