module stringlengths 17 90 | startPos dict | endPos dict | nextStartPos dict | goals listlengths 0 96 | goalsAfter listlengths 0 96 | ppTac stringlengths 1 12.3k | elaborator stringclasses 379
values | kind stringclasses 383
values |
|---|---|---|---|---|---|---|---|---|
Mathlib.CategoryTheory.Join.Pseudofunctor | {
"line": 100,
"column": 33
} | {
"line": 100,
"column": 51
} | {
"line": 102,
"column": 0
} | [
{
"pp": "case h₂\nA : Type u_1\nB : Type u_2\nC : Type u_3\nD : Type u_4\ninst✝³ : Category.{v_1, u_1} A\ninst✝² : Category.{v_2, u_2} B\ninst✝¹ : Category.{v_3, u_3} C\ninst✝ : Category.{v_4, u_4} D\nF G : A ⥤ B\nη : F ⟶ G\nH : B ⥤ C\nx✝ : D\n⊢ ((inclRight A D).whiskerLeft (mapWhiskerRight (whiskerRight η H) (... | [] | simp [mapCompLeft] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Join.Pseudofunctor | {
"line": 121,
"column": 33
} | {
"line": 121,
"column": 51
} | {
"line": 123,
"column": 0
} | [
{
"pp": "case h₁\nA : Type u_1\nB : Type u_2\nC : Type u_3\nD : Type u_4\ninst✝⁴ : Category.{v_1, u_1} A\ninst✝³ : Category.{v_2, u_2} B\ninst✝² : Category.{v_3, u_3} C\ninst✝¹ : Category.{v_4, u_4} D\nE : Type u_5\ninst✝ : Category.{v_5, u_5} E\nF : A ⥤ B\nG : B ⥤ C\nH : C ⥤ D\nx✝ : A\n⊢ ((inclLeft A E).whiske... | [] | simp [mapCompLeft] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Join.Pseudofunctor | {
"line": 121,
"column": 33
} | {
"line": 121,
"column": 51
} | {
"line": 123,
"column": 0
} | [
{
"pp": "case h₂\nA : Type u_1\nB : Type u_2\nC : Type u_3\nD : Type u_4\ninst✝⁴ : Category.{v_1, u_1} A\ninst✝³ : Category.{v_2, u_2} B\ninst✝² : Category.{v_3, u_3} C\ninst✝¹ : Category.{v_4, u_4} D\nE : Type u_5\ninst✝ : Category.{v_5, u_5} E\nF : A ⥤ B\nG : B ⥤ C\nH : C ⥤ D\nx✝ : E\n⊢ ((inclRight A E).whisk... | [] | simp [mapCompLeft] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Join.Pseudofunctor | {
"line": 137,
"column": 33
} | {
"line": 137,
"column": 51
} | {
"line": 139,
"column": 0
} | [
{
"pp": "case h₁\nA : Type u_1\nB : Type u_2\nC : Type u_3\ninst✝² : Category.{v_1, u_1} A\ninst✝¹ : Category.{v_2, u_2} B\ninst✝ : Category.{v_3, u_3} C\nF : A ⥤ B\nx✝ : A\n⊢ ((inclLeft A C).whiskerLeft (mapWhiskerRight F.leftUnitor.hom (𝟭 C))).app x✝ =\n ((inclLeft A C).whiskerLeft\n ((mapCompLef... | [] | simp [mapCompLeft] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Join.Pseudofunctor | {
"line": 137,
"column": 33
} | {
"line": 137,
"column": 51
} | {
"line": 139,
"column": 0
} | [
{
"pp": "case h₂\nA : Type u_1\nB : Type u_2\nC : Type u_3\ninst✝² : Category.{v_1, u_1} A\ninst✝¹ : Category.{v_2, u_2} B\ninst✝ : Category.{v_3, u_3} C\nF : A ⥤ B\nx✝ : C\n⊢ ((inclRight A C).whiskerLeft (mapWhiskerRight F.leftUnitor.hom (𝟭 C))).app x✝ =\n ((inclRight A C).whiskerLeft\n ((mapCompL... | [] | simp [mapCompLeft] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Join.Pseudofunctor | {
"line": 153,
"column": 33
} | {
"line": 153,
"column": 51
} | {
"line": 155,
"column": 0
} | [
{
"pp": "case h₁\nA : Type u_1\nB : Type u_2\nC : Type u_3\ninst✝² : Category.{v_1, u_1} A\ninst✝¹ : Category.{v_2, u_2} B\ninst✝ : Category.{v_3, u_3} C\nF : A ⥤ B\nx✝ : A\n⊢ ((inclLeft A C).whiskerLeft (mapWhiskerRight F.rightUnitor.hom (𝟭 C))).app x✝ =\n ((inclLeft A C).whiskerLeft\n ((mapCompLe... | [] | simp [mapCompLeft] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Join.Pseudofunctor | {
"line": 153,
"column": 33
} | {
"line": 153,
"column": 51
} | {
"line": 155,
"column": 0
} | [
{
"pp": "case h₂\nA : Type u_1\nB : Type u_2\nC : Type u_3\ninst✝² : Category.{v_1, u_1} A\ninst✝¹ : Category.{v_2, u_2} B\ninst✝ : Category.{v_3, u_3} C\nF : A ⥤ B\nx✝ : C\n⊢ ((inclRight A C).whiskerLeft (mapWhiskerRight F.rightUnitor.hom (𝟭 C))).app x✝ =\n ((inclRight A C).whiskerLeft\n ((mapComp... | [] | simp [mapCompLeft] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Limits.FormalCoproducts.Cech | {
"line": 64,
"column": 18
} | {
"line": 78,
"column": 24
} | {
"line": 78,
"column": 24
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nU : FormalCoproduct C\nα : Type\ninst✝ : HasProductsOfShape α C\ns : Fan fun x ↦ U\nm : s.pt ⟶ (U.powerFan α).pt\nhm : ∀ (j : α), m ≫ (U.powerFan α).proj j = s.proj j\n⊢ m = { f := fun i a ↦ (s.proj a).f i, φ := fun i ↦ Pi.lift fun a ↦ (s.proj a).φ i }",
"ppT... | [] | by
obtain ⟨f, φ⟩ := m
obtain rfl : f = fun i a ↦ (s.proj a).f i := by
ext i
dsimp
ext a
congrm $(hm a).f i
ext i
· rfl
· dsimp
ext a
specialize hm a
rw [hom_ext_iff] at hm
obtain ⟨_, hm⟩ := hm
simpa using hm i | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Shapes.SequentialProduct | {
"line": 62,
"column": 2
} | {
"line": 65,
"column": 15
} | {
"line": 67,
"column": 0
} | [
{
"pp": "C : Type u_1\nM N : ℕ → C\ninst✝¹ : Category.{v_1, u_1} C\nf : (n : ℕ) → M n ⟶ N n\ninst✝ : HasCountableProducts C\n⊢ (n : ℕ) → functorObj M N (n + 1) ⟶ functorObj M N n",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.SequentialProduct.functorMap._proo... | [] | intro n
refine Limits.Pi.map fun m ↦ if h : m < n then eqToHom ?_ else
if h' : m < n + 1 then eqToHom ?_ ≫ f m ≫ eqToHom ?_ else eqToHom ?_
all_goals lia | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Shapes.SequentialProduct | {
"line": 62,
"column": 2
} | {
"line": 65,
"column": 15
} | {
"line": 67,
"column": 0
} | [
{
"pp": "C : Type u_1\nM N : ℕ → C\ninst✝¹ : Category.{v_1, u_1} C\nf : (n : ℕ) → M n ⟶ N n\ninst✝ : HasCountableProducts C\n⊢ (n : ℕ) → functorObj M N (n + 1) ⟶ functorObj M N n",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.SequentialProduct.functorMap._proo... | [] | intro n
refine Limits.Pi.map fun m ↦ if h : m < n then eqToHom ?_ else
if h' : m < n + 1 then eqToHom ?_ ≫ f m ≫ eqToHom ?_ else eqToHom ?_
all_goals lia | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Localization.Pi | {
"line": 39,
"column": 4
} | {
"line": 39,
"column": 33
} | {
"line": 40,
"column": 4
} | [
{
"pp": "case of_equiv\nJ₁ J₂ : Type w\ne : J₁ ≃ J₂\nhJ₁ :\n ∀ {C : J₁ → Type u₁} {D : J₁ → Type u₂} [inst : (j : J₁) → Category.{v₁, u₁} (C j)]\n [inst_1 : (j : J₁) → Category.{v₂, u₂} (D j)] (L : (j : J₁) → C j ⥤ D j) (W : (j : J₁) → MorphismProperty (C j))\n [∀ (j : J₁), (W j).ContainsIdentities] [∀ (... | [
"case of_equiv\nJ₁ J₂ : Type w\ne : J₁ ≃ J₂\nhJ₁ :\n ∀ {C : J₁ → Type u₁} {D : J₁ → Type u₂} [inst : (j : J₁) → Category.{v₁, u₁} (C j)]\n [inst_1 : (j : J₁) → Category.{v₂, u₂} (D j)] (L : (j : J₁) → C j ⥤ D j) (W : (j : J₁) → MorphismProperty (C j))\n [∀ (j : J₁), (W j).ContainsIdentities] [∀ (j : J₁), (L ... | let L₁ := fun j => (L₂ (e j)) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.CategoryTheory.Localization.Pi | {
"line": 58,
"column": 43
} | {
"line": 58,
"column": 55
} | {
"line": 58,
"column": 55
} | [
{
"pp": "case h_empty\nC : PEmpty.{w + 1} → Type u₁\nD : PEmpty.{w + 1} → Type u₂\ninst✝³ : (j : PEmpty.{w + 1}) → Category.{v₁, u₁} (C j)\ninst✝² : (j : PEmpty.{w + 1}) → Category.{v₂, u₂} (D j)\nL : (j : PEmpty.{w + 1}) → C j ⥤ D j\nW : (j : PEmpty.{w + 1}) → MorphismProperty (C j)\ninst✝¹ : ∀ (j : PEmpty.{w ... | [
"case h_empty\nC : PEmpty.{w + 1} → Type u₁\nD : PEmpty.{w + 1} → Type u₂\ninst✝³ : (j : PEmpty.{w + 1}) → Category.{v₁, u₁} (C j)\ninst✝² : (j : PEmpty.{w + 1}) → Category.{v₂, u₂} (D j)\nL : (j : PEmpty.{w + 1}) → C j ⥤ D j\nW : (j : PEmpty.{w + 1}) → MorphismProperty (C j)\ninst✝¹ : ∀ (j : PEmpty.{w + 1}), (W j)... | isIso_pi_iff | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Localization.Monoidal.Braided | {
"line": 118,
"column": 8
} | {
"line": 118,
"column": 50
} | {
"line": 118,
"column": 51
} | [
{
"pp": "C : Type u_1\nD : Type u_2\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : Category.{v_2, u_2} D\nL : C ⥤ D\nW : MorphismProperty C\ninst✝³ : MonoidalCategory C\ninst✝² : W.IsMonoidal\ninst✝¹ : L.IsLocalization W\nunit : D\nε : L.obj (𝟙_ C) ≅ unit\ninst✝ : BraidedCategory C\nX Y Z : C\n| ((braidingNatIso L ... | [
"C : Type u_1\nD : Type u_2\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : Category.{v_2, u_2} D\nL : C ⥤ D\nW : MorphismProperty C\ninst✝³ : MonoidalCategory C\ninst✝² : W.IsMonoidal\ninst✝¹ : L.IsLocalization W\nunit : D\nε : L.obj (𝟙_ C) ≅ unit\ninst✝ : BraidedCategory C\nX Y Z : C\n| LaxMonoidal.μ L' X Y ▷ L'.obj Z... | braidingNatIso_hom_app_naturality_μ_right, | Lean.Elab.Tactic.Conv.evalRewrite | null |
Mathlib.CategoryTheory.Monoidal.Free.Basic | {
"line": 328,
"column": 6
} | {
"line": 328,
"column": 80
} | {
"line": 329,
"column": 4
} | [
{
"pp": "case tensorHom_comp_tensorHom\nC : Type u\nD : Type u'\ninst✝¹ : Category.{v', u'} D\ninst✝ : MonoidalCategory D\nf✝ : C → D\nX Y : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\nf g : failed to pretty print expression (use 'set_option pp.rawOnError true... | [] | dsimp only [projectMapAux]; rw [MonoidalCategory.tensorHom_comp_tensorHom] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Monoidal.Free.Basic | {
"line": 328,
"column": 6
} | {
"line": 328,
"column": 80
} | {
"line": 329,
"column": 4
} | [
{
"pp": "case tensorHom_comp_tensorHom\nC : Type u\nD : Type u'\ninst✝¹ : Category.{v', u'} D\ninst✝ : MonoidalCategory D\nf✝ : C → D\nX Y : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\nf g : failed to pretty print expression (use 'set_option pp.rawOnError true... | [] | dsimp only [projectMapAux]; rw [MonoidalCategory.tensorHom_comp_tensorHom] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Monoidal.Braided.Reflection | {
"line": 169,
"column": 4
} | {
"line": 169,
"column": 36
} | {
"line": 170,
"column": 2
} | [
{
"pp": "C : Type u_1\nD : Type u_2\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Category.{v_2, u_2} D\ninst✝⁴ : MonoidalCategory D\ninst✝³ : SymmetricCategory D\ninst✝² : MonoidalClosed D\nR : C ⥤ D\ninst✝¹ : R.Faithful\ninst✝ : R.Full\nL : D ⥤ C\nadj : L ⊣ R\ntfae_3_to_4 :\n (∀ (d d' : D), IsIso (L.map (adj.uni... | [] | simp [← map_comp, -map_preimage] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Monoidal.Bimod | {
"line": 319,
"column": 19
} | {
"line": 320,
"column": 22
} | {
"line": 321,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\ninst✝³ : MonoidalCategory C\ninst✝² : HasCoequalizers C\nR S T : Mon C\nP : Bimod R S\nQ : Bimod S T\ninst✝¹ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorLeft X)\ninst✝ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorRi... | [
"C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\ninst✝³ : MonoidalCategory C\ninst✝² : HasCoequalizers C\nR S T : Mon C\nP : Bimod R S\nQ : Bimod S T\ninst✝¹ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorLeft X)\ninst✝ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorRight X)\n| (α... | rw [← comp_whiskerRight, whiskerLeft_π_actLeft, comp_whiskerRight,
comp_whiskerRight] | Lean.Parser.Tactic.Conv._aux_Init_Conv___macroRules_Lean_Parser_Tactic_Conv_convRw___1 | Lean.Parser.Tactic.Conv.convRw__ |
Mathlib.CategoryTheory.Monoidal.Bimod | {
"line": 319,
"column": 19
} | {
"line": 320,
"column": 22
} | {
"line": 321,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\ninst✝³ : MonoidalCategory C\ninst✝² : HasCoequalizers C\nR S T : Mon C\nP : Bimod R S\nQ : Bimod S T\ninst✝¹ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorLeft X)\ninst✝ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorRi... | [
"C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\ninst✝³ : MonoidalCategory C\ninst✝² : HasCoequalizers C\nR S T : Mon C\nP : Bimod R S\nQ : Bimod S T\ninst✝¹ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorLeft X)\ninst✝ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorRight X)\n| (α... | rw [← comp_whiskerRight, whiskerLeft_π_actLeft, comp_whiskerRight,
comp_whiskerRight] | Lean.Elab.Tactic.Conv.evalConvSeq1Indented | Lean.Parser.Tactic.Conv.convSeq1Indented |
Mathlib.CategoryTheory.Monoidal.Bimod | {
"line": 319,
"column": 19
} | {
"line": 320,
"column": 22
} | {
"line": 321,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\ninst✝³ : MonoidalCategory C\ninst✝² : HasCoequalizers C\nR S T : Mon C\nP : Bimod R S\nQ : Bimod S T\ninst✝¹ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorLeft X)\ninst✝ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorRi... | [
"C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\ninst✝³ : MonoidalCategory C\ninst✝² : HasCoequalizers C\nR S T : Mon C\nP : Bimod R S\nQ : Bimod S T\ninst✝¹ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorLeft X)\ninst✝ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorRight X)\n| (α... | rw [← comp_whiskerRight, whiskerLeft_π_actLeft, comp_whiskerRight,
comp_whiskerRight] | Lean.Elab.Tactic.Conv.evalConvSeq | Lean.Parser.Tactic.Conv.convSeq |
Mathlib.CategoryTheory.Subterminal | {
"line": 67,
"column": 2
} | {
"line": 68,
"column": 18
} | {
"line": 70,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nA T : C\nhT : IsTerminal T\ninst✝ : Mono (hT.from A)\nZ : C\nf g : Z ⟶ A\n⊢ f = g",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.Limits.IsTerminal.from",
"CategoryTheory.CategoryStruct.toQuiver... | [] | rw [← cancel_mono (hT.from A)]
apply hT.hom_ext | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Subterminal | {
"line": 67,
"column": 2
} | {
"line": 68,
"column": 18
} | {
"line": 70,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nA T : C\nhT : IsTerminal T\ninst✝ : Mono (hT.from A)\nZ : C\nf g : Z ⟶ A\n⊢ f = g",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.Limits.IsTerminal.from",
"CategoryTheory.CategoryStruct.toQuiver... | [] | rw [← cancel_mono (hT.from A)]
apply hT.hom_ext | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Monoidal.DayConvolution.DayFunctor | {
"line": 199,
"column": 2
} | {
"line": 199,
"column": 40
} | {
"line": 201,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝⁹ : Category.{v₁, u₁} C\nV : Type u₂\ninst✝⁸ : Category.{v₂, u₂} V\ninst✝⁷ : MonoidalCategory C\ninst✝⁶ : MonoidalCategory V\nhasDayConvolution : ∀ (F G : C ⥤ V), (tensor C).HasPointwiseLeftKanExtension (F ⊠ G)\nhasDayConvolutionUnit : (Functor.fromPUnit (𝟙_ C)).HasPointwiseLeftKanEx... | [] | simp [η, isoPointwiseLeftKanExtension] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Monoidal.DayConvolution.DayFunctor | {
"line": 199,
"column": 2
} | {
"line": 199,
"column": 40
} | {
"line": 201,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝⁹ : Category.{v₁, u₁} C\nV : Type u₂\ninst✝⁸ : Category.{v₂, u₂} V\ninst✝⁷ : MonoidalCategory C\ninst✝⁶ : MonoidalCategory V\nhasDayConvolution : ∀ (F G : C ⥤ V), (tensor C).HasPointwiseLeftKanExtension (F ⊠ G)\nhasDayConvolutionUnit : (Functor.fromPUnit (𝟙_ C)).HasPointwiseLeftKanEx... | [] | simp [η, isoPointwiseLeftKanExtension] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Monoidal.DayConvolution.DayFunctor | {
"line": 199,
"column": 2
} | {
"line": 199,
"column": 40
} | {
"line": 201,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝⁹ : Category.{v₁, u₁} C\nV : Type u₂\ninst✝⁸ : Category.{v₂, u₂} V\ninst✝⁷ : MonoidalCategory C\ninst✝⁶ : MonoidalCategory V\nhasDayConvolution : ∀ (F G : C ⥤ V), (tensor C).HasPointwiseLeftKanExtension (F ⊠ G)\nhasDayConvolutionUnit : (Functor.fromPUnit (𝟙_ C)).HasPointwiseLeftKanEx... | [] | simp [η, isoPointwiseLeftKanExtension] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Monoidal.Hopf_ | {
"line": 294,
"column": 2
} | {
"line": 295,
"column": 27
} | {
"line": 296,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\ninst✝² : MonoidalCategory C\ninst✝¹ : BraidedCategory C\nA : C\ninst✝ : HopfObj A\n⊢ (Δ ⊗ₘ Δ) ≫\n (α_ A A (A ⊗ A)).hom ≫\n A ◁ (α_ A A A).inv ≫\n A ◁ (β_ A A).hom ▷ A ≫\n (α_ A (A ⊗ A) A).inv ≫ (α_ A A A).inv ▷ A ≫ μ ▷ A ▷ A ≫ (... | [
"C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\ninst✝² : MonoidalCategory C\ninst✝¹ : BraidedCategory C\nA : C\ninst✝ : HopfObj A\n⊢ (Δ ⊗ₘ Δ) ≫\n (α_ A A (A ⊗ A)).hom ≫\n A ◁ (α_ A A A).inv ≫\n A ◁ (β_ A A).hom ▷ A ≫\n (α_ A (A ⊗ A) A).inv ≫ (α_ A A A).inv ▷ A ≫ μ ▷ A ▷ A ≫ (α_ A A A).ho... | slice_lhs 9 10 =>
rw [← whisker_exchange] | Mathlib.Tactic.Slice._aux_Mathlib_Tactic_CategoryTheory_Slice___macroRules_Mathlib_Tactic_Slice_sliceLHS_1 | Mathlib.Tactic.Slice.sliceLHS |
Mathlib.CategoryTheory.Monoidal.Hopf_ | {
"line": 343,
"column": 2
} | {
"line": 344,
"column": 27
} | {
"line": 345,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\ninst✝² : MonoidalCategory C\ninst✝¹ : BraidedCategory C\nA : C\ninst✝ : HopfObj A\n⊢ (Δ ⊗ₘ Δ) ≫\n (α_ A A (A ⊗ A)).hom ≫\n A ◁ (α_ A A A).inv ≫\n A ◁ (β_ A A).hom ▷ A ≫\n (α_ A (A ⊗ A) A).inv ≫\n (α_ A A A).inv ▷ A ... | [
"C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\ninst✝² : MonoidalCategory C\ninst✝¹ : BraidedCategory C\nA : C\ninst✝ : HopfObj A\n⊢ (Δ ⊗ₘ Δ) ≫\n (α_ A A (A ⊗ A)).hom ≫\n A ◁ (α_ A A A).inv ≫\n A ◁ (β_ A A).hom ▷ A ≫\n (α_ A (A ⊗ A) A).inv ≫\n (α_ A A A).inv ▷ A ≫\n ... | slice_lhs 9 10 =>
rw [← whisker_exchange] | Mathlib.Tactic.Slice._aux_Mathlib_Tactic_CategoryTheory_Slice___macroRules_Mathlib_Tactic_Slice_sliceLHS_1 | Mathlib.Tactic.Slice.sliceLHS |
Mathlib.CategoryTheory.Monoidal.Internal.Module | {
"line": 157,
"column": 4
} | {
"line": 157,
"column": 52
} | {
"line": 158,
"column": 4
} | [
{
"pp": "R : Type u\ninst✝ : CommRing R\nA : AlgCat R\nx y z : ↑↧↑A\n⊢ (Hom.hom (↟(mul' R ↑A)))\n ((Hom.hom (MonoidalCategoryStruct.whiskerRight (↟(mul' R ↑A)) ↧↑A))\n (((TensorProduct.mk R ↑(MonoidalCategoryStruct.tensorObj ↧↑A ↧↑A) ↑A) (x ⊗ₜ[R] y)) z)) =\n (Hom.hom (↟(mul' R ↑A)))\n ((Hom.... | [
"R : Type u\ninst✝ : CommRing R\nA : AlgCat R\nx y z : ↑↧↑A\n⊢ x * y * LinearMap.id (x ⊗ₜ[R] y, z).2 =\n (Hom.hom (↟(mul' R ↑A)))\n ((Hom.hom (MonoidalCategoryStruct.whiskerLeft (↧↑A) (↟(mul' R ↑A))))\n ((Hom.hom (MonoidalCategoryStruct.associator ↧↑A ↧↑A ↧↑A).hom)\n (((TensorProduct.mk R ↑(... | erw [LinearMap.mul'_apply, LinearMap.mul'_apply] | Lean.Parser.Tactic._aux_Init_Meta___macroRules_Lean_Parser_Tactic_tacticErw____1 | Lean.Parser.Tactic.tacticErw___ |
Mathlib.CategoryTheory.Monoidal.Opposite.Mon | {
"line": 75,
"column": 4
} | {
"line": 75,
"column": 58
} | {
"line": 76,
"column": 4
} | [
{
"pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝ : MonObj M\n⊢ MonObj.one.unmop ▷ M.unmop ≫ MonObj.mul.unmop = (λ_ M.unmop).hom",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"CategoryTheory.Functor.FullyFaithful.map_injective",
... | [
"C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝ : MonObj M\n⊢ (mopEquiv C).functor.map (MonObj.one.unmop ▷ M.unmop ≫ MonObj.mul.unmop) = (mopEquiv C).functor.map (λ_ M.unmop).hom"
] | apply mopEquiv C |>.fullyFaithfulFunctor.map_injective | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.CategoryTheory.Monoidal.Opposite.Mon | {
"line": 72,
"column": 4
} | {
"line": 72,
"column": 58
} | {
"line": 73,
"column": 4
} | [
{
"pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝ : MonObj M\n⊢ M.unmop ◁ MonObj.one.unmop ≫ MonObj.mul.unmop = (ρ_ M.unmop).hom",
"ppTerm": "?m.50",
"assigned": true,
"usedConstants": [
"CategoryTheory.Functor.FullyFaithful.map_injective",
... | [
"C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝ : MonObj M\n⊢ (mopEquiv C).functor.map (M.unmop ◁ MonObj.one.unmop ≫ MonObj.mul.unmop) = (mopEquiv C).functor.map (ρ_ M.unmop).hom"
] | apply mopEquiv C |>.fullyFaithfulFunctor.map_injective | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.CategoryTheory.Monoidal.Opposite.Mon | {
"line": 78,
"column": 4
} | {
"line": 78,
"column": 58
} | {
"line": 79,
"column": 4
} | [
{
"pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝ : MonObj M\n⊢ MonObj.mul.unmop ▷ M.unmop ≫ MonObj.mul.unmop =\n (α_ M.unmop M.unmop M.unmop).hom ≫ M.unmop ◁ MonObj.mul.unmop ≫ MonObj.mul.unmop",
"ppTerm": "?m.66",
"assigned": true,
"usedConstant... | [
"C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝ : MonObj M\n⊢ (mopEquiv C).functor.map (MonObj.mul.unmop ▷ M.unmop ≫ MonObj.mul.unmop) =\n (mopEquiv C).functor.map ((α_ M.unmop M.unmop M.unmop).hom ≫ M.unmop ◁ MonObj.mul.unmop ≫ MonObj.mul.unmop)"
] | apply mopEquiv C |>.fullyFaithfulFunctor.map_injective | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.CategoryTheory.Monoidal.Opposite.Mon | {
"line": 90,
"column": 4
} | {
"line": 90,
"column": 58
} | {
"line": 91,
"column": 4
} | [
{
"pp": "C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝² : MonObj M\nN : Cᴹᵒᵖ\ninst✝¹ : MonObj N\nf : M ⟶ N\ninst✝ : IsMonHom f\n⊢ MonObj.one ≫ f.unmop = MonObj.one",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"CategoryTheory.Functor.Ful... | [
"C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝² : MonObj M\nN : Cᴹᵒᵖ\ninst✝¹ : MonObj N\nf : M ⟶ N\ninst✝ : IsMonHom f\n⊢ (mopEquiv C).functor.map (MonObj.one ≫ f.unmop) = (mopEquiv C).functor.map MonObj.one"
] | apply mopEquiv C |>.fullyFaithfulFunctor.map_injective | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.CategoryTheory.Monoidal.Opposite.Mon | {
"line": 87,
"column": 4
} | {
"line": 87,
"column": 58
} | {
"line": 88,
"column": 4
} | [
{
"pp": "C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝² : MonObj M\nN : Cᴹᵒᵖ\ninst✝¹ : MonObj N\nf : M ⟶ N\ninst✝ : IsMonHom f\n⊢ MonObj.mul ≫ f.unmop = (f.unmop ⊗ₘ f.unmop) ≫ MonObj.mul",
"ppTerm": "?m.37",
"assigned": true,
"usedConstants": [
"Cat... | [
"C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : MonoidalCategory C\nM : Cᴹᵒᵖ\ninst✝² : MonObj M\nN : Cᴹᵒᵖ\ninst✝¹ : MonObj N\nf : M ⟶ N\ninst✝ : IsMonHom f\n⊢ (mopEquiv C).functor.map (MonObj.mul ≫ f.unmop) = (mopEquiv C).functor.map ((f.unmop ⊗ₘ f.unmop) ≫ MonObj.mul)"
] | apply mopEquiv C |>.fullyFaithfulFunctor.map_injective | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.CategoryTheory.Presentable.ColimitPresentation | {
"line": 139,
"column": 8
} | {
"line": 140,
"column": 30
} | {
"line": 141,
"column": 8
} | [
{
"pp": "C : Type u\ninst✝⁶ : Category.{v, u} C\nJ✝ : Type u_1\nI✝ : J✝ → Type u_2\ninst✝⁵ : Category.{v_1, u_1} J✝\ninst✝⁴ : (j : J✝) → Category.{?u.14, u_2} (I✝ j)\nD✝ : J✝ ⥤ C\nP✝¹ : (j : J✝) → ColimitPresentation (I✝ j) (D✝.obj j)\nJ : Type w\nI : J → Type w\ninst✝³ : SmallCategory J\ninst✝² : (j : J) → Sma... | [
"C : Type u\ninst✝⁶ : Category.{v, u} C\nJ✝ : Type u_1\nI✝ : J✝ → Type u_2\ninst✝⁵ : Category.{v_1, u_1} J✝\ninst✝⁴ : (j : J✝) → Category.{?u.14, u_2} (I✝ j)\nD✝ : J✝ ⥤ C\nP✝¹ : (j : J✝) → ColimitPresentation (I✝ j) (D✝.obj j)\nJ : Type w\nI : J → Type w\ninst✝³ : SmallCategory J\ninst✝² : (j : J) → SmallCategory (... | simp only [Functor.const_obj_obj, Functor.const_obj_map, Category.comp_id,
(Q j).isColimit.fac] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Monoidal.Internal.FunctorCategory | {
"line": 68,
"column": 35
} | {
"line": 68,
"column": 53
} | {
"line": 68,
"column": 54
} | [
{
"pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\ninst✝¹ : MonoidalCategory D\nA : C ⥤ D\ninst✝ : MonObj A\nX✝ Y✝ : C\nf : X✝ ⟶ Y✝\n⊢ μ.app X✝ ≫ A.map f = (A.map f ⊗ₘ A.map f) ≫ μ.app Y✝",
"ppTerm": "?m.88",
"assigned": true,
"usedConstants": [
"Eq.... | [
"C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\ninst✝¹ : MonoidalCategory D\nA : C ⥤ D\ninst✝ : MonObj A\nX✝ Y✝ : C\nf : X✝ ⟶ Y✝\n⊢ (A ⊗ A).map f ≫ μ.app Y✝ = (A.map f ⊗ₘ A.map f) ≫ μ.app Y✝"
] | ← μ[A].naturality, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.ObjectProperty.Ind | {
"line": 84,
"column": 4
} | {
"line": 84,
"column": 42
} | {
"line": 85,
"column": 2
} | [
{
"pp": "case refine_1\nC : Type u\ninst✝¹ : Category.{v, u} C\nP : ObjectProperty C\nH : P ≤ isFinitelyPresentable C\ninst✝ : IsFinitelyAccessibleCategory C\nX : C\nx✝ : P.ind X\nZ : C\ng : Z ⟶ X\nhZ : IsFinitelyPresentable Z\nJ : Type w\nw✝¹ : SmallCategory J\nw✝ : IsFiltered J\npres : ColimitPresentation J X... | [] | exact ⟨_, u, pres.ι.app j, hcomp, h j⟩ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.CategoryTheory.ObjectProperty.Ind | {
"line": 98,
"column": 4
} | {
"line": 100,
"column": 39
} | {
"line": 101,
"column": 4
} | [
{
"pp": "case refine_2\nC : Type u\ninst✝¹ : Category.{v, u} C\nP : ObjectProperty C\nH✝ : P ≤ isFinitelyPresentable C\ninst✝ : IsFinitelyAccessibleCategory C\nX : C\nhfac : ∀ {Z : C} (g : Z ⟶ X) [IsFinitelyPresentable Z], ∃ W u v, u ≫ v = g ∧ P W\nincl : P.FullSubcategory ⥤ (isFinitelyPresentable C).FullSubcat... | [
"case refine_2\nC : Type u\ninst✝¹ : Category.{v, u} C\nP : ObjectProperty C\nH✝ : P ≤ isFinitelyPresentable C\ninst✝ : IsFinitelyAccessibleCategory C\nX : C\nhfac : ∀ {Z : C} (g : Z ⟶ X) [IsFinitelyPresentable Z], ∃ W u v, u ≫ v = g ∧ P W\nincl : P.FullSubcategory ⥤ (isFinitelyPresentable C).FullSubcategory := ιOf... | obtain ⟨hc⟩ : P.ι.isDenseAt X :=
Functor.IsDenseAt.of_final (F := (isFinitelyPresentable.{w} C).ι) incl
(Functor.IsDense.isDenseAt _ _) | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.CategoryTheory.Monoidal.Bimod | {
"line": 861,
"column": 2
} | {
"line": 861,
"column": 80
} | {
"line": 862,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\ninst✝³ : MonoidalCategory C\ninst✝² : HasCoequalizers C\ninst✝¹ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorLeft X)\ninst✝ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorRight X)\nW X Y Z : Mon C\nM M' : Bimod W X\nf ... | [
"C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\ninst✝³ : MonoidalCategory C\ninst✝² : HasCoequalizers C\ninst✝¹ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorLeft X)\ninst✝ : ∀ (X : C), PreservesColimitsOfSize.{0, 0, v₁, v₁, u₁, u₁} (tensorRight X)\nW X Y Z : Mon C\nM M' : Bimod W X\nf : M ⟶ M'\nN ... | slice_rhs 2 3 => rw [← comp_whiskerRight, ι_colimMap, parallelPairHom_app_one] | Mathlib.Tactic.Slice._aux_Mathlib_Tactic_CategoryTheory_Slice___macroRules_Mathlib_Tactic_Slice_sliceRHS_1 | Mathlib.Tactic.Slice.sliceRHS |
Mathlib.CategoryTheory.MorphismProperty.LocalEpi | {
"line": 87,
"column": 4
} | {
"line": 89,
"column": 38
} | {
"line": 91,
"column": 0
} | [
{
"pp": "C : Type u_1\ninst✝ : Category.{v_1, u_1} C\nP : ObjectProperty C\nX Y Z : C\nf : X ⟶ Y\ng : Y ⟶ Z\nhg : P.isLocal g\nhfg : P.localEpi (f ≫ g)\nT : C\nhT : P T\nu v : Y ⟶ T\nhuv : (fun g ↦ f ≫ g) u = (fun g ↦ f ≫ g) v\n⊢ u = v",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
... | [] | obtain ⟨u, rfl⟩ := (hg _ hT).surjective u
obtain ⟨v, rfl⟩ := (hg _ hT).surjective v
simp [hfg hT (by simpa using huv)] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.MorphismProperty.LocalEpi | {
"line": 87,
"column": 4
} | {
"line": 89,
"column": 38
} | {
"line": 91,
"column": 0
} | [
{
"pp": "C : Type u_1\ninst✝ : Category.{v_1, u_1} C\nP : ObjectProperty C\nX Y Z : C\nf : X ⟶ Y\ng : Y ⟶ Z\nhg : P.isLocal g\nhfg : P.localEpi (f ≫ g)\nT : C\nhT : P T\nu v : Y ⟶ T\nhuv : (fun g ↦ f ≫ g) u = (fun g ↦ f ≫ g) v\n⊢ u = v",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
... | [] | obtain ⟨u, rfl⟩ := (hg _ hT).surjective u
obtain ⟨v, rfl⟩ := (hg _ hT).surjective v
simp [hfg hT (by simpa using huv)] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.MorphismProperty.LocalEpi | {
"line": 108,
"column": 4
} | {
"line": 108,
"column": 88
} | {
"line": 108,
"column": 88
} | [
{
"pp": "C : Type u_1\ninst✝³ : Category.{v_1, u_1} C\nD : Type u_2\ninst✝² : Category.{v_2, u_2} D\nF : C ⥤ D\nG : D ⥤ C\nadj : F ⊣ G\ninst✝¹ : G.Faithful\ninst✝ : G.Full\nX Y : C\nf : X ⟶ Y\n⊢ localEpi (fun x ↦ x ∈ Set.range G.obj) (adj.unit.app X ≫ G.map (F.map f)) ↔ Epi (F.map f)",
"ppTerm": "?m.94",
... | [
"C : Type u_1\ninst✝³ : Category.{v_1, u_1} C\nD : Type u_2\ninst✝² : Category.{v_2, u_2} D\nF : C ⥤ D\nG : D ⥤ C\nadj : F ⊣ G\ninst✝¹ : G.Faithful\ninst✝ : G.Full\nX Y : C\nf : X ⟶ Y\n⊢ localEpi (fun x ↦ x ∈ Set.range G.obj) (G.map (F.map f)) ↔ Epi (F.map f)"
] | dsimp% (localEpi (· ∈ Set.range G.obj)).precomp_iff _ _ (isLocal_adj_unit_app adj X) | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.MorphismProperty.Ind | {
"line": 191,
"column": 32
} | {
"line": 220,
"column": 62
} | {
"line": 222,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝⁵ : Category.{v, u} C\nP : MorphismProperty C\ninst✝⁴ : ∀ (X : C), IsFinitelyAccessibleCategory (Under X)\ninst✝³ : HasPushouts C\ninst✝² : P.IsStableUnderComposition\ninst✝¹ : P.IsStableUnderCobaseChange\ninst✝ : P.PreIndSpreads\nH : P ≤ isFinitelyPresentable C\nX Y Z : C\nf : X ⟶ Y\n... | [] | by
rw [ind_iff_exists H]
intro T p u hp hpu
obtain ⟨J₁, _, _, D₁, s₁, t₁, ht₁, h₁⟩ := hf
obtain ⟨J₂, _, _, D₂, s₂, t₂, ht₂, h₂⟩ := hg
have : IsFinitelyPresentable (CategoryTheory.Under.mk p) := hp
obtain ⟨j₂, q, hcomp, hu⟩ := IsFinitelyPresentable.exists_hom_of_isColimit_under
ht₂ p ((Fu... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.ObjectProperty.HasFiniteResolution.Projective | {
"line": 43,
"column": 6
} | {
"line": 44,
"column": 65
} | {
"line": 46,
"column": 0
} | [
{
"pp": "case succ\nA : Type u_1\ninst✝² : Category.{v_1, u_1} A\ninst✝¹ : Abelian A\ninst✝ : EnoughProjectives A\nn : ℕ\nih : ∀ {X : A}, HasProjectiveDimensionLE X n → (isProjective A).hasFiniteResolutionOfLength n X\nX : A\nhX : HasProjectiveDimensionLE X (n + 1)\nf : Projective.over X ⟶ X := Projective.π X\n... | [] | exact hasFiniteResolutionOfLength.succ S n hS inferInstance <| ih <|
(hS.hasProjectiveDimensionLT_X₃_iff n inferInstance).1 hX | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.CategoryTheory.Preadditive.Mat | {
"line": 226,
"column": 14
} | {
"line": 226,
"column": 35
} | {
"line": 227,
"column": 14
} | [
{
"pp": "case pos\nC : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\ninst✝ : Preadditive C\nn : ℕ\nf : Fin n → Mat_ C\ni' : Fin n\nj' j : (f i').ι\n⊢ (if h : i' = i' then if h' : h ▸ j' = j then eqToHom ⋯ else 0 else 0) = if h : i' = i' ∧ j ≍ j' then eqToHom ⋯ else 0",
"ppTerm": "?pos✝",
"assigned": true,
... | [
"case pos\nC : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\ninst✝ : Preadditive C\nn : ℕ\nf : Fin n → Mat_ C\ni' : Fin n\nj' j : (f i').ι\n⊢ (if h' : ⋯ ▸ j' = j then eqToHom ⋯ else 0) = if h : i' = i' ∧ j ≍ j' then eqToHom ⋯ else 0"
] | rw [dite_eq_left rfl] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.CategoryTheory.Presentable.Directed | {
"line": 155,
"column": 4
} | {
"line": 155,
"column": 33
} | {
"line": 157,
"column": 0
} | [
{
"pp": "case hP\nJ : Type w\ninst✝ : SmallCategory J\nκ : Cardinal.{w}\nx✝¹ x✝ : DiagramWithUniqueTerminal J κ\nh₁ : x✝¹.W ≤ x✝.W ∧ x✝¹.P ≤ x✝.P\nh₂ : x✝.W ≤ x✝¹.W ∧ x✝.P ≤ x✝¹.P\n⊢ x✝¹.P = x✝.P",
"ppTerm": "?hP",
"assigned": true,
"usedConstants": [
"CategoryTheory.MorphismProperty",
"... | [] | · exact le_antisymm h₁.2 h₂.2 | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.CategoryTheory.Presentable.Directed | {
"line": 411,
"column": 10
} | {
"line": 411,
"column": 25
} | {
"line": 412,
"column": 10
} | [
{
"pp": "J : Type w\ninst✝² : SmallCategory J\nκ : Cardinal.{w}\ninst✝¹ : Fact κ.IsRegular\ninst✝ : IsCardinalFiltered J κ\nhJ : ∀ (e : J), ∃ m x, IsEmpty (m ⟶ e)\nι : Type w\nD : ι → DiagramWithUniqueTerminal J κ\nhι : HasCardinalLT ι κ\nm : J\nu : (i : ι) → (D i).top ⟶ m\nhm₀ : ∀ (i : ι), IsEmpty (m ⟶ (D i).t... | [
"J : Type w\ninst✝² : SmallCategory J\nκ : Cardinal.{w}\ninst✝¹ : Fact κ.IsRegular\ninst✝ : IsCardinalFiltered J κ\nhJ : ∀ (e : J), ∃ m x, IsEmpty (m ⟶ e)\nι : Type w\nD : ι → DiagramWithUniqueTerminal J κ\nhι : HasCardinalLT ι κ\nm : J\nu : (i : ι) → (D i).top ⟶ m\nhm₀ : ∀ (i : ι), IsEmpty (m ⟶ (D i).top)\nhm :\n ... | have := hj.prop | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.CategoryTheory.Presentable.OrthogonalReflection | {
"line": 471,
"column": 2
} | {
"line": 471,
"column": 39
} | {
"line": 472,
"column": 2
} | [
{
"pp": "C : Type u\ninst✝⁴ : Category.{v, u} C\nW : MorphismProperty C\nκ : Cardinal.{w}\ninst✝³ : Fact κ.IsRegular\ninst✝² : IsSmall.{w, v, u} W\ninst✝¹ : LocallySmall.{w, v, u} C\nhW : ∀ ⦃X Y : C⦄ (f : X ⟶ Y), W f → IsCardinalPresentable X κ ∧ IsCardinalPresentable Y κ\ninst✝ : HasColimitsOfSize.{w, w, v, u}... | [
"C : Type u\ninst✝⁴ : Category.{v, u} C\nW : MorphismProperty C\nκ : Cardinal.{w}\ninst✝³ : Fact κ.IsRegular\ninst✝² : IsSmall.{w, v, u} W\ninst✝¹ : LocallySmall.{w, v, u} C\nhW : ∀ ⦃X Y : C⦄ (f : X ⟶ Y), W f → IsCardinalPresentable X κ ∧ IsCardinalPresentable Y κ\ninst✝ : HasColimitsOfSize.{w, w, v, u} C\nthis✝¹ :... | have := D₁.hasCoproductsOfShape.{w} W | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.CategoryTheory.Sites.CartesianMonoidal | {
"line": 38,
"column": 2
} | {
"line": 39,
"column": 46
} | {
"line": 41,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nA : Type u₂\ninst✝¹ : Category.{v₂, u₂} A\nJ : GrothendieckTopology C\ninst✝ : CartesianMonoidalCategory A\nX Y : Sheaf J A\n⊢ IsLimit\n ((Cone.postcompose (pairComp X Y (sheafToPresheaf J A)).inv).obj (BinaryFan.mk (fst X.obj Y.obj) (snd X.obj Y.obj)))",
... | [] | exact (IsLimit.postcomposeInvEquiv _ _).invFun
(tensorProductIsBinaryProduct X.obj Y.obj) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.CategoryTheory.Sites.Coherent.ExtensiveSheaves | {
"line": 68,
"column": 22
} | {
"line": 73,
"column": 59
} | {
"line": 75,
"column": 0
} | [
{
"pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : FinitaryPreExtensive C\nW : C\n⊢ IsSheaf (extensiveTopology C) (yoneda.obj W)",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"CategoryTheory.Presieve.IsSheaf",
"Eq.mpr",
"CategoryTheory.Functor",
"Categ... | [] | by
rw [extensiveTopology, isSheaf_coverage]
intro X R ⟨Y, α, Z, π, hR, hi⟩
have : IsIso (Sigma.desc (Cofan.inj (Cofan.mk X π))) := hi
have : R.Extensive := ⟨Y, α, Z, π, hR, ⟨Cofan.isColimitOfIsIsoSigmaDesc (Cofan.mk X π)⟩⟩
exact isSheafFor_extensive_of_preservesFiniteProducts _ _ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Sites.Coherent.LocallySurjective | {
"line": 79,
"column": 2
} | {
"line": 79,
"column": 11
} | {
"line": 80,
"column": 2
} | [
{
"pp": "C : Type u_1\ninst✝³ : Category.{v_1, u_1} C\ninst✝² : FinitaryPreExtensive C\nF G : Cᵒᵖ ⥤ Type w\nf : F ⟶ G\ninst✝¹ : PreservesFiniteProducts F\ninst✝ : PreservesFiniteProducts G\nX : C\nx : G.obj (op X)\nα : Type\nw✝ : Finite α\nY : α → C\nπ : (a : α) → Y a ⟶ X\nh : Nonempty (IsColimit (Cofan.mk X π)... | [
"C : Type u_1\ninst✝³ : Category.{v_1, u_1} C\ninst✝² : FinitaryPreExtensive C\nF G : Cᵒᵖ ⥤ Type w\nf : F ⟶ G\ninst✝¹ : PreservesFiniteProducts F\ninst✝ : PreservesFiniteProducts G\nX : C\nx : G.obj (op X)\nα : Type\nw✝ : Finite α\nY : α → C\nπ : (a : α) → Y a ⟶ X\nh : Nonempty (IsColimit (Cofan.mk X π))\nh' : ∀ (a... | intro ⟨a⟩ | Lean.Elab.Tactic.evalIntro | null |
Mathlib.CategoryTheory.Sites.Coherent.LocallySurjective | {
"line": 79,
"column": 2
} | {
"line": 79,
"column": 11
} | {
"line": 80,
"column": 2
} | [
{
"pp": "C : Type u_1\ninst✝³ : Category.{v_1, u_1} C\ninst✝² : FinitaryPreExtensive C\nF G : Cᵒᵖ ⥤ Type w\nf : F ⟶ G\ninst✝¹ : PreservesFiniteProducts F\ninst✝ : PreservesFiniteProducts G\nX : C\nx : G.obj (op X)\nα : Type\nw✝ : Finite α\nY : α → C\nπ : (a : α) → Y a ⟶ X\nh : Nonempty (IsColimit (Cofan.mk X π)... | [
"C : Type u_1\ninst✝³ : Category.{v_1, u_1} C\ninst✝² : FinitaryPreExtensive C\nF G : Cᵒᵖ ⥤ Type w\nf : F ⟶ G\ninst✝¹ : PreservesFiniteProducts F\ninst✝ : PreservesFiniteProducts G\nX : C\nx : G.obj (op X)\nα : Type\nw✝ : Finite α\nY : α → C\nπ : (a : α) → Y a ⟶ X\nh : Nonempty (IsColimit (Cofan.mk X π))\nh' : ∀ (a... | intro ⟨a⟩ | Lean.Elab.Tactic.evalIntro | Lean.Parser.Tactic.intro |
Mathlib.CategoryTheory.Sites.Coherent.LocallySurjective | {
"line": 66,
"column": 2
} | {
"line": 87,
"column": 5
} | {
"line": 89,
"column": 0
} | [
{
"pp": "C : Type u_1\ninst✝³ : Category.{v_1, u_1} C\ninst✝² : FinitaryPreExtensive C\nF G : Cᵒᵖ ⥤ Type w\nf : F ⟶ G\ninst✝¹ : PreservesFiniteProducts F\ninst✝ : PreservesFiniteProducts G\nh : Presheaf.IsLocallySurjective (extensiveTopology C) f\nX : C\n⊢ Function.Surjective ⇑(ConcreteCategory.hom (f.app (op X... | [] | intro x
replace h := h.1 x
rw [mem_sieves_iff_contains_colimit_cofan] at h
obtain ⟨α, _, Y, π, h, h'⟩ := h
let y : (a : α) → (F.obj ⟨Y a⟩) := fun a ↦ (h' a).choose
let ht := (Types.productLimitCone (fun a ↦ F.obj ⟨Y a⟩)).isLimit
let ht' := (Functor.Initial.isLimitWhiskerEquiv (Discrete.opposite α).inverse
... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Sites.Coherent.LocallySurjective | {
"line": 66,
"column": 2
} | {
"line": 87,
"column": 5
} | {
"line": 89,
"column": 0
} | [
{
"pp": "C : Type u_1\ninst✝³ : Category.{v_1, u_1} C\ninst✝² : FinitaryPreExtensive C\nF G : Cᵒᵖ ⥤ Type w\nf : F ⟶ G\ninst✝¹ : PreservesFiniteProducts F\ninst✝ : PreservesFiniteProducts G\nh : Presheaf.IsLocallySurjective (extensiveTopology C) f\nX : C\n⊢ Function.Surjective ⇑(ConcreteCategory.hom (f.app (op X... | [] | intro x
replace h := h.1 x
rw [mem_sieves_iff_contains_colimit_cofan] at h
obtain ⟨α, _, Y, π, h, h'⟩ := h
let y : (a : α) → (F.obj ⟨Y a⟩) := fun a ↦ (h' a).choose
let ht := (Types.productLimitCone (fun a ↦ F.obj ⟨Y a⟩)).isLimit
let ht' := (Functor.Initial.isLimitWhiskerEquiv (Discrete.opposite α).inverse
... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Sites.Descent.DescentData | {
"line": 198,
"column": 21
} | {
"line": 198,
"column": 28
} | {
"line": 198,
"column": 29
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nF : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat\nι : Type t\nS : C\nX : ι → C\nf : (i : ι) → X i ⟶ S\nS' : C\np : S' ⟶ S\nι' : Type t'\nX' : ι' → C\nf' : (j : ι') → X' j ⟶ S'\nα : ι' → ι\np' : (j : ι') → X' j ⟶ X (α j)\nw : ∀ (j : ι'), p' j ≫ f (α j) = f' j ≫ p\nD : F... | [
"C : Type u\ninst✝ : Category.{v, u} C\nF : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat\nι : Type t\nS : C\nX : ι → C\nf : (i : ι) → X i ⟶ S\nS' : C\np : S' ⟶ S\nι' : Type t'\nX' : ι' → C\nf' : (j : ι') → X' j ⟶ S'\nα : ι' → ι\np' : (j : ι') → X' j ⟶ X (α j)\nw : ∀ (j : ι'), p' j ≫ f (α j) = f' j ≫ p\nD : F.DescentData... | ← hf₁', | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Sites.NonabelianCohomology.H1 | {
"line": 116,
"column": 15
} | {
"line": 116,
"column": 36
} | {
"line": 117,
"column": 2
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nG : Cᵒᵖ ⥤ GrpCat\nI : Type w'\nU : I → C\nx✝ : OneCochain G U\n⊢ x✝ * 1 = x✝",
"ppTerm": "?m.126",
"assigned": true,
"usedConstants": [
"GrpCat",
"Opposite",
"HMul.hMul",
"CategoryTheory.CategoryStruct.toQuiver",
"Quiver.H... | [] | by ext; apply mul_one | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Sites.Point.Over | {
"line": 78,
"column": 4
} | {
"line": 78,
"column": 31
} | {
"line": 79,
"column": 4
} | [
{
"pp": "C : Type u\ninst✝⁵ : Category.{v, u} C\nJ : GrothendieckTopology C\ninst✝⁴ : LocallySmall.{w, v, u} C\nP : ObjectProperty J.Point\ninst✝³ : ObjectProperty.Small.{w, max u w, max (max u v) (w + 1)} P\ninst✝² : J.WEqualsLocallyBijective (Type w)\ninst✝¹ : HasSheafify J (Type w)\nhP : P.IsConservativeFami... | [
"C : Type u\ninst✝⁵ : Category.{v, u} C\nJ : GrothendieckTopology C\ninst✝⁴ : LocallySmall.{w, v, u} C\nP : ObjectProperty J.Point\ninst✝³ : ObjectProperty.Small.{w, max u w, max (max u v) (w + 1)} P\ninst✝² : J.WEqualsLocallyBijective (Type w)\ninst✝¹ : HasSheafify J (Type w)\nhP : P.IsConservativeFamilyOfPoints\n... | rw [Subtype.ext_iff] at hz₂ | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.CategoryTheory.Sites.Precoverage.Generates | {
"line": 155,
"column": 4
} | {
"line": 155,
"column": 29
} | {
"line": 156,
"column": 2
} | [
{
"pp": "case refine_1\nC : Type u\ninst✝ : Category.{v, u} C\nJ : GrothendieckTopology C\nK : Coverage C\nh : K.Generates J\n⊢ K.toGrothendieck = J",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"CategoryTheory.Precoverage.Generates.toGrothendieck_eq",
"CategoryTheory.Cov... | [] | exact h.toGrothendieck_eq | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.CategoryTheory.Sites.RegularEpi | {
"line": 96,
"column": 8
} | {
"line": 96,
"column": 81
} | {
"line": 97,
"column": 6
} | [
{
"pp": "C : Type u_1\nD : Type u_2\ninst✝⁶ : Category.{u_3, u_1} C\ninst✝⁵ : Category.{u_4, u_2} D\nJ : GrothendieckTopology C\ninst✝⁴ : HasPullbacks D\ninst✝³ : HasPushouts D\ninst✝² : IsRegularEpiCategory D\nh : ∀ {F G : Sheaf J D} (f : F ⟶ G) [Epi f], ∃ I p i, Epi p ∧ Mono i ∧ p ≫ i = f.hom\ninst✝¹ : HasShe... | [] | simp [hpi, ← ObjectProperty.FullSubcategory.comp_hom, pullback.condition] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Sites.Types | {
"line": 62,
"column": 6
} | {
"line": 63,
"column": 96
} | {
"line": 63,
"column": 96
} | [
{
"pp": "α β : Type u\nx✝ : Sieve β\nhs : x✝ ∈ typesGrothendieckTopology β\nx : FamilyOfElements (yoneda.obj α) x✝.arrows\nhx : x.Compatible\nγ : Type u\nf : γ ⟶ β\nh : x✝.arrows f\nz : Opposite.unop (Opposite.op γ)\n⊢ (ConcreteCategory.hom\n ((ConcreteCategory.hom ((yoneda.obj α).map f.op)) (↾fun y ↦ (T... | [] | convert!
ConcreteCategory.congr_hom (hx (𝟙 _) (↾fun _ => z) (hs <| f z) h rfl) PUnit.unit using 1 | Mathlib.Tactic._aux_Mathlib_Tactic_Convert___macroRules_Mathlib_Tactic_convert!_1 | Mathlib.Tactic.convert! |
Mathlib.CategoryTheory.Sites.Types | {
"line": 62,
"column": 6
} | {
"line": 63,
"column": 96
} | {
"line": 63,
"column": 96
} | [
{
"pp": "α β : Type u\nx✝ : Sieve β\nhs : x✝ ∈ typesGrothendieckTopology β\nx : FamilyOfElements (yoneda.obj α) x✝.arrows\nhx : x.Compatible\nγ : Type u\nf : γ ⟶ β\nh : x✝.arrows f\nz : Opposite.unop (Opposite.op γ)\n⊢ (ConcreteCategory.hom\n ((ConcreteCategory.hom ((yoneda.obj α).map f.op)) (↾fun y ↦ (T... | [] | convert!
ConcreteCategory.congr_hom (hx (𝟙 _) (↾fun _ => z) (hs <| f z) h rfl) PUnit.unit using 1 | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Sites.Types | {
"line": 62,
"column": 6
} | {
"line": 63,
"column": 96
} | {
"line": 63,
"column": 96
} | [
{
"pp": "α β : Type u\nx✝ : Sieve β\nhs : x✝ ∈ typesGrothendieckTopology β\nx : FamilyOfElements (yoneda.obj α) x✝.arrows\nhx : x.Compatible\nγ : Type u\nf : γ ⟶ β\nh : x✝.arrows f\nz : Opposite.unop (Opposite.op γ)\n⊢ (ConcreteCategory.hom\n ((ConcreteCategory.hom ((yoneda.obj α).map f.op)) (↾fun y ↦ (T... | [] | convert!
ConcreteCategory.congr_hom (hx (𝟙 _) (↾fun _ => z) (hs <| f z) h rfl) PUnit.unit using 1 | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Subfunctor.Finite | {
"line": 132,
"column": 76
} | {
"line": 133,
"column": 53
} | {
"line": 135,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nF : Cᵒᵖ ⥤ Type w\nι : Type w'\nX : ι → Cᵒᵖ\nx : (i : ι) → F.obj (X i)\nh : PresheafIsGeneratedBy F x\nF' : Cᵒᵖ ⥤ Type w\nf : F ⟶ F'\n⊢ (Subfunctor.range f).IsGeneratedBy fun i ↦ (ConcreteCategory.hom (f.app (X i))) (x i)",
"ppTerm": "?m.33",
"assigned": tr... | [] | by
simpa only [← Subfunctor.image_top] using h.image f | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Subobject.Classifier.Defs | {
"line": 450,
"column": 2
} | {
"line": 452,
"column": 47
} | {
"line": 454,
"column": 0
} | [
{
"pp": "case mpr\nC : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : HasTerminal C\ninst✝ : HasPullbacks C\nh : (Subobject.presheaf C).IsRepresentable\n⊢ HasSubobjectClassifier C",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"Exists",
"Subobject.presheaf",
"CategoryTheory... | [] | · obtain ⟨Ω, ⟨h⟩⟩ := h
constructor; constructor
exact SubobjectRepresentableBy.classifier h | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.CategoryTheory.Topos.Sheaf | {
"line": 104,
"column": 2
} | {
"line": 104,
"column": 66
} | {
"line": 105,
"column": 2
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nF G : Cᵒᵖ ⥤ Type (max u v)\nm : F ⟶ G\nχ' : G ⟶ Functor.sieves C\nX : Cᵒᵖ\nx : G.obj X\nh₁ : ∀ (x : Cᵒᵖ), m.app x ≫ χ'.app x = ((Functor.isTerminalConst Cᵒᵖ Types.isTerminalPUnit).from F).app x ≫ ↾fun x_1 ↦ ⊤\nh₂ : ∀ (x : Cᵒᵖ) (x₁ y₁ : F.obj x), (ConcreteCategory.... | [
"C : Type u\ninst✝ : Category.{v, u} C\nF G : Cᵒᵖ ⥤ Type (max u v)\nm : F ⟶ G\nχ' : G ⟶ Functor.sieves C\nX : Cᵒᵖ\nx : G.obj X\nh₁ : ∀ (x : Cᵒᵖ), m.app x ≫ χ'.app x = ((Functor.isTerminalConst Cᵒᵖ Types.isTerminalPUnit).from F).app x ≫ ↾fun x_1 ↦ ⊤\nh₂ : ∀ (x : Cᵒᵖ) (x₁ y₁ : F.obj x), (ConcreteCategory.hom (m.app x... | rw [← dsimp% this, ← dsimp% NatTrans.naturality_apply χ' f.op x] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.CategoryTheory.Triangulated.Generators | {
"line": 75,
"column": 2
} | {
"line": 76,
"column": 68
} | {
"line": 77,
"column": 2
} | [
{
"pp": "C : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : Preadditive C\ninst✝¹ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝ : Pretriangulated C\nP : ObjectProperty C\nn : ℕ\n⊢ P.triangEnvelopeIter (n + 1) =\n ((P.shiftClosure ℤ).binaryProductsClosure... | [
"C : Type u_1\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : Preadditive C\ninst✝¹ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝ : Pretriangulated C\nP : ObjectProperty C\nn : ℕ\n⊢ ((P.shiftClosure ℤ).binaryProductsClosure.retractClosure.retractClosure.extensionProduct\... | rw [triangEnvelopeIter, extensionProductIter_succ,
← retractClosure_extensionProduct_retractClosure_retractClosure] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.CategoryTheory.Triangulated.TStructure.AbelianSubcategory | {
"line": 270,
"column": 38
} | {
"line": 270,
"column": 47
} | {
"line": 271,
"column": 2
} | [
{
"pp": "C : Type u_1\nA : Type u_2\ninst✝¹¹ : Category.{v_1, u_1} C\ninst✝¹⁰ : HasZeroObject C\ninst✝⁹ : Preadditive C\ninst✝⁸ : HasShift C ℤ\ninst✝⁷ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝⁶ : Pretriangulated C\ninst✝⁵ : Category.{v_2, u_2} A\nι : A ⥤ C\nhι : ∀ ⦃X Y : A⦄ ⦃n : ℤ⦄ (f : ι.obj X ⟶ ι.obj Y⟦... | [] | simp [hA] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Triangulated.TStructure.AbelianSubcategory | {
"line": 300,
"column": 41
} | {
"line": 300,
"column": 50
} | {
"line": 301,
"column": 4
} | [
{
"pp": "C : Type u_1\nA : Type u_2\ninst✝¹² : Category.{v_1, u_1} C\ninst✝¹¹ : HasZeroObject C\ninst✝¹⁰ : Preadditive C\ninst✝⁹ : HasShift C ℤ\ninst✝⁸ : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝⁷ : Pretriangulated C\ninst✝⁶ : Category.{v_2, u_2} A\nι : A ⥤ C\nhι : ∀ ⦃X Y : A⦄ ⦃n : ℤ⦄ (f : ι.obj X ⟶ ι.obj Y... | [] | simp [hA] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Combinatorics.Additive.AP.Three.Defs | {
"line": 238,
"column": 2
} | {
"line": 238,
"column": 80
} | {
"line": 239,
"column": 2
} | [
{
"pp": "s : Set ℕ\n⊢ ThreeAPFree s ↔ ∀ ⦃a : ℕ⦄, a ∈ s → ∀ ⦃b : ℕ⦄, b ∈ s → ∀ ⦃c : ℕ⦄, c ∈ s → a + c = b + b → a = c",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"AddMonoid.toAddZeroClass",
"forall₃_congr",
"Nat.instAddMonoid",
"Membership.mem",
"AddZeroCla... | [
"case refine_1\ns : Set ℕ\na : ℕ\n_ha : a ∈ s\nb : ℕ\nhb : b ∈ s\nc : ℕ\nhc : c ∈ s\nhabc : a + c = b + b\n⊢ a = b → a = c",
"case refine_2\ns : Set ℕ\na : ℕ\n_ha : a ∈ s\nb : ℕ\nhb : b ∈ s\nc : ℕ\nhc : c ∈ s\nhabc : a + c = b + b\n⊢ a = c → a = b"
] | refine forall₄_congr fun a _ha b hb => forall₃_congr fun c hc habc => ⟨?_, ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Combinatorics.Additive.AP.Three.Defs | {
"line": 383,
"column": 83
} | {
"line": 383,
"column": 100
} | {
"line": 384,
"column": 4
} | [
{
"pp": "α : Type u_2\ninst✝¹ : DecidableEq α\ninst✝ : CancelCommMonoid α\ns : Finset α\na : α\nu : Finset α\nhus : u ⊆ s\nhcard : #u = mulRothNumber s\nhu : ThreeGPFree ↑u\n⊢ ThreeGPFree (⇑(mulLeftEmbedding a) '' ↑u)",
"ppTerm": "?m.156",
"assigned": true,
"usedConstants": [
"CancelCommMonoid... | [] | exact hu.smul_set | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.CategoryTheory.Triangulated.TStructure.ETrunc | {
"line": 277,
"column": 35
} | {
"line": 277,
"column": 49
} | {
"line": 277,
"column": 49
} | [
{
"pp": "C : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\nX : C\nn : ℤ\ninst✝ : t.IsGE X n\nj : ℤ\nhj : WithBotTop.coe j ≤ WithBotTop.coe n\n⊢ j ≤ ... | [] | simpa using hj | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.CategoryTheory.Triangulated.TStructure.ETrunc | {
"line": 277,
"column": 35
} | {
"line": 277,
"column": 49
} | {
"line": 277,
"column": 49
} | [
{
"pp": "C : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\nX : C\nn : ℤ\ninst✝ : t.IsGE X n\nj : ℤ\nhj : WithBotTop.coe j ≤ WithBotTop.coe n\n⊢ j ≤ ... | [] | simpa using hj | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Triangulated.TStructure.ETrunc | {
"line": 277,
"column": 35
} | {
"line": 277,
"column": 49
} | {
"line": 277,
"column": 49
} | [
{
"pp": "C : Type u_1\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Preadditive C\ninst✝⁴ : HasZeroObject C\ninst✝³ : HasShift C ℤ\ninst✝² : ∀ (n : ℤ), (shiftFunctor C n).Additive\ninst✝¹ : Pretriangulated C\nt : TStructure C\nX : C\nn : ℤ\ninst✝ : t.IsGE X n\nj : ℤ\nhj : WithBotTop.coe j ≤ WithBotTop.coe n\n⊢ j ≤ ... | [] | simpa using hj | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Additive.PluenneckeRuzsa | {
"line": 149,
"column": 8
} | {
"line": 149,
"column": 56
} | {
"line": 150,
"column": 6
} | [
{
"pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA B : Finset G\nhA : ∀ A' ⊆ A, #(A * B) * #A' ≤ #(A' * B) * #A\nx : G\nC : Finset G\na✝ : x ∉ C\nih : #(C * A * B) * #A ≤ #(A * B) * #(C * A)\nA' : Finset G := A ∩ ({x}⁻¹ * C * A)\nhA' : A' = A ∩ ({x}⁻¹ * C * A)\nC' : Finset G := insert x C\nhC' : ... | [] | gcongr ?_ + _ - ?_; exact hA _ inter_subset_left | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.Additive.PluenneckeRuzsa | {
"line": 149,
"column": 8
} | {
"line": 149,
"column": 56
} | {
"line": 150,
"column": 6
} | [
{
"pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : Group G\nA B : Finset G\nhA : ∀ A' ⊆ A, #(A * B) * #A' ≤ #(A' * B) * #A\nx : G\nC : Finset G\na✝ : x ∉ C\nih : #(C * A * B) * #A ≤ #(A * B) * #(C * A)\nA' : Finset G := A ∩ ({x}⁻¹ * C * A)\nhA' : A' = A ∩ ({x}⁻¹ * C * A)\nC' : Finset G := insert x C\nhC' : ... | [] | gcongr ?_ + _ - ?_; exact hA _ inter_subset_left | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Additive.PluenneckeRuzsa | {
"line": 227,
"column": 38
} | {
"line": 227,
"column": 77
} | {
"line": 228,
"column": 6
} | [
{
"pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : CommGroup G\nA B : Finset G\nhAB : ∀ A' ⊆ A, #(A * B) * #A' ≤ #(A' * B) * #A\nhA : A.Nonempty\nn : ℕ\nih : ↑(#(A * B ^ n)) ≤ (↑(#(A * B)) / ↑(#A)) ^ n * ↑(#A)\n⊢ ↑(#(A * B ^ (n + 1))) * ↑(#A) = ↑(#(B ^ n * A * B)) * ↑(#A)",
"ppTerm": "?m.146",
"assi... | [] | rw [pow_succ, mul_left_comm, mul_assoc] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Combinatorics.Additive.PluenneckeRuzsa | {
"line": 227,
"column": 38
} | {
"line": 227,
"column": 77
} | {
"line": 228,
"column": 6
} | [
{
"pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : CommGroup G\nA B : Finset G\nhAB : ∀ A' ⊆ A, #(A * B) * #A' ≤ #(A' * B) * #A\nhA : A.Nonempty\nn : ℕ\nih : ↑(#(A * B ^ n)) ≤ (↑(#(A * B)) / ↑(#A)) ^ n * ↑(#A)\n⊢ ↑(#(A * B ^ (n + 1))) * ↑(#A) = ↑(#(B ^ n * A * B)) * ↑(#A)",
"ppTerm": "?m.146",
"assi... | [] | rw [pow_succ, mul_left_comm, mul_assoc] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.Additive.PluenneckeRuzsa | {
"line": 227,
"column": 38
} | {
"line": 227,
"column": 77
} | {
"line": 228,
"column": 6
} | [
{
"pp": "G : Type u_1\ninst✝¹ : DecidableEq G\ninst✝ : CommGroup G\nA B : Finset G\nhAB : ∀ A' ⊆ A, #(A * B) * #A' ≤ #(A' * B) * #A\nhA : A.Nonempty\nn : ℕ\nih : ↑(#(A * B ^ n)) ≤ (↑(#(A * B)) / ↑(#A)) ^ n * ↑(#A)\n⊢ ↑(#(A * B ^ (n + 1))) * ↑(#A) = ↑(#(B ^ n * A * B)) * ↑(#A)",
"ppTerm": "?m.146",
"assi... | [] | rw [pow_succ, mul_left_comm, mul_assoc] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Additive.CauchyDavenport | {
"line": 136,
"column": 2
} | {
"line": 136,
"column": 79
} | {
"line": 137,
"column": 2
} | [
{
"pp": "case inr\nα : Type u_2\ninst✝¹ : Group α\ninst✝ : DecidableEq α\ns t : Finset α\nhs : s.Nonempty\nht : t.Nonempty\nih :\n ∀ (a b : Finset α),\n a.Nonempty → b.Nonempty → DevosMulRel (a, b) (s, t) → minOrder α ≤ ↑(#(a * b)) ∨ #a + #b ≤ #(a * b) + 1\nhst : #s ≤ #t\n⊢ minOrder α ≤ ↑(#(s * t)) ∨ #s + #... | [
"case inr.inl\nα : Type u_2\ninst✝¹ : Group α\ninst✝ : DecidableEq α\nt : Finset α\nht : t.Nonempty\na : α\nhs : {a}.Nonempty\nih :\n ∀ (a_1 b : Finset α),\n a_1.Nonempty → b.Nonempty → DevosMulRel (a_1, b) ({a}, t) → minOrder α ≤ ↑(#(a_1 * b)) ∨ #a_1 + #b ≤ #(a_1 * b) + 1\nhst : #{a} ≤ #t\n⊢ minOrder α ≤ ↑(#({... | obtain ⟨a, rfl⟩ | ⟨a, ha, b, hb, hab⟩ := hs.exists_eq_singleton_or_nontrivial | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.Combinatorics.Additive.Convolution | {
"line": 98,
"column": 2
} | {
"line": 99,
"column": 55
} | {
"line": 101,
"column": 0
} | [
{
"pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : DecidableEq G\nA B : Finset G\nx : G\n⊢ A.convolution B x⁻¹ = B⁻¹.convolution A⁻¹ x",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instHSMul",
"instSMulOfMul",
"DivInvOneMonoid.toInvOneClass",
"Finse... | [] | nth_rw 1 [← inv_inv B]
rw [← card_smul_inter, ← card_inter_smul, inter_comm] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.Additive.Convolution | {
"line": 98,
"column": 2
} | {
"line": 99,
"column": 55
} | {
"line": 101,
"column": 0
} | [
{
"pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : DecidableEq G\nA B : Finset G\nx : G\n⊢ A.convolution B x⁻¹ = B⁻¹.convolution A⁻¹ x",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instHSMul",
"instSMulOfMul",
"DivInvOneMonoid.toInvOneClass",
"Finse... | [] | nth_rw 1 [← inv_inv B]
rw [← card_smul_inter, ← card_inter_smul, inter_comm] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Order.Partition.Finpartition | {
"line": 361,
"column": 8
} | {
"line": 364,
"column": 38
} | {
"line": 365,
"column": 6
} | [
{
"pp": "α : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝¹ : Lattice (Subtype Pr) := S... | [] | apply P.supIndep
· simpa [image_subset_iff_subset_preimage] using ht
· simpa using hi
· simpa [i.property] using hi' | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.Partition.Finpartition | {
"line": 361,
"column": 8
} | {
"line": 364,
"column": 38
} | {
"line": 365,
"column": 6
} | [
{
"pp": "α : Type u_1\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\na : α\nP✝ : Finpartition a\ns : α\nP : Finpartition s\nPr : α → Prop\nPrsup : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊔ t)\nPrinf : ∀ ⦃s t : α⦄, Pr s → Pr t → Pr (s ⊓ t)\nPrbot : Pr ⊥\nhs : Pr s\nhP : ∀ p ∈ P.parts, Pr p\nthis✝¹ : Lattice (Subtype Pr) := S... | [] | apply P.supIndep
· simpa [image_subset_iff_subset_preimage] using ht
· simpa using hi
· simpa [i.property] using hi' | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Sites.SheafCohomology.MayerVietoris | {
"line": 79,
"column": 2
} | {
"line": 79,
"column": 20
} | {
"line": 80,
"column": 2
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\nJ : GrothendieckTopology C\ninst✝² : HasWeakSheafify J (Type v)\ninst✝¹ : HasSheafify J AddCommGrpCat\ninst✝ : HasExt (Sheaf J AddCommGrpCat)\nS : J.MayerVietorisSquare\nF : Sheaf J AddCommGrpCat\nn : ℕ\ny₁ : ↑(F.H' n S.X₂)\ny₂ : ↑(F.H' n S.X₃)\n⊢ (ConcreteCatego... | [
"C : Type u\ninst✝³ : Category.{v, u} C\nJ : GrothendieckTopology C\ninst✝² : HasWeakSheafify J (Type v)\ninst✝¹ : HasSheafify J AddCommGrpCat\ninst✝ : HasExt (Sheaf J AddCommGrpCat)\nS : J.MayerVietorisSquare\nF : Sheaf J AddCommGrpCat\nn : ℕ\ny₁ : ↑(F.H' n S.X₂)\ny₂ : ↑(F.H' n S.X₃)\n⊢ (ConcreteCategory.hom (bipr... | dsimp [fromBiprod] | Lean.Elab.Tactic.evalDSimp | Lean.Parser.Tactic.dsimp |
Mathlib.Order.Partition.Finpartition | {
"line": 567,
"column": 66
} | {
"line": 576,
"column": 90
} | {
"line": 578,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : Lattice α\ninst✝² : OrderBot α\ninst✝¹ : IsModularLattice α\ninst✝ : DecidableEq α\na : α\nP : Finpartition a\nQ : (i : α) → i ∈ P.parts → Finpartition i\n⊢ #(P.bind Q).parts = ∑ A ∈ P.parts.attach, #(Q ↑A ⋯).parts",
"ppTerm": "?m.58",
"assigned": true,
"usedConstants... | [] | by
apply card_biUnion
rintro ⟨b, hb⟩ - ⟨c, hc⟩ - hbc
rw [Function.onFun, Finset.disjoint_left]
rintro d hdb hdc
rw [Ne, Subtype.mk_eq_mk] at hbc
exact
(Q b hb).ne_bot hdb
(eq_bot_iff.2 <|
(le_inf ((Q b hb).le hdb) <| (Q c hc).le hdc).trans (P.disjoint hb hc hbc).le_bot) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Combinatorics.SimpleGraph.Density | {
"line": 127,
"column": 2
} | {
"line": 127,
"column": 47
} | {
"line": 128,
"column": 2
} | [
{
"pp": "case h\nα : Type u_4\nβ : Type u_5\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns : Finset α\nt : Finset β\n⊢ ↑(#(interedges r s t)) ≤ ↑(#s) * ↑(#t)",
"ppTerm": "?h",
"assigned": true,
"usedConstants": [
"Nat.cast_mul._simp_1",
"NonAssocSemiring.toAddCommMonoidWithO... | [
"case hb\nα : Type u_4\nβ : Type u_5\nr : α → β → Prop\ninst✝ : (a : α) → DecidablePred (r a)\ns : Finset α\nt : Finset β\n⊢ 0 ≤ ↑(#s) * ↑(#t)"
] | · exact mod_cast card_interedges_le_mul r s t | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Order.Partition.Finpartition | {
"line": 689,
"column": 14
} | {
"line": 694,
"column": 60
} | {
"line": 695,
"column": 2
} | [
{
"pp": "α : Type u_1\ninst✝ : DecidableEq α\ns t u : Finset α\nP : Finpartition s\na : α\nparts : Finset (Finset α)\nh : ∀ p ∈ parts, p ⊆ s\nh' : ∀ a ∈ s, ∃! t, t ∈ parts ∧ a ∈ t\nh'' : ∅ ∉ parts\n⊢ parts.SupIndep id",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"F... | [] | by
simp only [supIndep_iff_pairwiseDisjoint]
intro a ha b hb hab
rw [Function.onFun, Finset.disjoint_left]
intro x hx hx'
exact hab ((h' x (h _ ha hx)).unique ⟨ha, hx⟩ ⟨hb, hx'⟩) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Combinatorics.SimpleGraph.Density | {
"line": 154,
"column": 2
} | {
"line": 154,
"column": 59
} | {
"line": 155,
"column": 2
} | [
{
"pp": "α : Type u_4\nβ : Type u_5\nr : α → β → Prop\ninst✝¹ : (a : α) → DecidablePred (r a)\nt : Finset β\ninst✝ : DecidableEq β\ns : Finset α\nP : Finpartition t\n⊢ #(interedges r s t) = ∑ b ∈ P.parts, #(interedges r s b)",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Eq.mpr",
... | [
"α : Type u_4\nβ : Type u_5\nr : α → β → Prop\ninst✝¹ : (a : α) → DecidablePred (r a)\nt : Finset β\ninst✝ : DecidableEq β\ns : Finset α\nP : Finpartition t\n⊢ #(P.parts.biUnion fun b ↦ interedges r s b) = ∑ b ∈ P.parts, #(interedges r s b)"
] | simp_rw [← P.biUnion_parts, interedges_biUnion_right, id] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.Combinatorics.SimpleGraph.Regularity.Equitabilise | {
"line": 99,
"column": 6
} | {
"line": 99,
"column": 87
} | {
"line": 100,
"column": 4
} | [
{
"pp": "case pos.refine_2\nα : Type u_1\ninst✝ : DecidableEq α\nm : ℕ\nm_pos : m > 0\ns : Finset α\nih :\n ∀ t ⊂ s,\n ∀ {a b : ℕ} {P : Finpartition t},\n a * m + b * (m + 1) = #t →\n ∃ Q,\n (∀ x ∈ Q.parts, #x = m ∨ #x = m + 1) ∧\n (∀ x ∈ P.parts, #(x \\ {y ∈ Q.parts | y ⊆ x}... | [] | exact fun x hx => (card_le_card sdiff_subset).trans (Nat.lt_succ_iff.1 <| h _ hx) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Combinatorics.SimpleGraph.Regularity.Equitabilise | {
"line": 99,
"column": 6
} | {
"line": 99,
"column": 87
} | {
"line": 100,
"column": 4
} | [
{
"pp": "case pos.refine_2\nα : Type u_1\ninst✝ : DecidableEq α\nm : ℕ\nm_pos : m > 0\ns : Finset α\nih :\n ∀ t ⊂ s,\n ∀ {a b : ℕ} {P : Finpartition t},\n a * m + b * (m + 1) = #t →\n ∃ Q,\n (∀ x ∈ Q.parts, #x = m ∨ #x = m + 1) ∧\n (∀ x ∈ P.parts, #(x \\ {y ∈ Q.parts | y ⊆ x}... | [] | exact fun x hx => (card_le_card sdiff_subset).trans (Nat.lt_succ_iff.1 <| h _ hx) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.SimpleGraph.Regularity.Equitabilise | {
"line": 99,
"column": 6
} | {
"line": 99,
"column": 87
} | {
"line": 100,
"column": 4
} | [
{
"pp": "case pos.refine_2\nα : Type u_1\ninst✝ : DecidableEq α\nm : ℕ\nm_pos : m > 0\ns : Finset α\nih :\n ∀ t ⊂ s,\n ∀ {a b : ℕ} {P : Finpartition t},\n a * m + b * (m + 1) = #t →\n ∃ Q,\n (∀ x ∈ Q.parts, #x = m ∨ #x = m + 1) ∧\n (∀ x ∈ P.parts, #(x \\ {y ∈ Q.parts | y ⊆ x}... | [] | exact fun x hx => (card_le_card sdiff_subset).trans (Nat.lt_succ_iff.1 <| h _ hx) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.SimpleGraph.Regularity.Equitabilise | {
"line": 89,
"column": 2
} | {
"line": 105,
"column": 82
} | {
"line": 106,
"column": 2
} | [
{
"pp": "case pos\nα : Type u_1\ninst✝ : DecidableEq α\nm : ℕ\nm_pos : m > 0\ns : Finset α\nih :\n ∀ t ⊂ s,\n ∀ {a b : ℕ} {P : Finpartition t},\n a * m + b * (m + 1) = #t →\n ∃ Q,\n (∀ x ∈ Q.parts, #x = m ∨ #x = m + 1) ∧\n (∀ x ∈ P.parts, #(x \\ {y ∈ Q.parts | y ⊆ x}.biUnion ... | [
"case neg\nα : Type u_1\ninst✝ : DecidableEq α\nm : ℕ\nm_pos : m > 0\ns : Finset α\nih :\n ∀ t ⊂ s,\n ∀ {a b : ℕ} {P : Finpartition t},\n a * m + b * (m + 1) = #t →\n ∃ Q,\n (∀ x ∈ Q.parts, #x = m ∨ #x = m + 1) ∧\n (∀ x ∈ P.parts, #(x \\ {y ∈ Q.parts | y ⊆ x}.biUnion id) ≤ m) ∧ #... | · obtain ⟨t, hts, htn⟩ := exists_subset_card_eq (hn₂.trans_eq hs)
have ht : t.Nonempty := by rwa [← card_pos, htn]
have hcard : ite (0 < a) (a - 1) a * m + ite (0 < a) b (b - 1) * (m + 1) = #(s \ t) := by
rw [card_sdiff_of_subset ‹t ⊆ s›, htn, hn₃]
obtain ⟨R, hR₁, _, hR₃⟩ :=
@ih (s \ t) (sdiff_s... | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Combinatorics.SimpleGraph.Regularity.Lemma | {
"line": 100,
"column": 2
} | {
"line": 115,
"column": 41
} | {
"line": 117,
"column": 2
} | [
{
"pp": "case inr.inr\nα : Type u_1\ninst✝² : DecidableEq α\ninst✝¹ : Fintype α\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nl : ℕ\nhε : 0 < ε\nhl : l ≤ Fintype.card α\nhα : bound ε l ≤ Fintype.card α\nt : ℕ := initialBound ε l\nhtα : t ≤ #univ\ndum : Finpartition univ\nhdum₁ : dum.IsEquipartition\nhd... | [
"case inr.inr\nα : Type u_1\ninst✝² : DecidableEq α\ninst✝¹ : Fintype α\nG : SimpleGraph α\ninst✝ : DecidableRel G.Adj\nε : ℝ\nl : ℕ\nhε : 0 < ε\nhl : l ≤ Fintype.card α\nhα : bound ε l ≤ Fintype.card α\nt : ℕ := initialBound ε l\nhtα : t ≤ #univ\ndum : Finpartition univ\nhdum₁ : dum.IsEquipartition\nhdum₂ : #dum.p... | suffices h : ∀ i, ∃ P : Finpartition (univ : Finset α), P.IsEquipartition ∧ t ≤ #P.parts ∧
#P.parts ≤ stepBound^[i] t ∧ (P.IsUniform G ε ∨ ε ^ 5 / 4 * i ≤ P.energy G) by
-- For `i > 4 / ε ^ 5` we know that the partition we get can't have energy `≥ ε ^ 5 / 4 * i > 1`,
-- so it must instead be `ε`-uniform and we ... | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticSuffices__1 | Lean.Parser.Tactic.tacticSuffices_ |
Mathlib.Combinatorics.SimpleGraph.Dart | {
"line": 41,
"column": 2
} | {
"line": 41,
"column": 10
} | {
"line": 41,
"column": 10
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nd₁ d₂ : G.Dart\n⊢ d₁ = d₂ ↔ d₁.toProd = d₂.toProd",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"SimpleGraph.Dart.casesOn",
"SimpleGraph.Adj",
"SimpleGraph.Dart",
"Prod.fst",
"Iff",
"SimpleGraph.Dart.toProd",
... | [
"case mk\nV : Type u_1\nG : SimpleGraph V\nd₂ : G.Dart\ntoProd✝ : V × V\nadj✝ : G.Adj toProd✝.1 toProd✝.2\n⊢ { toProd := toProd✝, adj := adj✝ } = d₂ ↔ { toProd := toProd✝, adj := adj✝ }.toProd = d₂.toProd"
] | cases d₁ | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalCases | Lean.Parser.Tactic.cases |
Mathlib.Combinatorics.SimpleGraph.Regularity.Equitabilise | {
"line": 169,
"column": 2
} | {
"line": 169,
"column": 87
} | {
"line": 170,
"column": 2
} | [
{
"pp": "α : Type u_1\ninst✝ : DecidableEq α\ns : Finset α\nm a b : ℕ\nP : Finpartition s\nh : a * m + b * (m + 1) = #s\nhm : m ≠ 0\n⊢ #({u ∈ (equitabilise h).parts | #u = m}) = a",
"ppTerm": "?m.45",
"assigned": true,
"usedConstants": [
"Nat.instMulZeroClass",
"Nat.instIsOrderedAddMonoi... | [
"α : Type u_1\ninst✝ : DecidableEq α\ns : Finset α\nm a b : ℕ\nP : Finpartition s\nh : a * m + b * (m + 1) = #s\nhm : m ≠ 0\n⊢ #({u ∈ (equitabilise h).parts | #u = m}) * m + b * (m + 1) = a * m + b * (m + 1)"
] | refine (mul_eq_mul_right_iff.1 <| (add_left_inj (b * (m + 1))).1 ?_).resolve_right hm | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Combinatorics.SimpleGraph.Finite | {
"line": 362,
"column": 6
} | {
"line": 362,
"column": 38
} | {
"line": 362,
"column": 38
} | [
{
"pp": "V : Type u_1\nG : SimpleGraph V\nv : V\ninst✝¹ : Fintype ↑(G.neighborSet v)\ninst✝ : Fintype ↑G.edgeSet\n⊢ G.degree v ≤ #G.edgeFinset",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"id",
"LE.le",
"instLENat",
"SimpleGraph.... | [
"V : Type u_1\nG : SimpleGraph V\nv : V\ninst✝¹ : Fintype ↑(G.neighborSet v)\ninst✝ : Fintype ↑G.edgeSet\n⊢ #(G.incidenceFinset v) ≤ #G.edgeFinset"
] | ← card_incidenceFinset_eq_degree | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Combinatorics.SimpleGraph.Subgraph | {
"line": 737,
"column": 4
} | {
"line": 737,
"column": 34
} | {
"line": 738,
"column": 4
} | [
{
"pp": "case refine_1\nι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na b : V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\n⊢ Function.Injective fun H ↦\n { verts := ↑(↑H).1, Adj := fun a b ↦ (↑H).2 a b = true, adj_sub := ⋯, edge_vert := ⋯, symm :=... | [
"case refine_1\nι : Sort u_1\nV : Type u\nW : Type v\nG : SimpleGraph V\nG' G₁ G₂ : G.Subgraph\na b : V\ninst✝² : DecidableEq V\ninst✝¹ : Fintype V\ninst✝ : DecidableRel G.Adj\nfst✝¹ : Finset V\nsnd✝¹ : V → V → Bool\nproperty✝¹ :\n (∀ (a b : V), (fst✝¹, snd✝¹).2 a b = true → G.Adj a b) ∧\n (∀ (a b : V), (fst✝¹,... | rintro ⟨⟨_, _⟩, -⟩ ⟨⟨_, _⟩, -⟩ | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRIntro | Lean.Parser.Tactic.rintro |
Mathlib.Combinatorics.SimpleGraph.Subgraph | {
"line": 1308,
"column": 4
} | {
"line": 1308,
"column": 49
} | {
"line": 1309,
"column": 4
} | [
{
"pp": "case Adj.refine_1\nι : Sort u_1\nV : Type u\nG : SimpleGraph V\nG' : G.Subgraph\ninst✝ : Nonempty ι\ns : ι → Set V\nu v : V\nh : (G'.induce (⋂ i, s i)).Adj u v\n⊢ (∀ (i : ι), (G'.induce (s i)).Adj u v) ∧ G.Adj u v",
"ppTerm": "?Adj.refine_1",
"assigned": true,
"usedConstants": [
"_pri... | [
"case Adj.refine_2\nι : Sort u_1\nV : Type u\nG : SimpleGraph V\nG' : G.Subgraph\ninst✝ : Nonempty ι\ns : ι → Set V\nu v : V\nx✝ : (∀ (i : ι), (G'.induce (s i)).Adj u v) ∧ G.Adj u v\nh : ∀ (i : ι), (G'.induce (s i)).Adj u v\nright✝ : G.Adj u v\n⊢ (G'.induce (⋂ i, s i)).Adj u v"
] | · grind [induce_adj, Set.mem_iInter, adj_sub] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Combinatorics.SimpleGraph.Walk.Operations | {
"line": 400,
"column": 2
} | {
"line": 400,
"column": 50
} | {
"line": 402,
"column": 0
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v w : V\np : G.Walk u v\nq : G.Walk v w\n⊢ q.support <:+ (p.append q).support",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"congrArg",
"SimpleGraph.Walk.support",
"List.suffix_append._simp_1",
"List.dropLast",
"inst... | [] | simp [support_append_eq_support_dropLast_append] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Combinatorics.SimpleGraph.Walk.Operations | {
"line": 400,
"column": 2
} | {
"line": 400,
"column": 50
} | {
"line": 402,
"column": 0
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v w : V\np : G.Walk u v\nq : G.Walk v w\n⊢ q.support <:+ (p.append q).support",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"congrArg",
"SimpleGraph.Walk.support",
"List.suffix_append._simp_1",
"List.dropLast",
"inst... | [] | simp [support_append_eq_support_dropLast_append] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Combinatorics.SimpleGraph.Walk.Operations | {
"line": 400,
"column": 2
} | {
"line": 400,
"column": 50
} | {
"line": 402,
"column": 0
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nu v w : V\np : G.Walk u v\nq : G.Walk v w\n⊢ q.support <:+ (p.append q).support",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"congrArg",
"SimpleGraph.Walk.support",
"List.suffix_append._simp_1",
"List.dropLast",
"inst... | [] | simp [support_append_eq_support_dropLast_append] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.SimpleGraph.Walk.Decomp | {
"line": 271,
"column": 14
} | {
"line": 271,
"column": 51
} | {
"line": 272,
"column": 2
} | [
{
"pp": "V : Type u\nG : SimpleGraph V\nw : V\ninst✝ : DecidableEq V\nu v : V\nn : ℕ\np : G.Walk u v\nhw : w ∈ p.support\nhn : n ≤ (p.takeUntil w hw).length\n| p.getVert n",
"ppTerm": "?m.38",
"assigned": true,
"usedConstants": [
"congrArg",
"SimpleGraph.Walk.length",
"HSub.hSub",
... | [
"V : Type u\nG : SimpleGraph V\nw : V\ninst✝ : DecidableEq V\nu v : V\nn : ℕ\np : G.Walk u v\nhw : w ∈ p.support\nhn : n ≤ (p.takeUntil w hw).length\n| if n < (p.takeUntil w hw).length then (p.takeUntil w hw).getVert n\n else (p.dropUntil w hw).getVert (n - (p.takeUntil w hw).length)"
] | rw [← take_spec p hw, getVert_append] | Lean.Parser.Tactic.Conv._aux_Init_Conv___macroRules_Lean_Parser_Tactic_Conv_convRw___1 | Lean.Parser.Tactic.Conv.convRw__ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.