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.HilbertScheme.Presentations.SubfunctorRepresentations |
| 2 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Products |
| 3 | |
| 4 | /-! # Locus Intersections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.LocusIntersections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite intersections of already constructed quasi-compact immersion loci |
| 11 | are represented by their actual fiber products. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | variable {S : Scheme.{u}} {M : Over S} |
| 17 | |
| 18 | theorem immersionRepresentable_inf {F G : Subfunctor (yoneda.obj M)} |
| 19 | (hF : SubfunctorRepresentations.ImmersionRepresentable F) (hG : SubfunctorRepresentations.ImmersionRepresentable G) : |
| 20 | SubfunctorRepresentations.ImmersionRepresentable (F ⊓ G) := by |
| 21 | obtain ⟨Z, j, hj, hjc, eF, heF⟩ := hF |
| 22 | obtain ⟨W, k, hk, hkc, eG, heG⟩ := hG |
| 23 | let := hj |
| 24 | let := hjc |
| 25 | let := hk |
| 26 | let := hkc |
| 27 | let V := pullback j k |
| 28 | let a : V ⟶ Z := pullback.fst j k |
| 29 | let b : V ⟶ W := pullback.snd j k |
| 30 | let l : V ⟶ M := a ≫ j |
| 31 | have hp : IsPullback a.left b.left j.left k.left := |
| 32 | (IsPullback.of_hasPullback j k).map (Over.forget S) |
| 33 | have : IsImmersion a.left := MorphismProperty.of_isPullback hp.flip hk |
| 34 | have : QuasiCompact a.left := MorphismProperty.of_isPullback hp.flip hkc |
| 35 | have hl : IsImmersion l.left := inferInstanceAs (IsImmersion (a.left ≫ j.left)) |
| 36 | have hlc : QuasiCompact l.left := inferInstanceAs (QuasiCompact (a.left ≫ j.left)) |
| 37 | let := hl |
| 38 | have : Mono l := Over.mono_of_mono_left l |
| 39 | refine ⟨V, l, hl, hlc, SubfunctorRepresentations.subfunctor_representation_of_lifts (F ⊓ G) l ?_⟩ |
| 40 | intro T x |
| 41 | change (x ∈ F.obj (.op T) ∧ x ∈ G.obj (.op T)) ↔ _ |
| 42 | rw [SubfunctorRepresentations.represented_subfunctor_mem F j eF heF T x, SubfunctorRepresentations.represented_subfunctor_mem G k eG heG T x] |
| 43 | constructor |
| 44 | · rintro ⟨⟨f, hf⟩, ⟨g, hg⟩⟩ |
| 45 | let v : T ⟶ V := pullback.lift f g (hf.trans hg.symm) |
| 46 | refine ⟨v, ?_⟩ |
| 47 | change pullback.lift f g (hf.trans hg.symm) ≫ pullback.fst j k ≫ j = x |
| 48 | rw [pullback.lift_fst_assoc, hf] |
| 49 | · rintro ⟨v, hv⟩ |
| 50 | refine ⟨⟨v ≫ a, (Category.assoc _ _ _).trans hv⟩, ⟨v ≫ b, ?_⟩⟩ |
| 51 | rw [Category.assoc] |
| 52 | change v ≫ (pullback.snd j k ≫ k) = x |
| 53 | rw [← pullback.condition] |
| 54 | exact hv |
| 55 | |
| 56 | theorem immersionRepresentable_top : SubfunctorRepresentations.ImmersionRepresentable (⊤ : Subfunctor (yoneda.obj M)) := by |
| 57 | refine ⟨M, 𝟙 M, ?_, ?_, SubfunctorRepresentations.subfunctor_representation_of_lifts ⊤ (𝟙 M) ?_⟩ |
| 58 | · change IsImmersion (𝟙 M.left) |
| 59 | infer_instance |
| 60 | · change QuasiCompact (𝟙 M.left) |
| 61 | infer_instance |
| 62 | · intro T x |
| 63 | exact ⟨fun _ => ⟨x, Category.comp_id x⟩, fun _ => Set.mem_univ x⟩ |
| 64 | |
| 65 | theorem immersionRepresentable_finset_inf {κ : Type v} (s : Finset κ) |
| 66 | (F : κ → Subfunctor (yoneda.obj M)) (hF : ∀ i ∈ s, SubfunctorRepresentations.ImmersionRepresentable (F i)) : |
| 67 | SubfunctorRepresentations.ImmersionRepresentable (⨅ i ∈ s, F i) := by |
| 68 | classical |
| 69 | induction s using Finset.induction_on with |
| 70 | | empty => simpa using (immersionRepresentable_top (M := M)) |
| 71 | | @insert a s ha ih => |
| 72 | rw [Finset.iInf_insert] |
| 73 | exact immersionRepresentable_inf (hF a (Finset.mem_insert_self a s)) |
| 74 | (ih (fun i hi => hF i (Finset.mem_insert_of_mem hi))) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.LocusIntersections |