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.PELModuli.IntegralModel.SmoothEquationSupport |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.ClosedSubscheme |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth |
| 4 | |
| 5 | /-! # Smooth Equation Locus -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothEquationLocus |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Actual relative equations with a smooth source have a constructed |
| 14 | reduced closed classifier on every reduced test. The original parameter |
| 15 | is locally noetherian; the test schemes have no finiteness restriction. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem exists_reduced_smooth_equation_locus |
| 20 | {S : Scheme.{0}} [IsLocallyNoetherian S] {X Y : Over S} |
| 21 | [Smooth X.hom] [IsSeparated Y.hom] {I : Type} (l r : I → (X ⟶ Y)) : |
| 22 | ∃ Z : Over S, IsReduced Z.left ∧ IsClosedImmersion Z.hom ∧ |
| 23 | (∀ i, (Over.pullback Z.hom).map (l i) = (Over.pullback Z.hom).map (r i)) ∧ |
| 24 | ∀ (T : Over S) [IsReduced T.left], |
| 25 | (∀ i, (Over.pullback T.hom).map (l i) = (Over.pullback T.hom).map (r i)) ↔ |
| 26 | ∃! _f : T ⟶ Z, True := by |
| 27 | let W := ⋂ i, SmoothEquationSupport.smoothEquationSupport (l i) (r i) |
| 28 | have hW : IsClosed W := isClosed_iInter (fun i => SmoothEquationSupport.smoothEquationSupport_closed (l i) (r i)) |
| 29 | obtain ⟨Z, hred, hclosed, hZ⟩ := Reduced.ClosedSubscheme.exists_reduced_closedImmersion_with_range S W hW |
| 30 | let := hred |
| 31 | let := hclosed |
| 32 | let : IsLocallyNoetherian Z.left := LocallyOfFiniteType.isLocallyNoetherian Z.hom |
| 33 | have : GeometricallyReduced X.hom := |
| 34 | Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.geometricallyReduced_of_smooth X.hom |
| 35 | let : IsReduced (pullback X.hom Z.hom) := inferInstance |
| 36 | have hU (i : I) : (Over.pullback Z.hom).map (l i) = (Over.pullback Z.hom).map (r i) := |
| 37 | SmoothEquationSupport.equation_of_support_range (l i) (r i) Z.hom (by |
| 38 | rw [hZ] |
| 39 | exact Set.iInter_subset _ i) |
| 40 | refine ⟨Z, hred, hclosed, hU, ?_⟩ |
| 41 | intro T hT |
| 42 | constructor |
| 43 | · intro h |
| 44 | have hr : Set.range T.hom ⊆ Set.range Z.hom := by |
| 45 | rw [hZ] |
| 46 | intro t ht |
| 47 | exact Set.mem_iInter.mpr (fun i => SmoothEquationSupport.equation_range_subset_support (l i) (r i) T.hom (h i) ht) |
| 48 | let f := Albanese.Construction.ReducedFactor.factorThroughClosed Z.hom T.hom hr |
| 49 | have hf : f ≫ Z.hom = T.hom := Albanese.Construction.ReducedFactor.factorThroughClosed_comp _ _ _ |
| 50 | refine ⟨Over.homMk f hf, trivial, ?_⟩ |
| 51 | intro q _ |
| 52 | apply Over.OverMorphism.ext |
| 53 | exact (cancel_mono Z.hom).mp (q.w.trans hf.symm) |
| 54 | · rintro ⟨q, _, _⟩ i |
| 55 | have h := PullbackEquationProjection.pullback_equation_precomp (l i) (r i) Z.hom q.left (hU i) |
| 56 | exact (congrArg (fun t : T.left ⟶ S => |
| 57 | (Over.pullback t).map (l i) = (Over.pullback t).map (r i)) q.w).mp h |
| 58 | |
| 59 | end |
| 60 | |
| 61 | /-! Two actual equations with different smooth sources have a common |
| 62 | reduced closed locus, classified on every reduced test scheme. -/ |
| 63 | |
| 64 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 65 | |
| 66 | theorem exists_reduced_two_smooth_equation_locus |
| 67 | {S : Scheme.{0}} [IsLocallyNoetherian S] {X₁ Y₁ X₂ Y₂ : Over S} |
| 68 | [Smooth X₁.hom] [IsSeparated Y₁.hom] [Smooth X₂.hom] [IsSeparated Y₂.hom] |
| 69 | (l₁ r₁ : X₁ ⟶ Y₁) (l₂ r₂ : X₂ ⟶ Y₂) : |
| 70 | ∃ Z : Over S, IsReduced Z.left ∧ IsClosedImmersion Z.hom ∧ |
| 71 | ((Over.pullback Z.hom).map l₁ = (Over.pullback Z.hom).map r₁ ∧ |
| 72 | (Over.pullback Z.hom).map l₂ = (Over.pullback Z.hom).map r₂) ∧ |
| 73 | ∀ (T : Over S) [IsReduced T.left], |
| 74 | ((Over.pullback T.hom).map l₁ = (Over.pullback T.hom).map r₁ ∧ |
| 75 | (Over.pullback T.hom).map l₂ = (Over.pullback T.hom).map r₂) ↔ |
| 76 | ∃! _f : T ⟶ Z, True := by |
| 77 | let W := SmoothEquationSupport.smoothEquationSupport l₁ r₁ ∩ SmoothEquationSupport.smoothEquationSupport l₂ r₂ |
| 78 | have hW : IsClosed W := (SmoothEquationSupport.smoothEquationSupport_closed l₁ r₁).inter |
| 79 | (SmoothEquationSupport.smoothEquationSupport_closed l₂ r₂) |
| 80 | obtain ⟨Z, hr, hc, hZ⟩ := Reduced.ClosedSubscheme.exists_reduced_closedImmersion_with_range S W hW |
| 81 | let := hr |
| 82 | let := hc |
| 83 | let : IsLocallyNoetherian Z.left := LocallyOfFiniteType.isLocallyNoetherian Z.hom |
| 84 | have : GeometricallyReduced X₁.hom := |
| 85 | Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.geometricallyReduced_of_smooth X₁.hom |
| 86 | have : GeometricallyReduced X₂.hom := |
| 87 | Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.geometricallyReduced_of_smooth X₂.hom |
| 88 | have : IsReduced (pullback X₁.hom Z.hom) := inferInstance |
| 89 | have : IsReduced (pullback X₂.hom Z.hom) := inferInstance |
| 90 | have h₁ : Set.range Z.hom ⊆ SmoothEquationSupport.smoothEquationSupport l₁ r₁ := by rw [hZ]; exact Set.inter_subset_left |
| 91 | have h₂ : Set.range Z.hom ⊆ SmoothEquationSupport.smoothEquationSupport l₂ r₂ := by rw [hZ]; exact Set.inter_subset_right |
| 92 | have hu₁ := SmoothEquationSupport.equation_of_support_range l₁ r₁ Z.hom h₁ |
| 93 | have hu₂ := SmoothEquationSupport.equation_of_support_range l₂ r₂ Z.hom h₂ |
| 94 | refine ⟨Z, hr, hc, ⟨hu₁, hu₂⟩, ?_⟩ |
| 95 | intro T _ |
| 96 | constructor |
| 97 | · rintro ⟨ht₁, ht₂⟩ |
| 98 | have ht : Set.range T.hom ⊆ Set.range Z.hom := by |
| 99 | rw [hZ] |
| 100 | exact Set.subset_inter (SmoothEquationSupport.equation_range_subset_support l₁ r₁ T.hom ht₁) |
| 101 | (SmoothEquationSupport.equation_range_subset_support l₂ r₂ T.hom ht₂) |
| 102 | let f := Albanese.Construction.ReducedFactor.factorThroughClosed Z.hom T.hom ht |
| 103 | have hf : f ≫ Z.hom = T.hom := Albanese.Construction.ReducedFactor.factorThroughClosed_comp _ _ _ |
| 104 | refine ⟨Over.homMk f hf, trivial, fun q _ => ?_⟩ |
| 105 | exact Over.OverMorphism.ext ((cancel_mono Z.hom).mp (q.w.trans hf.symm)) |
| 106 | · rintro ⟨q, _, _⟩ |
| 107 | have ht₁ := PullbackEquationProjection.pullback_equation_precomp l₁ r₁ Z.hom q.left hu₁ |
| 108 | have ht₂ := PullbackEquationProjection.pullback_equation_precomp l₂ r₂ Z.hom q.left hu₂ |
| 109 | exact ⟨(congrArg (fun t : T.left ⟶ S => |
| 110 | (Over.pullback t).map l₁ = (Over.pullback t).map r₁) q.w).mp ht₁, |
| 111 | (congrArg (fun t : T.left ⟶ S => |
| 112 | (Over.pullback t).map l₂ = (Over.pullback t).map r₂) q.w).mp ht₂⟩ |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothEquationLocus |