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.OrdinaryLocus.Openness.ExtOneLifting |
| 2 | import Mathlib.CategoryTheory.Abelian.Basic |
| 3 | |
| 4 | /-! # Short Exact Pullback -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ShortExactPullback.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pulling back an extension along a morphism to its quotient object. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open _root_.CategoryTheory.Abelian |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | (S : ShortComplex C) {P : C} (q : P ⟶ S.X₃) |
| 19 | |
| 20 | abbrev pullbackShortComplex : ShortComplex C := |
| 21 | ShortComplex.mk (pullback.lift (f := S.g) (g := q) S.f (0 : S.X₁ ⟶ P) (by simp)) |
| 22 | (pullback.snd S.g q) (pullback.lift_snd _ _ _) |
| 23 | |
| 24 | def pullbackShortComplexMap : pullbackShortComplex S q ⟶ S where |
| 25 | τ₁ := 𝟙 _ |
| 26 | τ₂ := pullback.fst S.g q |
| 27 | τ₃ := q |
| 28 | comm₁₂ := by simp only [Category.id_comp, pullback.lift_fst] |
| 29 | comm₂₃ := pullback.condition |
| 30 | |
| 31 | theorem pullbackShortComplex_shortExact (hS : S.ShortExact) : |
| 32 | (pullbackShortComplex S q).ShortExact := by |
| 33 | have hmf : Mono S.f := hS.mono_f |
| 34 | have heg : Epi S.g := hS.epi_g |
| 35 | have hmono : Mono (pullbackShortComplex S q).f := |
| 36 | mono_of_mono_fac (show (pullbackShortComplex S q).f ≫ pullback.fst S.g q = S.f by |
| 37 | exact pullback.lift_fst _ _ _) |
| 38 | have hker : IsLimit (KernelFork.ofι (pullbackShortComplex S q).f |
| 39 | (pullbackShortComplex S q).zero) := by |
| 40 | apply KernelFork.IsLimit.ofι' |
| 41 | intro A a ha |
| 42 | have hz : (a ≫ pullback.fst S.g q) ≫ S.g = 0 := by |
| 43 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 44 | change (a ≫ (pullbackShortComplex S q).g) ≫ q = 0 |
| 45 | rw [ha, zero_comp] |
| 46 | refine ⟨hS.exact.lift (a ≫ pullback.fst S.g q) hz, ?_⟩ |
| 47 | apply pullback.hom_ext |
| 48 | · change (_ ≫ pullback.lift S.f (0 : S.X₁ ⟶ P) _) ≫ pullback.fst S.g q = _ |
| 49 | rw [Category.assoc, pullback.lift_fst] |
| 50 | exact hS.exact.lift_f _ hz |
| 51 | · change (_ ≫ pullback.lift S.f (0 : S.X₁ ⟶ P) _) ≫ pullback.snd S.g q = _ |
| 52 | rw [Category.assoc, pullback.lift_snd, comp_zero] |
| 53 | exact ha.symm |
| 54 | exact { exact := ShortComplex.exact_of_f_is_kernel _ hker } |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ShortExactPullback.Construction |