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.Combinatorics.Quiver.Path | {
"line": 218,
"column": 30
} | {
"line": 218,
"column": 51
} | {
"line": 220,
"column": 0
} | [
{
"pp": "V : Type u\ninst✝ : Quiver V\na b : V\np : Path a b\nx✝ d : V\nq : Path b d\na✝ : d ⟶ x✝\n⊢ (p.comp (q.cons a✝)).toList = (q.cons a✝).toList ++ p.toList",
"ppTerm": "?m.43",
"assigned": true,
"usedConstants": [
"congrArg",
"Quiver.Path.toList",
"Quiver.Path.toList.eq_2",
... | [] | by simp [toList_comp] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.IsoCat | {
"line": 74,
"column": 4
} | {
"line": 74,
"column": 79
} | {
"line": 75,
"column": 4
} | [
{
"pp": "C : Type u_1\nD : Type u_2\nE : Type u_3\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Category.{v_2, u_2} D\ninst✝ : Category.{v_3, u_3} E\nF : C ⥤ D\nG : D ⥤ E\ne : IsoCat C D\nf : IsoCat D E\n⊢ 𝟭 C = (e.functor ⋙ f.functor) ⋙ f.inverse ⋙ e.inverse",
"ppTerm": "?m.45",
"assigned": true,
"use... | [
"C : Type u_1\nD : Type u_2\nE : Type u_3\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Category.{v_2, u_2} D\ninst✝ : Category.{v_3, u_3} E\nF : C ⥤ D\nG : D ⥤ E\ne : IsoCat C D\nf : IsoCat D E\n⊢ 𝟭 C = e.functor ⋙ e.inverse"
] | rw [Functor.assoc, ← Functor.assoc f.functor, ← f.unit_eq, Functor.id_comp] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.CategoryTheory.Retract | {
"line": 176,
"column": 53
} | {
"line": 176,
"column": 74
} | {
"line": 176,
"column": 74
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nD : Type u'\ninst✝ : Category.{v', u'} D\nX✝ Y✝ Z✝ W✝ : C\nf✝ : X✝ ⟶ Y✝\ng✝ : Z✝ ⟶ W✝\nh✝ : RetractArrow f✝ g✝\nX Y Z W : Cᵒᵖ\nf : X ⟶ Y\ng : Z ⟶ W\nh : RetractArrow f g\n⊢ (Arrow.Hom.right h.r).unop ≫ (Arrow.mk g.unop).hom = (Arrow.mk f.unop).hom ≫ (Arrow.Hom.le... | [] | by simp [← unop_comp] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Retract | {
"line": 177,
"column": 53
} | {
"line": 177,
"column": 74
} | {
"line": 177,
"column": 74
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nD : Type u'\ninst✝ : Category.{v', u'} D\nX✝ Y✝ Z✝ W✝ : C\nf✝ : X✝ ⟶ Y✝\ng✝ : Z✝ ⟶ W✝\nh✝ : RetractArrow f✝ g✝\nX Y Z W : Cᵒᵖ\nf : X ⟶ Y\ng : Z ⟶ W\nh : RetractArrow f g\n⊢ (Arrow.Hom.right h.i).unop ≫ (Arrow.mk f.unop).hom = (Arrow.mk g.unop).hom ≫ (Arrow.Hom.le... | [] | by simp [← unop_comp] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.HasLimits | {
"line": 190,
"column": 27
} | {
"line": 190,
"column": 43
} | {
"line": 190,
"column": 43
} | [
{
"pp": "J : Type u₁\ninst✝³ : Category.{v₁, u₁} J\nK : Type u₂\ninst✝² : Category.{v₂, u₂} K\nC : Type u\ninst✝¹ : Category.{v, u} C\nF✝ F : J ⥤ C\ninst✝ : HasLimit F\nj j' : J\nhj : j = j'\n⊢ F.obj j = F.obj j'",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Eq.ndrec",
"Eq.r... | [] | by subst hj; rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.HasLimits | {
"line": 196,
"column": 13
} | {
"line": 196,
"column": 29
} | {
"line": 196,
"column": 29
} | [
{
"pp": "J : Type u₁\ninst✝³ : Category.{v₁, u₁} J\nK : Type u₂\ninst✝² : Category.{v₂, u₂} K\nC : Type u\ninst✝¹ : Category.{v, u} C\nF✝ F : J ⥤ C\ninst✝ : HasColimit F\nj j' : J\nhj : j = j'\n⊢ F.obj j' = F.obj j",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Eq.ndrec",
"Eq... | [] | by subst hj; rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Cones | {
"line": 648,
"column": 14
} | {
"line": 648,
"column": 36
} | {
"line": 648,
"column": 37
} | [
{
"pp": "J : Type u₁\ninst✝⁴ : Category.{v₁, u₁} J\nK : Type u₂\ninst✝³ : Category.{v₂, u₂} K\nC : Type u₃\ninst✝² : Category.{v₃, u₃} C\nD : Type u₄\ninst✝¹ : Category.{v₄, u₄} D\nE : Type u₅\ninst✝ : Category.{v₅, u₅} E\nF : J ⥤ C\nX Y : Cocone F\nf : X ⟶ Y\nj : Jᵒᵖ\n⊢ X.ι.app (unop j) ≫ f.hom = Y.ι.app (unop... | [] | apply CoconeMorphism.w | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.Cospan | {
"line": 231,
"column": 24
} | {
"line": 231,
"column": 57
} | {
"line": 231,
"column": 57
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nF : WalkingCospan ⥤ C\nj : WalkingCospan\n⊢ F.obj j = (cospan (F.map inl) (F.map inr)).obj j",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.WalkingCospan.Hom.inl",
"CategoryTheory.Limits.WalkingCospan.right... | [] | rcases j with (⟨⟩ | ⟨⟨⟩⟩) <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.Cospan | {
"line": 231,
"column": 24
} | {
"line": 231,
"column": 57
} | {
"line": 231,
"column": 57
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nF : WalkingCospan ⥤ C\nj : WalkingCospan\n⊢ F.obj j = (cospan (F.map inl) (F.map inr)).obj j",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.WalkingCospan.Hom.inl",
"CategoryTheory.Limits.WalkingCospan.right... | [] | rcases j with (⟨⟩ | ⟨⟨⟩⟩) <;> rfl | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.Cospan | {
"line": 231,
"column": 24
} | {
"line": 231,
"column": 57
} | {
"line": 231,
"column": 57
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nF : WalkingCospan ⥤ C\nj : WalkingCospan\n⊢ F.obj j = (cospan (F.map inl) (F.map inr)).obj j",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.WalkingCospan.Hom.inl",
"CategoryTheory.Limits.WalkingCospan.right... | [] | rcases j with (⟨⟩ | ⟨⟨⟩⟩) <;> rfl | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.Cospan | {
"line": 238,
"column": 24
} | {
"line": 238,
"column": 57
} | {
"line": 238,
"column": 57
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nF : WalkingSpan ⥤ C\nj : WalkingSpan\n⊢ F.obj j = (span (F.map fst) (F.map snd)).obj j",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.WalkingSpan",
"Option.casesOn",
"CategoryTheory.Limits.WalkingSpan... | [] | rcases j with (⟨⟩ | ⟨⟨⟩⟩) <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.Cospan | {
"line": 238,
"column": 24
} | {
"line": 238,
"column": 57
} | {
"line": 238,
"column": 57
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nF : WalkingSpan ⥤ C\nj : WalkingSpan\n⊢ F.obj j = (span (F.map fst) (F.map snd)).obj j",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.WalkingSpan",
"Option.casesOn",
"CategoryTheory.Limits.WalkingSpan... | [] | rcases j with (⟨⟩ | ⟨⟨⟩⟩) <;> rfl | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.Cospan | {
"line": 238,
"column": 24
} | {
"line": 238,
"column": 57
} | {
"line": 238,
"column": 57
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\nF : WalkingSpan ⥤ C\nj : WalkingSpan\n⊢ F.obj j = (span (F.map fst) (F.map snd)).obj j",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.WalkingSpan",
"Option.casesOn",
"CategoryTheory.Limits.WalkingSpan... | [] | rcases j with (⟨⟩ | ⟨⟨⟩⟩) <;> rfl | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.MorphismProperty.Factorization | {
"line": 84,
"column": 9
} | {
"line": 84,
"column": 30
} | {
"line": 86,
"column": 0
} | [
{
"pp": "C : Type u_1\nD : Type u_2\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Category.{v_2, u_2} D\nW₁✝ W₂✝ : MorphismProperty C\nX✝ Y✝ : C\nf✝ : X✝ ⟶ Y✝\nW₁ W₂ : MorphismProperty Cᵒᵖ\nX Y : Cᵒᵖ\nf : X ⟶ Y\nφ : W₁.MapFactorizationData W₂ f\n⊢ φ.p.unop ≫ φ.i.unop = f.unop",
"ppTerm": "?m.77",
"assigned":... | [] | by simp [← unop_comp] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Shapes.Kernels | {
"line": 182,
"column": 14
} | {
"line": 182,
"column": 66
} | {
"line": 182,
"column": 66
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : HasZeroMorphisms C\nX Y : C\nf : X ⟶ Y\nW : C\ng : Y ⟶ W\nh : X ⟶ W\nc : KernelFork h\ni : IsLimit c\nhf : Fork.ι c ≫ f = 0\nhfg : f ≫ g = h\ns : Fork f 0\n⊢ i.lift (KernelFork.ofι s.ι ⋯) ≫ Fork.ι (KernelFork.ofι (Fork.ι c) hf) = s.ι",
"ppTerm": "?m.9... | [] | by simp only [KernelFork.ι_ofι, Fork.IsLimit.lift_ι] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Shapes.Kernels | {
"line": 385,
"column": 2
} | {
"line": 385,
"column": 28
} | {
"line": 387,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : HasZeroMorphisms C\nX Y : C\n⊢ kernelZeroIsoSource.inv ≫ equalizer.ι 0 0 = kernel.lift 0 (𝟙 X) ⋯ ≫ equalizer.ι 0 0",
"ppTerm": "?m.45",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.Cone.π",
"CategoryTheory.Functor",... | [] | simp [kernelZeroIsoSource] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Filtered.Basic | {
"line": 249,
"column": 4
} | {
"line": 250,
"column": 60
} | {
"line": 251,
"column": 2
} | [
{
"pp": "case empty\nC : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : IsFiltered C\nO : Finset C\nH : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y))\n⊢ ∃ S T, ∀ {X Y : C} (mX : X ∈ O) (mY : Y ∈ O) {f : X ⟶ Y}, ⟨X, ⟨Y, ⟨mX, ⟨mY, f⟩⟩⟩⟩ ∈ ∅ → f ≫ T mY = T mX",
"ppTerm": "?empty",
"assi... | [] | obtain ⟨S, f⟩ := sup_objs_exists O
exact ⟨S, fun mX => (f mX).some, by rintro - - - - - ⟨⟩⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Filtered.Basic | {
"line": 249,
"column": 4
} | {
"line": 250,
"column": 60
} | {
"line": 251,
"column": 2
} | [
{
"pp": "case empty\nC : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : IsFiltered C\nO : Finset C\nH : Finset ((X : C) ×' (Y : C) ×' (_ : X ∈ O) ×' (_ : Y ∈ O) ×' (X ⟶ Y))\n⊢ ∃ S T, ∀ {X Y : C} (mX : X ∈ O) (mY : Y ∈ O) {f : X ⟶ Y}, ⟨X, ⟨Y, ⟨mX, ⟨mY, f⟩⟩⟩⟩ ∈ ∅ → f ≫ T mY = T mX",
"ppTerm": "?empty",
"assi... | [] | obtain ⟨S, f⟩ := sup_objs_exists O
exact ⟨S, fun mX => (f mX).some, by rintro - - - - - ⟨⟩⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.ObjectProperty.Small | {
"line": 137,
"column": 4
} | {
"line": 138,
"column": 56
} | {
"line": 140,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\nD : Type u'\ninst✝¹ : Category.{v', u'} D\nP : ObjectProperty C\ninst✝ : ObjectProperty.EssentiallySmall.{w, v, u} P\n⊢ ∃ Q, ∃ (_ : ObjectProperty.Small.{w, v, u} Q), P.isoClosure ≤ Q.isoClosure",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": ... | [] | obtain ⟨Q, _, _, _⟩ := EssentiallySmall.exists_small_le.{w} P
exact ⟨Q, inferInstance, by rwa [isoClosure_le_iff]⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.ObjectProperty.Small | {
"line": 137,
"column": 4
} | {
"line": 138,
"column": 56
} | {
"line": 140,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\nD : Type u'\ninst✝¹ : Category.{v', u'} D\nP : ObjectProperty C\ninst✝ : ObjectProperty.EssentiallySmall.{w, v, u} P\n⊢ ∃ Q, ∃ (_ : ObjectProperty.Small.{w, v, u} Q), P.isoClosure ≤ Q.isoClosure",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": ... | [] | obtain ⟨Q, _, _, _⟩ := EssentiallySmall.exists_small_le.{w} P
exact ⟨Q, inferInstance, by rwa [isoClosure_le_iff]⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.ObjectProperty.Small | {
"line": 209,
"column": 2
} | {
"line": 212,
"column": 51
} | {
"line": 214,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\nP : ObjectProperty C\ninst✝¹ : LocallySmall.{w, v, u} C\ninst✝ : ObjectProperty.EssentiallySmall.{w, v, u} P\n⊢ EssentiallySmall.{w, v, u} P.FullSubcategory",
"ppTerm": "?m.8",
"assigned": true,
"usedConstant... | [] | obtain ⟨Q, _, h₁, h₂⟩ := EssentiallySmall.exists_small_le P
have := (isEquivalence_ιOfLE_iff h₁).2 h₂
rw [← essentiallySmall_congr (ιOfLE h₁).asEquivalence]
exact essentiallySmall_of_small_of_locallySmall _ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.ObjectProperty.Small | {
"line": 209,
"column": 2
} | {
"line": 212,
"column": 51
} | {
"line": 214,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\nP : ObjectProperty C\ninst✝¹ : LocallySmall.{w, v, u} C\ninst✝ : ObjectProperty.EssentiallySmall.{w, v, u} P\n⊢ EssentiallySmall.{w, v, u} P.FullSubcategory",
"ppTerm": "?m.8",
"assigned": true,
"usedConstant... | [] | obtain ⟨Q, _, h₁, h₂⟩ := EssentiallySmall.exists_small_le P
have := (isEquivalence_ιOfLE_iff h₁).2 h₂
rw [← essentiallySmall_congr (ιOfLE h₁).asEquivalence]
exact essentiallySmall_of_small_of_locallySmall _ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.ShrinkYoneda | {
"line": 310,
"column": 2
} | {
"line": 313,
"column": 58
} | {
"line": 315,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : LocallySmall.{w, v, u} C\nD : Type u_1\ninst✝¹ : Category.{v_1, u_1} D\ninst✝ : LocallySmall.{w, v_1, u_1} D\nF : C ⥤ D\nX Y : C\nf : X ⟶ Y\nZ : Cᵒᵖ\n⊢ (shrinkYoneda.{w, v, u}.map f).app Z ≫ (shrinkYonedaMap F Y).app Z =\n (shrinkYonedaMap F X).app Z ... | [] | ext x
obtain ⟨x, rfl⟩ := shrinkYonedaObjObjEquiv.symm.surjective x
simp [shrinkYonedaMap_app_shrinkYonedaObjObjEquiv_symm.{w},
shrinkYoneda_map_app_shrinkYonedaObjObjEquiv_symm.{w}] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.ShrinkYoneda | {
"line": 310,
"column": 2
} | {
"line": 313,
"column": 58
} | {
"line": 315,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : LocallySmall.{w, v, u} C\nD : Type u_1\ninst✝¹ : Category.{v_1, u_1} D\ninst✝ : LocallySmall.{w, v_1, u_1} D\nF : C ⥤ D\nX Y : C\nf : X ⟶ Y\nZ : Cᵒᵖ\n⊢ (shrinkYoneda.{w, v, u}.map f).app Z ≫ (shrinkYonedaMap F Y).app Z =\n (shrinkYonedaMap F X).app Z ... | [] | ext x
obtain ⟨x, rfl⟩ := shrinkYonedaObjObjEquiv.symm.surjective x
simp [shrinkYonedaMap_app_shrinkYonedaObjObjEquiv_symm.{w},
shrinkYoneda_map_app_shrinkYonedaObjObjEquiv_symm.{w}] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.ShrinkYoneda | {
"line": 512,
"column": 80
} | {
"line": 514,
"column": 76
} | {
"line": 514,
"column": 76
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : LocallySmall.{w, v, u} C\nX : Cᵒᵖ\nX✝ Y✝ : C\nf : X✝ ⟶ Y✝\n⊢ (uliftCoyoneda.{w', v, u}.obj X).map f ≫ (Equiv.ulift.trans shrinkCoyonedaObjObjEquiv.symm).toIso.hom =\n (Equiv.ulift.trans shrinkCoyonedaObjObjEquiv.symm).toIso.hom ≫ (shrinkCoyoneda.{max w... | [] | by
ext
exact (shrinkCoyoneda_obj_map_shrinkCoyonedaObjObjEquiv_symm _ _).symm | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Types.Limits | {
"line": 47,
"column": 4
} | {
"line": 50,
"column": 81
} | {
"line": 52,
"column": 0
} | [
{
"pp": "case refine_2\nJ : Type v\ninst✝ : Category.{w, v} J\nF : J ⥤ Type u\nc : Cone F\nh : ∀ s ∈ F.sections, ∃! x, ∀ (j : J), (hom (c.π.app j)) x = s j\n⊢ IsLimit c",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.Cone.π",
"CategoryTheory.Functor",... | [] | have := fun c y ↦ h _ (sectionOfCone c y).2
choose x hx using fun c y ↦ h _ (sectionOfCone c y).2
exact ⟨fun d ↦ ↾(x d), fun c j ↦ by ext y; exact (hx c y).1 j,
fun c f hf ↦ by ext y; exact (hx c y).2 (f y) (fun j ↦ congr_hom (hf j) y)⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Types.Limits | {
"line": 47,
"column": 4
} | {
"line": 50,
"column": 81
} | {
"line": 52,
"column": 0
} | [
{
"pp": "case refine_2\nJ : Type v\ninst✝ : Category.{w, v} J\nF : J ⥤ Type u\nc : Cone F\nh : ∀ s ∈ F.sections, ∃! x, ∀ (j : J), (hom (c.π.app j)) x = s j\n⊢ IsLimit c",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.Cone.π",
"CategoryTheory.Functor",... | [] | have := fun c y ↦ h _ (sectionOfCone c y).2
choose x hx using fun c y ↦ h _ (sectionOfCone c y).2
exact ⟨fun d ↦ ↾(x d), fun c j ↦ by ext y; exact (hx c y).1 j,
fun c f hf ↦ by ext y; exact (hx c y).2 (f y) (fun j ↦ congr_hom (hf j) y)⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Grothendieck | {
"line": 208,
"column": 4
} | {
"line": 209,
"column": 12
} | {
"line": 209,
"column": 12
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nD : Type u₁\ninst✝ : Category.{v₁, u₁} D\nF : C ⥤ Cat\nX Y : Grothendieck F\ne₁ : X.base ≅ Y.base\ne₂ : (F.map e₁.hom).toFunctor.obj X.fiber ≅ Y.fiber\n⊢ eqToHom ⋯ ≫\n ({ base := e₁.inv, fiber := (F.map e₁.inv).toFunctor.map e₂.inv ≫ eqToHom ⋯ } ≫\n ... | [] | have := Functor.congr_hom congr($((F.mapIso e₁).inv_hom_id).toFunctor) e₂.inv
simp_all | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Grothendieck | {
"line": 208,
"column": 4
} | {
"line": 209,
"column": 12
} | {
"line": 209,
"column": 12
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nD : Type u₁\ninst✝ : Category.{v₁, u₁} D\nF : C ⥤ Cat\nX Y : Grothendieck F\ne₁ : X.base ≅ Y.base\ne₂ : (F.map e₁.hom).toFunctor.obj X.fiber ≅ Y.fiber\n⊢ eqToHom ⋯ ≫\n ({ base := e₁.inv, fiber := (F.map e₁.inv).toFunctor.map e₂.inv ≫ eqToHom ⋯ } ≫\n ... | [] | have := Functor.congr_hom congr($((F.mapIso e₁).inv_hom_id).toFunctor) e₂.inv
simp_all | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Types.Products | {
"line": 118,
"column": 4
} | {
"line": 120,
"column": 56
} | {
"line": 122,
"column": 0
} | [
{
"pp": "X Y : Type u\nx✝¹ : Cone (pair X Y)\nx✝ : x✝¹.pt ⟶ (binaryProductCone X Y).pt\nw : ∀ (j : Discrete WalkingPair), x✝ ≫ (binaryProductCone X Y).π.app j = x✝¹.π.app j\n⊢ x✝ = ↾fun x ↦ ((ConcreteCategory.hom (BinaryFan.fst x✝¹)) x, (ConcreteCategory.hom (BinaryFan.snd x✝¹)) x)",
"ppTerm": "?m.50",
... | [] | ext x
apply Prod.ext
exacts [congr($(w ⟨left⟩) x), congr($(w ⟨right⟩) x)] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Types.Products | {
"line": 118,
"column": 4
} | {
"line": 120,
"column": 56
} | {
"line": 122,
"column": 0
} | [
{
"pp": "X Y : Type u\nx✝¹ : Cone (pair X Y)\nx✝ : x✝¹.pt ⟶ (binaryProductCone X Y).pt\nw : ∀ (j : Discrete WalkingPair), x✝ ≫ (binaryProductCone X Y).π.app j = x✝¹.π.app j\n⊢ x✝ = ↾fun x ↦ ((ConcreteCategory.hom (BinaryFan.fst x✝¹)) x, (ConcreteCategory.hom (BinaryFan.snd x✝¹)) x)",
"ppTerm": "?m.50",
... | [] | ext x
apply Prod.ext
exacts [congr($(w ⟨left⟩) x), congr($(w ⟨right⟩) x)] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Creates | {
"line": 666,
"column": 4
} | {
"line": 666,
"column": 36
} | {
"line": 667,
"column": 4
} | [
{
"pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nJ : Type w\ninst✝² : Category.{w', w} J\nK : J ⥤ C\nE : Type u₃\nℰ : Category.{v₃, u₃} E\nF : C ⥤ D\nG : D ⥤ E\ninst✝¹ : CreatesLimit K F\ninst✝ : CreatesLimit (K ⋙ F) G\nc : Cone (K ⋙ F ⋙ G)\nt : IsLimit c\n⊢ Liftabl... | [
"C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nJ : Type w\ninst✝² : Category.{w', w} J\nK : J ⥤ C\nE : Type u₃\nℰ : Category.{v₃, u₃} E\nF : C ⥤ D\nG : D ⥤ E\ninst✝¹ : CreatesLimit K F\ninst✝ : CreatesLimit (K ⋙ F) G\nc : Cone (K ⋙ F ⋙ G)\nt : IsLimit c\nc' : Cone ((K ⋙ F) ⋙ ... | let c' : Cone ((K ⋙ F) ⋙ G) := c | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.CategoryTheory.ObjectProperty.ColimitsOfShape | {
"line": 349,
"column": 2
} | {
"line": 349,
"column": 48
} | {
"line": 351,
"column": 0
} | [
{
"pp": "C : Type u_1\nD : Type u_2\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : Category.{v_2, u_2} D\nP : ObjectProperty C\nJ : Type u'\ninst✝² : Category.{v', u'} J\nJ' : Type u''\ninst✝¹ : Category.{v'', u''} J'\ninst✝ : P.IsClosedUnderColimitsOfShape Jᵒᵖ\n⊢ P.op.IsClosedUnderLimitsOfShape J",
"ppTerm": "?... | [] | rwa [← isClosedUnderColimitsOfShape_op_iff_op] | Lean.Elab.Tactic.evalRwa | Lean.Parser.Tactic.rwa |
Mathlib.CategoryTheory.ObjectProperty.ColimitsOfShape | {
"line": 349,
"column": 2
} | {
"line": 349,
"column": 48
} | {
"line": 351,
"column": 0
} | [
{
"pp": "C : Type u_1\nD : Type u_2\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : Category.{v_2, u_2} D\nP : ObjectProperty C\nJ : Type u'\ninst✝² : Category.{v', u'} J\nJ' : Type u''\ninst✝¹ : Category.{v'', u''} J'\ninst✝ : P.IsClosedUnderColimitsOfShape Jᵒᵖ\n⊢ P.op.IsClosedUnderLimitsOfShape J",
"ppTerm": "?... | [] | rwa [← isClosedUnderColimitsOfShape_op_iff_op] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.ObjectProperty.ColimitsOfShape | {
"line": 349,
"column": 2
} | {
"line": 349,
"column": 48
} | {
"line": 351,
"column": 0
} | [
{
"pp": "C : Type u_1\nD : Type u_2\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : Category.{v_2, u_2} D\nP : ObjectProperty C\nJ : Type u'\ninst✝² : Category.{v', u'} J\nJ' : Type u''\ninst✝¹ : Category.{v'', u''} J'\ninst✝ : P.IsClosedUnderColimitsOfShape Jᵒᵖ\n⊢ P.op.IsClosedUnderLimitsOfShape J",
"ppTerm": "?... | [] | rwa [← isClosedUnderColimitsOfShape_op_iff_op] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Final | {
"line": 328,
"column": 2
} | {
"line": 330,
"column": 16
} | {
"line": 332,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nF : C ⥤ D\ninst✝² : F.Final\nE : Type u₃\ninst✝¹ : Category.{v₃, u₃} E\nG : D ⥤ E\ninst✝ : HasColimit G\n⊢ IsIso (colimit.pre G F)",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"CategoryT... | [] | simp only [colimit.pre_eq (colimitCoconeComp F (getColimitCocone G)) (getColimitCocone G),
colimitCoconeComp_cocone, IsColimit.desc_self]
infer_instance | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Final | {
"line": 328,
"column": 2
} | {
"line": 330,
"column": 16
} | {
"line": 332,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nF : C ⥤ D\ninst✝² : F.Final\nE : Type u₃\ninst✝¹ : Category.{v₃, u₃} E\nG : D ⥤ E\ninst✝ : HasColimit G\n⊢ IsIso (colimit.pre G F)",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"CategoryT... | [] | simp only [colimit.pre_eq (colimitCoconeComp F (getColimitCocone G)) (getColimitCocone G),
colimitCoconeComp_cocone, IsColimit.desc_self]
infer_instance | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Shapes.Biproducts | {
"line": 574,
"column": 2
} | {
"line": 574,
"column": 28
} | {
"line": 575,
"column": 2
} | [
{
"pp": "J : Type w\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasZeroMorphisms C\nf g : J → C\ninst✝¹ : HasBiproduct f\ninst✝ : HasBiproduct g\np : (j : J) → f j ⟶ g j\nj : J\n⊢ ι f j ≫ map p = p j ≫ ι g j",
"ppTerm": "?m.44",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits... | [
"J : Type w\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasZeroMorphisms C\nf g : J → C\ninst✝¹ : HasBiproduct f\ninst✝ : HasBiproduct g\np : (j : J) → f j ⟶ g j\nj : J\n⊢ ι f j ≫ map' p = p j ≫ ι g j"
] | rw [biproduct.map_eq_map'] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.CategoryTheory.Limits.Shapes.Biproducts | {
"line": 666,
"column": 2
} | {
"line": 669,
"column": 36
} | {
"line": 670,
"column": 2
} | [
{
"pp": "case pos\nJ : Type w\nK : Type u_1\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasZeroMorphisms C\nf : J → C\ng : K → C\ne : J ≃ K\nw : (j : J) → g (e j) ≅ f j\ninst✝¹ : HasBiproduct f\ninst✝ : HasBiproduct g\nj : J\nk : K\nh : k = e j\n⊢ ι g k ≫ (desc fun k ↦ eqToHom ⋯ ≫ (w (e.symm k)).hom ≫ ι f... | [
"case neg\nJ : Type w\nK : Type u_1\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasZeroMorphisms C\nf : J → C\ng : K → C\ne : J ≃ K\nw : (j : J) → g (e j) ≅ f j\ninst✝¹ : HasBiproduct f\ninst✝ : HasBiproduct g\nj : J\nk : K\nh : ¬k = e j\n⊢ ι g k ≫ (desc fun k ↦ eqToHom ⋯ ≫ (w (e.symm k)).hom ≫ ι f (e.symm k)... | · subst h
simp only [ι_desc_assoc, ← eqToHom_iso_hom_naturality_assoc w (e.symm_apply_apply j).symm,
Equiv.symm_apply_apply, eqToHom_comp_ι, Category.assoc, bicone_ι_π_self, Category.comp_id,
lift_π, bicone_ι_π_self_assoc] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.CategoryTheory.Limits.Final | {
"line": 583,
"column": 14
} | {
"line": 584,
"column": 39
} | {
"line": 585,
"column": 12
} | [
{
"pp": "case h₂\nC : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nF : C ⥤ D\ninst✝¹ : F.Initial\nE : Type u₃\ninst✝ : Category.{v₃, u₃} E\nG : D ⥤ E\nc : Cone (F ⋙ G)\nX Y : D\nf : X ⟶ Y\nZ₁ Z₂ : C\nk₁ : F.obj Z₁ ⟶ Y\nk₂ : F.obj Z₂ ⟶ Y\ng : Z₁ ⟶ Z₂\na : F.map g ≫ k₂ = k₁\nz... | [] | rw [← a, Functor.map_comp, ← Functor.comp_map, ← Category.assoc, ← Category.assoc,
c.w, z, Category.assoc] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.CategoryTheory.Limits.Final | {
"line": 605,
"column": 2
} | {
"line": 608,
"column": 17
} | {
"line": 609,
"column": 2
} | [
{
"pp": "case h₁\nC : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nF : C ⥤ D\ninst✝¹ : F.Initial\nE : Type u₃\ninst✝ : Category.{v₃, u₃} E\nG : D ⥤ E\ns : Cone (F ⋙ G)\nj : C\n⊢ ∀ (X₁ X₂ : C) (k₁ : F.obj X₁ ⟶ F.obj j) (k₂ : F.obj X₂ ⟶ F.obj j) (f : X₁ ⟶ X₂),\n F.map f ≫ k... | [
"case h₂\nC : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nF : C ⥤ D\ninst✝¹ : F.Initial\nE : Type u₃\ninst✝ : Category.{v₃, u₃} E\nG : D ⥤ E\ns : Cone (F ⋙ G)\nj : C\n⊢ ∀ (X₁ X₂ : C) (k₁ : F.obj X₁ ⟶ F.obj j) (k₂ : F.obj X₂ ⟶ F.obj j) (f : X₁ ⟶ X₂),\n F.map f ≫ k₂ = k₁ → s.π... | · intro j₁ j₂ k₁ k₂ f w h
rw [← s.w f]
rw [← w] at h
simpa using h | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.CategoryTheory.Limits.Shapes.Biproducts | {
"line": 1028,
"column": 8
} | {
"line": 1028,
"column": 52
} | {
"line": 1028,
"column": 53
} | [
{
"pp": "J✝¹ : Type w\nC✝¹ : Type uC\ninst✝⁸ : Category.{uC', uC} C✝¹\ninst✝⁷ : HasZeroMorphisms C✝¹\nD : Type uD\ninst✝⁶ : Category.{uD', uD} D\ninst✝⁵ : HasZeroMorphisms D\nF : J✝¹ → C✝¹\nJ✝ : Type w\nK : Type u_1\nC✝ : Type u\ninst✝⁴ : Category.{v, u} C✝\ninst✝³ : HasZeroMorphisms C✝\nJ : Type w\nC : Type u\... | [
"J✝¹ : Type w\nC✝¹ : Type uC\ninst✝⁸ : Category.{uC', uC} C✝¹\ninst✝⁷ : HasZeroMorphisms C✝¹\nD : Type uD\ninst✝⁶ : Category.{uD', uD} D\ninst✝⁵ : HasZeroMorphisms D\nF : J✝¹ → C✝¹\nJ✝ : Type w\nK : Type u_1\nC✝ : Type u\ninst✝⁴ : Category.{v, u} C✝\ninst✝³ : HasZeroMorphisms C✝\nJ : Type w\nC : Type u\ninst✝² : Ca... | ← biproduct.conePointUniqueUpToIso_hom f hb, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Limits.Shapes.Biproducts | {
"line": 1031,
"column": 8
} | {
"line": 1031,
"column": 52
} | {
"line": 1031,
"column": 53
} | [
{
"pp": "J✝¹ : Type w\nC✝¹ : Type uC\ninst✝⁸ : Category.{uC', uC} C✝¹\ninst✝⁷ : HasZeroMorphisms C✝¹\nD : Type uD\ninst✝⁶ : Category.{uD', uD} D\ninst✝⁵ : HasZeroMorphisms D\nF : J✝¹ → C✝¹\nJ✝ : Type w\nK : Type u_1\nC✝ : Type u\ninst✝⁴ : Category.{v, u} C✝\ninst✝³ : HasZeroMorphisms C✝\nJ : Type w\nC : Type u\... | [
"J✝¹ : Type w\nC✝¹ : Type uC\ninst✝⁸ : Category.{uC', uC} C✝¹\ninst✝⁷ : HasZeroMorphisms C✝¹\nD : Type uD\ninst✝⁶ : Category.{uD', uD} D\ninst✝⁵ : HasZeroMorphisms D\nF : J✝¹ → C✝¹\nJ✝ : Type w\nK : Type u_1\nC✝ : Type u\ninst✝⁴ : Category.{v, u} C✝\ninst✝³ : HasZeroMorphisms C✝\nJ : Type w\nC : Type u\ninst✝² : Ca... | ← biproduct.conePointUniqueUpToIso_hom f hb, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Limits.Final | {
"line": 855,
"column": 78
} | {
"line": 871,
"column": 80
} | {
"line": 873,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nD : Type u₂\ninst✝¹ : Category.{v₂, u₂} D\nE : Type u₃\ninst✝ : Category.{v₃, u₃} E\nF : C ⥤ D\nG : D ⥤ E\nhF : F.Final\nhFG : (F ⋙ G).Final\n⊢ G.Final",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.... | [] | by
let s₁ : C ≌ AsSmall.{max u₁ v₁ u₂ v₂ u₃ v₃} C := AsSmall.equiv
let s₂ : D ≌ AsSmall.{max u₁ v₁ u₂ v₂ u₃ v₃} D := AsSmall.equiv
let s₃ : E ≌ AsSmall.{max u₁ v₁ u₂ v₂ u₃ v₃} E := AsSmall.equiv
let _i : s₁.inverse ⋙ (F ⋙ G) ⋙ s₃.functor ≅
(s₁.inverse ⋙ F ⋙ s₂.functor) ⋙ (s₂.inverse ⋙ G ⋙ s₃.functor) :=
... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.ExactFunctor | {
"line": 185,
"column": 9
} | {
"line": 185,
"column": 65
} | {
"line": 185,
"column": 65
} | [
{
"pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nF : C ⥤ D\ninst✝¹ : PreservesFiniteLimits F\ninst✝ : PreservesFiniteColimits F\n⊢ exactFunctor C D F",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.Limits.P... | [] | simp only [exactFunctor_iff]; constructor <;> assumption | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.ExactFunctor | {
"line": 185,
"column": 9
} | {
"line": 185,
"column": 65
} | {
"line": 185,
"column": 65
} | [
{
"pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nF : C ⥤ D\ninst✝¹ : PreservesFiniteLimits F\ninst✝ : PreservesFiniteColimits F\n⊢ exactFunctor C D F",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.Limits.P... | [] | simp only [exactFunctor_iff]; constructor <;> assumption | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Group.Subgroup.ZPowers.Lemmas | {
"line": 119,
"column": 76
} | {
"line": 119,
"column": 95
} | {
"line": 119,
"column": 95
} | [
{
"pp": "a b : ℤ\n⊢ closure ({a} ∪ {b}) = closure {a, b}",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Set.instSingletonSet",
"Insert.insert",
"Int",
"AddSubgroup",
"Set.instInsert",
"eq_self",
"of_eq_true",
"Int.instAddGroup",
"Sing... | [] | Set.singleton_union | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.CategoryTheory.Preadditive.Biproducts | {
"line": 561,
"column": 6
} | {
"line": 567,
"column": 18
} | {
"line": 569,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Preadditive C\nX✝ Y✝ : C\ninst✝ : HasBinaryBiproduct X✝ Y✝\nX Y : C\nb : BinaryBicone X Y\nhb : IsColimit b.inrCokernelCofork\nT : C\nf : X ⟶ T\ng : Y ⟶ T\nm : b.toCocone.pt ⟶ T\nh₁ : BinaryCofan.inl b.toCocone ≫ m = f\nh₂ : BinaryCofan.inr b.toCocone ≫ ... | [] | dsimp at m
have h₁' : b.inl ≫ (m - (b.fst ≫ f + b.snd ≫ g)) = 0 := by simpa using sub_eq_zero.2 h₁
have h₂' : b.inr ≫ (m - (b.fst ≫ f + b.snd ≫ g)) = 0 := by simpa using sub_eq_zero.2 h₂
obtain ⟨q : X ⟶ T, hq : b.fst ≫ q = m - (b.fst ≫ f + b.snd ≫ g)⟩ :=
CokernelCofork.IsColimit.desc' hb _ h₂'... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Preadditive.Biproducts | {
"line": 561,
"column": 6
} | {
"line": 567,
"column": 18
} | {
"line": 569,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Preadditive C\nX✝ Y✝ : C\ninst✝ : HasBinaryBiproduct X✝ Y✝\nX Y : C\nb : BinaryBicone X Y\nhb : IsColimit b.inrCokernelCofork\nT : C\nf : X ⟶ T\ng : Y ⟶ T\nm : b.toCocone.pt ⟶ T\nh₁ : BinaryCofan.inl b.toCocone ≫ m = f\nh₂ : BinaryCofan.inr b.toCocone ≫ ... | [] | dsimp at m
have h₁' : b.inl ≫ (m - (b.fst ≫ f + b.snd ≫ g)) = 0 := by simpa using sub_eq_zero.2 h₁
have h₂' : b.inr ≫ (m - (b.fst ≫ f + b.snd ≫ g)) = 0 := by simpa using sub_eq_zero.2 h₂
obtain ⟨q : X ⟶ T, hq : b.fst ≫ q = m - (b.fst ≫ f + b.snd ≫ g)⟩ :=
CokernelCofork.IsColimit.desc' hb _ h₂'... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.GroupTheory.SpecificGroups.Cyclic.Subgroup | {
"line": 242,
"column": 19
} | {
"line": 242,
"column": 28
} | {
"line": 242,
"column": 29
} | [
{
"pp": "α : Type u_1\ninst✝³ : Group α\ninst✝² : DecidableEq α\ninst✝¹ : Fintype α\ninst✝ : IsCyclic α\nn : ℕ\nhn0 : 0 < n\ng : α\nhg : ∀ (x : α), x ∈ zpowers g\nm : ℕ\nhm : Fintype.card α = n.gcd (Fintype.card α) * 0\nhm0 : m = 0\n⊢ False",
"ppTerm": "?m.224",
"assigned": true,
"usedConstants": [
... | [
"α : Type u_1\ninst✝³ : Group α\ninst✝² : DecidableEq α\ninst✝¹ : Fintype α\ninst✝ : IsCyclic α\nn : ℕ\nhn0 : 0 < n\ng : α\nhg : ∀ (x : α), x ∈ zpowers g\nm : ℕ\nhm : Fintype.card α = 0\nhm0 : m = 0\n⊢ False"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Fintype.Perm | {
"line": 50,
"column": 2
} | {
"line": 50,
"column": 33
} | {
"line": 51,
"column": 2
} | [
{
"pp": "α : Type u_1\ninst✝ : DecidableEq α\nl : List α\nf : Equiv.Perm α\nh : ∀ (x : α), f x ≠ x → x ∈ l\n⊢ f ∈ permsOfList l",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Eq.mpr",
"List.mem_of_ne_of_mem",
"MulOne.toOne",
"_private.Mathlib.Data... | [] | induction l generalizing f with | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | null |
Mathlib.Data.Fintype.Inv | {
"line": 60,
"column": 98
} | {
"line": 63,
"column": 80
} | {
"line": 65,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ninst✝² : Fintype α\ninst✝¹ : DecidableEq β\nf : α → β\nhf : Injective f\ninst✝ : Nonempty α\n⊢ (Set.range f).domRestrict (invFun f) = hf.invOfMemRange",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Function.invFun",
"Set.mem_range",
... | [] | by
ext ⟨b, h⟩
apply hf
simp [hf.left_inv_of_invOfMemRange, @invFun_eq _ _ _ f b (Set.mem_range.mp h)] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.GroupTheory.Perm.Support | {
"line": 294,
"column": 2
} | {
"line": 299,
"column": 9
} | {
"line": 301,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nl : List (Perm α)\nx : α\nhx : ∀ f ∈ l, f x = x\n⊢ l.prod x = x",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Equiv.instEquivLike",
"HMul.hMul",
"Equiv.Perm.instOne",
"congrArg",
... | [] | induction l with
| nil => rfl
| cons f l ih =>
rw [List.prod_cons, mul_apply, ih, hx]
· simp only [List.mem_cons, true_or]
grind | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | Lean.Parser.Tactic.induction |
Mathlib.GroupTheory.Perm.Support | {
"line": 316,
"column": 4
} | {
"line": 316,
"column": 30
} | {
"line": 318,
"column": 0
} | [
{
"pp": "case neg\nα : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nc : Perm α\ns : Finset α\nhcs : c.support ⊆ s\nx : α\nhx' : x ∉ c.support\n⊢ c x ∈ s ↔ x ∈ s",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Equiv.Perm.support",
"Equiv.Perm.notMem_supp... | [] | rw [notMem_support.mp hx'] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.GroupTheory.Perm.Support | {
"line": 316,
"column": 4
} | {
"line": 316,
"column": 30
} | {
"line": 318,
"column": 0
} | [
{
"pp": "case neg\nα : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nc : Perm α\ns : Finset α\nhcs : c.support ⊆ s\nx : α\nhx' : x ∉ c.support\n⊢ c x ∈ s ↔ x ∈ s",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Equiv.Perm.support",
"Equiv.Perm.notMem_supp... | [] | rw [notMem_support.mp hx'] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.GroupTheory.Perm.Support | {
"line": 316,
"column": 4
} | {
"line": 316,
"column": 30
} | {
"line": 318,
"column": 0
} | [
{
"pp": "case neg\nα : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nc : Perm α\ns : Finset α\nhcs : c.support ⊆ s\nx : α\nhx' : x ∉ c.support\n⊢ c x ∈ s ↔ x ∈ s",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Equiv.Perm.support",
"Equiv.Perm.notMem_supp... | [] | rw [notMem_support.mp hx'] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Combinatorics.Enumerative.Composition | {
"line": 849,
"column": 50
} | {
"line": 849,
"column": 63
} | {
"line": 849,
"column": 64
} | [
{
"pp": "n✝ n : ℕ\ns : Finset (Fin (n - 1))\ni : Fin (n - 1)\nthis : ↑i + 1 ≠ n\n⊢ i ∈ {i | ⟨↑i + 1, ⋯⟩ ∈ {i | ↑i = 0 ∨ ↑i = ↑(Fin.last n) ∨ ∃ j, ∃ (_ : j ∈ s), ↑i = ↑j + 1}.toFinset}.toFinset ↔ i ∈ s",
"ppTerm": "?m.518",
"assigned": true,
"usedConstants": [
"compositionAsSetEquiv._proof_2",
... | [
"n✝ n : ℕ\ns : Finset (Fin (n - 1))\ni : Fin (n - 1)\nthis : ↑i + 1 ≠ n\n⊢ i ∈ {i | ⟨↑i + 1, ⋯⟩ ∈ {i | ↑i = 0 ∨ ↑i = n ∨ ∃ j, ∃ (_ : j ∈ s), ↑i = ↑j + 1}.toFinset}.toFinset ↔ i ∈ s"
] | Fin.val_last, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.GroupTheory.Perm.Support | {
"line": 352,
"column": 69
} | {
"line": 353,
"column": 26
} | {
"line": 355,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝² : DecidableEq α\ninst✝¹ : Fintype α\np : α → Prop\ninst✝ : DecidablePred p\nx : α\nu : Perm (Subtype p)\n⊢ x ∈ (ofSubtype u).support ↔ ∃ (hx : p x), ⟨x, hx⟩ ∈ u.support",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Equiv.Perm.support"... | [] | by
simp [support_ofSubtype] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.GroupTheory.Perm.List | {
"line": 188,
"column": 4
} | {
"line": 195,
"column": 56
} | {
"line": 197,
"column": 0
} | [
{
"pp": "case cons\nα : Type u_1\ninst✝ : DecidableEq α\ni : ℕ\nx : α\nxs : List α\nw : (x :: xs).Nodup\nh : i < (x :: xs).length\n⊢ (x :: xs).formPerm (x :: xs)[i] = (x :: xs)[(i + 1) % (x :: xs).length]",
"ppTerm": "?cons",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStric... | [] | have : i ≤ xs.length := by
refine Nat.le_of_lt_succ ?_
simpa using h
rcases this.eq_or_lt with (rfl | hn')
· simp
· rw [formPerm_apply_lt_getElem (x :: xs) w _ (Nat.succ_lt_succ hn')]
congr
rw [Nat.mod_eq_of_lt]; simpa [Nat.succ_eq_add_one] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.GroupTheory.Perm.List | {
"line": 188,
"column": 4
} | {
"line": 195,
"column": 56
} | {
"line": 197,
"column": 0
} | [
{
"pp": "case cons\nα : Type u_1\ninst✝ : DecidableEq α\ni : ℕ\nx : α\nxs : List α\nw : (x :: xs).Nodup\nh : i < (x :: xs).length\n⊢ (x :: xs).formPerm (x :: xs)[i] = (x :: xs)[(i + 1) % (x :: xs).length]",
"ppTerm": "?cons",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStric... | [] | have : i ≤ xs.length := by
refine Nat.le_of_lt_succ ?_
simpa using h
rcases this.eq_or_lt with (rfl | hn')
· simp
· rw [formPerm_apply_lt_getElem (x :: xs) w _ (Nat.succ_lt_succ hn')]
congr
rw [Nat.mod_eq_of_lt]; simpa [Nat.succ_eq_add_one] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.GroupTheory.Perm.Sign | {
"line": 106,
"column": 2
} | {
"line": 106,
"column": 33
} | {
"line": 107,
"column": 2
} | [
{
"pp": "case intro\nα : Type u\ninst✝¹ : DecidableEq α\ninst✝ : Finite α\nmotive : Perm α → Prop\nf : Perm α\none : motive 1\nswap_mul : ∀ (f : Perm α) (x y : α), x ≠ y → motive f → motive (swap x y * f)\nval✝ : Fintype α\nl : List (Perm α)\nhl : l.prod = f ∧ ∀ g ∈ l, g.IsSwap\n⊢ motive f",
"ppTerm": "?int... | [] | induction l generalizing f with | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | null |
Mathlib.GroupTheory.Perm.Support | {
"line": 505,
"column": 4
} | {
"line": 505,
"column": 33
} | {
"line": 506,
"column": 4
} | [
{
"pp": "case cons\nα : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nf hd : Perm α\ntl : List (Perm α)\nIH : f ∈ tl → List.Pairwise Disjoint tl → ∀ x ∈ f.support, f x = tl.prod x\nh : f ∈ hd :: tl\nhl : List.Pairwise Disjoint (hd :: tl)\nx : α\nhx : x ∈ f.support\n⊢ f x = (hd :: tl).prod x",
"ppTerm... | [
"case cons\nα : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nf hd : Perm α\ntl : List (Perm α)\nIH : f ∈ tl → List.Pairwise Disjoint tl → ∀ x ∈ f.support, f x = tl.prod x\nh : f ∈ hd :: tl\nhl : (∀ a' ∈ tl, hd.Disjoint a') ∧ List.Pairwise Disjoint tl\nx : α\nhx : x ∈ f.support\n⊢ f x = (hd :: tl).prod x"
] | rw [List.pairwise_cons] at hl | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.GroupTheory.Perm.Sign | {
"line": 236,
"column": 2
} | {
"line": 236,
"column": 28
} | {
"line": 237,
"column": 2
} | [
{
"pp": "n : ℕ\nf g : Perm (Fin n)\na b : Fin n\nhab : ⟨a, b⟩ ∈ finPairsLT n\n⊢ (if f (g a) ≤ f (g b) then -1 else 1) =\n (if\n f (if x : g b < g a then ⟨g a, g b⟩ else ⟨g b, g a⟩).fst ≤\n f (if x : g b < g a then ⟨g a, g b⟩ else ⟨g b, g a⟩).snd then\n -1\n else 1) *\n if... | [
"n : ℕ\nf g : Perm (Fin n)\na b : Fin n\nhab : ⟨a, b⟩.snd < ⟨a, b⟩.fst\n⊢ (if f (g a) ≤ f (g b) then -1 else 1) =\n (if\n f (if x : g b < g a then ⟨g a, g b⟩ else ⟨g b, g a⟩).fst ≤\n f (if x : g b < g a then ⟨g a, g b⟩ else ⟨g b, g a⟩).snd then\n -1\n else 1) *\n if\n ... | rw [mem_finPairsLT] at hab | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.GroupTheory.Perm.List | {
"line": 327,
"column": 4
} | {
"line": 327,
"column": 63
} | {
"line": 328,
"column": 4
} | [
{
"pp": "case cons\nα : Type u_1\ninst✝ : DecidableEq α\nhd : α\ntl : List α\nhl : (hd :: tl).Nodup\n⊢ (hd :: tl).formPerm = 1 ↔ (hd :: tl).length ≤ 1",
"ppTerm": "?cons",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Equiv.instEquivLike",
"Equiv.Perm.instOne",
"congrArg",
... | [
"case cons\nα : Type u_1\ninst✝ : DecidableEq α\nhd : α\ntl : List α\nhl : (hd :: tl).Nodup\n⊢ (hd :: tl).formPerm = 1 ↔ (hd :: tl).formPerm hd = hd"
] | rw [← formPerm_apply_mem_eq_self_iff _ hl hd mem_cons_self] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.GroupTheory.Perm.Sign | {
"line": 313,
"column": 8
} | {
"line": 313,
"column": 25
} | {
"line": 314,
"column": 6
} | [
{
"pp": "α : Type u\ninst✝ : DecidableEq α\nn : ℕ\nx : α\nl : List α\nf : Perm α\ne : α ≃ Fin n\nh : ∀ (x_1 : α), f x_1 ≠ x_1 → x_1 ∈ x :: l\nhfx : ¬x = f x\nhy : ∀ (y : α), (swap x (f x) * f) y ≠ y → y ∈ l\nx✝ : Fin n\n⊢ ↑(e (if f (e.symm x✝) = x then f x else if e.symm x✝ = x then x else f (e.symm x✝))) =\n ... | [] | split_ifs <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.GroupTheory.Perm.Sign | {
"line": 393,
"column": 20
} | {
"line": 393,
"column": 42
} | {
"line": 393,
"column": 43
} | [
{
"pp": "α : Type u\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nx y : α\nH : x = y\n⊢ sign (swap x y) = if x = y then 1 else -1",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"ite_eq_left_of_eq_true",
"MonoidHom.instFunLike",
"NonUnitalCommRing.toNonUnitalNonAssocCommRin... | [] | by simp [H, swap_self] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.GroupTheory.Perm.Closure | {
"line": 105,
"column": 59
} | {
"line": 105,
"column": 70
} | {
"line": 105,
"column": 71
} | [
{
"pp": "α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nn : ℕ\nσ : Perm α\nh0 : n.Coprime (orderOf σ)\nh1 : σ.IsCycle\nh2 : σ.support = univ\nx : α\nm : ℕ\nhm : (σ ^ n) ^ m = σ\nh2' : (σ ^ n).support = univ\nh1' : (σ ^ n).IsCycle\n⊢ closure {σ ^ n, swap x ((σ ^ n) x)} ≤ closure {σ, swap x ((σ ^ n) x)}... | [
"α : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nn : ℕ\nσ : Perm α\nh0 : n.Coprime (orderOf σ)\nh1 : σ.IsCycle\nh2 : σ.support = univ\nx : α\nm : ℕ\nhm : (σ ^ n) ^ m = σ\nh2' : (σ ^ n).support = univ\nh1' : (σ ^ n).IsCycle\n⊢ {σ ^ n, swap x ((σ ^ n) x)} ⊆ ↑(closure {σ, swap x ((σ ^ n) x)})"
] | closure_le, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.Perm.Finite | {
"line": 231,
"column": 2
} | {
"line": 231,
"column": 51
} | {
"line": 232,
"column": 2
} | [
{
"pp": "α : Type u\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nσ : Perm α\nn : ℕ\nh : n.Coprime (orderOf σ)\n⊢ (σ ^ n).support = σ.support",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Equiv.Perm.support",
"Finset",
"Equiv.Perm.instPowNat",
"Exists",
"DivI... | [
"α : Type u\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nσ : Perm α\nn : ℕ\nh : n.Coprime (orderOf σ)\nm : ℕ\nhm : (σ ^ n) ^ m = σ\n⊢ (σ ^ n).support = σ.support"
] | obtain ⟨m, hm⟩ := exists_pow_eq_self_of_coprime h | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.GroupTheory.Perm.Cycle.Basic | {
"line": 548,
"column": 6
} | {
"line": 548,
"column": 55
} | {
"line": 549,
"column": 6
} | [
{
"pp": "case intro.mpr\nβ : Type u_3\ninst✝ : Finite β\nf : Perm β\nhf : f.IsCycle\nn : ℕ\nval✝ : Fintype β\nh : n.Coprime (orderOf f)\n⊢ (f ^ n).IsCycle",
"ppTerm": "?intro.mpr",
"assigned": true,
"usedConstants": [
"Equiv.Perm.instPowNat",
"Exists",
"DivInvMonoid.toMonoid",
... | [
"case intro.mpr\nβ : Type u_3\ninst✝ : Finite β\nf : Perm β\nhf : f.IsCycle\nn : ℕ\nval✝ : Fintype β\nh : n.Coprime (orderOf f)\nm : ℕ\nhm : (f ^ n) ^ m = f\n⊢ (f ^ n).IsCycle"
] | obtain ⟨m, hm⟩ := exists_pow_eq_self_of_coprime h | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.GroupTheory.Perm.Sign | {
"line": 575,
"column": 6
} | {
"line": 576,
"column": 66
} | {
"line": 578,
"column": 0
} | [
{
"pp": "case right.swap_mul\nα : Type u\ninst✝³ : DecidableEq α\nβ : Type v\ninst✝² : Fintype α\ninst✝¹ : DecidableEq β\ninst✝ : Fintype β\nσa : Perm α\nσb' : Perm β\nb₁ b₂ : β\nhb : b₁ ≠ b₂\nih : sign (sumCongr 1 σb') = sign σb'\n⊢ sign (sumCongr 1 (swap b₁ b₂ * σb')) = sign (swap b₁ b₂ * σb')",
"ppTerm":... | [] | rw [← one_mul (1 : Perm α), ← sumCongr_mul, sign_mul, sign_mul, ih, sumCongr_one_swap,
sign_swap hb, sign_swap (Sum.inr_injective.ne_iff.mpr hb)] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.GroupTheory.Perm.Sign | {
"line": 575,
"column": 6
} | {
"line": 576,
"column": 66
} | {
"line": 578,
"column": 0
} | [
{
"pp": "case right.swap_mul\nα : Type u\ninst✝³ : DecidableEq α\nβ : Type v\ninst✝² : Fintype α\ninst✝¹ : DecidableEq β\ninst✝ : Fintype β\nσa : Perm α\nσb' : Perm β\nb₁ b₂ : β\nhb : b₁ ≠ b₂\nih : sign (sumCongr 1 σb') = sign σb'\n⊢ sign (sumCongr 1 (swap b₁ b₂ * σb')) = sign (swap b₁ b₂ * σb')",
"ppTerm":... | [] | rw [← one_mul (1 : Perm α), ← sumCongr_mul, sign_mul, sign_mul, ih, sumCongr_one_swap,
sign_swap hb, sign_swap (Sum.inr_injective.ne_iff.mpr hb)] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.GroupTheory.Perm.Sign | {
"line": 575,
"column": 6
} | {
"line": 576,
"column": 66
} | {
"line": 578,
"column": 0
} | [
{
"pp": "case right.swap_mul\nα : Type u\ninst✝³ : DecidableEq α\nβ : Type v\ninst✝² : Fintype α\ninst✝¹ : DecidableEq β\ninst✝ : Fintype β\nσa : Perm α\nσb' : Perm β\nb₁ b₂ : β\nhb : b₁ ≠ b₂\nih : sign (sumCongr 1 σb') = sign σb'\n⊢ sign (sumCongr 1 (swap b₁ b₂ * σb')) = sign (swap b₁ b₂ * σb')",
"ppTerm":... | [] | rw [← one_mul (1 : Perm α), ← sumCongr_mul, sign_mul, sign_mul, ih, sumCongr_one_swap,
sign_swap hb, sign_swap (Sum.inr_injective.ne_iff.mpr hb)] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Tactic.NormNum.GCD | {
"line": 213,
"column": 37
} | {
"line": 218,
"column": 84
} | {
"line": 220,
"column": 0
} | [
{
"pp": "n : ℤ\nd : ℕ\nhi : Invertible ↑d\nh : n.natAbs.gcd d = 1\n⊢ IsInt (↑n * ⅟↑d).num n",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Nat.gcd",
"Iff.mpr",
"Int.cast",
"Eq.mpr",
"Int.instDiv",
"Rat.num",
"instHDiv",
"Invertible.ne_zero"... | [] | by
constructor
have : 0 < d := Nat.pos_iff_ne_zero.mpr <| by simpa using hi.ne_zero
simp_rw [Rat.mul_num, Rat.den_intCast, invOf_eq_inv,
Rat.inv_natCast_den_of_pos this, Rat.inv_natCast_num_of_pos this,
Rat.num_intCast, one_mul, mul_one, h, Nat.cast_one, Int.ediv_one, Int.cast_id] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.GroupTheory.Perm.Cycle.Basic | {
"line": 611,
"column": 4
} | {
"line": 611,
"column": 30
} | {
"line": 612,
"column": 4
} | [
{
"pp": "β : Type u_3\ninst✝ : Finite β\nf : Perm β\nhf : f.IsCycle\nhf' : Nat.Prime (orderOf f)\nn : ℕ\nhn : 0 < n\nhn' : n < orderOf f\nval✝ : Fintype β\n⊢ n.Coprime (orderOf f)",
"ppTerm": "?m.42",
"assigned": true,
"usedConstants": [
"Nat.Coprime.symm",
"DivInvMonoid.toMonoid",
... | [
"β : Type u_3\ninst✝ : Finite β\nf : Perm β\nhf : f.IsCycle\nhf' : Nat.Prime (orderOf f)\nn : ℕ\nhn : 0 < n\nhn' : n < orderOf f\nval✝ : Fintype β\n⊢ (orderOf f).Coprime n"
] | refine Nat.Coprime.symm ?_ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.GroupTheory.Perm.Cycle.Basic | {
"line": 741,
"column": 30
} | {
"line": 753,
"column": 32
} | {
"line": 755,
"column": 0
} | [
{
"pp": "α : Type u_2\nf : Perm α\na : α\ns : Finset α\nhf : f.IsCycleOn ↑s\nha : a ∈ s\nn : ℕ\n⊢ (f ^ n) a = a ↔ #s ∣ n",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Eq.mpr",
"instDecidableNot",
"Equiv.Perm.support",
"MulOne.toOne",
"False... | [] | by
obtain rfl | hs := Finset.eq_singleton_or_nontrivial ha
· rw [coe_singleton, isCycleOn_singleton] at hf
simpa using! IsFixedPt.iterate hf n
classical
have h (x : s) : ¬f x = x := hf.apply_ne hs x.2
have := (hf.isCycle_subtypePerm hs).orderOf
simp only [coe_sort_coe, support_subtypePerm, ne_eq, ... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.GroupTheory.Perm.Cycle.Basic | {
"line": 868,
"column": 2
} | {
"line": 881,
"column": 8
} | {
"line": 883,
"column": 0
} | [
{
"pp": "α : Type u_2\ns : Set α\nhs : s.Countable\n⊢ ∃ f, f.IsCycleOn s ∧ {x | f x ≠ x} ⊆ s",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Equiv.addRight",
"Set.ext",
"Eq.mpr",
"Set.image_univ",
"False",
"Equiv.instEquivLike",
"instCountableInt"... | [] | classical
obtain hs' | hs' := s.finite_or_infinite
· refine ⟨hs'.toFinset.toList.formPerm, ?_, fun x hx => by
simpa using List.mem_of_formPerm_apply_ne hx⟩
simpa using hs'.toFinset.nodup_toList.isCycleOn_formPerm
· have := hs.to_subtype
have := hs'.to_subtype
obtain ⟨f⟩ : Nonempty (ℤ ≃ s) := inf... | Lean.Elab.Tactic.evalClassical | Lean.Parser.Tactic.classical |
Mathlib.GroupTheory.Perm.Cycle.Basic | {
"line": 868,
"column": 2
} | {
"line": 881,
"column": 8
} | {
"line": 883,
"column": 0
} | [
{
"pp": "α : Type u_2\ns : Set α\nhs : s.Countable\n⊢ ∃ f, f.IsCycleOn s ∧ {x | f x ≠ x} ⊆ s",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Equiv.addRight",
"Set.ext",
"Eq.mpr",
"Set.image_univ",
"False",
"Equiv.instEquivLike",
"instCountableInt"... | [] | classical
obtain hs' | hs' := s.finite_or_infinite
· refine ⟨hs'.toFinset.toList.formPerm, ?_, fun x hx => by
simpa using List.mem_of_formPerm_apply_ne hx⟩
simpa using hs'.toFinset.nodup_toList.isCycleOn_formPerm
· have := hs.to_subtype
have := hs'.to_subtype
obtain ⟨f⟩ : Nonempty (ℤ ≃ s) := inf... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.GroupTheory.Perm.Cycle.Basic | {
"line": 868,
"column": 2
} | {
"line": 881,
"column": 8
} | {
"line": 883,
"column": 0
} | [
{
"pp": "α : Type u_2\ns : Set α\nhs : s.Countable\n⊢ ∃ f, f.IsCycleOn s ∧ {x | f x ≠ x} ⊆ s",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Equiv.addRight",
"Set.ext",
"Eq.mpr",
"Set.image_univ",
"False",
"Equiv.instEquivLike",
"instCountableInt"... | [] | classical
obtain hs' | hs' := s.finite_or_infinite
· refine ⟨hs'.toFinset.toList.formPerm, ?_, fun x hx => by
simpa using List.mem_of_formPerm_apply_ne hx⟩
simpa using hs'.toFinset.nodup_toList.isCycleOn_formPerm
· have := hs.to_subtype
have := hs'.to_subtype
obtain ⟨f⟩ : Nonempty (ℤ ≃ s) := inf... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.GroupTheory.Perm.Cycle.Type | {
"line": 377,
"column": 4
} | {
"line": 377,
"column": 35
} | {
"line": 378,
"column": 4
} | [
{
"pp": "α : Type u_1\ninst✝¹ : Fintype α\ninst✝ : DecidableEq α\nf : α → α\np n : ℕ\nhp : Fact (Nat.Prime p)\nhf : f^[p ^ n] = id\nred : (p ^ n - 1).succ = p ^ n\nσ : α ≃ α := { toFun := f, invFun := f^[p ^ n - 1], left_inv := ⋯, right_inv := ⋯ }\n⊢ σ ^ p ^ n = 1",
"ppTerm": "?m.78",
"assigned": true,
... | [
"α : Type u_1\ninst✝¹ : Fintype α\ninst✝ : DecidableEq α\nf : α → α\np n : ℕ\nhp : Fact (Nat.Prime p)\nhf : f^[p ^ n] = id\nred : (p ^ n - 1).succ = p ^ n\nσ : α ≃ α := { toFun := f, invFun := f^[p ^ n - 1], left_inv := ⋯, right_inv := ⋯ }\n⊢ (⇑σ)^[p ^ n] = ⇑1"
] | rw [DFunLike.ext'_iff, coe_pow] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.GroupTheory.Perm.Cycle.Factors | {
"line": 414,
"column": 67
} | {
"line": 414,
"column": 88
} | {
"line": 414,
"column": 88
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nl✝¹ : List α\nf : Perm α\nh : ∀ {x : α}, f x ≠ x → x ∈ l✝¹\nl✝ : List α\ng : Perm α\nhfg : ∀ {x : α}, g x ≠ x → f.cycleOf x = g.cycleOf x\nx : α\nl : List α\nhg : ∀ {x_1 : α}, g x_1 ≠ x_1 → x_1 ∈ x :: l\nhx : ¬g x = x\nm : List (Per... | [
"α : Type u_1\nβ : Type u_2\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\nl✝¹ : List α\nf : Perm α\nh : ∀ {x : α}, f x ≠ x → x ∈ l✝¹\nl✝ : List α\ng : Perm α\nhfg : ∀ {x : α}, g x ≠ x → f.cycleOf x = g.cycleOf x\nx : α\nl : List α\nhg : ∀ {x_1 : α}, g x_1 ≠ x_1 → x_1 ∈ x :: l\nhx : ¬g x = x\nm : List (Perm α)\nhm₁ : ... | sameCycle_apply_right | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.Perm.Fin | {
"line": 166,
"column": 14
} | {
"line": 166,
"column": 28
} | {
"line": 166,
"column": 28
} | [
{
"pp": "case pos\nn : ℕ\ni j : Fin n\ninst✝ : NeZero n\nh : i ≤ j\niin : i ∈ Set.range ⇑(castLEEmb ⋯)\nthis✝ : (castLEEmb ⋯).toEquivRange (i.castLT ⋯) = ⟨i, iin⟩\nch : i = j\nthis : (castLEEmb ⋯).toEquivRange.symm ⟨i, iin⟩ = last ↑j\n⊢ ↑⟨(castLEEmb ⋯) ((finRotate (↑j + 1)) (last ↑j)), ⋯⟩ = 0",
"ppTerm": "?... | [
"case pos\nn : ℕ\ni j : Fin n\ninst✝ : NeZero n\nh : i ≤ j\niin : i ∈ Set.range ⇑(castLEEmb ⋯)\nthis✝ : (castLEEmb ⋯).toEquivRange (i.castLT ⋯) = ⟨i, iin⟩\nch : i = j\nthis : (castLEEmb ⋯).toEquivRange.symm ⟨i, iin⟩ = last ↑j\n⊢ ↑⟨(castLEEmb ⋯) 0, ⋯⟩ = 0"
] | finRotate_last | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.Perm.Fin | {
"line": 376,
"column": 4
} | {
"line": 377,
"column": 40
} | {
"line": 378,
"column": 4
} | [
{
"pp": "case pos\nn : ℕ\ni j k : Fin n\nh : j < k\nhij : i ≤ j\n⊢ (i.cycleIcc j) k = k",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.instOrderedSub",
"congrArg",
"Set.ofPred",
"HSub.hSub",
"Membership.mem",
"Nat.sub_le",
"id... | [
"case pos\nn : ℕ\ni j k : Fin n\nh : j < k\nhij : i ≤ j\nkin : k ∈ Set.range ⇑(natAdd_castLEEmb ⋯)\n⊢ (i.cycleIcc j) k = k"
] | have kin : k ∈ Set.range (natAdd_castLEEmb (Nat.sub_le n i)) := by
simp [range_natAdd_castLEEmb]; lia | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.GroupTheory.Perm.Cycle.Factors | {
"line": 817,
"column": 4
} | {
"line": 817,
"column": 19
} | {
"line": 818,
"column": 4
} | [
{
"pp": "case refine_2\nα : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\ng f✝ : Perm α\n⊢ ∀ (σ : Perm α),\n σ.IsCycle → ∀ {f : Perm α}, f ∈ σ.cycleFactorsFinset → (σ * f⁻¹).cycleFactorsFinset = σ.cycleFactorsFinset \\ {f}",
"ppTerm": "?refine_2",
"assigned": true,
"usedConstants": [
... | [
"case refine_2\nα : Type u_1\ninst✝¹ : DecidableEq α\ninst✝ : Fintype α\ng f✝ σ : Perm α\nhσ : σ.IsCycle\nf : Perm α\nhf : f ∈ σ.cycleFactorsFinset\n⊢ (σ * f⁻¹).cycleFactorsFinset = σ.cycleFactorsFinset \\ {f}"
] | intro σ hσ f hf | Lean.Elab.Tactic.evalIntro | Lean.Parser.Tactic.intro |
Mathlib.GroupTheory.Perm.Fin | {
"line": 611,
"column": 4
} | {
"line": 611,
"column": 69
} | {
"line": 612,
"column": 4
} | [
{
"pp": "case e_a\nn : ℕ\ni : Fin (n + 2)\nσ : Perm (Fin (n + 1))\nS : Finset (Fin (n + 1)) := {x | i.succAbove (σ x) ≤ i}\n⊢ (∏ j > 0, if (decomposeFin'Symm i σ) 0 < (decomposeFin'Symm i σ) j then 1 else -1) = (-1) ^ ↑i",
"ppTerm": "?e_a✝",
"assigned": true,
"usedConstants": [
"Fin.succAbove"... | [
"case e_a\nn : ℕ\ni : Fin (n + 2)\nσ : Perm (Fin (n + 1))\nS : Finset (Fin (n + 1)) := {x | i.succAbove (σ x) ≤ i}\nthis : S = Finset.image ⇑(Equiv.symm σ) {x | x.castSucc < i}\n⊢ (∏ j > 0, if (decomposeFin'Symm i σ) 0 < (decomposeFin'Symm i σ) j then 1 else -1) = (-1) ^ ↑i"
] | have : S = Finset.image σ.symm { x | x.castSucc < i } := by aesop | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.LinearAlgebra.Multilinear.DFinsupp | {
"line": 270,
"column": 78
} | {
"line": 270,
"column": 88
} | {
"line": 270,
"column": 88
} | [
{
"pp": "ι : Type uι\nκ : ι → Type uκ\nR : Type uR\nι' : Type u_1\ninst✝⁵ : DecidableEq ι\ninst✝⁴ : Fintype ι\ninst✝³ : CommSemiring R\ninst✝² : (i : ι) → Fintype (κ i)\ninst✝¹ : (i : ι) → DecidableEq (κ i)\ninst✝ : DecidableEq ι'\np : ((i : ι) → κ i) × ι'\nr : R\nx : (i : ι) → Π₀ (x : κ i), R\n| (r • freeDFins... | [
"ι : Type uι\nκ : ι → Type uκ\nR : Type uR\nι' : Type u_1\ninst✝⁵ : DecidableEq ι\ninst✝⁴ : Fintype ι\ninst✝³ : CommSemiring R\ninst✝² : (i : ι) → Fintype (κ i)\ninst✝¹ : (i : ι) → DecidableEq (κ i)\ninst✝ : DecidableEq ι'\np : ((i : ι) → κ i) × ι'\nr : R\nx : (i : ι) → Π₀ (x : κ i), R\n| r • (freeDFinsuppEquiv (DF... | smul_apply | Lean.Elab.Tactic.Conv.evalRewrite | null |
Mathlib.LinearAlgebra.Multilinear.DFinsupp | {
"line": 275,
"column": 63
} | {
"line": 277,
"column": 32
} | {
"line": 278,
"column": 4
} | [
{
"pp": "ι : Type uι\nκ : ι → Type uκ\nR : Type uR\nι' : Type u_1\ninst✝⁵ : DecidableEq ι\ninst✝⁴ : Fintype ι\ninst✝³ : CommSemiring R\ninst✝² : (i : ι) → Fintype (κ i)\ninst✝¹ : (i : ι) → DecidableEq (κ i)\ninst✝ : DecidableEq ι'\nr : R\nx : (i : ι) → Π₀ (x : κ i), R\np : (i : ι) → κ i\nj : ι'\nthis : ∀ (l : ι... | [] | by
simpa [freeDFinsuppEquiv_def, MultilinearMap.piRingEquiv, DFinsupp.sigmaCurryEquiv,
fromDFinsuppEquiv_apply] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Preserves.Filtered | {
"line": 252,
"column": 4
} | {
"line": 254,
"column": 44
} | {
"line": 256,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nF : C ⥤ D\ninst✝² : UnivLE.{w, w'}\ninst✝¹ : UnivLE.{w₂, w₂'}\ninst✝ : ReflectsCofilteredLimitsOfSize.{w', w₂', v₁, v₂, u₁, u₂} F\nJ : Type w₂\nx✝¹ : Category.{w, w₂} J\nx✝ : IsCofiltered J\n⊢ ReflectsLimitsOfShape J ... | [] | let e := ((ShrinkHoms.equivalence.{w'} J).trans <| Shrink.equivalence _).symm
have := IsCofiltered.of_equivalence e.symm
exact reflectsLimitsOfShape_of_equiv e F | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Preserves.Filtered | {
"line": 252,
"column": 4
} | {
"line": 254,
"column": 44
} | {
"line": 256,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nF : C ⥤ D\ninst✝² : UnivLE.{w, w'}\ninst✝¹ : UnivLE.{w₂, w₂'}\ninst✝ : ReflectsCofilteredLimitsOfSize.{w', w₂', v₁, v₂, u₁, u₂} F\nJ : Type w₂\nx✝¹ : Category.{w, w₂} J\nx✝ : IsCofiltered J\n⊢ ReflectsLimitsOfShape J ... | [] | let e := ((ShrinkHoms.equivalence.{w'} J).trans <| Shrink.equivalence _).symm
have := IsCofiltered.of_equivalence e.symm
exact reflectsLimitsOfShape_of_equiv e F | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Multilinear.Basic | {
"line": 544,
"column": 6
} | {
"line": 544,
"column": 81
} | {
"line": 545,
"column": 4
} | [
{
"pp": "R : Type u_1\nS : Type u_2\ninst✝⁷ : Semiring R\ninst✝⁶ : Semiring S\nσ : R →+* S\nι : Type u_4\nM : ι → Type u_5\nN : Type u_6\ninst✝⁵ : (i : ι) → AddCommMonoid (M i)\ninst✝⁴ : (i : ι) → Module R (M i)\ninst✝³ : AddCommMonoid N\ninst✝² : Module S N\nf : (Π (i : ι), M i) →ₘₛₗ[σ] N\nα : ι → Type u_8\ng ... | [] | exact le_antisymm this (Nat.succ_le_of_lt (_root_.pos_iff_ne_zero.mpr pos)) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.LinearAlgebra.Matrix.SemiringInverse | {
"line": 139,
"column": 2
} | {
"line": 140,
"column": 32
} | {
"line": 142,
"column": 0
} | [
{
"pp": "n : Type u_1\nR : Type u_3\ninst✝² : Fintype n\ninst✝¹ : DecidableEq n\ninst✝ : CommSemiring R\nA : Matrix n n R\na b : R\nh : A.IsDetpBalanced a b\nc : R\n⊢ (c • A).IsDetpBalanced a b",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr"... | [] | simp_rw [IsDetpBalanced, detp_smul, ← mul_assoc, mul_comm _ (c ^ _), mul_assoc,
← mul_add, h.mul_add_mul_eq] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.LinearAlgebra.Matrix.SemiringInverse | {
"line": 139,
"column": 2
} | {
"line": 140,
"column": 32
} | {
"line": 142,
"column": 0
} | [
{
"pp": "n : Type u_1\nR : Type u_3\ninst✝² : Fintype n\ninst✝¹ : DecidableEq n\ninst✝ : CommSemiring R\nA : Matrix n n R\na b : R\nh : A.IsDetpBalanced a b\nc : R\n⊢ (c • A).IsDetpBalanced a b",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr"... | [] | simp_rw [IsDetpBalanced, detp_smul, ← mul_assoc, mul_comm _ (c ^ _), mul_assoc,
← mul_add, h.mul_add_mul_eq] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Matrix.SemiringInverse | {
"line": 139,
"column": 2
} | {
"line": 140,
"column": 32
} | {
"line": 142,
"column": 0
} | [
{
"pp": "n : Type u_1\nR : Type u_3\ninst✝² : Fintype n\ninst✝¹ : DecidableEq n\ninst✝ : CommSemiring R\nA : Matrix n n R\na b : R\nh : A.IsDetpBalanced a b\nc : R\n⊢ (c • A).IsDetpBalanced a b",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr"... | [] | simp_rw [IsDetpBalanced, detp_smul, ← mul_assoc, mul_comm _ (c ^ _), mul_assoc,
← mul_add, h.mul_add_mul_eq] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Matrix.SemiringInverse | {
"line": 241,
"column": 91
} | {
"line": 242,
"column": 76
} | {
"line": 244,
"column": 0
} | [
{
"pp": "n : Type u_1\nR : Type u_3\ninst✝² : Fintype n\ninst✝¹ : DecidableEq n\ninst✝ : CommSemiring R\ns : ℤˣ\ni : n\nA : Matrix (Option n) (Option n) R\n⊢ adjp s A none (some i) = detp (-s) (A.submatrix (Function.update some i none) some)",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
... | [] | by
rw [← detp_transpose]; simp [← A.transpose.adjp_some_none, adjp_transpose] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.Matrix.Determinant.Basic | {
"line": 165,
"column": 28
} | {
"line": 165,
"column": 60
} | {
"line": 166,
"column": 10
} | [
{
"pp": "n : Type u_2\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\nR : Type v\ninst✝ : CommRing R\nM N : Matrix n n R\nσ : Perm n\nx✝ : σ ∈ univ\nτ : Perm n\nthis : ∏ j, M (τ j) (σ j) = ∏ j, M ((τ * σ⁻¹) j) j\n⊢ ↑↑(sign (τ * σ⁻¹ * σ)) = ↑↑(sign τ)",
"ppTerm": "?m.531",
"assigned": true,
"usedConstan... | [] | simp only [inv_mul_cancel_right] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.LinearAlgebra.Matrix.Determinant.Basic | {
"line": 165,
"column": 28
} | {
"line": 165,
"column": 60
} | {
"line": 166,
"column": 10
} | [
{
"pp": "n : Type u_2\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\nR : Type v\ninst✝ : CommRing R\nM N : Matrix n n R\nσ : Perm n\nx✝ : σ ∈ univ\nτ : Perm n\nthis : ∏ j, M (τ j) (σ j) = ∏ j, M ((τ * σ⁻¹) j) j\n⊢ ↑↑(sign (τ * σ⁻¹ * σ)) = ↑↑(sign τ)",
"ppTerm": "?m.531",
"assigned": true,
"usedConstan... | [] | simp only [inv_mul_cancel_right] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Matrix.Determinant.Basic | {
"line": 165,
"column": 28
} | {
"line": 165,
"column": 60
} | {
"line": 166,
"column": 10
} | [
{
"pp": "n : Type u_2\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\nR : Type v\ninst✝ : CommRing R\nM N : Matrix n n R\nσ : Perm n\nx✝ : σ ∈ univ\nτ : Perm n\nthis : ∏ j, M (τ j) (σ j) = ∏ j, M ((τ * σ⁻¹) j) j\n⊢ ↑↑(sign (τ * σ⁻¹ * σ)) = ↑↑(sign τ)",
"ppTerm": "?m.531",
"assigned": true,
"usedConstan... | [] | simp only [inv_mul_cancel_right] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Matrix.SemiringInverse | {
"line": 374,
"column": 11
} | {
"line": 374,
"column": 19
} | {
"line": 374,
"column": 20
} | [
{
"pp": "n : Type u_1\nR : Type u_3\ninst✝² : Fintype n\ninst✝¹ : DecidableEq n\ninst✝ : CommSemiring R\nA B : Matrix n n R\nhAB : A * B = 1\nkey : A * (B * adjp 1 B + detp (-1) B • 1) = A * (B * adjp (-1) B + detp 1 B • 1)\n⊢ detp 1 B • A + adjp (-1) B = detp (-1) B • A + adjp 1 B",
"ppTerm": "?m.80",
... | [
"n : Type u_1\nR : Type u_3\ninst✝² : Fintype n\ninst✝¹ : DecidableEq n\ninst✝ : CommSemiring R\nA B : Matrix n n R\nhAB : A * B = 1\nkey : A * (B * adjp 1 B) + A * detp (-1) B • 1 = A * (B * adjp (-1) B) + A * detp 1 B • 1\n⊢ detp 1 B • A + adjp (-1) B = detp (-1) B • A + adjp 1 B"
] | mul_add, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.LinearAlgebra.Matrix.Determinant.Basic | {
"line": 451,
"column": 53
} | {
"line": 451,
"column": 62
} | {
"line": 451,
"column": 63
} | [
{
"pp": "case insert\nn : Type u_2\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\nR : Type v\ninst✝ : CommRing R\nM : Matrix n n R\nj : n\nc : n → R\na : R\nk : n\ns✝ : Finset n\nhk : k ∉ s✝\nh_ind : j ∉ s✝ → (M.updateRow j (a • M j + ∑ k ∈ s✝, c k • M k)).det = a • M.det\nhj : j ∉ insert k s✝\nh : k ≠ j\n⊢ (M.up... | [
"case insert\nn : Type u_2\ninst✝² : DecidableEq n\ninst✝¹ : Fintype n\nR : Type v\ninst✝ : CommRing R\nM : Matrix n n R\nj : n\nc : n → R\na : R\nk : n\ns✝ : Finset n\nhk : k ∉ s✝\nh_ind : j ∉ s✝ → (M.updateRow j (a • M j + ∑ k ∈ s✝, c k • M k)).det = a • M.det\nhj : j ∉ insert k s✝\nh : k ≠ j\n⊢ (M.updateRow j (a... | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.Matrix.Determinant.Basic | {
"line": 527,
"column": 2
} | {
"line": 528,
"column": 48
} | {
"line": 530,
"column": 0
} | [
{
"pp": "m : Type u_1\ninst✝³ : DecidableEq m\ninst✝² : Fintype m\nR : Type v\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nA : Matrix m m R\nhA : ¬LinearIndependent R A.col\n⊢ A.det = 0",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Pi.Function.module",
"Mathlib.Tactic.Contrapos... | [] | contrapose! hA
exact linearIndependent_cols_of_det_ne_zero hA | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Matrix.Determinant.Basic | {
"line": 527,
"column": 2
} | {
"line": 528,
"column": 48
} | {
"line": 530,
"column": 0
} | [
{
"pp": "m : Type u_1\ninst✝³ : DecidableEq m\ninst✝² : Fintype m\nR : Type v\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nA : Matrix m m R\nhA : ¬LinearIndependent R A.col\n⊢ A.det = 0",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Pi.Function.module",
"Mathlib.Tactic.Contrapos... | [] | contrapose! hA
exact linearIndependent_cols_of_det_ne_zero hA | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.