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.ArithmeticGeometry.Models.SpreadingOut.OpenOver |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.DenseChartFactor |
| 3 | import OAI.ArithmeticGeometry.Models.SpreadingOut.ClosedProjection |
| 4 | import OAI.ArithmeticGeometry.Models.SpreadingOut.RestrictedGraph |
| 5 | |
| 6 | /-! # Chow Chart -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.ChowChart.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The local chart comparison in the graph construction of a projective cover. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | /-- An extension of one coordinate map on an open source chart forces that |
| 19 | part of a reduced graph closure to stay in the corresponding target chart. -/ |
| 20 | theorem dense_chart_extension_preimage_le |
| 21 | {S : Scheme.{u}} {W Z X Q : Over S} |
| 22 | [IsReduced Z.left] [IsSeparated Q.hom] |
| 23 | (d : W ⟶ Z) [IsDominant d.left] (p : Z ⟶ X) (q : Z ⟶ Q) |
| 24 | (V : X.left.Opens) (A : Q.left.Opens) |
| 25 | (k : W ⟶ OpenOver.Construction.overOpen X V) (e : OpenOver.Construction.overOpen X V ⟶ OpenOver.Construction.overOpen Q A) |
| 26 | (hp : d ≫ p = k ≫ OpenOver.Construction.overOpenInclusion X V) |
| 27 | (hq : d ≫ q = k ≫ e ≫ OpenOver.Construction.overOpenInclusion Q A) : |
| 28 | p.left ⁻¹ᵁ V ≤ q.left ⁻¹ᵁ A := by |
| 29 | have hr : Set.range (d ≫ p).left ⊆ (V : Set X.left) := |
| 30 | OpenOver.Construction.range_subset_of_overOpen_factor (d ≫ p) V k hp.symm |
| 31 | have hd : Set.range d.left ⊆ (p.left ⁻¹ᵁ V : Set Z.left) := by |
| 32 | rintro _ ⟨x, rfl⟩ |
| 33 | exact hr (Set.mem_range_self x) |
| 34 | let D := OpenOver.Construction.overOpen Z (p.left ⁻¹ᵁ V) |
| 35 | let d₀ := OpenOver.Construction.overOpenLift d (p.left ⁻¹ᵁ V) hd |
| 36 | have : IsDominant d₀.left := OpenOver.Construction.overOpenLift_dominant d _ hd |
| 37 | let p₀ := OpenOver.Construction.overOpenRestrict p V |
| 38 | have hdp : d₀ ≫ p₀ = k := by |
| 39 | apply (cancel_mono (OpenOver.Construction.overOpenInclusion X V)).mp |
| 40 | dsimp only [p₀] |
| 41 | rw [Category.assoc, OpenOver.Construction.overOpenRestrict_inclusion, ← Category.assoc, |
| 42 | OpenOver.Construction.overOpenLift_inclusion] |
| 43 | exact hp |
| 44 | let a : D ⟶ Q := p₀ ≫ e ≫ OpenOver.Construction.overOpenInclusion Q A |
| 45 | let b : D ⟶ Q := OpenOver.Construction.overOpenInclusion Z (p.left ⁻¹ᵁ V) ≫ q |
| 46 | have hab : a = b := by |
| 47 | apply OpenOver.Construction.over_hom_ext_of_dominant d₀ |
| 48 | change d₀ ≫ (p₀ ≫ e ≫ OpenOver.Construction.overOpenInclusion Q A) = |
| 49 | d₀ ≫ (OpenOver.Construction.overOpenInclusion Z (p.left ⁻¹ᵁ V) ≫ q) |
| 50 | rw [← Category.assoc d₀ p₀ (e ≫ OpenOver.Construction.overOpenInclusion Q A), hdp] |
| 51 | simpa only [d₀, OpenOver.Construction.overOpenLift_inclusion_assoc] using hq.symm |
| 52 | intro z hz |
| 53 | let z₀ : D.left := ⟨z, hz⟩ |
| 54 | have heq : a.left z₀ = b.left z₀ := congrArg (fun f : D ⟶ Q ↦ f.left z₀) hab |
| 55 | change b.left z₀ ∈ A |
| 56 | rw [← heq] |
| 57 | exact ((p₀ ≫ e).left z₀).property |
| 58 | |
| 59 | theorem dense_chart_closed_restriction |
| 60 | {S : Scheme.{u}} {W Z X P Q : Over S} |
| 61 | [IsReduced Z.left] [IsSeparated X.hom] |
| 62 | (d : W ⟶ Z) [IsDominant d.left] (p : Z ⟶ X) (q : Z ⟶ P) |
| 63 | [IsClosedImmersion (pullback.lift p.left q.left (p.w.trans q.w.symm))] |
| 64 | (π : P ⟶ Q) (V : X.left.Opens) (A : Q.left.Opens) |
| 65 | (k : W ⟶ OpenOver.Construction.overOpen X V) (e : OpenOver.Construction.overOpen X V ⟶ OpenOver.Construction.overOpen Q A) |
| 66 | [IsClosedImmersion e.left] |
| 67 | (hp : d ≫ p = k ≫ OpenOver.Construction.overOpenInclusion X V) |
| 68 | (hq : d ≫ q ≫ π = k ≫ e ≫ OpenOver.Construction.overOpenInclusion Q A) : |
| 69 | IsClosedImmersion (q.left ∣_ (π.left ⁻¹ᵁ A)) := by |
| 70 | let B := π.left ⁻¹ᵁ A |
| 71 | let D := q.left ⁻¹ᵁ B |
| 72 | have hr : Set.range (d ≫ q ≫ π).left ⊆ (A : Set Q.left) := |
| 73 | OpenOver.Construction.range_subset_of_overOpen_factor (d ≫ q ≫ π) A (k ≫ e) |
| 74 | ((Category.assoc _ _ _).trans hq.symm) |
| 75 | have hd : Set.range d.left ⊆ (D : Set Z.left) := by |
| 76 | rintro _ ⟨x, rfl⟩ |
| 77 | exact hr (Set.mem_range_self x) |
| 78 | let d₀ := OpenOver.Construction.overOpenLift d D hd |
| 79 | have : IsDominant d₀.left := OpenOver.Construction.overOpenLift_dominant d D hd |
| 80 | let p₀ : OpenOver.Construction.overOpen Z D ⟶ X := OpenOver.Construction.overOpenInclusion Z D ≫ p |
| 81 | let q₀ := OpenOver.Construction.overOpenRestrict q B |
| 82 | let r₀ := OpenOver.Construction.overOpenRestrict π A |
| 83 | have hdp : d₀ ≫ p₀ = k ≫ OpenOver.Construction.overOpenInclusion X V := by |
| 84 | change d₀ ≫ (OpenOver.Construction.overOpenInclusion Z D ≫ p) = _ |
| 85 | rw [← Category.assoc, OpenOver.Construction.overOpenLift_inclusion] |
| 86 | exact hp |
| 87 | have hdq : d₀ ≫ q₀ ≫ r₀ = k ≫ e := by |
| 88 | apply (cancel_mono (OpenOver.Construction.overOpenInclusion Q A)).mp |
| 89 | simpa only [d₀, q₀, r₀, D, B, Category.assoc, OpenOver.Construction.overOpenRestrict_inclusion, |
| 90 | OpenOver.Construction.overOpenRestrict_inclusion_assoc, OpenOver.Construction.overOpenLift_inclusion_assoc] using hq |
| 91 | obtain ⟨l, hlp, hle⟩ := DenseChartFactor.Construction.factor_through_chart_of_dense d₀ (OpenOver.Construction.overOpenInclusion X V) e |
| 92 | p₀ (q₀ ≫ r₀) k (congrArg (fun f ↦ f.left) hdp) (congrArg (fun f ↦ f.left) hdq) |
| 93 | have : IsClosedImmersion (pullback.lift p₀.left q₀.left (p₀.w.trans q₀.w.symm)) := |
| 94 | RestrictedGraph.Construction.restricted_graph_closedImmersion p q B _ |
| 95 | exact ClosedProjection.Construction.closed_projection_of_chart_factor p₀ q₀ (OpenOver.Construction.overOpenInclusion X V) e r₀ l hlp hle |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.ArithmeticGeometry.Models.SpreadingOut.ChowChart.Construction |