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.Cycles.Functoriality.UnitCap |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.OpenFunctionField |
| 3 | |
| 4 | /-! # Cycle Resolution -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.CycleResolution.CM.Abelian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Resolve each actual irreducible cycle support, with its required dimension equation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | /-- The exact committed Blowups resolution statement, retained as a named input. -/ |
| 15 | def ResolutionInput : Prop := |
| 16 | ∀ (X : Scheme) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X] |
| 17 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f), |
| 18 | letI : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation |
| 19 | ∃ (R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : R.carrier ⟶ X), |
| 20 | π ≫ f = R.structureMap ∧ IsProper π ∧ |
| 21 | (∃ e : R.carrier.PartialIso X, |
| 22 | e.source.ι ≫ π = e.iso.hom ≫ e.target.ι) ∧ |
| 23 | IsIso (π ∣_ f.smoothLocus) |
| 24 | |
| 25 | /-- The exact committed resolution clause of Functoriality. -/ |
| 26 | def ResolutionClassInput : Prop := |
| 27 | ∀ {R X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 28 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) (g : R.toOver ⟶ X.toOver) (hg : IsProper g.left) |
| 29 | (_hres : Cycles.Functoriality.UnitCap.Resolves g Z) |
| 30 | (hdeg : 0 + X.complexDimension = p + R.complexDimension), |
| 31 | Z.geometricCycleClass = Cycles.Functoriality.UnitCap.cohomologyPushforward g hg 0 p hdeg (Cycles.Functoriality.UnitCap.cohomologyUnit R) |
| 32 | |
| 33 | theorem transcendenceDimension_eq_of_partialIso |
| 34 | {S T : Scheme} [IsIntegral S] [IsIntegral T] |
| 35 | (fS : S ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (fT : T ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 36 | (π : S ⟶ T) (hπ : π ≫ fT = fS) |
| 37 | (e : S.PartialIso T) (he : e.source.ι ≫ π = e.iso.hom ≫ e.target.ι) : |
| 38 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension fS = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension fT := by |
| 39 | let : Nonempty e.source := e.dense_source.nonempty.to_subtype |
| 40 | let : Nonempty e.target := e.dense_target.nonempty.to_subtype |
| 41 | calc |
| 42 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension fS = |
| 43 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (e.source.ι ≫ fS) := |
| 44 | (Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_open fS e.source).symm |
| 45 | _ = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (e.iso.hom ≫ e.target.ι ≫ fT) := by |
| 46 | rw [← hπ, ← Category.assoc, he, Category.assoc] |
| 47 | _ = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (e.target.ι ≫ fT) := |
| 48 | Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion e.iso.hom _ |
| 49 | _ = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension fT := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_open fT e.target |
| 50 | |
| 51 | theorem cycleSupport_has_resolution (hBlowups : ResolutionInput) |
| 52 | {X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) : |
| 53 | ∃ (R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (g : R.toOver ⟶ X.toOver), |
| 54 | IsProper g.left ∧ Cycles.Functoriality.UnitCap.Resolves g Z ∧ |
| 55 | 0 + X.complexDimension = p + R.complexDimension := by |
| 56 | obtain ⟨R, π, hπ, hproper, ⟨e, he⟩, _⟩ := |
| 57 | hBlowups Z.scheme Z.structureMap Z.projectivePresentation |
| 58 | let : IsProper π := hproper |
| 59 | let g : R.toOver ⟶ X.toOver := Over.homMk (π ≫ Z.inclusion) (by |
| 60 | change (π ≫ Z.inclusion) ≫ X.structureMap = R.structureMap |
| 61 | rw [Category.assoc] |
| 62 | exact hπ) |
| 63 | have hdim : R.complexDimension = Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 X.structureMap := by |
| 64 | rw [R.complexDimension_eq_transcendenceDimension] |
| 65 | exact transcendenceDimension_eq_of_partialIso R.structureMap Z.structureMap π hπ e he |
| 66 | refine ⟨R, g, (show IsProper (π ≫ Z.inclusion) from inferInstance), |
| 67 | ⟨π, rfl, hπ, hproper, e, he⟩, ?_⟩ |
| 68 | have hz := Z.dimension_add_codimension |
| 69 | rw [← X.complexDimension_eq_transcendenceDimension, ← hdim] at hz |
| 70 | omega |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.CycleResolution.CM.Abelian |