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.Quotients.FiniteDescent.AffineCompactificationOf |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineCover |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperProduct |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GraphClosureIs |
| 5 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackEmbeddingOf |
| 6 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ChowEmbeddingClosed |
| 7 | |
| 8 | /-! # Chow Modification Model -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ChowModificationModel.Construction.ChowModification |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Chow's construction for a proper integral scheme over a Noetherian |
| 15 | affine base, embedded in a finite product of explicit projective closures. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 22 | |
| 23 | structure Model (f : X ⟶ Spec (.of R)) where |
| 24 | cover : AffineCover.Construction.FiniteAffineCover.Data X |
| 25 | compactification : ∀ i, AffineCompactificationOf.Construction.AffineCompactification.Data ((cover.opens i).ι ≫ f) |
| 26 | scheme : Scheme.{u} |
| 27 | integral : IsIntegral scheme |
| 28 | projection : scheme ⟶ X |
| 29 | proper : IsProper projection |
| 30 | surjective : Surjective projection |
| 31 | isIso_restrict : IsIso (projection ∣_ cover.common) |
| 32 | embedding : scheme ⟶ |
| 33 | (ProperProduct.Construction.FiniteProperProduct.product (fun i => Over.mk (compactification i).base)).left |
| 34 | closedImmersion : IsClosedImmersion embedding |
| 35 | embedding_base : embedding ≫ |
| 36 | (ProperProduct.Construction.FiniteProperProduct.product (fun i => Over.mk (compactification i).base)).hom = |
| 37 | projection ≫ f |
| 38 | |
| 39 | def build [IsNoetherianRing R] [IsIntegral X] (f : X ⟶ Spec (.of R)) [IsProper f] : Model f := by |
| 40 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 41 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 42 | let C := AffineCover.Construction.FiniteAffineCover.ofIntegral X |
| 43 | let D (i : Fin C.n) : AffineCompactificationOf.Construction.AffineCompactification.Data ((C.opens i).ι ≫ f) := by |
| 44 | have : IsAffine (C.opens i).toScheme := C.affine i |
| 45 | exact AffineCompactificationOf.Construction.AffineCompactification.ofFiniteType ((C.opens i).ι ≫ f) |
| 46 | let P : Fin C.n → Over (Spec (.of R)) := fun i => Over.mk (D i).base |
| 47 | let B := ProperProduct.Construction.FiniteProperProduct.product P |
| 48 | have : IsProper B.hom := ProperProduct.Construction.FiniteProperProduct.proper P (fun i => (D i).proper) |
| 49 | have : Nonempty C.common := C.common_nonempty |
| 50 | have : IsAffine C.common.toScheme := C.common_affine |
| 51 | let T := Over.mk (C.common.ι ≫ f) |
| 52 | let a (i : Fin C.n) : T ⟶ P i := |
| 53 | Over.homMk (X.homOfLE (C.common_le i) ≫ (D i).chart) (by |
| 54 | change (X.homOfLE (C.common_le i) ≫ (D i).chart) ≫ (D i).base = C.common.ι ≫ f |
| 55 | rw [Category.assoc, (D i).chart_base, ← Category.assoc, X.homOfLE_ι]) |
| 56 | let j := (ProperProduct.Construction.FiniteProperProduct.lift P a).left |
| 57 | have hj : C.common.ι ≫ f = j ≫ B.hom := (Over.w (ProperProduct.Construction.FiniteProperProduct.lift P a)).symm |
| 58 | let Z := GraphClosureIs.Construction.GraphClosure.scheme f B.hom C.common j hj |
| 59 | let q := GraphClosureIs.Construction.GraphClosure.projection f B.hom C.common j hj |
| 60 | let g := GraphClosureIs.Construction.GraphClosure.map f B.hom C.common j hj |
| 61 | let t := GraphClosureIs.Construction.GraphClosure.chart f B.hom C.common j hj |
| 62 | have hZ : IsIntegral Z := GraphClosureIs.Construction.GraphClosure.integral f B.hom C.common j hj |
| 63 | have hq : IsProper q := GraphClosureIs.Construction.GraphClosure.proper f B.hom C.common j hj |
| 64 | have hg : IsProper g := GraphClosureIs.Construction.GraphClosure.map_isProper f B.hom C.common j hj |
| 65 | have ht : IsDominant t := GraphClosureIs.Construction.GraphClosure.dominant f B.hom C.common j hj |
| 66 | have hpair : IsClosedImmersion (prod.lift q g) := |
| 67 | PullbackEmbeddingOf.Construction.PullbackEmbedding.pair_of_closed f B.hom (GraphClosureIs.Construction.GraphClosure.graph f B.hom C.common j hj).imageι |
| 68 | have hsep (i : Fin C.n) : (D i).scheme.IsSeparated := by |
| 69 | have : IsProper (D i).base := (D i).proper |
| 70 | exact ⟨by rw [← terminal.comp_from (D i).base]; infer_instance⟩ |
| 71 | have hopen (i : Fin C.n) : IsOpenImmersion (D i).chart := (D i).openImmersion |
| 72 | have hclosed : IsClosedImmersion g := by |
| 73 | apply ChowEmbeddingClosed.Construction.ChowEmbedding.closed q g C.opens C.covers (fun i => (D i).scheme) |
| 74 | (fun i => (D i).chart) (fun i => (ProperProduct.Construction.FiniteProperProduct.projection P i).left) |
| 75 | t (fun i => X.homOfLE (C.common_le i)) |
| 76 | · intro i |
| 77 | exact (GraphClosureIs.Construction.GraphClosure.chart_projection f B.hom C.common j hj).trans (X.homOfLE_ι _).symm |
| 78 | · intro i |
| 79 | change GraphClosureIs.Construction.GraphClosure.chart f B.hom C.common j hj ≫ |
| 80 | GraphClosureIs.Construction.GraphClosure.map f B.hom C.common j hj ≫ (ProperProduct.Construction.FiniteProperProduct.projection P i).left = _ |
| 81 | rw [← Category.assoc, GraphClosureIs.Construction.GraphClosure.chart_map] |
| 82 | exact congrArg Over.Hom.left (ProperProduct.Construction.FiniteProperProduct.lift_projection P a i) |
| 83 | exact ⟨C, D, Z, hZ, q, hq, GraphClosureIs.Construction.GraphClosure.surjective f B.hom C.common j hj, |
| 84 | GraphClosureIs.Construction.GraphClosure.isIso_restrict f B.hom C.common j hj, g, hclosed, |
| 85 | GraphClosureIs.Construction.GraphClosure.map_base f B.hom C.common j hj⟩ |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ChowModificationModel.Construction.ChowModification |