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.Algebra.Module.LocalizedModule.Basic | {
"line": 921,
"column": 2
} | {
"line": 921,
"column": 37
} | {
"line": 922,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝⁷ : CommSemiring R\nS : Submonoid R\nM : Type u_2\nM' : Type u_3\nM'' : Type u_4\ninst✝⁶ : AddCommMonoid M\ninst✝⁵ : AddCommMonoid M'\ninst✝⁴ : AddCommMonoid M''\ninst✝³ : Module R M\ninst✝² : Module R M'\ninst✝¹ : Module R M''\nf : M →ₗ[R] M'\ninst✝ : IsLocalizedModule S f\ng : M →ₗ... | [
"R : Type u_1\ninst✝⁷ : CommSemiring R\nS : Submonoid R\nM : Type u_2\nM' : Type u_3\nM'' : Type u_4\ninst✝⁶ : AddCommMonoid M\ninst✝⁵ : AddCommMonoid M'\ninst✝⁴ : AddCommMonoid M''\ninst✝³ : Module R M\ninst✝² : Module R M'\ninst✝¹ : Module R M''\nf : M →ₗ[R] M'\ninst✝ : IsLocalizedModule S f\ng : M →ₗ[R] M''\nh :... | dsimp only [IsLocalizedModule.lift] | Lean.Elab.Tactic.evalDSimp | Lean.Parser.Tactic.dsimp |
Mathlib.Algebra.Module.LocalizedModule.Basic | {
"line": 941,
"column": 2
} | {
"line": 941,
"column": 37
} | {
"line": 942,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝⁷ : CommSemiring R\nS : Submonoid R\nM : Type u_2\nM' : Type u_3\nM'' : Type u_4\ninst✝⁶ : AddCommMonoid M\ninst✝⁵ : AddCommMonoid M'\ninst✝⁴ : AddCommMonoid M''\ninst✝³ : Module R M\ninst✝² : Module R M'\ninst✝¹ : Module R M''\nf : M →ₗ[R] M'\ninst✝ : IsLocalizedModule S f\ng : M →ₗ... | [
"R : Type u_1\ninst✝⁷ : CommSemiring R\nS : Submonoid R\nM : Type u_2\nM' : Type u_3\nM'' : Type u_4\ninst✝⁶ : AddCommMonoid M\ninst✝⁵ : AddCommMonoid M'\ninst✝⁴ : AddCommMonoid M''\ninst✝³ : Module R M\ninst✝² : Module R M'\ninst✝¹ : Module R M''\nf : M →ₗ[R] M'\ninst✝ : IsLocalizedModule S f\ng : M →ₗ[R] M''\nh :... | dsimp only [IsLocalizedModule.lift] | Lean.Elab.Tactic.evalDSimp | Lean.Parser.Tactic.dsimp |
Mathlib.Algebra.Category.Ring.Constructions | {
"line": 245,
"column": 2
} | {
"line": 245,
"column": 61
} | {
"line": 246,
"column": 2
} | [
{
"pp": "⊢ HasStrictTerminalObjects CommRingCat",
"ppTerm": "?m.2",
"assigned": true,
"usedConstants": [
"CommRingCat",
"PUnit.commRing",
"CommRingCat.instCategory",
"PUnit",
"CommRingCat.of",
"CategoryTheory.Limits.hasStrictTerminalObjects_of_terminal_is_strict"
... | [
"⊢ ∀ (A : CommRingCat) (f : ↧PUnit.{u + 1} ⟶ A), IsIso f"
] | apply hasStrictTerminalObjects_of_terminal_is_strict ↧PUnit | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.RingTheory.FinitePresentation | {
"line": 174,
"column": 4
} | {
"line": 174,
"column": 35
} | {
"line": 176,
"column": 0
} | [
{
"pp": "case intro.refine_2\nR : Type w₁\nA : Type w₂\ninst✝⁴ : CommRing R\ninst✝³ : CommRing A\ninst✝² : Algebra R A\ninst✝¹ : FinitePresentation R A\nι : Type v\ninst✝ : Finite ι\nι' : Type v\nw✝ : Fintype ι'\nf : MvPolynomial ι' R →ₐ[R] A\nhf_surj : Surjective ⇑f\nhf_ker : (RingHom.ker f.toRingHom).FG\ng : ... | [] | exact hf_ker.map MvPolynomial.C | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.CategoryTheory.EffectiveEpi.Basic | {
"line": 268,
"column": 15
} | {
"line": 270,
"column": 15
} | {
"line": 271,
"column": 2
} | [
{
"pp": "C : Type u_1\ninst✝ : Category.{v_1, u_1} C\nB : C\nα : Type u_2\nα' : Type u_3\nX : α → C\nπ : (a : α) → X a ⟶ B\ne : α' ≃ α\nP : EffectiveEpiFamilyStruct (fun a ↦ X (e a)) fun a ↦ π (e a)\nW✝ : C\nx✝¹ : (a : α) → X a ⟶ W✝\nx✝ : ∀ {Z : C} (a₁ a₂ : α) (g₁ : Z ⟶ X a₁) (g₂ : Z ⟶ X a₂), g₁ ≫ π a₁ = g₂ ≫ π... | [] | by
obtain ⟨a, rfl⟩ := e.surjective a
apply P.fac | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.FinitePresentation | {
"line": 237,
"column": 4
} | {
"line": 237,
"column": 28
} | {
"line": 238,
"column": 4
} | [
{
"pp": "case refine_2\nR : Type w₁\nA : Type w₂\nB : Type w₃\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing A\ninst✝⁶ : Algebra R A\ninst✝⁵ : CommRing B\ninst✝⁴ : Algebra R B\ninst✝³ : Algebra A B\ninst✝² : IsScalarTower R A B\ninst✝¹ : FinitePresentation R B\ninst✝ : FiniteType R A\nn : ℕ\nf : MvPolynomial (Fin n) R... | [
"case refine_2\nR : Type w₁\nA : Type w₂\nB : Type w₃\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing A\ninst✝⁶ : Algebra R A\ninst✝⁵ : CommRing B\ninst✝⁴ : Algebra R B\ninst✝³ : Algebra A B\ninst✝² : IsScalarTower R A B\ninst✝¹ : FinitePresentation R B\ninst✝ : FiniteType R A\nn : ℕ\nf : MvPolynomial (Fin n) R →ₐ[R] B\nhf... | change Ideal.span s₀ = I | Lean.Elab.Tactic.evalChange | Lean.Parser.Tactic.change |
Mathlib.CategoryTheory.MorphismProperty.Comma | {
"line": 286,
"column": 2
} | {
"line": 287,
"column": 43
} | {
"line": 289,
"column": 0
} | [
{
"pp": "A : Type u_1\ninst✝⁵ : Category.{v_1, u_1} A\nB : Type u_2\ninst✝⁴ : Category.{v_2, u_2} B\nT : Type u_3\ninst✝³ : Category.{v_3, u_3} T\nL : A ⥤ T\nR : B ⥤ T\nP : MorphismProperty T\nQ : MorphismProperty A\nW : MorphismProperty B\ninst✝² : Q.IsMultiplicative\ninst✝¹ : W.IsMultiplicative\nX Y : Morphis... | [] | apply IsIso.eq_inv_of_hom_inv_id
rw [← comp_hom, IsIso.hom_inv_id, id_hom] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.MorphismProperty.Comma | {
"line": 286,
"column": 2
} | {
"line": 287,
"column": 43
} | {
"line": 289,
"column": 0
} | [
{
"pp": "A : Type u_1\ninst✝⁵ : Category.{v_1, u_1} A\nB : Type u_2\ninst✝⁴ : Category.{v_2, u_2} B\nT : Type u_3\ninst✝³ : Category.{v_3, u_3} T\nL : A ⥤ T\nR : B ⥤ T\nP : MorphismProperty T\nQ : MorphismProperty A\nW : MorphismProperty B\ninst✝² : Q.IsMultiplicative\ninst✝¹ : W.IsMultiplicative\nX Y : Morphis... | [] | apply IsIso.eq_inv_of_hom_inv_id
rw [← comp_hom, IsIso.hom_inv_id, id_hom] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Shapes.Opposites.Equalizers | {
"line": 206,
"column": 25
} | {
"line": 206,
"column": 44
} | {
"line": 206,
"column": 44
} | [
{
"pp": "C : Type u₁\ninst✝ : Category.{v₁, u₁} C\nX Y : C\nf g : X ⟶ Y\nc : Fork f g\n⊢ (Iso.refl c.op.unop.pt).hom ≫ c.ι = c.op.unop.ι",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.Cofork.unop",
"CategoryTheory.CategoryStruct.toQuiver",
"Quiver.... | [] | by simp [op_unop_ι] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Shapes.Opposites.Equalizers | {
"line": 343,
"column": 9
} | {
"line": 343,
"column": 30
} | {
"line": 343,
"column": 30
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nX Y : Cᵒᵖ\nf : X ⟶ Y\ninst✝ : HasPullback f f\nh : IsColimit (ofπ f ⋯)\n⊢ (Iso.refl (Opposite.unop X)).hom ≫ pushout.inl f.unop f.unop =\n (pullback.fst f f).unop ≫ (pullbackIsoOpPushout f f).unop.symm.hom",
"ppTerm": "?m.181",
"assigned": true,
... | [] | by simp [← unop_comp] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Shapes.Opposites.Equalizers | {
"line": 343,
"column": 33
} | {
"line": 343,
"column": 54
} | {
"line": 343,
"column": 54
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nX Y : Cᵒᵖ\nf : X ⟶ Y\ninst✝ : HasPullback f f\nh : IsColimit (ofπ f ⋯)\n⊢ (Iso.refl (Opposite.unop X)).hom ≫ pushout.inr f.unop f.unop =\n (pullback.snd f f).unop ≫ (pullbackIsoOpPushout f f).unop.symm.hom",
"ppTerm": "?m.182",
"assigned": true,
... | [] | by simp [← unop_comp] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.MorphismProperty.Comma | {
"line": 744,
"column": 2
} | {
"line": 746,
"column": 11
} | {
"line": 748,
"column": 0
} | [
{
"pp": "T : Type u_1\ninst✝¹ : Category.{v_1, u_1} T\nP Q : MorphismProperty T\nX : T\ninst✝ : Q.IsMultiplicative\nA B : P.Under Q X\nf g : A ⟶ B\nh : f.right = g.right\n⊢ f = g",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"CategoryTheory.MorphismProperty",
"CategoryTheory.... | [] | ext
· simp
· exact h | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.MorphismProperty.Comma | {
"line": 744,
"column": 2
} | {
"line": 746,
"column": 11
} | {
"line": 748,
"column": 0
} | [
{
"pp": "T : Type u_1\ninst✝¹ : Category.{v_1, u_1} T\nP Q : MorphismProperty T\nX : T\ninst✝ : Q.IsMultiplicative\nA B : P.Under Q X\nf g : A ⟶ B\nh : f.right = g.right\n⊢ f = g",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"CategoryTheory.MorphismProperty",
"CategoryTheory.... | [] | ext
· simp
· exact h | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.MorphismProperty.Comma | {
"line": 743,
"column": 89
} | {
"line": 746,
"column": 11
} | {
"line": 748,
"column": 0
} | [
{
"pp": "T : Type u_1\ninst✝¹ : Category.{v_1, u_1} T\nP Q : MorphismProperty T\nX : T\ninst✝ : Q.IsMultiplicative\nA B : P.Under Q X\nf g : A ⟶ B\nh : f.right = g.right\n⊢ f = g",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"CategoryTheory.MorphismProperty",
"CategoryTheory.... | [] | by
ext
· simp
· exact h | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.FinitePresentation | {
"line": 276,
"column": 21
} | {
"line": 276,
"column": 29
} | {
"line": 276,
"column": 30
} | [
{
"pp": "case refine_4\nR : Type w₁\nA : Type w₂\nB : Type w₃\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing A\ninst✝⁶ : Algebra R A\ninst✝⁵ : CommRing B\ninst✝⁴ : Algebra R B\ninst✝³ : Algebra A B\ninst✝² : IsScalarTower R A B\ninst✝¹ : FinitePresentation R B\ninst✝ : FiniteType R A\nn : ℕ\nf : MvPolynomial (Fin n) R... | [
"case refine_4\nR : Type w₁\nA : Type w₂\nB : Type w₃\ninst✝⁸ : CommRing R\ninst✝⁷ : CommRing A\ninst✝⁶ : Algebra R A\ninst✝⁵ : CommRing B\ninst✝⁴ : Algebra R B\ninst✝³ : Algebra A B\ninst✝² : IsScalarTower R A B\ninst✝¹ : FinitePresentation R B\ninst✝ : FiniteType R A\nn : ℕ\nf : MvPolynomial (Fin n) R →ₐ[R] B\nhf... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.WithTerminal.Basic | {
"line": 308,
"column": 6
} | {
"line": 310,
"column": 12
} | {
"line": 310,
"column": 12
} | [
{
"pp": "case star.star\nC : Type u\ninst✝¹ : Category.{v, u} C\nD : Type u_1\ninst✝ : Category.{v_1, u_1} D\nZ : D\nF : C ⥤ D\nM : (x : C) → F.obj x ⟶ Z\nhM : ∀ (x y : C) (f : x ⟶ y), F.map f ≫ M y = M x\nG : WithTerminal C ⥤ D\nh : incl ⋙ G ≅ F\nhG : G.obj star ≅ Z\nhh : ∀ (x : C), G.map (starTerminal.from (i... | [] | · cases f
change G.map (𝟙 _) ≫ hG.hom = hG.hom ≫ 𝟙 _
simp | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.RingHomProperties | {
"line": 114,
"column": 4
} | {
"line": 116,
"column": 21
} | {
"line": 118,
"column": 0
} | [
{
"pp": "case right\nP : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop\nhP : StableUnderComposition P\nhP' : ∀ {R S : Type u} [inst : CommRing R] [inst_1 : CommRing S] (e : R ≃+* S), P e.toRingHom\n⊢ ∀ {R S T : Type u} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRin... | [] | introv H
apply hP
exacts [hP' e, H] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.RingHomProperties | {
"line": 114,
"column": 4
} | {
"line": 116,
"column": 21
} | {
"line": 118,
"column": 0
} | [
{
"pp": "case right\nP : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop\nhP : StableUnderComposition P\nhP' : ∀ {R S : Type u} [inst : CommRing R] [inst_1 : CommRing S] (e : R ≃+* S), P e.toRingHom\n⊢ ∀ {R S T : Type u} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRin... | [] | introv H
apply hP
exacts [hP' e, H] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Shapes.Diagonal | {
"line": 371,
"column": 64
} | {
"line": 371,
"column": 72
} | {
"line": 371,
"column": 72
} | [
{
"pp": "case h₀\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nX Y : C\ninst✝ : HasPullbacks C\nS : C\ng : Y ⟶ X\nf : X ⟶ S\ni : pullback (g ≫ f) f ≅ pullback (g ≫ f) (𝟙 X ≫ f) := ⋯\n⊢ (map (g ≫ f) (𝟙 X ≫ f) f f g (𝟙 X) (𝟙 S) ⋯ ⋯ ≫ 𝟙 (diagonalObj f)) ≫ fst f f =\n (i.inv ≫ map (g ≫ f) f f f g (𝟙 X) (�... | [] | simp [i] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Limits.Shapes.Diagonal | {
"line": 371,
"column": 64
} | {
"line": 371,
"column": 72
} | {
"line": 371,
"column": 72
} | [
{
"pp": "case h₁\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nX Y : C\ninst✝ : HasPullbacks C\nS : C\ng : Y ⟶ X\nf : X ⟶ S\ni : pullback (g ≫ f) f ≅ pullback (g ≫ f) (𝟙 X ≫ f) := ⋯\n⊢ (map (g ≫ f) (𝟙 X ≫ f) f f g (𝟙 X) (𝟙 S) ⋯ ⋯ ≫ 𝟙 (diagonalObj f)) ≫ snd f f =\n (i.inv ≫ map (g ≫ f) f f f g (𝟙 X) (�... | [] | simp [i] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.MorphismProperty.Limits | {
"line": 360,
"column": 2
} | {
"line": 369,
"column": 57
} | {
"line": 371,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝⁴ : Category.{v, u} C\nP : MorphismProperty C\ninst✝³ : P.IsStableUnderCobaseChange\ninst✝² : P.IsStableUnderComposition\nS X X' Y Y' : C\nf : S ⟶ X\ng : S ⟶ Y\nf' : S ⟶ X'\ng' : S ⟶ Y'\ni₁ : X ⟶ X'\ninst✝¹ : HasPushoutsAlong f\ninst✝ : HasPushoutsAlong g'\ni₂ : Y ⟶ Y'\nh₁ : P i₁\nh₂ :... | [] | have : HasPushoutsAlong (Under.mk g').hom := by cat_disch
have : pushout.map f g f' g' i₁ i₂ (𝟙 _) (by simp [e₁]) (by simp [e₂]) =
((pushoutSymmetry _ _).hom ≫
((Under.pushout f).map (Under.homMk _ e₂.symm : Under.mk g ⟶ Under.mk g')).right) ≫
(pushoutSymmetry _ _).hom ≫
((Under.pushout... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.MorphismProperty.Limits | {
"line": 360,
"column": 2
} | {
"line": 369,
"column": 57
} | {
"line": 371,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝⁴ : Category.{v, u} C\nP : MorphismProperty C\ninst✝³ : P.IsStableUnderCobaseChange\ninst✝² : P.IsStableUnderComposition\nS X X' Y Y' : C\nf : S ⟶ X\ng : S ⟶ Y\nf' : S ⟶ X'\ng' : S ⟶ Y'\ni₁ : X ⟶ X'\ninst✝¹ : HasPushoutsAlong f\ninst✝ : HasPushoutsAlong g'\ni₂ : Y ⟶ Y'\nh₁ : P i₁\nh₂ :... | [] | have : HasPushoutsAlong (Under.mk g').hom := by cat_disch
have : pushout.map f g f' g' i₁ i₂ (𝟙 _) (by simp [e₁]) (by simp [e₂]) =
((pushoutSymmetry _ _).hom ≫
((Under.pushout f).map (Under.homMk _ e₂.symm : Under.mk g ⟶ Under.mk g')).right) ≫
(pushoutSymmetry _ _).hom ≫
((Under.pushout... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.MorphismProperty.Limits | {
"line": 695,
"column": 4
} | {
"line": 696,
"column": 69
} | {
"line": 697,
"column": 4
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nW : MorphismProperty C\nJ : Type u_1\ninst✝ : W.RespectsIso\nhW :\n ∀ (X₁ X₂ : J → C) [inst : HasProduct X₁] [inst_1 : HasProduct X₂] (f : (j : J) → X₁ j ⟶ X₂ j),\n (∀ (j : J), W (f j)) → W (Limits.Pi.map f)\nX₁ X₂ : Discrete J ⥤ C\nc₁ : Cone X₁\nc₂ : Cone X₂... | [
"C : Type u\ninst✝¹ : Category.{v, u} C\nW : MorphismProperty C\nJ : Type u_1\ninst✝ : W.RespectsIso\nhW :\n ∀ (X₁ X₂ : J → C) [inst : HasProduct X₁] [inst_1 : HasProduct X₂] (f : (j : J) → X₁ j ⟶ X₂ j),\n (∀ (j : J), W (f j)) → W (Limits.Pi.map f)\nX₁ X₂ : Discrete J ⥤ C\nc₁ : Cone X₁\nc₂ : Cone X₂\nhc₁ : IsLi... | have : HasProduct fun j ↦ X₂.obj (Discrete.mk j) :=
hasLimit_of_iso (Discrete.natIso (fun j ↦ Iso.refl (X₂.obj j))) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.RingTheory.FinitePresentation | {
"line": 352,
"column": 12
} | {
"line": 352,
"column": 20
} | {
"line": 352,
"column": 21
} | [
{
"pp": "case refine_4\nR : Type w₁\nA : Type w₂\ninst✝³ : CommRing R\ninst✝² : CommRing A\ninst✝¹ : Algebra R A\nn : ℕ\nf : MvPolynomial (Fin n) R →ₐ[R] A\nhf : Surjective ⇑f\ninst✝ : FinitePresentation R A\nm : ℕ\nf' : MvPolynomial (Fin m) R →ₐ[R] A\nhf' : Surjective ⇑f'\ns : Finset (MvPolynomial (Fin m) R)\n... | [
"case refine_4\nR : Type w₁\nA : Type w₂\ninst✝³ : CommRing R\ninst✝² : CommRing A\ninst✝¹ : Algebra R A\nn : ℕ\nf : MvPolynomial (Fin n) R →ₐ[R] A\nhf : Surjective ⇑f\ninst✝ : FinitePresentation R A\nm : ℕ\nf' : MvPolynomial (Fin m) R →ₐ[R] A\nhf' : Surjective ⇑f'\ns : Finset (MvPolynomial (Fin m) R)\nhs : Ideal.s... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.FinitePresentation | {
"line": 496,
"column": 10
} | {
"line": 496,
"column": 29
} | {
"line": 496,
"column": 29
} | [
{
"pp": "P : (R : Type u) → [inst : CommRing R] → (S : Type u) → [inst_1 : CommRing S] → (R →+* S) → Prop\nQ : (R : Type u) → [inst : CommRing R] → (S : Type v) → [inst_1 : CommRing S] → (R →+* S) → Prop\npolynomial : ∀ (R : Type u) [inst : CommRing R], P R R[X] C\nfg_ker :\n ∀ (R : Type u) [inst : CommRing R]... | [
"P : (R : Type u) → [inst : CommRing R] → (S : Type u) → [inst_1 : CommRing S] → (R →+* S) → Prop\nQ : (R : Type u) → [inst : CommRing R] → (S : Type v) → [inst_1 : CommRing S] → (R →+* S) → Prop\npolynomial : ∀ (R : Type u) [inst : CommRing R], P R R[X] C\nfg_ker :\n ∀ (R : Type u) [inst : CommRing R] (S : Type v... | ← RingHom.comap_ker | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Monoidal.Cartesian.Basic | {
"line": 211,
"column": 52
} | {
"line": 211,
"column": 66
} | {
"line": 211,
"column": 66
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\n𝒯 : LimitCone (Functor.empty C)\nℬ : (X Y : C) → LimitCone (pair X Y)\nX₁ X₂ X₃ Y₁ Y₂ Y₃ Z₁ Z₂ : C\nthis : MonoidalCategoryStruct C :=\n { tensorObj := ofChosenFiniteProducts.tensorObj ℬ,\n whiskerLeft := fun X {x x_1} g ↦ ofChosenFiniteProducts.tensorHom ℬ (... | [] | simpa using hf | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.CategoryTheory.Monoidal.Cartesian.Basic | {
"line": 211,
"column": 52
} | {
"line": 211,
"column": 66
} | {
"line": 211,
"column": 66
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\n𝒯 : LimitCone (Functor.empty C)\nℬ : (X Y : C) → LimitCone (pair X Y)\nX₁ X₂ X₃ Y₁ Y₂ Y₃ Z₁ Z₂ : C\nthis : MonoidalCategoryStruct C :=\n { tensorObj := ofChosenFiniteProducts.tensorObj ℬ,\n whiskerLeft := fun X {x x_1} g ↦ ofChosenFiniteProducts.tensorHom ℬ (... | [] | simpa using hf | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Monoidal.Cartesian.Basic | {
"line": 211,
"column": 52
} | {
"line": 211,
"column": 66
} | {
"line": 211,
"column": 66
} | [
{
"pp": "C : Type u\ninst✝ : Category.{v, u} C\n𝒯 : LimitCone (Functor.empty C)\nℬ : (X Y : C) → LimitCone (pair X Y)\nX₁ X₂ X₃ Y₁ Y₂ Y₃ Z₁ Z₂ : C\nthis : MonoidalCategoryStruct C :=\n { tensorObj := ofChosenFiniteProducts.tensorObj ℬ,\n whiskerLeft := fun X {x x_1} g ↦ ofChosenFiniteProducts.tensorHom ℬ (... | [] | simpa using hf | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Monoidal.Cartesian.Basic | {
"line": 725,
"column": 87
} | {
"line": 727,
"column": 16
} | {
"line": 729,
"column": 0
} | [
{
"pp": "C✝ : Type u\ninst✝⁹ : Category.{v, u} C✝\nC : Type u\ninst✝⁸ : Category.{v, u} C\ninst✝⁷ : CartesianMonoidalCategory C\nD : Type u₁\ninst✝⁶ : Category.{v₁, u₁} D\ninst✝⁵ : CartesianMonoidalCategory D\nF : C ⥤ D\nE✝ : Type u₂\ninst✝⁴ : Category.{v₂, u₂} E✝\ninst✝³ : CartesianMonoidalCategory E✝\nG✝ : D ... | [] | by
rw [← prodComparisonIso_hom]
infer_instance | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Monoidal.Cartesian.Basic | {
"line": 819,
"column": 17
} | {
"line": 819,
"column": 46
} | {
"line": 820,
"column": 2
} | [
{
"pp": "C✝ : Type u\ninst✝⁴ : Category.{v, u} C✝\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : CartesianMonoidalCategory C\nP : ObjectProperty C\ninst✝¹ : P.IsClosedUnderLimitsOfShape (Discrete PEmpty.{1})\ninst✝ : P.IsClosedUnderLimitsOfShape (Discrete WalkingPair)\nX Y : P.FullSubcategory\n⊢ ObjectProper... | [] | by ext; exact fst_def X.1 Y.1 | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.HopfAlgebra.Convolution | {
"line": 240,
"column": 40
} | {
"line": 240,
"column": 71
} | {
"line": 242,
"column": 0
} | [
{
"pp": "R : Type u_1\nA : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Bialgebra R A\nX : Set A\nS : A →ₐ[R] Aᵐᵒᵖ\nhX : adjoin R X = ⊤\nh :\n ∀ x ∈ X,\n (mul' R A) ((LinearMap.rTensor A (↑(MulOpposite.opLinearEquiv R).symm ∘ₗ S.toLinearMap)) (δ x)) =\n (Algebra.linearMap R A) (ε x)\... | [] | by rw [hy, counit_mul, map_mul] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.Dimension.ErdosKaplansky | {
"line": 132,
"column": 2
} | {
"line": 133,
"column": 33
} | {
"line": 135,
"column": 0
} | [
{
"pp": "K : Type u\nV : Type v\ninst✝² : Field K\ninst✝¹ : AddCommGroup V\ninst✝ : Module K V\nh : ℵ₀ ≤ Module.rank K V\n⊢ lift.{u, v} (Module.rank K V) < Module.rank K (V →ₗ[K] K)",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Algebra.to_smulCommClass",
"Pre... | [] | rw [rank_dual_eq_card_dual_of_aleph0_le_rank h, ← rank_dual_eq_card_dual_of_aleph0_le_rank' h]
exact lift_rank_lt_rank_dual' h | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.Dimension.ErdosKaplansky | {
"line": 132,
"column": 2
} | {
"line": 133,
"column": 33
} | {
"line": 135,
"column": 0
} | [
{
"pp": "K : Type u\nV : Type v\ninst✝² : Field K\ninst✝¹ : AddCommGroup V\ninst✝ : Module K V\nh : ℵ₀ ≤ Module.rank K V\n⊢ lift.{u, v} (Module.rank K V) < Module.rank K (V →ₗ[K] K)",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Algebra.to_smulCommClass",
"Pre... | [] | rw [rank_dual_eq_card_dual_of_aleph0_le_rank h, ← rank_dual_eq_card_dual_of_aleph0_le_rank' h]
exact lift_rank_lt_rank_dual' h | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.Dimension.DivisionRing | {
"line": 67,
"column": 6
} | {
"line": 67,
"column": 47
} | {
"line": 67,
"column": 47
} | [
{
"pp": "K : Type u\nV✝ V₁ V₂ V₃ : Type v\ninst✝⁴ : DivisionRing K\ninst✝³ : AddCommGroup V✝\ninst✝² : Module K V✝\ninst✝¹ : AddCommGroup V₁\ninst✝ : Module K V₁\nV : Type u₀\nx✝¹ : AddCommGroup V\nx✝ : Module K V\nb : Basis (Free.ChooseBasisIndex K V) K V := Free.chooseBasis K V\n⊢ lift.{u₀, u₀} #(Free.ChooseB... | [
"K : Type u\nV✝ V₁ V₂ V₃ : Type v\ninst✝⁴ : DivisionRing K\ninst✝³ : AddCommGroup V✝\ninst✝² : Module K V✝\ninst✝¹ : AddCommGroup V₁\ninst✝ : Module K V₁\nV : Type u₀\nx✝¹ : AddCommGroup V\nx✝ : Module K V\nb : Basis (Free.ChooseBasisIndex K V) K V := Free.chooseBasis K V\n⊢ lift.{u₀, u₀} #(Free.ChooseBasisIndex K ... | Module.Free.rank_eq_card_chooseBasisIndex | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.Dimension.RankNullity | {
"line": 276,
"column": 6
} | {
"line": 276,
"column": 34
} | {
"line": 276,
"column": 35
} | [
{
"pp": "R : Type u_2\nM : Type u\ninst✝⁹ : Ring R\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : Module R M\ninst✝⁶ : HasRankNullity.{u, u_2} R\ninst✝⁵ : StrongRankCondition R\ninst✝⁴ : IsDomain R\ninst✝³ : IsTorsionFree R M\nN : Type u_1\ninst✝² : AddCommGroup N\ninst✝¹ : Module R N\nL : Submodule R M\ninst✝ : Module.Fin... | [
"R : Type u_2\nM : Type u\ninst✝⁹ : Ring R\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : Module R M\ninst✝⁶ : HasRankNullity.{u, u_2} R\ninst✝⁵ : StrongRankCondition R\ninst✝⁴ : IsDomain R\ninst✝³ : IsTorsionFree R M\nN : Type u_1\ninst✝² : AddCommGroup N\ninst✝¹ : Module R N\nL : Submodule R M\ninst✝ : Module.Finite R ↥L\nf ... | ← Submodule.finrank_eq_rank, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.FiniteDimensional.Lemmas | {
"line": 407,
"column": 2
} | {
"line": 428,
"column": 89
} | {
"line": 430,
"column": 0
} | [
{
"pp": "K : Type u\nV : Type v\ninst✝³ : DivisionRing K\ninst✝² : AddCommGroup V\ninst✝¹ : Module K V\ninst✝ : FiniteDimensional K V\nf : End K V\n⊢ ∃ k ≤ finrank K V, LinearMap.ker (f ^ k) = LinearMap.ker (f ^ k.succ)",
"ppTerm": "?m.46",
"assigned": true,
"usedConstants": [
"zero_le",
... | [] | by_contra h_contra
simp_rw [not_exists, not_and] at h_contra
have h_le_ker_pow : ∀ n : ℕ, n ≤ (finrank K V).succ →
n ≤ finrank K (LinearMap.ker (f ^ n)) := by
intro n hn
induction n with
| zero => exact zero_le
| succ n ih =>
have h_ker_lt_ker : LinearMap.ker (f ^ n) < LinearMap.ker (f ^... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.FiniteDimensional.Lemmas | {
"line": 407,
"column": 2
} | {
"line": 428,
"column": 89
} | {
"line": 430,
"column": 0
} | [
{
"pp": "K : Type u\nV : Type v\ninst✝³ : DivisionRing K\ninst✝² : AddCommGroup V\ninst✝¹ : Module K V\ninst✝ : FiniteDimensional K V\nf : End K V\n⊢ ∃ k ≤ finrank K V, LinearMap.ker (f ^ k) = LinearMap.ker (f ^ k.succ)",
"ppTerm": "?m.46",
"assigned": true,
"usedConstants": [
"zero_le",
... | [] | by_contra h_contra
simp_rw [not_exists, not_and] at h_contra
have h_le_ker_pow : ∀ n : ℕ, n ≤ (finrank K V).succ →
n ≤ finrank K (LinearMap.ker (f ^ n)) := by
intro n hn
induction n with
| zero => exact zero_le
| succ n ih =>
have h_ker_lt_ker : LinearMap.ker (f ^ n) < LinearMap.ker (f ^... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Category.ModuleCat.Products | {
"line": 90,
"column": 4
} | {
"line": 90,
"column": 47
} | {
"line": 91,
"column": 4
} | [
{
"pp": "R : Type u\ninst✝¹ : Ring R\nι : Type v\nZ : ι → ModuleCat R\ninst✝ : DecidableEq ι\ns : Cocone (Discrete.functor Z)\nf : (coproductCocone Z).pt ⟶ s.pt\nh : ∀ (j : Discrete ι), (coproductCocone Z).ι.app j ≫ f = s.ι.app j\n⊢ Hom.hom f = Hom.hom (↟(toModule R ι ↑s.1 fun i ↦ Hom.hom (s.ι.app { as := i }))... | [
"R : Type u\ninst✝¹ : Ring R\nι : Type v\nZ : ι → ModuleCat R\ninst✝ : DecidableEq ι\ns : Cocone (Discrete.functor Z)\nf : (coproductCocone Z).pt ⟶ s.pt\nh : ∀ (j : Discrete ι), (coproductCocone Z).ι.app j ≫ f = s.ι.app j\ni : ι\n⊢ Hom.hom f ∘ₗ lof R ι (fun i ↦ ↑(Z i)) i =\n Hom.hom (↟(toModule R ι ↑s.1 fun i ↦ ... | refine DirectSum.linearMap_ext _ fun i ↦ ?_ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.LinearAlgebra.Dual.Lemmas | {
"line": 357,
"column": 2
} | {
"line": 357,
"column": 43
} | {
"line": 359,
"column": 0
} | [
{
"pp": "R : Type u_3\nM : Type u_4\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\np : Submodule R M\nx : M\nhx : ¬p.mkQ x = 0\nhp' : Projective R (M ⧸ p)\n⊢ ∃ f, f (p.mkQ x) ≠ 0",
"ppTerm": "?m.126",
"assigned": true,
"usedConstants": [
"Submodule",
"Submodule.Quotient.a... | [] | exact Projective.exists_dual_ne_zero R hx | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.CategoryTheory.Limits.Shapes.SplitEqualizer | {
"line": 97,
"column": 49
} | {
"line": 97,
"column": 74
} | {
"line": 97,
"column": 75
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nG : C ⥤ D\nX Y : C\nf g : X ⟶ Y\nW : C\nι : W ⟶ X\nq : IsSplitEqualizer f g ι\nF : C ⥤ D\n⊢ F.map (g ≫ q.rightRetraction) = 𝟙 (F.obj X)",
"ppTerm": "?m.145",
"assigned": true,
"usedConstants": [
"Eq.mpr... | [
"C : Type u\ninst✝¹ : Category.{v, u} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nG : C ⥤ D\nX Y : C\nf g : X ⟶ Y\nW : C\nι : W ⟶ X\nq : IsSplitEqualizer f g ι\nF : C ⥤ D\n⊢ F.map (𝟙 X) = 𝟙 (F.obj X)"
] | q.bottom_rightRetraction, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Limits.Constructions.Equalizers | {
"line": 166,
"column": 4
} | {
"line": 173,
"column": 14
} | {
"line": 175,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\nG : C ⥤ D\ninst✝¹ : HasBinaryCoproducts C\ninst✝ : HasPushouts C\nF : WalkingParallelPair ⥤ C\n⊢ ∀ (s : Cocone F) (m : (coequalizerCocone F).pt ⟶ s.pt),\n (∀ (j : WalkingParallelPair), (coequalizerCocone F).ι.app j ≫ ... | [] | intro c m J
have J1 : pushoutInl F ≫ m = c.ι.app WalkingParallelPair.one := by
simpa using J WalkingParallelPair.one
apply pushout.hom_ext
· rw [colimit.ι_desc]
exact J1
· rw [colimit.ι_desc, ← pushoutInl_eq_pushout_inr]
exact J1 | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Constructions.Equalizers | {
"line": 166,
"column": 4
} | {
"line": 173,
"column": 14
} | {
"line": 175,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\nG : C ⥤ D\ninst✝¹ : HasBinaryCoproducts C\ninst✝ : HasPushouts C\nF : WalkingParallelPair ⥤ C\n⊢ ∀ (s : Cocone F) (m : (coequalizerCocone F).pt ⟶ s.pt),\n (∀ (j : WalkingParallelPair), (coequalizerCocone F).ι.app j ≫ ... | [] | intro c m J
have J1 : pushoutInl F ≫ m = c.ι.app WalkingParallelPair.one := by
simpa using J WalkingParallelPair.one
apply pushout.hom_ext
· rw [colimit.ι_desc]
exact J1
· rw [colimit.ι_desc, ← pushoutInl_eq_pushout_inr]
exact J1 | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Constructions.Equalizers | {
"line": 202,
"column": 10
} | {
"line": 202,
"column": 87
} | {
"line": 203,
"column": 10
} | [
{
"pp": "case refine_3\nC : Type u\ninst✝⁵ : Category.{v, u} C\nD : Type u'\ninst✝⁴ : Category.{v', u'} D\nG : C ⥤ D\ninst✝³ : HasBinaryCoproducts C\ninst✝² : HasPushouts C\ninst✝¹ : PreservesColimitsOfShape (Discrete WalkingPair) G\ninst✝ : PreservesColimitsOfShape WalkingSpan G\nK : WalkingParallelPair ⥤ C\nc... | [
"case refine_3\nC : Type u\ninst✝⁵ : Category.{v, u} C\nD : Type u'\ninst✝⁴ : Category.{v', u'} D\nG : C ⥤ D\ninst✝³ : HasBinaryCoproducts C\ninst✝² : HasPushouts C\ninst✝¹ : PreservesColimitsOfShape (Discrete WalkingPair) G\ninst✝ : PreservesColimitsOfShape WalkingSpan G\nK : WalkingParallelPair ⥤ C\nc : Cocone (K... | apply (mapIsColimitOfPreservesOfIsColimit G _ _ (coprodIsCoprod _ _)).hom_ext | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.CategoryTheory.Abelian.NonPreadditive | {
"line": 219,
"column": 2
} | {
"line": 232,
"column": 38
} | {
"line": 234,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : NonPreadditiveAbelian C\nA : C\n⊢ Mono (r A)",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.Category.assoc",
"CategoryTheory.Limits.KernelFork.ofι",
"CategoryTheory.Mono",
"Cate... | [] | let hl : IsLimit (KernelFork.ofι (diag A) (cokernel.condition (diag A))) :=
monoIsKernelOfCokernel _ (colimit.isColimit _)
apply NormalEpiCategory.mono_of_cancel_zero
intro Z x hx
have hxx : (x ≫ prod.lift (𝟙 A) (0 : A ⟶ A)) ≫ cokernel.π (diag A) = 0 := by
rw [Category.assoc, hx]
obtain ⟨y, hy⟩ := Kern... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Abelian.NonPreadditive | {
"line": 219,
"column": 2
} | {
"line": 232,
"column": 38
} | {
"line": 234,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : NonPreadditiveAbelian C\nA : C\n⊢ Mono (r A)",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.Category.assoc",
"CategoryTheory.Limits.KernelFork.ofι",
"CategoryTheory.Mono",
"Cate... | [] | let hl : IsLimit (KernelFork.ofι (diag A) (cokernel.condition (diag A))) :=
monoIsKernelOfCokernel _ (colimit.isColimit _)
apply NormalEpiCategory.mono_of_cancel_zero
intro Z x hx
have hxx : (x ≫ prod.lift (𝟙 A) (0 : A ⟶ A)) ≫ cokernel.π (diag A) = 0 := by
rw [Category.assoc, hx]
obtain ⟨y, hy⟩ := Kern... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Abelian.Basic | {
"line": 178,
"column": 2
} | {
"line": 179,
"column": 16
} | {
"line": 181,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝⁵ : Category.{v, u} C\ninst✝⁴ : Preadditive C\ninst✝³ : HasKernels C\ninst✝² : HasCokernels C\ninst✝¹ : HasZeroObject C\nX Y : C\nf : X ⟶ Y\ninst✝ : Epi f\n⊢ IsIso (imageMonoFactorisation f).m",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"CategoryTheory.L... | [] | dsimp
infer_instance | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Abelian.Basic | {
"line": 178,
"column": 2
} | {
"line": 179,
"column": 16
} | {
"line": 181,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝⁵ : Category.{v, u} C\ninst✝⁴ : Preadditive C\ninst✝³ : HasKernels C\ninst✝² : HasCokernels C\ninst✝¹ : HasZeroObject C\nX Y : C\nf : X ⟶ Y\ninst✝ : Epi f\n⊢ IsIso (imageMonoFactorisation f).m",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"CategoryTheory.L... | [] | dsimp
infer_instance | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Homology.ShortComplex.Homology | {
"line": 617,
"column": 39
} | {
"line": 617,
"column": 60
} | {
"line": 617,
"column": 61
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : HasZeroMorphisms C\nS : ShortComplex C\nh₁ h₁' : S.LeftHomologyData\nh₂ h₂' : S.RightHomologyData\n⊢ leftRightHomologyComparison' h₁ h₂ = leftRightHomologyComparison' h₁ h₂ ≫ rightHomologyMap' (𝟙 S) h₂ h₂",
"ppTerm": "?m.93",
"assigned": true,
... | [
"C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : HasZeroMorphisms C\nS : ShortComplex C\nh₁ h₁' : S.LeftHomologyData\nh₂ h₂' : S.RightHomologyData\n⊢ leftRightHomologyComparison' h₁ h₂ = leftRightHomologyComparison' h₁ h₂ ≫ 𝟙 h₂.H"
] | rightHomologyMap'_id, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Homology.ShortComplex.LeftHomology | {
"line": 324,
"column": 35
} | {
"line": 324,
"column": 57
} | {
"line": 324,
"column": 58
} | [
{
"pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh₁ : S₁.LeftHomologyData\nh₂ : S₂.LeftHomologyData\nφK : h₁.K ⟶ h₂.K := h₂.liftK (h₁.i ≫ φ.τ₂) ⋯\n⊢ S₁.f ≫ φ.τ₂ = φ.τ₁ ≫ h₂.f' ≫ h₂.i",
"ppTerm": "?m.165",
"assigned": true,
"... | [
"C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh₁ : S₁.LeftHomologyData\nh₂ : S₂.LeftHomologyData\nφK : h₁.K ⟶ h₂.K := h₂.liftK (h₁.i ≫ φ.τ₂) ⋯\n⊢ S₁.f ≫ φ.τ₂ = φ.τ₁ ≫ S₂.f"
] | LeftHomologyData.f'_i, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Homology.ShortComplex.LeftHomology | {
"line": 835,
"column": 20
} | {
"line": 835,
"column": 28
} | {
"line": 835,
"column": 28
} | [
{
"pp": "C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh : S₁.LeftHomologyData\ninst✝² : Epi φ.τ₁\ninst✝¹ : IsIso φ.τ₂\ninst✝ : Mono φ.τ₃\ni : h.K ⟶ S₂.X₂ := h.i ≫ φ.τ₂\nwi : i ≫ S₂.g = 0\nW'✝ : C\nx : W'✝ ⟶ S₂.X₂\nhx : x ≫ S₂.g = 0\n⊢ h.lif... | [] | simp [i] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.Homology.ShortComplex.LeftHomology | {
"line": 835,
"column": 20
} | {
"line": 835,
"column": 28
} | {
"line": 835,
"column": 28
} | [
{
"pp": "C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh : S₁.LeftHomologyData\ninst✝² : Epi φ.τ₁\ninst✝¹ : IsIso φ.τ₂\ninst✝ : Mono φ.τ₃\ni : h.K ⟶ S₂.X₂ := h.i ≫ φ.τ₂\nwi : i ≫ S₂.g = 0\nW'✝ : C\nx : W'✝ ⟶ S₂.X₂\nhx : x ≫ S₂.g = 0\n⊢ h.lif... | [] | simp [i] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Homology.ShortComplex.LeftHomology | {
"line": 835,
"column": 20
} | {
"line": 835,
"column": 28
} | {
"line": 835,
"column": 28
} | [
{
"pp": "C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh : S₁.LeftHomologyData\ninst✝² : Epi φ.τ₁\ninst✝¹ : IsIso φ.τ₂\ninst✝ : Mono φ.τ₃\ni : h.K ⟶ S₂.X₂ := h.i ≫ φ.τ₂\nwi : i ≫ S₂.g = 0\nW'✝ : C\nx : W'✝ ⟶ S₂.X₂\nhx : x ≫ S₂.g = 0\n⊢ h.lif... | [] | simp [i] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Homology.ShortComplex.Homology | {
"line": 1142,
"column": 8
} | {
"line": 1142,
"column": 35
} | {
"line": 1142,
"column": 36
} | [
{
"pp": "case refine_2\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasZeroMorphisms C\nS₁ S₂ : ShortComplex C\nφ : S₁ ⟶ S₂\ninst✝¹ : S₁.HasHomology\ninst✝ : S₂.HasHomology\nh₁ : IsIso (opcyclesMap φ)\nh₂ : Mono φ.τ₃\nh : (S₂.homologyι ≫ inv (opcyclesMap φ)) ≫ S₁.fromOpcycles = 0\nz : S₂.homology ⟶ (Kernel... | [
"case refine_2\nC : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasZeroMorphisms C\nS₁ S₂ : ShortComplex C\nφ : S₁ ⟶ S₂\ninst✝¹ : S₁.HasHomology\ninst✝ : S₂.HasHomology\nh₁ : IsIso (opcyclesMap φ)\nh₂ : Mono φ.τ₃\nh : (S₂.homologyι ≫ inv (opcyclesMap φ)) ≫ S₁.fromOpcycles = 0\nz : S₂.homology ⟶ (KernelFork.ofι S₁.... | ← cancel_mono S₂.homologyι, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Homology.ShortComplex.RightHomology | {
"line": 409,
"column": 16
} | {
"line": 414,
"column": 9
} | {
"line": 414,
"column": 9
} | [
{
"pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh₁ : S₁.RightHomologyData\nh₂ : S₂.RightHomologyData\nψ₁ ψ₂ : RightHomologyMapData φ h₁ h₂\n⊢ ψ₁ = ψ₂",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Eq.mpr",... | [] | by
have hQ : ψ₁.φQ = ψ₂.φQ := by rw [← cancel_epi h₁.p, commp, commp]
have hH : ψ₁.φH = ψ₂.φH := by rw [← cancel_mono h₂.ι, commι, commι, hQ]
cases ψ₁
cases ψ₂
congr | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Homology.ShortComplex.LeftHomology | {
"line": 869,
"column": 20
} | {
"line": 869,
"column": 28
} | {
"line": 869,
"column": 28
} | [
{
"pp": "C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh : S₂.LeftHomologyData\ninst✝² : Epi φ.τ₁\ninst✝¹ : IsIso φ.τ₂\ninst✝ : Mono φ.τ₃\ni : h.K ⟶ S₁.X₂ := h.i ≫ inv φ.τ₂\nwi : i ≫ S₁.g = 0\nW'✝ : C\nx : W'✝ ⟶ S₁.X₂\nhx : x ≫ S₁.g = 0\n⊢ h... | [] | simp [i] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.Homology.ShortComplex.LeftHomology | {
"line": 869,
"column": 20
} | {
"line": 869,
"column": 28
} | {
"line": 869,
"column": 28
} | [
{
"pp": "C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh : S₂.LeftHomologyData\ninst✝² : Epi φ.τ₁\ninst✝¹ : IsIso φ.τ₂\ninst✝ : Mono φ.τ₃\ni : h.K ⟶ S₁.X₂ := h.i ≫ inv φ.τ₂\nwi : i ≫ S₁.g = 0\nW'✝ : C\nx : W'✝ ⟶ S₁.X₂\nhx : x ≫ S₁.g = 0\n⊢ h... | [] | simp [i] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Homology.ShortComplex.LeftHomology | {
"line": 869,
"column": 20
} | {
"line": 869,
"column": 28
} | {
"line": 869,
"column": 28
} | [
{
"pp": "C : Type u_1\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh : S₂.LeftHomologyData\ninst✝² : Epi φ.τ₁\ninst✝¹ : IsIso φ.τ₂\ninst✝ : Mono φ.τ₃\ni : h.K ⟶ S₁.X₂ := h.i ≫ inv φ.τ₂\nwi : i ≫ S₁.g = 0\nW'✝ : C\nx : W'✝ ⟶ S₁.X₂\nhx : x ≫ S₁.g = 0\n⊢ h... | [] | simp [i] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Homology.ShortComplex.RightHomology | {
"line": 997,
"column": 2
} | {
"line": 997,
"column": 33
} | {
"line": 998,
"column": 2
} | [
{
"pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : HasZeroMorphisms C\nS : ShortComplex C\ninst✝ : S.HasLeftHomology\n⊢ S.opcyclesOpIso.hom ≫ S.toCycles.op = S.op.fromOpcycles",
"ppTerm": "?m.42",
"assigned": true,
"usedConstants": [
"CategoryTheory.ShortComplex.opcycles",
"... | [
"C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : HasZeroMorphisms C\nS : ShortComplex C\ninst✝ : S.HasLeftHomology\n⊢ S.leftHomologyData.op.opcyclesIso.hom ≫ S.leftHomologyData.f'.op = S.op.fromOpcycles"
] | dsimp [opcyclesOpIso, toCycles] | Lean.Elab.Tactic.evalDSimp | Lean.Parser.Tactic.dsimp |
Mathlib.Algebra.Homology.ShortComplex.RightHomology | {
"line": 1000,
"column": 38
} | {
"line": 1000,
"column": 60
} | {
"line": 1000,
"column": 61
} | [
{
"pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : HasZeroMorphisms C\nS : ShortComplex C\ninst✝ : S.HasLeftHomology\n⊢ (S.leftHomologyData.f' ≫ S.leftHomologyData.i).op = S.op.g",
"ppTerm": "?m.88",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.ShortComplex... | [
"C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : HasZeroMorphisms C\nS : ShortComplex C\ninst✝ : S.HasLeftHomology\n⊢ S.f.op = S.op.g"
] | LeftHomologyData.f'_i, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Functor.KanExtension.Adjunction | {
"line": 391,
"column": 6
} | {
"line": 392,
"column": 60
} | {
"line": 393,
"column": 6
} | [
{
"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\nH : Type u_3\ninst✝⁴ : Category.{v_3, u_3} H\ninst✝³ : ∀ (F : C ⥤ H), L✝.HasRightKanExtension F\nL : C ⥤ D\ninst✝² : ∀ (G : C ⥤ H), L.HasRightKanExtension G\ninst✝¹ : HasLimitsOfShape C H\ninst✝ : Ha... | [
"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\nH : Type u_3\ninst✝⁴ : Category.{v_3, u_3} H\ninst✝³ : ∀ (F : C ⥤ H), L✝.HasRightKanExtension F\nL : C ⥤ D\ninst✝² : ∀ (G : C ⥤ H), L.HasRightKanExtension G\ninst✝¹ : HasLimitsOfShape C H\ninst✝ : HasLimitsOfSha... | rw [assoc, assoc, limMap_π, limitIsoOfIsRightKanExtension_hom_π_assoc,
limitIsoOfIsRightKanExtension_hom_π, limMap_π_assoc] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Homology.ShortComplex.Abelian | {
"line": 93,
"column": 2
} | {
"line": 96,
"column": 12
} | {
"line": 97,
"column": 2
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : Abelian C\nS : ShortComplex C\nγ : kernel S.g ⟶ cokernel S.f := kernel.ι S.g ≫ cokernel.π S.f\nf' : S.X₁ ⟶ kernel S.g := kernel.lift S.g S.f ⋯\nhf' : f' = kernel.lift γ f' ⋯ ≫ kernel.ι γ\nwπ : f' ≫ cokernel.π (kernel.ι γ) = 0\ne : Abelian.image S.f ≅ kern... | [
"C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : Abelian C\nS : ShortComplex C\nγ : kernel S.g ⟶ cokernel S.f := kernel.ι S.g ≫ cokernel.π S.f\nf' : S.X₁ ⟶ kernel S.g := kernel.lift S.g S.f ⋯\nhf' : f' = kernel.lift γ f' ⋯ ≫ kernel.ι γ\nwπ : f' ≫ cokernel.π (kernel.ι γ) = 0\ne : Abelian.image S.f ≅ kernel γ :=\n S... | have fac : f' = Abelian.factorThruImage S.f ≫ e.hom ≫ kernel.ι γ := by
rw [hf', he]
simp only [γ, f', kernel.lift_ι, abelianImageToKernel, ← cancel_mono (kernel.ι S.g),
assoc] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Algebra.Homology.ShortComplex.ShortExact | {
"line": 166,
"column": 49
} | {
"line": 168,
"column": 28
} | {
"line": 170,
"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\ninst✝¹ : Preadditive C\ninst✝ : Balanced C\nS : ShortComplex C\nhS : S.ShortExact\n⊢ IsColimit (CokernelCofork.ofπ S.g ⋯)",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"CategoryTheo... | [] | by
have := hS.epi_g
exact hS.exact.gIsCokernel | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Homology.ShortComplex.Exact | {
"line": 220,
"column": 2
} | {
"line": 220,
"column": 64
} | {
"line": 221,
"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✝⁴ : HasZeroMorphisms C\ninst✝³ : HasZeroMorphisms D\nS : ShortComplex C\nh : S.Exact\nF : C ⥤ D\ninst✝² : F.PreservesZeroMorphisms\ninst✝¹ : F.PreservesRightHomologyOf S\ninst✝ : (S.map F).HasHomology\nthis... | [
"C : Type u_1\nD : Type u_2\ninst✝⁶ : Category.{v_1, u_1} C\ninst✝⁵ : Category.{v_2, u_2} D\ninst✝⁴ : HasZeroMorphisms C\ninst✝³ : HasZeroMorphisms D\nS : ShortComplex C\nF : C ⥤ D\ninst✝² : F.PreservesZeroMorphisms\ninst✝¹ : F.PreservesRightHomologyOf S\ninst✝ : (S.map F).HasHomology\nthis : S.HasHomology\nh : 𝟙 ... | rw [S.rightHomologyData.exact_iff, IsZero.iff_id_eq_zero] at h | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Homology.ShortComplex.Preadditive | {
"line": 576,
"column": 65
} | {
"line": 576,
"column": 87
} | {
"line": 577,
"column": 6
} | [
{
"pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Preadditive C\nS₁ S₂ S₃ : ShortComplex C\nφ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂\nH₁ : S₁.LeftHomologyData\nH₂ : S₂.LeftHomologyData\nh₀ : S₁.X₁ ⟶ S₂.X₁\nh₀_f : h₀ ≫ S₂.f = 0\nh₁ : S₁.X₂ ⟶ S₂.X₁\nh₂ : S₁.X₃ ⟶ S₂.X₂\nh₃ : S₁.X₃ ⟶ S₂.X₃\ng_h₃ : S₁.g ≫ h₃ = 0\n⊢ S₁.f ≫... | [
"C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Preadditive C\nS₁ S₂ S₃ : ShortComplex C\nφ₁ φ₂ φ₃ φ₄ : S₁ ⟶ S₂\nH₁ : S₁.LeftHomologyData\nH₂ : S₂.LeftHomologyData\nh₀ : S₁.X₁ ⟶ S₂.X₁\nh₀_f : h₀ ≫ S₂.f = 0\nh₁ : S₁.X₂ ⟶ S₂.X₁\nh₂ : S₁.X₃ ⟶ S₂.X₂\nh₃ : S₁.X₃ ⟶ S₂.X₃\ng_h₃ : S₁.g ≫ h₃ = 0\n⊢ S₁.f ≫ h₁ ≫ S₂.f =... | LeftHomologyData.f'_i, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Subobject.FactorThru | {
"line": 64,
"column": 8
} | {
"line": 65,
"column": 79
} | {
"line": 66,
"column": 6
} | [
{
"pp": "case mp\nC : Type u₁\ninst✝ : Category.{v₁, u₁} C\nX✝ Y✝ Z X Y : C\nP✝ : Subobject Y\nf : X ⟶ Y\nP Q : MonoOver Y\nh : P ≅ Q\n⊢ P.Factors f → Q.Factors f",
"ppTerm": "?mp",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.Category.assoc",
"CategoryTheory.Over... | [] | rintro ⟨i, w⟩
exact ⟨i ≫ h.hom.hom.left, by rw [Category.assoc, Over.w h.hom.hom, w]⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Subobject.FactorThru | {
"line": 64,
"column": 8
} | {
"line": 65,
"column": 79
} | {
"line": 66,
"column": 6
} | [
{
"pp": "case mp\nC : Type u₁\ninst✝ : Category.{v₁, u₁} C\nX✝ Y✝ Z X Y : C\nP✝ : Subobject Y\nf : X ⟶ Y\nP Q : MonoOver Y\nh : P ≅ Q\n⊢ P.Factors f → Q.Factors f",
"ppTerm": "?mp",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.Category.assoc",
"CategoryTheory.Over... | [] | rintro ⟨i, w⟩
exact ⟨i ≫ h.hom.hom.left, by rw [Category.assoc, Over.w h.hom.hom, w]⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Subobject.Basic | {
"line": 600,
"column": 62
} | {
"line": 606,
"column": 47
} | {
"line": 608,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nX Y : C\ninst✝ : HasPullbacks C\nf : X ⟶ Y\ny : Subobject Y\n⊢ ∃ φ, IsPullback φ ((pullback f).obj y).arrow y.arrow f",
"ppTerm": "?m.33",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.Limits.pullback",
"CategoryT... | [] | by
obtain ⟨A, i, ⟨_, rfl⟩⟩ := mk_surjective y
rw [pullback_obj]
exists (underlyingIso (pullback.snd (mk i).arrow f)).hom ≫ pullback.fst (mk i).arrow f
exact IsPullback.of_iso (IsPullback.of_hasPullback (mk i).arrow f)
(underlyingIso (pullback.snd (mk i).arrow f)).symm (Iso.refl _) (Iso.refl _) (Iso.refl... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Subobject.MonoOver | {
"line": 352,
"column": 4
} | {
"line": 352,
"column": 13
} | {
"line": 354,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nX Y Z : C\nD : Type u₂\ninst✝¹ : Category.{v₂, u₂} D\nf : X ⟶ Y\ninst✝ : Mono f\ng h : MonoOver X\ne : (map f).obj g ⟶ (map f).obj h\n⊢ Over.Hom.left e.hom ≫ h.arrow ≫ f = g.arrow ≫ f",
"ppTerm": "?m.65",
"assigned": true,
"usedConstants": [
... | [] | apply w e | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.CategoryTheory.Preadditive.LeftExact | {
"line": 176,
"column": 2
} | {
"line": 176,
"column": 84
} | {
"line": 177,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝⁶ : Category.{v₁, u₁} C\ninst✝⁵ : Preadditive C\nD : Type u₂\ninst✝⁴ : Category.{v₂, u₂} D\ninst✝³ : Preadditive D\nF : C ⥤ D\ninst✝² : F.PreservesZeroMorphisms\ninst✝¹ : HasBinaryBiproducts C\ninst✝ : ∀ {X Y : C} (f : X ⟶ Y), PreservesColimit (parallelPair f 0) F\nX Y : C\nf g : X ⟶ ... | [
"C : Type u₁\ninst✝⁶ : Category.{v₁, u₁} C\ninst✝⁵ : Preadditive C\nD : Type u₂\ninst✝⁴ : Category.{v₂, u₂} D\ninst✝³ : Preadditive D\nF : C ⥤ D\ninst✝² : F.PreservesZeroMorphisms\ninst✝¹ : HasBinaryBiproducts C\ninst✝ : ∀ {X Y : C} (f : X ⟶ Y), PreservesColimit (parallelPair f 0) F\nX Y : C\nf g : X ⟶ Y\nthis✝ : P... | let c' := isColimitCokernelCoforkOfCofork (i.ofIsoColimit (Cofork.isoCoforkOfπ c)) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticLet___1 | Lean.Parser.Tactic.tacticLet__ |
Mathlib.CategoryTheory.Abelian.Exact | {
"line": 97,
"column": 2
} | {
"line": 106,
"column": 38
} | {
"line": 108,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\ninst✝ : Abelian C\nS : ShortComplex C\ncg : KernelFork S.g\nhg : IsLimit cg\ncf : CokernelCofork S.f\nhf : IsColimit cf\n⊢ S.Exact ↔ Fork.ι cg ≫ Cofork.π cf = 0",
"ppTerm": "?m.53",
"assigned": true,
"usedConstants": [
"CategoryTheory.Preaddi... | [] | rw [exact_iff_kernel_ι_comp_cokernel_π_zero]
let e₁ := IsLimit.conePointUniqueUpToIso (kernelIsKernel S.g) hg
let e₂ := IsColimit.coconePointUniqueUpToIso (cokernelIsCokernel S.f) hf
have : cg.ι ≫ cf.π = e₁.inv ≫ kernel.ι S.g ≫ cokernel.π S.f ≫ e₂.hom := by
have eq₁ := IsLimit.conePointUniqueUpToIso_inv_comp ... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Abelian.Exact | {
"line": 97,
"column": 2
} | {
"line": 106,
"column": 38
} | {
"line": 108,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\ninst✝ : Abelian C\nS : ShortComplex C\ncg : KernelFork S.g\nhg : IsLimit cg\ncf : CokernelCofork S.f\nhf : IsColimit cf\n⊢ S.Exact ↔ Fork.ι cg ≫ Cofork.π cf = 0",
"ppTerm": "?m.53",
"assigned": true,
"usedConstants": [
"CategoryTheory.Preaddi... | [] | rw [exact_iff_kernel_ι_comp_cokernel_π_zero]
let e₁ := IsLimit.conePointUniqueUpToIso (kernelIsKernel S.g) hg
let e₂ := IsColimit.coconePointUniqueUpToIso (cokernelIsCokernel S.f) hf
have : cg.ι ≫ cf.π = e₁.inv ≫ kernel.ι S.g ≫ cokernel.π S.f ≫ e₂.hom := by
have eq₁ := IsLimit.conePointUniqueUpToIso_inv_comp ... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Homology.ShortComplex.ExactFunctor | {
"line": 228,
"column": 6
} | {
"line": 229,
"column": 50
} | {
"line": 230,
"column": 6
} | [
{
"pp": "case refine_2\nC : Type u_1\nD : Type u_2\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : Category.{v_2, u_2} D\ninst✝² : Abelian C\ninst✝¹ : Abelian D\nF : C ⥤ D\ninst✝ : F.Additive\nx✝ : ∀ (S : ShortComplex C), S.ShortExact → (S.map F).ShortExact\nhF : ∀ (S : ShortComplex C), S.ShortExact → (S.map F).Short... | [
"case refine_2\nC : Type u_1\nD : Type u_2\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : Category.{v_2, u_2} D\ninst✝² : Abelian C\ninst✝¹ : Abelian D\nF : C ⥤ D\ninst✝ : F.Additive\nx✝ : ∀ (S : ShortComplex C), S.ShortExact → (S.map F).ShortExact\nhF : ∀ (S : ShortComplex C), S.ShortExact → (S.map F).ShortExact := x✝\... | have h := (preservesFiniteColimits_tfae F |>.out 1 3 |>.1 fun S hS ↦
And.intro (hF S hS).exact (hF S hS).epi_g) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.CategoryTheory.Subobject.Comma | {
"line": 91,
"column": 49
} | {
"line": 91,
"column": 88
} | {
"line": 91,
"column": 88
} | [
{
"pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nS : D\nT : C ⥤ D\ninst✝¹ : HasFiniteLimits C\ninst✝ : PreservesFiniteLimits T\nA P : StructuredArrow S T\nf : P ⟶ A\nhf : Mono f\nq : S ⟶ T.obj (Subobject.underlying.obj (projectSubobject (Subobject.mk f)))\nhq : q ≫ ... | [] | by dsimp; simpa [← T.map_comp] using hq | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Abelian.Subobject | {
"line": 51,
"column": 33
} | {
"line": 51,
"column": 91
} | {
"line": 51,
"column": 91
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : Abelian C\nX : C\nA : Cᵒᵖ\nf : A ⟶ op X\nhf : Mono f\n⊢ ({ hom := (epiDesc f.unop (cokernel.π (kernel.ι f.unop)) ⋯).op, inv := (cokernel.desc (kernel.ι f.unop) f.unop ⋯).op,\n hom_inv_id := ⋯, inv_hom_id := ⋯ }.hom ≫\n f).unop =\n (co... | [] | by simp only [unop_comp, Quiver.Hom.unop_op, comp_epiDesc] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Generator.Basic | {
"line": 223,
"column": 2
} | {
"line": 230,
"column": 44
} | {
"line": 232,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nP : ObjectProperty C\ninst✝ : Balanced C\nhP : P.IsSeparating\n⊢ P.IsDetecting",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Eq.mpr",
"CategoryTheory.Category.assoc",
"CategoryTheory.IsIso",
"Cat... | [] | intro X Y f hf
refine
(isIso_iff_mono_and_epi _).2 ⟨⟨fun g h hgh => hP _ _ fun G hG i => ?_⟩, ⟨fun g h hgh => ?_⟩⟩
· obtain ⟨t, -, ht⟩ := hf G hG (i ≫ g ≫ f)
rw [ht (i ≫ g) (Category.assoc _ _ _), ht (i ≫ h) (hgh.symm ▸ Category.assoc _ _ _)]
· refine hP _ _ fun G hG i => ?_
obtain ⟨t, rfl, -⟩ := hf G... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Generator.Basic | {
"line": 223,
"column": 2
} | {
"line": 230,
"column": 44
} | {
"line": 232,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nP : ObjectProperty C\ninst✝ : Balanced C\nhP : P.IsSeparating\n⊢ P.IsDetecting",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Eq.mpr",
"CategoryTheory.Category.assoc",
"CategoryTheory.IsIso",
"Cat... | [] | intro X Y f hf
refine
(isIso_iff_mono_and_epi _).2 ⟨⟨fun g h hgh => hP _ _ fun G hG i => ?_⟩, ⟨fun g h hgh => ?_⟩⟩
· obtain ⟨t, -, ht⟩ := hf G hG (i ≫ g ≫ f)
rw [ht (i ≫ g) (Category.assoc _ _ _), ht (i ≫ h) (hgh.symm ▸ Category.assoc _ _ _)]
· refine hP _ _ fun G hG i => ?_
obtain ⟨t, rfl, -⟩ := hf G... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Subobject.Comma | {
"line": 173,
"column": 19
} | {
"line": 173,
"column": 57
} | {
"line": 173,
"column": 57
} | [
{
"pp": "C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nD : Type u₂\ninst✝¹ : Category.{v₂, u₂} D\nS : C ⥤ D\nT : D\nA : CostructuredArrow S T\nP : (CostructuredArrow S T)ᵒᵖ\nf : P ⟶ op A\ninst✝ : Mono (Hom.left f.unop).op\n⊢ ((Subobject.underlyingIso (Hom.left f.unop).op).hom ≫ (Hom.left f.unop).op).unop =\n (S... | [
"C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nD : Type u₂\ninst✝¹ : Category.{v₂, u₂} D\nS : C ⥤ D\nT : D\nA : CostructuredArrow S T\nP : (CostructuredArrow S T)ᵒᵖ\nf : P ⟶ op A\ninst✝ : Mono (Hom.left f.unop).op\n⊢ (Subobject.mk (Hom.left f.unop).op).arrow.unop = (Subobject.mk (Hom.left f.unop).op).arrow.unop"
] | Subobject.underlyingIso_hom_comp_eq_mk | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Limits.Shapes.WideEqualizers | {
"line": 334,
"column": 16
} | {
"line": 334,
"column": 53
} | {
"line": 334,
"column": 54
} | [
{
"pp": "J : Type w\nC : Type u\ninst✝¹ : Category.{v, u} C\nX Y : C\nf : J → (X ⟶ Y)\ninst✝ : Nonempty J\nt : Trident f\nlift : (s : Trident f) → s.pt ⟶ t.pt\nfac : ∀ (s : Trident f), lift s ≫ t.ι = s.ι\nuniq : ∀ (s : Trident f) (m : s.pt ⟶ t.pt), (∀ (j : WalkingParallelFamily J), m ≫ t.π.app j = s.π.app j) → ... | [
"J : Type w\nC : Type u\ninst✝¹ : Category.{v, u} C\nX Y : C\nf : J → (X ⟶ Y)\ninst✝ : Nonempty J\nt : Trident f\nlift : (s : Trident f) → s.pt ⟶ t.pt\nfac : ∀ (s : Trident f), lift s ≫ t.ι = s.ι\nuniq : ∀ (s : Trident f) (m : s.pt ⟶ t.pt), (∀ (j : WalkingParallelFamily J), m ≫ t.π.app j = s.π.app j) → m = lift s\n... | ← t.w (line (Classical.arbitrary J)), | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Subobject.Comma | {
"line": 224,
"column": 6
} | {
"line": 224,
"column": 42
} | {
"line": 225,
"column": 4
} | [
{
"pp": "case refine_2\nC : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nS : C ⥤ D\nT : D\ninst✝¹ : HasFiniteColimits C\ninst✝ : PreservesFiniteColimits S\nA : CostructuredArrow S T\nP Q : (CostructuredArrow S T)ᵒᵖ\nf : P ⟶ op A\ng : Q ⟶ op A\nhf : Mono f\nhg : Mono g\nh :\n... | [] | exact unop_left_comp_ofMkLEMk_unop _ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.CategoryTheory.Generator.Basic | {
"line": 691,
"column": 2
} | {
"line": 691,
"column": 80
} | {
"line": 692,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nG : C\ninst✝ : ∀ (A : C), HasCoproduct fun x ↦ G\n⊢ (∀ ⦃X Y : C⦄ (f g : X ⟶ Y), (∀ (h : G ⟶ X), h ≫ f = h ≫ g) → f = g) ↔ ∀ (A : C), Epi (Sigma.desc fun f ↦ f)",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
"CategoryTheory.Epi",
... | [
"case refine_1\nC : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nG : C\ninst✝ : ∀ (A : C), HasCoproduct fun x ↦ G\nh : ∀ ⦃X Y : C⦄ (f g : X ⟶ Y), (∀ (h : G ⟶ X), h ≫ f = h ≫ g) → f = g\nA Z✝ : C\nu v : A ⟶ Z✝\nhuv : (Sigma.desc fun f ↦ f) ≫ u = (Sigma.desc fun f ↦ f) ≫ v\ni : G ⟶ A\n⊢ i ≫ u = i ≫ v",
"case refine_2\nC ... | refine ⟨fun h A => ⟨fun u v huv => h _ _ fun i => ?_⟩, fun h X Y f g hh => ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.CategoryTheory.Generator.Basic | {
"line": 700,
"column": 2
} | {
"line": 700,
"column": 80
} | {
"line": 701,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nG : C\ninst✝ : ∀ (A : C), HasProduct fun x ↦ G\n⊢ (∀ ⦃X Y : C⦄ (f g : X ⟶ Y), (∀ (h : Y ⟶ G), f ≫ h = g ≫ h) → f = g) ↔ ∀ (A : C), Mono (Pi.lift fun f ↦ f)",
"ppTerm": "?m.24",
"assigned": true,
"usedConstants": [
"CategoryTheory.Mono",
... | [
"case refine_1\nC : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nG : C\ninst✝ : ∀ (A : C), HasProduct fun x ↦ G\nh : ∀ ⦃X Y : C⦄ (f g : X ⟶ Y), (∀ (h : Y ⟶ G), f ≫ h = g ≫ h) → f = g\nA Z✝ : C\nu v : Z✝ ⟶ A\nhuv : (u ≫ Pi.lift fun f ↦ f) = v ≫ Pi.lift fun f ↦ f\ni : A ⟶ G\n⊢ u ≫ i = v ≫ i",
"case refine_2\nC : Type u₁\... | refine ⟨fun h A => ⟨fun u v huv => h _ _ fun i => ?_⟩, fun h X Y f g hh => ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Algebra.Category.Grp.EpiMono | {
"line": 194,
"column": 4
} | {
"line": 194,
"column": 19
} | {
"line": 196,
"column": 0
} | [
{
"pp": "A B : GrpCat\nf : A ⟶ B\nb1 b2 : ↑B\nx✝ : failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)\n⊢ { toFun := fun x ↦ (b1 * b2) • x, invFun := fun x ↦ (b1 * b2)⁻¹ • x, left_inv := ⋯, right_inv := ⋯ } x✝ =\n ({ toFun := fun x ↦ b1 • x, invFun := fun x ↦ b1⁻¹ •... | [] | simp [mul_smul] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.Category.Grp.EpiMono | {
"line": 243,
"column": 98
} | {
"line": 252,
"column": 43
} | {
"line": 254,
"column": 0
} | [
{
"pp": "A B : GrpCat\nf : A ⟶ B\nx : ↑B\nhx : x ∈ (Hom.hom f).range\nb : ↑B\nhb : b ∉ (Hom.hom f).range\n⊢ (h x) (fromCoset ⟨b • ↑(Hom.hom f).range, ⋯⟩) = fromCoset ⟨(x * b) • ↑(Hom.hom f).range, ⋯⟩",
"ppTerm": "?m.78",
"assigned": true,
"usedConstants": [
"GrpCat.SurjectiveOfEpiAuxs.g",
... | [] | by
change ((τ).symm.trans (g x)).trans τ _ = _
simp only [tau, Equiv.coe_trans, Function.comp_apply]
rw [Equiv.symm_swap,
@Equiv.swap_apply_of_ne_of_ne X' _ (fromCoset ⟨f.hom.range, 1, one_leftCoset _⟩) ∞
(fromCoset ⟨b • ↑f.hom.range, b, rfl⟩) (fromCoset_ne_of_nin_range _ hb) (by simp)]
simp only [g_a... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Category.Grp.CartesianMonoidal | {
"line": 52,
"column": 4
} | {
"line": 52,
"column": 93
} | {
"line": 54,
"column": 0
} | [
{
"pp": "case snd\nG H : GrpCat\np : ↑G\nq : ↑H\n⊢ ((hom (Functor.LaxMonoidal.μ (forget GrpCat) G H)) (p, q)).2 = (p, q).2",
"ppTerm": "?snd",
"assigned": true,
"usedConstants": [
"GrpCat.instConcreteCategoryMonoidHomCarrier",
"GrpCat",
"MonoidHom.instFunLike",
"CategoryTheor... | [] | exact congr_hom (CC := fun X ↦ X) (Functor.Monoidal.μ_snd (forget GrpCat.{u}) G H) (p, q) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Category.Grp.CartesianMonoidal | {
"line": 52,
"column": 4
} | {
"line": 52,
"column": 93
} | {
"line": 54,
"column": 0
} | [
{
"pp": "case snd\nG H : GrpCat\np : ↑G\nq : ↑H\n⊢ ((hom (Functor.LaxMonoidal.μ (forget GrpCat) G H)) (p, q)).2 = (p, q).2",
"ppTerm": "?snd",
"assigned": true,
"usedConstants": [
"GrpCat.instConcreteCategoryMonoidHomCarrier",
"GrpCat",
"MonoidHom.instFunLike",
"CategoryTheor... | [] | exact congr_hom (CC := fun X ↦ X) (Functor.Monoidal.μ_snd (forget GrpCat.{u}) G H) (p, q) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Category.Grp.CartesianMonoidal | {
"line": 52,
"column": 4
} | {
"line": 52,
"column": 93
} | {
"line": 54,
"column": 0
} | [
{
"pp": "case snd\nG H : GrpCat\np : ↑G\nq : ↑H\n⊢ ((hom (Functor.LaxMonoidal.μ (forget GrpCat) G H)) (p, q)).2 = (p, q).2",
"ppTerm": "?snd",
"assigned": true,
"usedConstants": [
"GrpCat.instConcreteCategoryMonoidHomCarrier",
"GrpCat",
"MonoidHom.instFunLike",
"CategoryTheor... | [] | exact congr_hom (CC := fun X ↦ X) (Functor.Monoidal.μ_snd (forget GrpCat.{u}) G H) (p, q) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.GroupTheory.Divisible | {
"line": 231,
"column": 26
} | {
"line": 233,
"column": 9
} | {
"line": 235,
"column": 0
} | [
{
"pp": "A : Type u_1\ninst✝¹ : Group A\ninst✝ : RootableBy A ℤ\nn : ℕ\na : A\nhn : n ≠ 0\n⊢ RootableBy.root a ↑n ^ n = a",
"ppTerm": "?m.32",
"assigned": true,
"usedConstants": [
"zpow_natCast",
"RootableBy.root_cancel",
"congrArg",
"AddMonoid.toAddZeroClass",
"AddGrou... | [] | by
have := RootableBy.root_cancel a (show (n : ℤ) ≠ 0 from mod_cast hn)
simpa | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Module.Injective | {
"line": 284,
"column": 76
} | {
"line": 291,
"column": 86
} | {
"line": 293,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝⁷ : Ring R\nQ : Type v\ninst✝⁶ : AddCommGroup Q\ninst✝⁵ : Module R Q\nM : Type u_1\nN : Type u_2\ninst✝⁴ : AddCommGroup M\ninst✝³ : AddCommGroup N\ninst✝² : Module R M\ninst✝¹ : Module R N\ni : M →ₗ[R] N\nf : M →ₗ[R] Q\ninst✝ : Fact (Function.Injective ⇑i)\nh : Baer R Q\ny : N\nr : R\n... | [] | by
have : r ∈ ideal i f y := by
change (r • y) ∈ (extensionOfMax i f).toLinearPMap.domain
rw [eq1]
apply Submodule.zero_mem _
rw [ExtensionOfMaxAdjoin.extendIdealTo_is_extension i f h y r this]
dsimp [ExtensionOfMaxAdjoin.idealTo]
simp only [eq1, ← ZeroMemClass.zero_def, (extensionOfMax i f).toLinea... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Ring.Periodic | {
"line": 316,
"column": 52
} | {
"line": 316,
"column": 62
} | {
"line": 316,
"column": 63
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nf : α → β\nc : α\ninst✝¹ : NonAssocRing α\ninst✝ : SubtractionMonoid β\nh : Antiperiodic f c\nhi : f 0 = 0\nn : ℕ\n⊢ f (-(↑(n + 1) * c)) = 0",
"ppTerm": "?m.57",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"congrArg",
"AddG... | [
"α : Type u_1\nβ : Type u_2\nf : α → β\nc : α\ninst✝¹ : NonAssocRing α\ninst✝ : SubtractionMonoid β\nh : Antiperiodic f c\nhi : f 0 = 0\nn : ℕ\n⊢ f (↑(n + 1) * -c) = 0"
] | ← mul_neg, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Totient | {
"line": 204,
"column": 6
} | {
"line": 205,
"column": 66
} | {
"line": 207,
"column": 0
} | [
{
"pp": "p : ℕ\nhp : Prime p\nn : ℕ\nh1 : Function.Injective fun x ↦ x * p\nh2 : image (fun x ↦ x * p) (range (p ^ n)) ⊆ range (p ^ (n + 1))\n⊢ #(range (p ^ (n + 1)) \\ image (fun x ↦ x * p) (range (p ^ n))) = p ^ n * (p - 1)",
"ppTerm": "?m.239",
"assigned": true,
"usedConstants": [
"Nat.pow_... | [] | rw [card_sdiff_of_subset h2, Finset.card_image_of_injective _ h1, card_range, card_range, ←
one_mul (p ^ n), pow_succ', ← tsub_mul, one_mul, mul_comm] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Order.Filter.Lift | {
"line": 70,
"column": 2
} | {
"line": 70,
"column": 52
} | {
"line": 71,
"column": 2
} | [
{
"pp": "α : Type u_1\nγ : Type u_3\nι : Type u_6\np : ι → Prop\ns : ι → Set α\nf : Filter α\nhf : f.HasBasis p s\nβ : ι → Type u_5\npg : (i : ι) → β i → Prop\nsg : (i : ι) → β i → Set γ\ng : Set α → Filter γ\nhg : ∀ (i : ι), (g (s i)).HasBasis (pg i) (sg i)\ngm : Monotone g\n⊢ (f.lift g).HasBasis (fun i ↦ p i.... | [
"α : Type u_1\nγ : Type u_3\nι : Type u_6\np : ι → Prop\ns : ι → Set α\nf : Filter α\nhf : f.HasBasis p s\nβ : ι → Type u_5\npg : (i : ι) → β i → Prop\nsg : (i : ι) → β i → Set γ\ng : Set α → Filter γ\nhg : ∀ (i : ι), (g (s i)).HasBasis (pg i) (sg i)\ngm : Monotone g\nt : Set γ\n⊢ (∃ i, p i ∧ ∃ x, pg i x ∧ sg i x ⊆... | refine ⟨fun t => (hf.mem_lift_iff hg gm).trans ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Topology.Basic | {
"line": 88,
"column": 2
} | {
"line": 88,
"column": 33
} | {
"line": 90,
"column": 0
} | [
{
"pp": "X : Type u\nα : Type u_1\ns : Set X\ninst✝ : TopologicalSpace X\nf : α → Set X\nho : ∀ (i : α), IsOpen[inst✝] (f i)\nhU : ⋃ i, f i = univ\nh : ∀ (i : α), IsOpen[inst✝] (f i ∩ s)\n⊢ IsOpen[inst✝] (⋃ i, f i ∩ s)",
"ppTerm": "?m.39",
"assigned": true,
"usedConstants": [
"isOpen_iUnion",
... | [] | exact isOpen_iUnion fun i ↦ h i | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Order.Filter.Lift | {
"line": 159,
"column": 2
} | {
"line": 159,
"column": 87
} | {
"line": 161,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nf : Filter α\ng : Set α → Filter β\nhm : Monotone g\n⊢ (f.lift g).NeBot ↔ ∀ s ∈ f, (g s).NeBot",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Filter.instMembership",
"congrArg",
"_private.Mathlib.Order.Filter.Lift.0.Filter.lift_neBot... | [] | simp only [neBot_iff, Ne, ← empty_mem_iff_bot, mem_lift_sets hm, not_exists, not_and] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Order.Filter.Lift | {
"line": 159,
"column": 2
} | {
"line": 159,
"column": 87
} | {
"line": 161,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nf : Filter α\ng : Set α → Filter β\nhm : Monotone g\n⊢ (f.lift g).NeBot ↔ ∀ s ∈ f, (g s).NeBot",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Filter.instMembership",
"congrArg",
"_private.Mathlib.Order.Filter.Lift.0.Filter.lift_neBot... | [] | simp only [neBot_iff, Ne, ← empty_mem_iff_bot, mem_lift_sets hm, not_exists, not_and] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.Filter.Lift | {
"line": 159,
"column": 2
} | {
"line": 159,
"column": 87
} | {
"line": 161,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nf : Filter α\ng : Set α → Filter β\nhm : Monotone g\n⊢ (f.lift g).NeBot ↔ ∀ s ∈ f, (g s).NeBot",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Filter.instMembership",
"congrArg",
"_private.Mathlib.Order.Filter.Lift.0.Filter.lift_neBot... | [] | simp only [neBot_iff, Ne, ← empty_mem_iff_bot, mem_lift_sets hm, not_exists, not_and] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Topology.Closure | {
"line": 476,
"column": 4
} | {
"line": 476,
"column": 15
} | {
"line": 478,
"column": 0
} | [
{
"pp": "case mpr\nX : Type u\ninst✝ : TopologicalSpace X\nx : X\nho : ¬IsOpen {x}\nhU : IsOpen {x}\nhne : {x}.Nonempty\nhUx : {x} ⊆ {x}\n⊢ False",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [],
"usedFVars": [
"ho",
"hU"
],
"usedGoals": []
}
] | [] | exact ho hU | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Order.ToIntervalMod | {
"line": 694,
"column": 15
} | {
"line": 694,
"column": 52
} | {
"line": 694,
"column": 53
} | [
{
"pp": "α : Type u_1\ninst✝² : AddCommGroup α\ninst✝¹ : LinearOrder α\ninst✝ : IsOrderedAddMonoid α\nhα : Archimedean α\np : α\nhp : 0 < p\na b : α\n⊢ toIcoDiv hp a b = toIocDiv hp a b ∨ toIocDiv hp a b + 1 = toIcoDiv hp a b",
"ppTerm": "?m.74",
"assigned": true,
"usedConstants": [
"Eq.mpr",
... | [
"α : Type u_1\ninst✝² : AddCommGroup α\ninst✝¹ : LinearOrder α\ninst✝ : IsOrderedAddMonoid α\nhα : Archimedean α\np : α\nhp : 0 < p\na b : α\n⊢ ¬a ≡ b [PMOD p] ∨ toIocDiv hp a b + 1 = toIcoDiv hp a b"
] | ← not_modEq_iff_toIcoDiv_eq_toIocDiv, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Topology.Order | {
"line": 965,
"column": 2
} | {
"line": 965,
"column": 25
} | {
"line": 967,
"column": 0
} | [
{
"pp": "α : Type u_1\nl : Filter α\np : α → Prop\nq : Prop\n⊢ Tendsto p l (𝓝 q) ↔ q → ∀ᶠ (x : α) in l, p x",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Pure.pure",
"False",
"eq_false",
"nhds_false",
"congrArg",
"Filter.Eventually",
"nhds_true"... | [] | by_cases q <;> simp [*] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Topology.Order | {
"line": 965,
"column": 2
} | {
"line": 965,
"column": 25
} | {
"line": 967,
"column": 0
} | [
{
"pp": "α : Type u_1\nl : Filter α\np : α → Prop\nq : Prop\n⊢ Tendsto p l (𝓝 q) ↔ q → ∀ᶠ (x : α) in l, p x",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Pure.pure",
"False",
"eq_false",
"nhds_false",
"congrArg",
"Filter.Eventually",
"nhds_true"... | [] | by_cases q <;> simp [*] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Topology.Order | {
"line": 965,
"column": 2
} | {
"line": 965,
"column": 25
} | {
"line": 967,
"column": 0
} | [
{
"pp": "α : Type u_1\nl : Filter α\np : α → Prop\nq : Prop\n⊢ Tendsto p l (𝓝 q) ↔ q → ∀ᶠ (x : α) in l, p x",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Pure.pure",
"False",
"eq_false",
"nhds_false",
"congrArg",
"Filter.Eventually",
"nhds_true"... | [] | by_cases q <;> simp [*] | 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.