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.NumberTheory.PadicHodge.IntegralComparison.Etale.LiftOverlap |
| 2 | |
| 3 | /-! # Lift Cocycle -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Triple-overlap compatibility for the uniquely lifted etale |
| 10 | transition maps. -/ |
| 11 | set_option backward.defeqAttrib.useBackward true |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | variable {X₀ X Y₀ : Scheme.{u}} {i : X₀ ⟶ X} {f₀ : Y₀ ⟶ X₀} |
| 17 | (A B C : LiftOverlap.Chart i f₀) |
| 18 | |
| 19 | def LiftOverlap.Chart.residueAlong {Z Z₀ : Scheme.{u}} (j : Z₀ ⟶ Z) |
| 20 | (u : Z ⟶ (A.overlap B).toScheme) (v : Z₀ ⟶ A.reduced) |
| 21 | (h : j ≫ u ≫ (A.overlap B).ι = v ≫ A.reduction) : Z₀ ⟶ B.reduced := |
| 22 | (isPullback_morphismRestrict A.reduction (A.overlap B)).lift (j ≫ u) v |
| 23 | (by simpa only [Category.assoc] using h) ≫ A.residueMap B |
| 24 | |
| 25 | @[reassoc] theorem LiftOverlap.Chart.residueAlong_source {Z Z₀ : Scheme.{u}} (j : Z₀ ⟶ Z) |
| 26 | (u : Z ⟶ (A.overlap B).toScheme) (v : Z₀ ⟶ A.reduced) |
| 27 | (h : j ≫ u ≫ (A.overlap B).ι = v ≫ A.reduction) : |
| 28 | A.residueAlong B j u v h ≫ B.source = v ≫ A.source := by |
| 29 | rw [LiftOverlap.Chart.residueAlong, Category.assoc, LiftOverlap.Chart.residueMap_source, ← Category.assoc, IsPullback.lift_snd] |
| 30 | |
| 31 | theorem LiftOverlap.Chart.residueAlong_reduction {Z Z₀ : Scheme.{u}} (j : Z₀ ⟶ Z) |
| 32 | (u : Z ⟶ (A.overlap B).toScheme) (v : Z₀ ⟶ A.reduced) |
| 33 | (h : j ≫ u ≫ (A.overlap B).ι = v ≫ A.reduction) : |
| 34 | j ≫ u ≫ A.transition B = A.residueAlong B j u v h ≫ B.reduction := |
| 35 | A.transition_reduction_of B j u v _ h (A.residueAlong_source B j u v h).symm |
| 36 | |
| 37 | theorem LiftOverlap.Chart.composition {Z : Scheme.{u}} |
| 38 | (a : Z ⟶ (A.overlap B).toScheme) (b : Z ⟶ (B.overlap C).toScheme) |
| 39 | (c : Z ⟶ (A.overlap C).toScheme) |
| 40 | [IsOpenImmersion (a ≫ (A.overlap B).ι)] |
| 41 | (hab : a ≫ A.transition B = b ≫ (B.overlap C).ι) |
| 42 | (hac : a ≫ (A.overlap B).ι = c ≫ (A.overlap C).ι) : |
| 43 | b ≫ B.transition C = c ≫ A.transition C := by |
| 44 | let k := a ≫ (A.overlap B).ι |
| 45 | let j := pullback.snd A.reduction k |
| 46 | let v := pullback.fst A.reduction k |
| 47 | have hp : IsPullback j v k A.reduction := (IsPullback.of_hasPullback A.reduction k).flip |
| 48 | have hj : IsNilpotent j.ker := NilpotentOpenRestriction.nilpotent_of_isPullback |
| 49 | A.reduction A.nilpotent j v k hp |
| 50 | have ha : j ≫ a ≫ (A.overlap B).ι = v ≫ A.reduction := hp.w |
| 51 | have hc : j ≫ c ≫ (A.overlap C).ι = v ≫ A.reduction := by rw [← hac]; exact hp.w |
| 52 | let vb := A.residueAlong B j a v ha |
| 53 | let vc := A.residueAlong C j c v hc |
| 54 | have hb : j ≫ b ≫ (B.overlap C).ι = vb ≫ B.reduction := by |
| 55 | rw [← hab] |
| 56 | exact A.residueAlong_reduction B j a v ha |
| 57 | apply FormallyUnramified.hom_ext j hj C.toBase |
| 58 | · exact (B.transition_reduction_of C j b vb vc hb |
| 59 | ((A.residueAlong_source B j a v ha).trans (A.residueAlong_source C j c v hc).symm)).trans |
| 60 | (A.residueAlong_reduction C j c v hc).symm |
| 61 | · rw [Category.assoc, LiftOverlap.Chart.transition_base, ← Category.assoc, ← hab, |
| 62 | Category.assoc, LiftOverlap.Chart.transition_base, ← Category.assoc, hac, |
| 63 | Category.assoc, Category.assoc, LiftOverlap.Chart.transition_base] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale |