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.Normalized.OverlapFunctor |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.UnitOpen |
| 3 | |
| 4 | /-! # Overlap -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.Overlap.Grassmannian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Grassmannian chart overlaps as actual principal-open schemes, and the |
| 12 | scheme isomorphisms induced by their natural matrix coordinate changes. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {ι ν : Type u} [Fintype ι] [DecidableEq ι] |
| 20 | variable (a b : ι → ν) (S : Scheme.{u}) |
| 21 | |
| 22 | def normalizedPivotSection : Γ((Chart.Grassmannian.normalizedChart a S).left, ⊤) := |
| 23 | (Matrices.Grassmannian.selectedColumns b (Chart.Grassmannian.universalNormalizedMatrix a S)).det |
| 24 | |
| 25 | theorem normalizedPivotSection_unit_iff {T : Over S} (f : T ⟶ Chart.Grassmannian.normalizedChart a S) : |
| 26 | IsUnit (f.left.appTop (normalizedPivotSection a b S)) ↔ |
| 27 | IsUnit (Matrices.Grassmannian.selectedColumns b |
| 28 | ((Chart.Grassmannian.normalizedChartRepresentation a S).hom.app (.op T) f).val).det := by |
| 29 | rw [Chart.Grassmannian.normalizedChartRepresentation_apply, Matrices.Grassmannian.selectedColumns_map] |
| 30 | exact (congrArg IsUnit (f.left.appTop.hom.map_det |
| 31 | (Matrices.Grassmannian.selectedColumns b (Chart.Grassmannian.universalNormalizedMatrix a S)))).to_iff |
| 32 | |
| 33 | def normalizedChartOverlap : Over S := |
| 34 | Relative.UnitOpen.relativeUnitOpen (Chart.Grassmannian.normalizedChart a S) (normalizedPivotSection a b S) |
| 35 | |
| 36 | def normalizedOverlapInclusion : normalizedChartOverlap a b S ⟶ Chart.Grassmannian.normalizedChart a S := |
| 37 | Relative.UnitOpen.relativeUnitOpenInclusion (Chart.Grassmannian.normalizedChart a S) (normalizedPivotSection a b S) |
| 38 | |
| 39 | instance normalizedOverlapInclusion_isOpenImmersion : |
| 40 | IsOpenImmersion (normalizedOverlapInclusion a b S).left := |
| 41 | inferInstanceAs (IsOpenImmersion |
| 42 | (Relative.UnitOpen.relativeUnitOpenInclusion (Chart.Grassmannian.normalizedChart a S) (normalizedPivotSection a b S)).left) |
| 43 | |
| 44 | def normalizedOverlapSchemePointEquiv (T : Over S) : |
| 45 | (T ⟶ normalizedChartOverlap a b S) ≃ |
| 46 | (OverlapFunctor.Grassmannian.normalizedOverlapSubfunctor a b S).obj (.op T) := by |
| 47 | let e : (T ⟶ Chart.Grassmannian.normalizedChart a S) ≃ |
| 48 | {Q : Matrix ι ν Γ(T.left, ⊤) // Matrices.Grassmannian.IsNormalized a Q} := |
| 49 | ((Chart.Grassmannian.normalizedChartRepresentation a S).app (.op T)).toEquiv |
| 50 | exact (Relative.UnitOpen.relativeUnitOpenPointEquiv (Chart.Grassmannian.normalizedChart a S) (normalizedPivotSection a b S) T).trans |
| 51 | ((e.subtypeEquiv |
| 52 | (p := fun f : T ⟶ Chart.Grassmannian.normalizedChart a S => IsUnit (f.left.appTop (normalizedPivotSection a b S))) |
| 53 | (q := fun Q : {Q : Matrix ι ν Γ(T.left, ⊤) // Matrices.Grassmannian.IsNormalized a Q} => |
| 54 | IsUnit (Matrices.Grassmannian.selectedColumns b Q.val).det) |
| 55 | (fun f => normalizedPivotSection_unit_iff a b S f)).trans |
| 56 | (Equiv.subtypeSubtypeEquivSubtypeInter (Matrices.Grassmannian.IsNormalized a) |
| 57 | (fun Q : Matrix ι ν Γ(T.left, ⊤) => IsUnit (Matrices.Grassmannian.selectedColumns b Q).det))) |
| 58 | |
| 59 | theorem normalizedOverlapSchemePointEquiv_val {T : Over S} |
| 60 | (f : T ⟶ normalizedChartOverlap a b S) : |
| 61 | (normalizedOverlapSchemePointEquiv a b S T f).val = |
| 62 | ((Chart.Grassmannian.normalizedChartRepresentation a S).hom.app (.op T) |
| 63 | (f ≫ normalizedOverlapInclusion a b S)).val := rfl |
| 64 | |
| 65 | def normalizedOverlapRepresentation : |
| 66 | yoneda.obj (normalizedChartOverlap a b S) ≅ |
| 67 | (OverlapFunctor.Grassmannian.normalizedOverlapSubfunctor a b S).toFunctor := |
| 68 | NatIso.ofComponents (fun T => (normalizedOverlapSchemePointEquiv a b S T.unop).toIso) (by |
| 69 | intro T U f |
| 70 | apply ConcreteCategory.hom_ext |
| 71 | intro g |
| 72 | apply Subtype.ext |
| 73 | change (normalizedOverlapSchemePointEquiv a b S U.unop (f.unop ≫ g)).val = |
| 74 | (normalizedOverlapSchemePointEquiv a b S T.unop g).val.map f.unop.left.appTop.hom |
| 75 | rw [normalizedOverlapSchemePointEquiv_val, normalizedOverlapSchemePointEquiv_val, |
| 76 | Chart.Grassmannian.normalizedChartRepresentation_apply, Chart.Grassmannian.normalizedChartRepresentation_apply] |
| 77 | rfl) |
| 78 | |
| 79 | theorem normalizedOverlapRepresentation_inclusion : |
| 80 | (normalizedOverlapRepresentation a b S).hom ≫ OverlapFunctor.Grassmannian.normalizedOverlapForget a b S = |
| 81 | yoneda.map (normalizedOverlapInclusion a b S) ≫ |
| 82 | (Chart.Grassmannian.normalizedChartRepresentation a S).hom := rfl |
| 83 | |
| 84 | def normalizedOverlapTransition : normalizedChartOverlap a b S ≅ normalizedChartOverlap b a S := |
| 85 | yoneda.preimageIso (normalizedOverlapRepresentation a b S ≪≫ OverlapFunctor.Grassmannian.normalizedOverlapSwap a b S ≪≫ |
| 86 | (normalizedOverlapRepresentation b a S).symm) |
| 87 | |
| 88 | theorem normalizedOverlapTransition_representation : |
| 89 | yoneda.map (normalizedOverlapTransition a b S).hom ≫ |
| 90 | (normalizedOverlapRepresentation b a S).hom = |
| 91 | (normalizedOverlapRepresentation a b S).hom ≫ (OverlapFunctor.Grassmannian.normalizedOverlapSwap a b S).hom := by |
| 92 | simp [normalizedOverlapTransition] |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.Overlap.Grassmannian |