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.Relative.PointedLifts |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PointedLift |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IsogenyFactorizationIs |
| 4 | |
| 5 | /-! # Fpqc Pointed Lifts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.FpqcPointedLifts.PointedLiftParameters |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Effective descent of a specified pointed unramified lift through an |
| 12 | fpqc base cover. Relative uniqueness proves the overlap equation, and the |
| 13 | actual morphism descends as a coequalizer. No Hom representation is supplied. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {S : Scheme} (X Y Z : Over S) (q : Y ⟶ Z) (b : X ⟶ Z) |
| 18 | (x₀ : ⊤_ (Over S) ⟶ X) (y₀ : ⊤_ (Over S) ⟶ Y) |
| 19 | [GeometricallyConnected X.hom] [FormallyUnramified q.left] |
| 20 | [LocallyOfFiniteType q.left] [IsSeparated q.left] |
| 21 | |
| 22 | theorem unique_on_geometric_source {T : Over S} (f g : T ⨯ X ⟶ Y) |
| 23 | (hf : PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ f) (hg : PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ g) : f = g := by |
| 24 | have hp : GeometricallyConnected (prod.fst : T ⨯ X ⟶ T).left := by |
| 25 | exact MorphismProperty.of_isPullback (P := @GeometricallyConnected) |
| 26 | (Over.isPullback_of_binaryFan_isLimit _ (prodIsProd T X)).flip |
| 27 | (inferInstanceAs (GeometricallyConnected X.hom)) |
| 28 | have hs : (PointedLift.PointedLiftParameters.sectionAt X x₀ T).left ≫ (prod.fst : T ⨯ X ⟶ T).left = 𝟙 T.left := |
| 29 | congrArg Over.Hom.left (prod.lift_fst _ _) |
| 30 | apply Over.OverMorphism.ext |
| 31 | exact Relative.PointedLifts.relative_pointed_unramified_lifts_unique (prod.fst : T ⨯ X ⟶ T).left |
| 32 | (PointedLift.PointedLiftParameters.sectionAt X x₀ T).left hs q.left f.left g.left |
| 33 | (congrArg Over.Hom.left (hf.1.trans hg.1.symm)) |
| 34 | (congrArg Over.Hom.left (hf.2.trans hg.2.symm)) |
| 35 | |
| 36 | /-- Relative uniqueness supplies the descent datum of the specified lift. |
| 37 | The descended map and both pointed-lift equations are constructed over S. -/ |
| 38 | theorem fpqc_pointed_lift_descends |
| 39 | (T : Over S) [Flat T.hom] [Surjective T.hom] [QuasiCompact T.hom] |
| 40 | (f : T ⨯ X ⟶ Y) (hf : PointedLift.PointedLiftParameters.IsPointedLift X Y Z q b x₀ y₀ f) : |
| 41 | ∃! r : X ⟶ Y, r ≫ q = b ∧ x₀ ≫ r = y₀ ∧ prod.snd ≫ r = f := by |
| 42 | let π : T ⨯ X ⟶ X := prod.snd |
| 43 | have : Flat π.left := by rw [← Over.prodLeftIsoPullback_hom_snd]; infer_instance |
| 44 | have : Surjective π.left := by rw [← Over.prodLeftIsoPullback_hom_snd]; infer_instance |
| 45 | have : QuasiCompact π.left := by rw [← Over.prodLeftIsoPullback_hom_snd]; infer_instance |
| 46 | have : EffectiveEpi π := IsogenyFactorizationIs.IsogenyFactorization.effectiveEpi_over_of_fpqc π |
| 47 | have hdouble : prod.map (prod.fst : T ⨯ T ⟶ T) (𝟙 X) ≫ f = |
| 48 | prod.map (prod.snd : T ⨯ T ⟶ T) (𝟙 X) ≫ f := |
| 49 | unique_on_geometric_source X Y Z q b x₀ y₀ _ _ |
| 50 | (PointedLift.PointedLiftParameters.isPointedLift_restrict X Y Z q b x₀ y₀ prod.fst f hf) |
| 51 | (PointedLift.PointedLiftParameters.isPointedLift_restrict X Y Z q b x₀ y₀ prod.snd f hf) |
| 52 | have hcoeq : ∀ {W : Over S} (a c : W ⟶ T ⨯ X), a ≫ π = c ≫ π → a ≫ f = c ≫ f := by |
| 53 | intro W a c hac |
| 54 | let l : W ⟶ (T ⨯ T) ⨯ X := |
| 55 | prod.lift (prod.lift (a ≫ prod.fst) (c ≫ prod.fst)) (a ≫ prod.snd) |
| 56 | have hl₁ : l ≫ prod.map (prod.fst : T ⨯ T ⟶ T) (𝟙 X) = a := by |
| 57 | apply prod.hom_ext <;> simp only [l, Category.assoc, prod.map_fst, prod.map_snd, |
| 58 | prod.lift_fst_assoc, prod.lift_fst, prod.lift_snd, Category.comp_id] |
| 59 | have hl₂ : l ≫ prod.map (prod.snd : T ⨯ T ⟶ T) (𝟙 X) = c := by |
| 60 | apply prod.hom_ext |
| 61 | · simp only [l, Category.assoc, prod.map_fst, prod.lift_fst_assoc, prod.lift_snd] |
| 62 | · simpa only [l, Category.assoc, prod.map_snd, Category.comp_id, prod.lift_snd] using hac |
| 63 | have h := congrArg (fun m => l ≫ m) hdouble |
| 64 | rw [← Category.assoc, hl₁, ← Category.assoc, hl₂] at h |
| 65 | exact h |
| 66 | let r := EffectiveEpi.desc π f hcoeq |
| 67 | have hr : π ≫ r = f := EffectiveEpi.fac _ _ _ |
| 68 | have hq : r ≫ q = b := by |
| 69 | apply (cancel_epi π).mp |
| 70 | rw [← Category.assoc, hr] |
| 71 | exact hf.1 |
| 72 | let t : T ⟶ ⊤_ (Over S) := terminal.from T |
| 73 | let e : ⊤_ (Over S) ≅ Over.mk (𝟙 S) := terminalIsoIsTerminal Over.mkIdTerminal |
| 74 | have : IsIso e.hom.left := ((Over.forget S).mapIso e).isIso_hom |
| 75 | have ht : t.left ≫ e.hom.left = T.hom := by |
| 76 | simpa only [Over.comp_left, Over.mk_left, Over.mk_hom, Category.comp_id] using |
| 77 | (Over.w (t ≫ e.hom)) |
| 78 | have : IsIso e.inv.left := ((Over.forget S).mapIso e).isIso_inv |
| 79 | have ht' : t.left = T.hom ≫ e.inv.left := by |
| 80 | rw [← ht, Category.assoc, ← Over.comp_left, e.hom_inv_id, Over.id_left, |
| 81 | Category.comp_id] |
| 82 | have : Flat t.left := by rw [ht']; infer_instance |
| 83 | have : Surjective t.left := by rw [ht']; infer_instance |
| 84 | have : QuasiCompact t.left := by rw [ht']; infer_instance |
| 85 | have : EffectiveEpi t := IsogenyFactorizationIs.IsogenyFactorization.effectiveEpi_over_of_fpqc t |
| 86 | have hp : x₀ ≫ r = y₀ := by |
| 87 | apply (cancel_epi t).mp |
| 88 | calc |
| 89 | t ≫ (x₀ ≫ r) = (PointedLift.PointedLiftParameters.sectionAt X x₀ T ≫ π) ≫ r := by |
| 90 | rw [PointedLift.PointedLiftParameters.sectionAt, prod.lift_snd, Category.assoc] |
| 91 | _ = PointedLift.PointedLiftParameters.sectionAt X x₀ T ≫ f := by rw [Category.assoc, hr] |
| 92 | _ = t ≫ y₀ := hf.2 |
| 93 | exact ⟨r, ⟨hq, hp, hr⟩, fun a ha => (cancel_epi π).mp (ha.2.2.trans hr.symm)⟩ |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.FpqcPointedLifts.PointedLiftParameters |