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.AbelianScheme.IsogenyQuotient.Picard.BaseCoverInjection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.EffectiveDescent |
| 3 | |
| 4 | /-! # Fpqc Parameter Classification -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.FpqcParameterClassification.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A natural parameter classification that is bijective over a |
| 11 | faithfully flat base cover descends when sections of its target presheaf |
| 12 | are detected on that cover. The parameter morphisms descend effectively. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.EffectiveDescent |
| 17 | |
| 18 | variable {S Y : Scheme.{0}} (p : Y ⟶ S) [Flat p] [Surjective p] [QuasiCompact p] |
| 19 | {E : Over S} {F : (Over S)ᵒᵖ ⥤ Type 1} (i : uliftYoneda.{1}.obj E ⟶ F) |
| 20 | (hi : ∀ T : Over Y, Function.Bijective (i.app (.op ((Over.map p).obj T)))) |
| 21 | |
| 22 | include hi in |
| 23 | omit [QuasiCompact p] in |
| 24 | set_option backward.isDefEq.respectTransparency false in |
| 25 | theorem fpqc_parameterMap_injective (T : Over S) : Function.Injective (i.app (.op T)) := by |
| 26 | intro a b h |
| 27 | let u := (Over.mapPullbackAdj p).counit.app T |
| 28 | have : Epi u.left := Flat.epi_of_flat_of_surjective (pullback.fst T.hom p) |
| 29 | apply ULift.ext |
| 30 | apply Over.OverMorphism.ext |
| 31 | apply (cancel_epi u.left).mp |
| 32 | have he := (hi ((Over.pullback p).obj T)).injective |
| 33 | ((i.naturality_apply u.op a).trans ((congrArg (F.map u.op) h).trans |
| 34 | (i.naturality_apply u.op b).symm)) |
| 35 | exact congrArg (fun z => z.down.left) he |
| 36 | |
| 37 | include hi in |
| 38 | set_option backward.isDefEq.respectTransparency false in |
| 39 | theorem fpqc_parameterMap_bijective |
| 40 | (hF : ∀ T : Over S, Function.Injective ((Picard.BaseCoverInjection.Construction.baseCoverRestrictionMap p F).app (.op T))) |
| 41 | (T : Over S) : Function.Bijective (i.app (.op T)) := by |
| 42 | refine ⟨fpqc_parameterMap_injective p i hi T, ?_⟩ |
| 43 | intro x |
| 44 | let U := (Over.pullback p).obj T |
| 45 | let u := (Over.mapPullbackAdj p).counit.app T |
| 46 | have : Flat u.left := inferInstanceAs (Flat (pullback.fst T.hom p)) |
| 47 | have : Surjective u.left := inferInstanceAs (Surjective (pullback.fst T.hom p)) |
| 48 | have : QuasiCompact u.left := inferInstanceAs (QuasiCompact (pullback.fst T.hom p)) |
| 49 | obtain ⟨a, ha⟩ := (hi U).surjective (F.map u.op x) |
| 50 | have hc {V : Over S} (b c : V ⟶ (Over.map p).obj U) (hbc : b ≫ u = c ≫ u) : |
| 51 | b ≫ a.down = c ≫ a.down := by |
| 52 | have he : (ULift.up (b ≫ a.down) : ULift.{1} (V ⟶ E)) = ULift.up (c ≫ a.down) := by |
| 53 | apply fpqc_parameterMap_injective p i hi V |
| 54 | have hb := i.naturality_apply b.op a |
| 55 | have hd := i.naturality_apply c.op a |
| 56 | rw [ha] at hb hd |
| 57 | have hmap : F.map b.op (F.map u.op x) = F.map c.op (F.map u.op x) := |
| 58 | (ConcreteCategory.congr_hom (F.map_comp u.op b.op) x).symm.trans |
| 59 | ((congrArg (fun v : V ⟶ T => F.map v.op x) hbc).trans |
| 60 | (ConcreteCategory.congr_hom (F.map_comp u.op c.op) x)) |
| 61 | exact hb.trans (hmap.trans hd.symm) |
| 62 | exact congrArg ULift.down he |
| 63 | obtain ⟨d, hd, _⟩ := AbelianModuli.HilbertConstruction.Over.EffectiveDescent.over_existsUnique_factor_of_effectiveEpi u a.down hc |
| 64 | refine ⟨ULift.up d, ?_⟩ |
| 65 | apply hF T |
| 66 | have hn := i.naturality_apply u.op (show (uliftYoneda.{1}.obj E).obj (.op T) from ULift.up d) |
| 67 | have he : (uliftYoneda.{1}.obj E).map u.op (ULift.up d) = a := by |
| 68 | apply ULift.ext |
| 69 | exact hd |
| 70 | exact hn.symm.trans ((congrArg (i.app (.op ((Over.map p).obj U))) he).trans ha) |
| 71 | |
| 72 | include hi in |
| 73 | theorem fpqc_parameterMap_isIso |
| 74 | (hF : ∀ T : Over S, Function.Injective ((Picard.BaseCoverInjection.Construction.baseCoverRestrictionMap p F).app (.op T))) : |
| 75 | IsIso i := by |
| 76 | have (T : (Over S)ᵒᵖ) : IsIso (i.app T) := |
| 77 | (CategoryTheory.isIso_iff_bijective _).mpr (fpqc_parameterMap_bijective p i hi hF T.unop) |
| 78 | exact NatIso.isIso_of_isIso_app i |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.FpqcParameterClassification.Construction |