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.Resolution.Blowups.ControlPrefix.CenterComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.MapComposition |
| 3 | |
| 4 | /-! # Comparison Coherence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Stepwise étale prefix comparisons have unique endpoints and satisfy identity and composition. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.endpoint_unique |
| 15 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 16 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 17 | ∀ {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 18 | {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 19 | (Q : Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) (q : V ⟶ X) (r s : W ⟶ Y), |
| 20 | P.EtaleComparison Q q r → P.EtaleComparison Q q s → r = s := by |
| 21 | induction P with |
| 22 | | stop => |
| 23 | intro V W h k L M Q q r s hr hs |
| 24 | cases Q with |
| 25 | | stop => exact hr.2.2.2.trans hs.2.2.2.symm |
| 26 | | blowup => exact False.elim hr |
| 27 | | blowup I hI hb hp hs hbl tail ih => |
| 28 | intro V W h k L M Q q r s hr hs |
| 29 | cases Q with |
| 30 | | stop => exact False.elim hr |
| 31 | | blowup C hC hbC hpC hsC hblC rest => |
| 32 | obtain ⟨_, _, _, he, ht⟩ := hr |
| 33 | obtain ⟨_, _, _, he', ht'⟩ := hs |
| 34 | exact ih rest _ r s ht ht' |
| 35 | |
| 36 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.refl |
| 37 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 38 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 39 | P.EtaleComparison P (𝟙 X) (𝟙 Y) := by |
| 40 | induction P with |
| 41 | | stop => exact ⟨inferInstance, Category.id_comp _, Scheme.IdealSheafData.comap_id _, rfl⟩ |
| 42 | | blowup I hI hb hp hs hbl tail ih => |
| 43 | refine ⟨inferInstance, Category.id_comp _, Scheme.IdealSheafData.comap_id _, |
| 44 | Scheme.IdealSheafData.comap_id I, ?_⟩ |
| 45 | rw [GlobalBlowup.MapComposition.Construction.globalBlowupMapTo_id] |
| 46 | exact ih |
| 47 | |
| 48 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.EtaleComparison.comp |
| 49 | {b : ℕ} {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 50 | {J : X.IdealSheafData} {K : Y.IdealSheafData} (P : Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f J Y g K) : |
| 51 | ∀ {V W : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : W ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 52 | {L : V.IdealSheafData} {M : W.IdealSheafData} |
| 53 | (Q : Smooth.ControlPrefix.Construction.SmoothControlPrefix b V h L W k M) (q : V ⟶ X) (r : W ⟶ Y), |
| 54 | P.EtaleComparison Q q r → |
| 55 | ∀ {Z U : Scheme} {a : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {c : U ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 56 | {B : Z.IdealSheafData} {C : U.IdealSheafData} |
| 57 | (T : Smooth.ControlPrefix.Construction.SmoothControlPrefix b Z a B U c C) (p : Z ⟶ V) (s : U ⟶ W), |
| 58 | Q.EtaleComparison T p s → P.EtaleComparison T (p ≫ q) (s ≫ r) := by |
| 59 | induction P with |
| 60 | | stop => |
| 61 | intro V W h k L M Q q r hQ Z U a c B C T p s hT |
| 62 | cases Q with |
| 63 | | blowup => exact False.elim hQ |
| 64 | | stop => |
| 65 | cases T with |
| 66 | | blowup => exact False.elim hT |
| 67 | | stop => |
| 68 | obtain ⟨hq, hg, hJ, hr⟩ := hQ |
| 69 | obtain ⟨hp, ha, hL, hs⟩ := hT |
| 70 | let : Etale q := hq |
| 71 | let : Etale p := hp |
| 72 | refine ⟨inferInstance, ?_, ?_, ?_⟩ |
| 73 | · rw [Category.assoc, hg, ha] |
| 74 | · rw [Scheme.IdealSheafData.comap_comp, hJ, hL] |
| 75 | · rw [hr, hs] |
| 76 | | blowup I hI hb hp hs hbl tail ih => |
| 77 | intro V W h k L M Q q r hQ Z U a c B C T p s hT |
| 78 | cases Q with |
| 79 | | stop => exact False.elim hQ |
| 80 | | blowup C hC hbC hpC hsC hblC rest => |
| 81 | cases T with |
| 82 | | stop => exact False.elim hT |
| 83 | | blowup E hE hbE hpE hsE hblE last => |
| 84 | obtain ⟨hq, hg, hJ, he, ht⟩ := hQ |
| 85 | obtain ⟨hp, ha, hL, he', ht'⟩ := hT |
| 86 | let : Etale q := hq |
| 87 | let : Etale p := hp |
| 88 | have he'' : I.comap (p ≫ q) = E := by |
| 89 | rw [Scheme.IdealSheafData.comap_comp, he, he'] |
| 90 | refine ⟨inferInstance, ?_, ?_, he'', ?_⟩ |
| 91 | · rw [Category.assoc, hg, ha] |
| 92 | · rw [Scheme.IdealSheafData.comap_comp, hJ, hL] |
| 93 | · have ht'' := ih rest _ r ht last _ s ht' |
| 94 | rw [GlobalBlowup.MapComposition.Construction.globalBlowupMapTo_comp q p I C E he he' he'' hI hC hE] at ht'' |
| 95 | exact ht'' |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Resolution.Blowups |