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.Relative.SourceIsomorphismTransport |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.IteratedPullbackIsomorphism |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.FlatDescent |
| 4 | |
| 5 | /-! # Isomorphism Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.IsomorphismDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Stability and faithfully flat descent of the actual relative |
| 12 | base-change isomorphism condition. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {X Y B B' T : Scheme.{u}} |
| 18 | |
| 19 | theorem relativeMorphismBaseChange_isIso_comp_iff |
| 20 | (f : X ⟶ Y) (q : Y ⟶ B) (b : B' ⟶ B) (c : T ⟶ B') : |
| 21 | IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q (c ≫ b)) ↔ |
| 22 | IsIso (pullback.fst (pullback.fst (pullback.snd q b) c) |
| 23 | (pullback.fst (pullback.fst q b) f)) := by |
| 24 | rw [MorphismIsomorphismLocus.relativeMorphismBaseChange_isIso_iff, SourceIsomorphismTransport.isIso_pullback_snd_iff_fst, |
| 25 | IteratedPullbackIsomorphism.isIso_pullback_fst_iterated_iff] |
| 26 | have he := pullbackLeftPullbackSndIso_hom_fst q b c |
| 27 | rw [← he, OpenPullbackIsomorphismTransport.isIso_pullback_fst_comp_left_iff] |
| 28 | |
| 29 | theorem relativeMorphismBaseChange_isIso_comp |
| 30 | (f : X ⟶ Y) (q : Y ⟶ B) (b : B' ⟶ B) (c : T ⟶ B') |
| 31 | (h : IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q b)) : |
| 32 | IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q (c ≫ b)) := by |
| 33 | have hi : IsIso (pullback.fst (pullback.fst q b) f) := by |
| 34 | rw [← SourceIsomorphismTransport.isIso_pullback_snd_iff_fst, ← MorphismIsomorphismLocus.relativeMorphismBaseChange_isIso_iff] |
| 35 | exact h |
| 36 | rw [relativeMorphismBaseChange_isIso_comp_iff] |
| 37 | infer_instance |
| 38 | |
| 39 | theorem relativeMorphismBaseChange_isIso_of_faithfullyFlat |
| 40 | (f : X ⟶ Y) (q : Y ⟶ B) (b : B' ⟶ B) (c : T ⟶ B') |
| 41 | [Surjective c] [Flat c] [QuasiCompact c] |
| 42 | (h : IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q (c ≫ b))) : |
| 43 | IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q b) := by |
| 44 | rw [MorphismIsomorphismLocus.relativeMorphismBaseChange_isIso_iff, SourceIsomorphismTransport.isIso_pullback_snd_iff_fst] |
| 45 | have hi := (relativeMorphismBaseChange_isIso_comp_iff f q b c).mp h |
| 46 | exact MorphismProperty.of_pullback_fst_of_descendsAlong |
| 47 | (P := MorphismProperty.isomorphisms Scheme) |
| 48 | (Q := @Surjective ⊓ @Flat ⊓ @QuasiCompact) |
| 49 | (f := pullback.fst (pullback.snd q b) c) |
| 50 | ⟨⟨inferInstance, inferInstance⟩, inferInstance⟩ hi |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.IsomorphismDescent |