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.AbelianModuli.HilbertConstruction.Finite.TypeAffineCompactification |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegralFinite |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProperProducts |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.Closure |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Embedding |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Chow.Embedding |
| 7 | |
| 8 | /-! # Modification -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Chow.Modification.ChowModification |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Chow's construction for a proper integral scheme over an arbitrary |
| 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 : IntegralFinite.IntegralFiniteAffineCover.Data X |
| 25 | compactification : ∀ i, Affine.Compactification.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 | (∏ᶜ (fun i => Over.mk (compactification i).base)).left |
| 34 | closedImmersion : IsClosedImmersion embedding |
| 35 | embedding_base : embedding ≫ |
| 36 | (∏ᶜ (fun i => Over.mk (compactification i).base)).hom = |
| 37 | projection ≫ f |
| 38 | |
| 39 | def build [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 := IntegralFinite.IntegralFiniteAffineCover.ofIntegral X |
| 43 | let D (i : Fin C.n) : Affine.Compactification.AffineCompactification.Data ((C.opens i).ι ≫ f) := by |
| 44 | have : IsAffine (C.opens i).toScheme := C.affine i |
| 45 | exact Finite.TypeAffineCompactification.AffineCompactification.ofAffineFiniteType ((C.opens i).ι ≫ f) |
| 46 | let P : Fin C.n → Over (Spec (.of R)) := fun i => Over.mk (D i).base |
| 47 | let B := ∏ᶜ P |
| 48 | have : IsProper B.hom := Finite.ProperProducts.overFinProduct_proper C.n 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 := (Pi.lift a).left |
| 57 | have hj : C.common.ι ≫ f = j ≫ B.hom := (Over.w (Pi.lift a)).symm |
| 58 | let Z := Graph.Closure.GraphClosure.scheme f B.hom C.common j hj |
| 59 | let q := Graph.Closure.GraphClosure.projection f B.hom C.common j hj |
| 60 | let g := Graph.Closure.GraphClosure.map f B.hom C.common j hj |
| 61 | let t := Graph.Closure.GraphClosure.chart f B.hom C.common j hj |
| 62 | have hZ : IsIntegral Z := Graph.Closure.GraphClosure.integral f B.hom C.common j hj |
| 63 | have hq : IsProper q := Graph.Closure.GraphClosure.proper f B.hom C.common j hj |
| 64 | have hg : IsProper g := Graph.Closure.GraphClosure.map_isProper f B.hom C.common j hj |
| 65 | have ht : IsDominant t := Graph.Closure.GraphClosure.dominant f B.hom C.common j hj |
| 66 | have hpair : IsClosedImmersion (prod.lift q g) := |
| 67 | Pullback.Embedding.PullbackEmbedding.pair_of_closed f B.hom (Graph.Closure.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 Embedding.ChowEmbedding.closed q g C.opens C.covers (fun i => (D i).scheme) |
| 74 | (fun i => (D i).chart) (fun i => (Pi.π P i).left) |
| 75 | t (fun i => X.homOfLE (C.common_le i)) |
| 76 | · intro i |
| 77 | exact (Graph.Closure.GraphClosure.chart_projection f B.hom C.common j hj).trans (X.homOfLE_ι _).symm |
| 78 | · intro i |
| 79 | change Graph.Closure.GraphClosure.chart f B.hom C.common j hj ≫ |
| 80 | Graph.Closure.GraphClosure.map f B.hom C.common j hj ≫ (Pi.π P i).left = _ |
| 81 | rw [← Category.assoc, Graph.Closure.GraphClosure.chart_map] |
| 82 | exact congrArg Over.Hom.left (Pi.lift_comp_π a i) |
| 83 | exact ⟨C, D, Z, hZ, q, hq, Graph.Closure.GraphClosure.surjective f B.hom C.common j hj, |
| 84 | Graph.Closure.GraphClosure.isIso_restrict f B.hom C.common j hj, g, hclosed, |
| 85 | Graph.Closure.GraphClosure.map_base f B.hom C.common j hj⟩ |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Chow.Modification.ChowModification |