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.Isogenies.NeighborCounting.SpecialKernelPresentations |
| 2 | |
| 3 | /-! # Factor Squares -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.Isogenies.NeighborCounting |
| 10 | |
| 11 | /-! Equality and actual carrier isomorphisms of subgroup presentations |
| 12 | preserve their factorization criterion on every test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem Kernel.FactorSquares.factor_iff_of_carrier_iso {C : Type*} [Category C] {H H' A T : C} |
| 17 | (e : H ≅ H') (i : H ⟶ A) (j : H' ⟶ A) (h : e.hom ≫ j = i) (a : T ⟶ A) : |
| 18 | (∃ z : T ⟶ H, z ≫ i = a) ↔ ∃ z : T ⟶ H', z ≫ j = a := by |
| 19 | constructor |
| 20 | · rintro ⟨z, hz⟩ |
| 21 | exact ⟨z ≫ e.hom, (Category.assoc z e.hom j).trans |
| 22 | ((congrArg (fun f => z ≫ f) h).trans hz)⟩ |
| 23 | · rintro ⟨z, hz⟩ |
| 24 | have hi : e.inv ≫ i = j := |
| 25 | (congrArg (fun f => e.inv ≫ f) h.symm).trans (e.inv_hom_id_assoc j) |
| 26 | exact ⟨z ≫ e.inv, (Category.assoc z e.inv i).trans |
| 27 | ((congrArg (fun f => z ≫ f) hi).trans hz)⟩ |
| 28 | |
| 29 | theorem Intrinsic.Neighbors.KernelPresentation.factor_iff_of_eq {S : Scheme} {A B : Over S} |
| 30 | (P Q : Intrinsic.Neighbors.KernelPresentation A) (h : P = Q) (i : A ⟶ B) (T : Over S) (a : T ⟶ B) : |
| 31 | (∃ z : T ⟶ P.carrier, z ≫ P.inclusion ≫ i = a) ↔ |
| 32 | ∃ z : T ⟶ Q.carrier, z ≫ Q.inclusion ≫ i = a := |
| 33 | Iff.of_eq (congrArg (fun K : Intrinsic.Neighbors.KernelPresentation A => |
| 34 | ∃ z : T ⟶ K.carrier, z ≫ K.inclusion ≫ i = a) h) |
| 35 | |
| 36 | theorem Intrinsic.Neighbors.KernelPresentation.factor_pullback_comp {S T : Scheme} {A B : Over S} |
| 37 | (P : Intrinsic.Neighbors.KernelPresentation A) (b : T ⟶ S) (i : A ⟶ B) (U : Over T) |
| 38 | (a : U ⟶ (Over.pullback b).obj B) : |
| 39 | (∃ z : U ⟶ (Over.pullback b).obj P.carrier, |
| 40 | z ≫ (Over.pullback b).map (P.inclusion ≫ i) = a) ↔ |
| 41 | ∃ z : U ⟶ (P.pullback b).carrier, |
| 42 | z ≫ (P.pullback b).inclusion ≫ (Over.pullback b).map i = a := by |
| 43 | change (∃ z : U ⟶ (Over.pullback b).obj P.carrier, |
| 44 | z ≫ (Over.pullback b).map (P.inclusion ≫ i) = a) ↔ |
| 45 | ∃ z : U ⟶ (Over.pullback b).obj P.carrier, |
| 46 | z ≫ (Over.pullback b).map P.inclusion ≫ (Over.pullback b).map i = a |
| 47 | rw [(Over.pullback b).map_comp] |
| 48 | |
| 49 | end AlgebraicGeometry.Isogenies.NeighborCounting |
| 50 | |
| 51 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.FactorSquares |
| 52 | |
| 53 | /-! An actual carrier comparison and an ambient inclusion comparison |
| 54 | give the same all-test factorization criterion in the final source. -/ |
| 55 | |
| 56 | open _root_.CategoryTheory |
| 57 | |
| 58 | theorem factor_iff_of_two_squares {C : Type*} [Category C] {H H' A B D T : C} |
| 59 | (e : H ≅ H') (i : H ⟶ A) (j : H' ⟶ B) (a : A ⟶ B) |
| 60 | (b : B ⟶ D) (c : A ⟶ D) |
| 61 | (h : e.hom ≫ j = i ≫ a) (ha : a ≫ b = c) (x : T ⟶ D) : |
| 62 | (∃ z : T ⟶ H, z ≫ i ≫ c = x) ↔ ∃ z : T ⟶ H', z ≫ j ≫ b = x := by |
| 63 | have hs : e.hom ≫ (j ≫ b) = i ≫ c := |
| 64 | (Category.assoc e.hom j b).symm.trans |
| 65 | ((congrArg (fun f => f ≫ b) h).trans |
| 66 | ((Category.assoc i a b).trans (congrArg (fun f => i ≫ f) ha))) |
| 67 | exact factor_iff_of_carrier_iso e (i ≫ c) (j ≫ b) hs x |
| 68 | |
| 69 | end AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.FactorSquares |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI |