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.MvPolynomial.Variables | {
"line": 104,
"column": 77
} | {
"line": 108,
"column": 58
} | {
"line": 110,
"column": 0
} | [
{
"pp": "R : Type u\nσ : Type u_1\nτ : Type u_2\ninst✝ : CommSemiring R\np : MvPolynomial σ R\nf : τ → σ\nhfi : Injective f\nhf : ↑p.vars ⊆ range f\n⊢ ∃ q, (rename f) q = p",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Subalgebra.instSetLike",
"Eq.mpr",
"Nat.instMulZer... | [] | by
rw [coe_vars_subset_iff, AlgHom.mem_range] at hf
obtain ⟨q, hq⟩ := hf
refine ⟨q.rename (Equiv.ofInjective f hfi).symm, ?_⟩
rw [rename_rename, Equiv.self_comp_ofInjective_symm, hq] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.TwoSidedIdeal.Operations | {
"line": 335,
"column": 29
} | {
"line": 335,
"column": 46
} | {
"line": 337,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝ : Ring R\nI : TwoSidedIdeal R\nx : R\n⊢ x ∈ asIdeal I ↔ x ∈ I",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Submodule",
"SetLike.mem_coe._simp_1",
"Semiring.toModule",
"AddSubsemigroup.instSetLike",
"Ring.toNonAssocRing",
... | [] | by simp [asIdeal] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.UniqueFactorizationDomain.Multiplicity | {
"line": 132,
"column": 41
} | {
"line": 138,
"column": 50
} | {
"line": 140,
"column": 0
} | [
{
"pp": "R : Type u_2\ninst✝³ : CommMonoidWithZero R\ninst✝² : UniqueFactorizationMonoid R\ninst✝¹ : NormalizationMonoid R\ninst✝ : DecidableEq R\np x : R\nhp : Irreducible p\nhnorm : normalize p = p\nn : ℕ\nhle : p ^ n ∣ x\nhlt : ¬p ^ (n + 1) ∣ x\n⊢ count p (normalizedFactors x) = n",
"ppTerm": "?m.34",
... | [] | by
by_cases hx0 : x = 0
· simp [hx0] at hlt
apply Nat.cast_injective (R := ℕ∞)
convert (emultiplicity_eq_count_normalizedFactors hp hx0).symm
· exact hnorm.symm
exact (emultiplicity_eq_coe.mpr ⟨hle, hlt⟩).symm | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Monoidal.Mon | {
"line": 418,
"column": 2
} | {
"line": 422,
"column": 30
} | {
"line": 424,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\ninst✝² : MonoidalCategory C\ninst✝¹ : BraidedCategory C\nM : C\ninst✝ : MonObj M\n⊢ (tensorμ (𝟙_ C) M (𝟙_ C) M ≫ ((λ_ (𝟙_ C)).hom ⊗ₘ μ)) ≫ (λ_ M).hom = ((λ_ M).hom ⊗ₘ (λ_ M).hom) ≫ μ",
"ppTerm": "?m.94",
"assigned": true,
"usedConstants": [
... | [] | rw [← Category.comp_id (λ_ (𝟙_ C)).hom, ← Category.id_comp μ, ← tensorHom_comp_tensorHom]
simp only [tensorHom_id, id_tensorHom]
slice_lhs 3 4 => rw [leftUnitor_naturality]
slice_lhs 1 3 => rw [← leftUnitor_monoidal]
simp only [Category.id_comp] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Monoidal.Mon | {
"line": 418,
"column": 2
} | {
"line": 422,
"column": 30
} | {
"line": 424,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\ninst✝² : MonoidalCategory C\ninst✝¹ : BraidedCategory C\nM : C\ninst✝ : MonObj M\n⊢ (tensorμ (𝟙_ C) M (𝟙_ C) M ≫ ((λ_ (𝟙_ C)).hom ⊗ₘ μ)) ≫ (λ_ M).hom = ((λ_ M).hom ⊗ₘ (λ_ M).hom) ≫ μ",
"ppTerm": "?m.94",
"assigned": true,
"usedConstants": [
... | [] | rw [← Category.comp_id (λ_ (𝟙_ C)).hom, ← Category.id_comp μ, ← tensorHom_comp_tensorHom]
simp only [tensorHom_id, id_tensorHom]
slice_lhs 3 4 => rw [leftUnitor_naturality]
slice_lhs 1 3 => rw [← leftUnitor_monoidal]
simp only [Category.id_comp] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic | {
"line": 90,
"column": 7
} | {
"line": 92,
"column": 48
} | {
"line": 93,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝ : Category.{v₁, u₁} C\nP X Y Z : C\nfst : P ⟶ X\nsnd : P ⟶ Y\nf : X ⟶ Z\ng : Y ⟶ Z\nh : IsPullback fst snd f g\nP' X' Y' Z' : C\nfst' : P' ⟶ X'\nsnd' : P' ⟶ Y'\nf' : X' ⟶ Z'\ng' : Y' ⟶ Z'\ne₁ : P ≅ P'\ne₂ : X ≅ X'\ne₃ : Y ≅ Y'\ne₄ : Z ≅ Z'\ncommfst : fst ≫ e₂.hom = e₁.hom ≫ fst'\ncom... | [] | by
rw [← cancel_epi e₁.hom, ← reassoc_of% commfst, ← commf,
← reassoc_of% commsnd, ← commg, h.w_assoc] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic | {
"line": 100,
"column": 14
} | {
"line": 101,
"column": 73
} | {
"line": 101,
"column": 73
} | [
{
"pp": "case refine_2\nC : Type u₁\ninst✝ : Category.{v₁, u₁} C\nP X Y Z : C\nfst : P ⟶ X\nsnd : P ⟶ Y\nf : X ⟶ Z\ng : Y ⟶ Z\nh : IsPullback fst snd f g\nP' X' Y' Z' : C\nfst' : P' ⟶ X'\nsnd' : P' ⟶ Y'\nf' : X' ⟶ Z'\ng' : Y' ⟶ Z'\ne₁ : P ≅ P'\ne₂ : X ≅ X'\ne₃ : Y ≅ Y'\ne₄ : Z ≅ Z'\ncommfst : fst ≫ e₂.hom = e₁.... | [] | change snd = e₁.hom ≫ snd' ≫ e₃.inv
rw [← reassoc_of% commsnd, e₃.hom_inv_id, Category.comp_id] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic | {
"line": 100,
"column": 14
} | {
"line": 101,
"column": 73
} | {
"line": 101,
"column": 73
} | [
{
"pp": "case refine_2\nC : Type u₁\ninst✝ : Category.{v₁, u₁} C\nP X Y Z : C\nfst : P ⟶ X\nsnd : P ⟶ Y\nf : X ⟶ Z\ng : Y ⟶ Z\nh : IsPullback fst snd f g\nP' X' Y' Z' : C\nfst' : P' ⟶ X'\nsnd' : P' ⟶ Y'\nf' : X' ⟶ Z'\ng' : Y' ⟶ Z'\ne₁ : P ≅ P'\ne₂ : X ≅ X'\ne₃ : Y ≅ Y'\ne₄ : Z ≅ Z'\ncommfst : fst ≫ e₂.hom = e₁.... | [] | change snd = e₁.hom ≫ snd' ≫ e₃.inv
rw [← reassoc_of% commsnd, e₃.hom_inv_id, Category.comp_id] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Localization.Away.Basic | {
"line": 101,
"column": 2
} | {
"line": 101,
"column": 7
} | {
"line": 103,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommSemiring R\nS : Type u_2\ninst✝² : CommSemiring S\ninst✝¹ : Algebra R S\nx : R\ninst✝ : Away x S\na b : R\nh : (algebraMap R S) a = (algebraMap R S) b\nn : ℕ\nhx : ↑⟨(fun x_1 ↦ x ^ x_1) n, ⋯⟩ * a = ↑⟨(fun x_1 ↦ x ^ x_1) n, ⋯⟩ * b\n⊢ ∃ n, x ^ n * a = x ^ n * b",
"ppTerm": ... | [] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Localization.Away.Basic | {
"line": 129,
"column": 4
} | {
"line": 129,
"column": 9
} | {
"line": 130,
"column": 4
} | [
{
"pp": "case refine_3\nR : Type u_1\ninst✝³ : CommSemiring R\nS : Type u_2\ninst✝² : CommSemiring S\ninst✝¹ : Algebra R S\nr : R\ninst✝ : Away r S\nu : Rˣ\na b : R\nhab : (algebraMap R S) a = (algebraMap R S) b\nn : ℕ\nhn : r ^ n * a = r ^ n * b\n⊢ ∃ n, (r * ↑u) ^ n * a = (r * ↑u) ^ n * b",
"ppTerm": "?ref... | [
"case h\nR : Type u_1\ninst✝³ : CommSemiring R\nS : Type u_2\ninst✝² : CommSemiring S\ninst✝¹ : Algebra R S\nr : R\ninst✝ : Away r S\nu : Rˣ\na b : R\nhab : (algebraMap R S) a = (algebraMap R S) b\nn : ℕ\nhn : r ^ n * a = r ^ n * b\n⊢ (r * ↑u) ^ n * a = (r * ↑u) ^ n * b"
] | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.RingTheory.Localization.Away.Basic | {
"line": 208,
"column": 6
} | {
"line": 208,
"column": 11
} | {
"line": 209,
"column": 6
} | [
{
"pp": "R : Type u_1\ninst✝⁸ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝⁷ : CommSemiring S\ninst✝⁶ : Algebra R S\nP : Type u_3\ninst✝⁵ : CommSemiring P\nx : R\ninst✝⁴ : Away x S\ng : R →+* P\nQ : Type u_4\ninst✝³ : CommSemiring Q\ninst✝² : Algebra P Q\nf : R →+* P\nr : R\ninst✝¹ : Away r S\ninst✝ : ... | [
"case h\nR : Type u_1\ninst✝⁸ : CommSemiring R\nM : Submonoid R\nS : Type u_2\ninst✝⁷ : CommSemiring S\ninst✝⁶ : Algebra R S\nP : Type u_3\ninst✝⁵ : CommSemiring P\nx : R\ninst✝⁴ : Away x S\ng : R →+* P\nQ : Type u_4\ninst✝³ : CommSemiring Q\ninst✝² : Algebra P Q\nf : R →+* P\nr : R\ninst✝¹ : Away r S\ninst✝ : Away... | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.Algebra.Module.LocalizedModule.Basic | {
"line": 234,
"column": 6
} | {
"line": 234,
"column": 61
} | {
"line": 234,
"column": 62
} | [
{
"pp": "case mk\nR : Type u\ninst✝¹⁰ : CommSemiring R\nS✝ : Submonoid R\nM : Type v\ninst✝⁹ : AddCommMonoid M\ninst✝⁸ : Module R M\nT : Type u_1\ninst✝⁷ : CommSemiring T\ninst✝⁶ : Algebra R T\ninst✝⁵ : IsLocalization S✝ T\nT' : Type u_2\ninst✝⁴ : CommSemiring T'\ninst✝³ : Algebra R T'\ninst✝² : IsLocalization ... | [] | exact mk_eq.mpr ⟨1, by simp only [mul_zero, smul_zero]⟩ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.FreeCommRing | {
"line": 277,
"column": 17
} | {
"line": 277,
"column": 32
} | {
"line": 277,
"column": 33
} | [
{
"pp": "case refine_3\nα : Type u\nx : FreeCommRing α\ns : Set α\ninst✝ : DecidablePred fun x ↦ x ∈ s\nhxs : x.IsSupported s\np : α\nhps : p ∈ s\nn : FreeCommRing α\nih : (map Subtype.val) ((restriction s) n) = n\n⊢ (map Subtype.val) ((restriction s) (of p) * (restriction s) n) = of p * n",
"ppTerm": "?ref... | [
"case refine_3\nα : Type u\nx : FreeCommRing α\ns : Set α\ninst✝ : DecidablePred fun x ↦ x ∈ s\nhxs : x.IsSupported s\np : α\nhps : p ∈ s\nn : FreeCommRing α\nih : (map Subtype.val) ((restriction s) n) = n\n⊢ (map Subtype.val) ((if H : p ∈ s then of ⟨p, H⟩ else 0) * (restriction s) n) = of p * n"
] | restriction_of, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Module.LocalizedModule.Basic | {
"line": 351,
"column": 18
} | {
"line": 351,
"column": 28
} | {
"line": 351,
"column": 28
} | [
{
"pp": "case h\nR : Type u\ninst✝⁵ : CommSemiring R\nS : Submonoid R\nM : Type v\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\nT : Type u_1\ninst✝² : CommSemiring T\ninst✝¹ : Algebra R T\ninst✝ : IsLocalization S T\nx y : T\nm : M\ns : ↥S\n⊢ mk\n ((((IsLocalization.sec S x).1 * ↑(IsLocalization.sec S y)... | [
"case h\nR : Type u\ninst✝⁵ : CommSemiring R\nS : Submonoid R\nM : Type v\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\nT : Type u_1\ninst✝² : CommSemiring T\ninst✝¹ : Algebra R T\ninst✝ : IsLocalization S T\nx y : T\nm : M\ns : ↥S\n⊢ mk\n ((((IsLocalization.sec S x).1 * ↑(IsLocalization.sec S y).2 +\n ... | ← add_smul | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Monad.Basic | {
"line": 207,
"column": 61
} | {
"line": 209,
"column": 5
} | {
"line": 211,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝ : Category.{v₁, u₁} C\nM N : Monad C\nf : M.toFunctor ≅ N.toFunctor\nf_η : ∀ (X : C), M.η.app X ≫ f.hom.app X = N.η.app X\nf_μ : ∀ (X : C), M.μ.app X ≫ f.hom.app X = (M.map (f.hom.app X) ≫ f.hom.app (N.obj X)) ≫ N.μ.app X\n⊢ (monadToFunctor C).mapIso (MonadIso.mk f f_η f_μ) = f",
... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Monad.Basic | {
"line": 215,
"column": 65
} | {
"line": 217,
"column": 5
} | {
"line": 219,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝ : Category.{v₁, u₁} C\nM N : Comonad C\nf : M.toFunctor ≅ N.toFunctor\nf_ε : ∀ (X : C), f.hom.app X ≫ N.ε.app X = M.ε.app X\nf_δ : ∀ (X : C), f.hom.app X ≫ N.δ.app X = M.δ.app X ≫ f.hom.app (M.obj X) ≫ N.map (f.hom.app X)\n⊢ (comonadToFunctor C).mapIso (ComonadIso.mk f f_ε f_δ) = f",... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Module.LocalizedModule.Basic | {
"line": 649,
"column": 8
} | {
"line": 649,
"column": 41
} | {
"line": 650,
"column": 6
} | [
{
"pp": "case e_a\nR : Type u_1\ninst✝⁴ : CommSemiring R\nS : Submonoid R\nM : Type u_2\nM'' : Type u_4\ninst✝³ : AddCommMonoid M\ninst✝² : AddCommMonoid M''\ninst✝¹ : Module R M\ninst✝ : Module R M''\ng : M →ₗ[R] M''\nh : ∀ (x : ↥S), IsUnit ((algebraMap R (End R M'')) ↑x)\nx y : LocalizedModule S M\na a' : M\n... | [] | rw [mul_smul, Submonoid.smul_def] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.Localization.BaseChange | {
"line": 250,
"column": 53
} | {
"line": 250,
"column": 97
} | {
"line": 251,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝²¹ : CommSemiring R\nS✝ : Submonoid R\nA : Type u_2\ninst✝²⁰ : CommSemiring A\ninst✝¹⁹ : Algebra R A\ninst✝¹⁸ : IsLocalization S✝ A\nM : Type u_3\ninst✝¹⁷ : AddCommMonoid M\ninst✝¹⁶ : Module R M\nM' : Type u_4\ninst✝¹⁵ : AddCommMonoid M'\ninst✝¹⁴ : Module R M'\ninst✝¹³ : Module A M'\... | [] | simp [IsScalarTower.algebraMap_apply R A Aₚ] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.RingTheory.Localization.BaseChange | {
"line": 250,
"column": 53
} | {
"line": 250,
"column": 97
} | {
"line": 251,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝²¹ : CommSemiring R\nS✝ : Submonoid R\nA : Type u_2\ninst✝²⁰ : CommSemiring A\ninst✝¹⁹ : Algebra R A\ninst✝¹⁸ : IsLocalization S✝ A\nM : Type u_3\ninst✝¹⁷ : AddCommMonoid M\ninst✝¹⁶ : Module R M\nM' : Type u_4\ninst✝¹⁵ : AddCommMonoid M'\ninst✝¹⁴ : Module R M'\ninst✝¹³ : Module A M'\... | [] | simp [IsScalarTower.algebraMap_apply R A Aₚ] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Localization.BaseChange | {
"line": 250,
"column": 53
} | {
"line": 250,
"column": 97
} | {
"line": 251,
"column": 2
} | [
{
"pp": "R : Type u_1\ninst✝²¹ : CommSemiring R\nS✝ : Submonoid R\nA : Type u_2\ninst✝²⁰ : CommSemiring A\ninst✝¹⁹ : Algebra R A\ninst✝¹⁸ : IsLocalization S✝ A\nM : Type u_3\ninst✝¹⁷ : AddCommMonoid M\ninst✝¹⁶ : Module R M\nM' : Type u_4\ninst✝¹⁵ : AddCommMonoid M'\ninst✝¹⁴ : Module R M'\ninst✝¹³ : Module A M'\... | [] | simp [IsScalarTower.algebraMap_apply R A Aₚ] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Category.Ring.Constructions | {
"line": 362,
"column": 2
} | {
"line": 362,
"column": 39
} | {
"line": 362,
"column": 39
} | [
{
"pp": "case h\nJ : Type u'\ninst✝ : SmallCategory J\nF : J ⥤ CommRingCat\nc : Cone F\nhc : IsLimit c\nr : ↑c.pt\ninv : (j : J) → ↑(F.obj j)\nh_inv : ∀ (j : J), (ConcreteCategory.hom (c.π.app j)) r * inv j = 1\nmap_inv : ∀ {j k : J} (f : j ⟶ k), (ConcreteCategory.hom (F.map f)) (inv j) = inv k\ninv_r : Cone F ... | [
"case h\nJ : Type u'\ninst✝ : SmallCategory J\nF : J ⥤ CommRingCat\nc : Cone F\nhc : IsLimit c\nr : ↑c.pt\ninv : (j : J) → ↑(F.obj j)\nh_inv : ∀ (j : J), (ConcreteCategory.hom (c.π.app j)) r * inv j = 1\nmap_inv : ∀ {j k : J} (f : j ⟶ k), (ConcreteCategory.hom (F.map f)) (inv j) = inv k\ninv_r : Cone F :=\n { pt :... | rw [RingHom.map_mul, RingHom.map_one] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Category.Ring.Constructions | {
"line": 473,
"column": 4
} | {
"line": 473,
"column": 79
} | {
"line": 474,
"column": 4
} | [
{
"pp": "case uniq\nA B C : CommRingCat\nf : A ⟶ C\ng : B ⟶ C\ns : PullbackCone f g\nm : s.pt ⟶ ↧↥(((Hom.hom f).comp (RingHom.fst ↑A ↑B)).eqLocus ((Hom.hom g).comp (RingHom.snd ↑A ↑B)))\ne₁ :\n m ≫\n ofHom\n ((RingHom.fst ↑A ↑B).comp\n (((Hom.hom f).comp (RingHom.fst ↑A ↑B)).eqLocus ((Hom.... | [
"case uniq\nA B C : CommRingCat\nf : A ⟶ C\ng : B ⟶ C\ns : PullbackCone f g\nm : s.pt ⟶ ↧↥(((Hom.hom f).comp (RingHom.fst ↑A ↑B)).eqLocus ((Hom.hom g).comp (RingHom.snd ↑A ↑B)))\ne₁ :\n m ≫\n ofHom\n ((RingHom.fst ↑A ↑B).comp\n (((Hom.hom f).comp (RingHom.fst ↑A ↑B)).eqLocus ((Hom.hom g).comp ... | have eq1 := (congr_arg (fun f : s.pt →+* A => f x) (congrArg Hom.hom e₁) :) | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.CategoryTheory.Bicategory.Functor.Lax | {
"line": 193,
"column": 74
} | {
"line": 193,
"column": 85
} | {
"line": 193,
"column": 85
} | [
{
"pp": "B : Type u₁\ninst✝² : Bicategory B\nC : Type u₂\ninst✝¹ : Bicategory C\nF✝ : B ⥤ᴸ C\nD : Type u₃\ninst✝ : Bicategory D\nF : B ⥤ᴸ C\nG : C ⥤ᴸ D\na✝ b✝ c✝ d✝ : B\nf : a✝ ⟶ b✝\ng : b✝ ⟶ c✝\nh : c✝ ⟶ d✝\n| G.map₂ (F.mapComp f g ▷ F.map h) ≫ G.map₂ (F.mapComp (f ≫ g) h ≫ F.map₂ (α_ f g h).hom)",
"ppTerm... | [
"B : Type u₁\ninst✝² : Bicategory B\nC : Type u₂\ninst✝¹ : Bicategory C\nF✝ : B ⥤ᴸ C\nD : Type u₃\ninst✝ : Bicategory D\nF : B ⥤ᴸ C\nG : C ⥤ᴸ D\na✝ b✝ c✝ d✝ : B\nf : a✝ ⟶ b✝\ng : b✝ ⟶ c✝\nh : c✝ ⟶ d✝\n| G.map₂ (F.mapComp f g ▷ F.map h) ≫ G.map₂ (F.mapComp (f ≫ g) h) ≫ G.map₂ (F.map₂ (α_ f g h).hom)"
] | G.map₂_comp | Lean.Elab.Tactic.Conv.evalRewrite | null |
Mathlib.CategoryTheory.Bicategory.Functor.Pseudofunctor | {
"line": 345,
"column": 38
} | {
"line": 347,
"column": 63
} | {
"line": 348,
"column": 2
} | [
{
"pp": "B : Type u₁\ninst✝⁴ : Bicategory B\nC : Type u₂\ninst✝³ : Bicategory C\nD : Type u₃\ninst✝² : Bicategory D\nF✝ : B ⥤ᵖ C\nF : B ⥤ᵒᵖᴸ C\ninst✝¹ : ∀ (a : B), IsIso (F.mapId a)\ninst✝ : ∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c), IsIso (F.mapComp f g)\na✝ b✝ c✝ : B\nf : a✝ ⟶ b✝\ng h : b✝ ⟶ c✝\nη : g ⟶ h\n⊢ F.ma... | [] | by
dsimp
rw [← assoc, IsIso.eq_comp_inv, F.mapComp_naturality_right] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Shapes.Pullback.Assoc | {
"line": 163,
"column": 6
} | {
"line": 163,
"column": 24
} | {
"line": 163,
"column": 25
} | [
{
"pp": "C : Type u\ninst✝⁴ : Category.{v, u} C\nX₁ X₂ X₃ Y₁ Y₂ : C\nf₁ : X₁ ⟶ Y₁\nf₂ : X₂ ⟶ Y₁\nf₃ : X₂ ⟶ Y₂\nf₄ : X₃ ⟶ Y₂\ninst✝³ : HasPullback f₁ f₂\ninst✝² : HasPullback f₃ f₄\ninst✝¹ : HasPullback (pullback.snd f₁ f₂ ≫ f₃) f₄\ninst✝ : HasPullback f₁ (pullback.fst f₃ f₄ ≫ f₂)\n⊢ (pullbackAssoc f₁ f₂ f₃ f₄).... | [
"C : Type u\ninst✝⁴ : Category.{v, u} C\nX₁ X₂ X₃ Y₁ Y₂ : C\nf₁ : X₁ ⟶ Y₁\nf₂ : X₂ ⟶ Y₁\nf₃ : X₂ ⟶ Y₂\nf₄ : X₃ ⟶ Y₂\ninst✝³ : HasPullback f₁ f₂\ninst✝² : HasPullback f₃ f₄\ninst✝¹ : HasPullback (pullback.snd f₁ f₂ ≫ f₃) f₄\ninst✝ : HasPullback f₁ (pullback.fst f₃ f₄ ≫ f₂)\n⊢ pullback.fst f₁ (pullback.fst f₃ f₄ ≫ f₂... | ← Iso.eq_inv_comp, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.WithTerminal.Basic | {
"line": 395,
"column": 26
} | {
"line": 395,
"column": 100
} | {
"line": 396,
"column": 4
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nD : Type u_1\ninst✝ : Category.{v_1, u_1} D\nc c' : Comma (𝟭 (C ⥤ D)) (Functor.const C)\nφ : c ⟶ c'\nx y : WithTerminal C\nf : x ⟶ y\na : C\nx✝ : of a ⟶ star\n⊢ ((ofCommaObject c).map x✝ ≫\n match star with\n | of x => φ.left.app x\n | star => φ.r... | [] | simp; simpa [-CommaMorphism.w] using (congrArg (fun f ↦ f.app a) φ.w).symm | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.WithTerminal.Basic | {
"line": 395,
"column": 26
} | {
"line": 395,
"column": 100
} | {
"line": 396,
"column": 4
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nD : Type u_1\ninst✝ : Category.{v_1, u_1} D\nc c' : Comma (𝟭 (C ⥤ D)) (Functor.const C)\nφ : c ⟶ c'\nx y : WithTerminal C\nf : x ⟶ y\na : C\nx✝ : of a ⟶ star\n⊢ ((ofCommaObject c).map x✝ ≫\n match star with\n | of x => φ.left.app x\n | star => φ.r... | [] | simp; simpa [-CommaMorphism.w] using (congrArg (fun f ↦ f.app a) φ.w).symm | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.Shapes.Diagonal | {
"line": 119,
"column": 2
} | {
"line": 119,
"column": 41
} | {
"line": 119,
"column": 41
} | [
{
"pp": "case h₁\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nX Y Z : C\ninst✝ : HasPullbacks C\nU V₁ V₂ : C\nf : X ⟶ Y\ni : U ⟶ Y\ni₁ : V₁ ⟶ pullback f i\ni₂ : V₂ ⟶ pullback f i\n⊢ ((snd (diagonal f) (map (i₁ ≫ snd f i) (i₂ ≫ snd f i) f f (i₁ ≫ fst f i) (i₂ ≫ fst f i) i ⋯ ⋯) ≫\n fst (i₁ ≫ snd f i) (... | [] | · simp only [Category.assoc, condition] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.RingHomProperties | {
"line": 78,
"column": 35
} | {
"line": 78,
"column": 40
} | {
"line": 78,
"column": 40
} | [
{
"pp": "P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop\nhP : RespectsIso P\nR S R' S' : Type u\ninst✝⁷ : CommRing R\ninst✝⁶ : CommRing S\ninst✝⁵ : CommRing R'\ninst✝⁴ : CommRing S'\ninst✝³ : Algebra R R'\ninst✝² : Algebra S S'\nf : R →+* S\nr : R\ninst✝¹ : IsLocalization.Aw... | [
"case h\nP : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop\nhP : RespectsIso P\nR S R' S' : Type u\ninst✝⁷ : CommRing R\ninst✝⁶ : CommRing S\ninst✝⁵ : CommRing R'\ninst✝⁴ : CommRing S'\ninst✝³ : Algebra R R'\ninst✝² : Algebra S S'\nf : R →+* S\nr : R\ninst✝¹ : IsLocalization.Away r... | use n | Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1 | Mathlib.Tactic.useSyntax |
Mathlib.CategoryTheory.MorphismProperty.Limits | {
"line": 454,
"column": 4
} | {
"line": 454,
"column": 37
} | {
"line": 454,
"column": 37
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\nW : MorphismProperty C\nJ : Type u_1\ninst✝ : Category.{v_1, u_1} J\nY₁ Y₂ : C\ng : (𝟭 C).obj Y₁ ⟶ (𝟭 C).obj Y₂\nX Y : C\nX₁ X₂ : J ⥤ C\nc₁ : Cone X₁\nc₂ : Cone X₂\nh₁ : IsLimit c₁\nh₂ : IsLimit c₂\nf : X₁ ⟶ X₂\nhf : W.functorCategory J f\ne : { left := c₁.1, r... | [] | exact ⟨_, _, _, _, h₁', _, _, hf⟩ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.CategoryTheory.Limits.Shapes.Diagonal | {
"line": 518,
"column": 2
} | {
"line": 519,
"column": 16
} | {
"line": 521,
"column": 0
} | [
{
"pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\nX✝ Y✝ Z X Y : C\nf : X ⟶ Y\ninst✝¹ : HasPushout f f\ninst✝ : Epi f\n⊢ IsIso (codiagonal f)",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"CategoryTheory.IsIso.inv_eq_of_hom_inv_id",
"Eq.mpr",
"CategoryTheory.Limits.... | [] | rw [(IsIso.inv_eq_of_hom_inv_id (inl_codiagonal f)).symm]
infer_instance | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Limits.Shapes.Diagonal | {
"line": 518,
"column": 2
} | {
"line": 519,
"column": 16
} | {
"line": 521,
"column": 0
} | [
{
"pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\nX✝ Y✝ Z X Y : C\nf : X ⟶ Y\ninst✝¹ : HasPushout f f\ninst✝ : Epi f\n⊢ IsIso (codiagonal f)",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"CategoryTheory.IsIso.inv_eq_of_hom_inv_id",
"Eq.mpr",
"CategoryTheory.Limits.... | [] | rw [(IsIso.inv_eq_of_hom_inv_id (inl_codiagonal f)).symm]
infer_instance | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Category.CommAlgCat.Monoidal | {
"line": 90,
"column": 58
} | {
"line": 90,
"column": 69
} | {
"line": 91,
"column": 2
} | [
{
"pp": "R : Type u\ninst✝ : CommRing R\nA B C D X✝ Y✝ Z✝ : CommAlgCat R\nf✝ : Y✝ ⟶ Z✝\n⊢ (Hom.hom (isoMk (Algebra.TensorProduct.comm R ↑X✝ ↑Z✝)).hom).comp\n (Algebra.TensorProduct.map (AlgHom.id R ↑X✝) (Hom.hom f✝)) =\n (Algebra.TensorProduct.map (Hom.hom f✝) (AlgHom.id R ↑X✝)).comp\n (Hom.hom (is... | [] | ext <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Category.CommAlgCat.Monoidal | {
"line": 91,
"column": 57
} | {
"line": 91,
"column": 68
} | {
"line": 92,
"column": 2
} | [
{
"pp": "R : Type u\ninst✝ : CommRing R\nA B C D X✝ Y✝ : CommAlgCat R\nf✝ : X✝ ⟶ Y✝\nZ✝ : CommAlgCat R\n⊢ (Hom.hom (isoMk (Algebra.TensorProduct.comm R ↑Y✝ ↑Z✝)).hom).comp\n (Algebra.TensorProduct.map (Hom.hom f✝) (AlgHom.id R ↑Z✝)) =\n (Algebra.TensorProduct.map (AlgHom.id R ↑Z✝) (Hom.hom f✝)).comp\n ... | [] | ext <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Category.CommAlgCat.Monoidal | {
"line": 92,
"column": 46
} | {
"line": 92,
"column": 57
} | {
"line": 93,
"column": 2
} | [
{
"pp": "R : Type u\ninst✝ : CommRing R\nA B C D S T U : CommAlgCat R\n⊢ ((↑(assoc R R R ↑T ↑U ↑S)).comp (Hom.hom (isoMk (Algebra.TensorProduct.comm R (↑S) (↑T ⊗[R] ↑U))).hom)).comp\n ↑(assoc R R R ↑S ↑T ↑U) =\n ((Algebra.TensorProduct.map (AlgHom.id R ↑T) (Hom.hom (isoMk (Algebra.TensorProduct.comm R ↑... | [] | ext <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Category.CommAlgCat.Monoidal | {
"line": 93,
"column": 46
} | {
"line": 93,
"column": 57
} | {
"line": 95,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝ : CommRing R\nA B C D S T U : CommAlgCat R\n⊢ ((↑(assoc R R R ↑U ↑S ↑T).symm).comp (Hom.hom (isoMk (Algebra.TensorProduct.comm R (↑S ⊗[R] ↑T) ↑U)).hom)).comp\n ↑(assoc R R R ↑S ↑T ↑U).symm =\n ((Algebra.TensorProduct.map (Hom.hom (isoMk (Algebra.TensorProduct.comm R ↑S ↑U)).ho... | [] | ext <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.CategoryTheory.Monoidal.Grp | {
"line": 687,
"column": 34
} | {
"line": 688,
"column": 55
} | {
"line": 689,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝⁹ : Category.{v₁, u₁} C\ninst✝⁸ : CartesianMonoidalCategory C\nD : Type u₂\ninst✝⁷ : Category.{v₂, u₂} D\ninst✝⁶ : CartesianMonoidalCategory D\nE : Type u₃\ninst✝⁵ : Category.{v₃, u₃} E\ninst✝⁴ : CartesianMonoidalCategory E\nF F' : C ⥤ D\nG : D ⥤ E\ninst✝³ : F.Monoidal\ninst✝² : F'.Mo... | [] | by
simp [OplaxMonoidal.η_of_cartesianMonoidalCategory] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Monoidal.Grp | {
"line": 689,
"column": 35
} | {
"line": 690,
"column": 55
} | {
"line": 692,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝⁹ : Category.{v₁, u₁} C\ninst✝⁸ : CartesianMonoidalCategory C\nD : Type u₂\ninst✝⁷ : Category.{v₂, u₂} D\ninst✝⁶ : CartesianMonoidalCategory D\nE : Type u₃\ninst✝⁵ : Category.{v₃, u₃} E\ninst✝⁴ : CartesianMonoidalCategory E\nF F' : C ⥤ D\nG : D ⥤ E\ninst✝³ : F.Monoidal\ninst✝² : F'.Mo... | [] | by
simp [OplaxMonoidal.η_of_cartesianMonoidalCategory] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.W.Cardinal | {
"line": 79,
"column": 18
} | {
"line": 81,
"column": 90
} | {
"line": 81,
"column": 90
} | [
{
"pp": "α : Type u\nβ : α → Type v\ninst✝ : ∀ (a : α), Finite (β a)\nm : Cardinal.{max u v} := max (lift.{v, u} #α) ℵ₀\na : α\n⊢ ?m.139 ^ 0 ≤ m ^ lift.{u, v} #(β a)",
"ppTerm": "?m.140",
"assigned": true,
"usedConstants": [
"le_max_right",
"zero_le",
"NonAssocSemiring.toAddCommMon... | [] | exact
power_le_power_left
(pos_iff_ne_zero.1 (aleph0_pos.trans_le (le_max_right _ _))) zero_le | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.LinearAlgebra.Dimension.DivisionRing | {
"line": 129,
"column": 6
} | {
"line": 129,
"column": 21
} | {
"line": 129,
"column": 21
} | [
{
"pp": "K : Type u\nV : Type v\ninst✝⁹ : DivisionRing K\ninst✝⁸ : AddCommGroup V\ninst✝⁷ : Module K V\nR : Type u_1\ninst✝⁶ : CommRing R\ninst✝⁵ : Nontrivial R\ninst✝⁴ : SMulWithZero R K\ninst✝³ : FaithfulSMul R K\ninst✝² : IsScalarTower R K K\ninst✝¹ : Module R V\ninst✝ : IsScalarTower R K V\nM : Submodule R ... | [
"K : Type u\nV : Type v\ninst✝⁹ : DivisionRing K\ninst✝⁸ : AddCommGroup V\ninst✝⁷ : Module K V\nR : Type u_1\ninst✝⁶ : CommRing R\ninst✝⁵ : Nontrivial R\ninst✝⁴ : SMulWithZero R K\ninst✝³ : FaithfulSMul R K\ninst✝² : IsScalarTower R K K\ninst✝¹ : Module R V\ninst✝ : IsScalarTower R K V\nM : Submodule R V\nh : M.FG\... | finrank_eq_rank | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.LinearAlgebra.FiniteDimensional.Lemmas | {
"line": 92,
"column": 32
} | {
"line": 97,
"column": 9
} | {
"line": 98,
"column": 4
} | [
{
"pp": "K : Type u\nV : Type v\ninst✝³ : DivisionRing K\ninst✝² : AddCommGroup V\ninst✝¹ : Module K V\ninst✝ : Module.Finite K V\nW : Submodule K V\nv : V\nhv : v ∉ W\nhW : W ⊔ K ∙ v = ⊤\nthis : W ⊓ K ∙ v = ⊥\n⊢ finrank K (V ⧸ W) = 1",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants": [
"... | [] | by
have hv₀ : v ≠ 0 := by aesop
have aux := finrank_sup_add_finrank_inf_eq W (span K {v})
rw [hW, finrank_span_singleton hv₀, this, finrank_bot, finrank_top,
← finrank_quotient_add_finrank W] at aux
lia | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.FiniteDimensional.Lemmas | {
"line": 92,
"column": 4
} | {
"line": 97,
"column": 9
} | {
"line": 98,
"column": 4
} | [
{
"pp": "case refine_1\nK : Type u\nV : Type v\ninst✝³ : DivisionRing K\ninst✝² : AddCommGroup V\ninst✝¹ : Module K V\ninst✝ : Module.Finite K V\nW : Submodule K V\nv : V\nhv : v ∉ W\nhW : W ⊔ K ∙ v = ⊤\n⊢ finrank K (V ⧸ W) = 1",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"Sub... | [
"case refine_1\nK : Type u\nV : Type v\ninst✝³ : DivisionRing K\ninst✝² : AddCommGroup V\ninst✝¹ : Module K V\ninst✝ : Module.Finite K V\nW : Submodule K V\nv : V\nhv : v ∉ W\nhW : W ⊔ K ∙ v = ⊤\n⊢ W ⊓ K ∙ v = ⊥"
] | suffices W ⊓ span K {v} = ⊥ by
have hv₀ : v ≠ 0 := by aesop
have aux := finrank_sup_add_finrank_inf_eq W (span K {v})
rw [hW, finrank_span_singleton hv₀, this, finrank_bot, finrank_top,
← finrank_quotient_add_finrank W] at aux
lia | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticSuffices__1 | Lean.Parser.Tactic.tacticSuffices_ |
Mathlib.LinearAlgebra.FiniteDimensional.Lemmas | {
"line": 463,
"column": 2
} | {
"line": 463,
"column": 66
} | {
"line": 465,
"column": 0
} | [
{
"pp": "K : Type u\nV : Type v\nW : Type v'\ninst✝⁶ : DivisionRing K\ninst✝⁵ : AddCommGroup W\ninst✝⁴ : AddCommGroup V\ninst✝³ : Module K V\ninst✝² : Module K W\nf : V →ₗ[K] W\np : Submodule K W\ninst✝¹ : FiniteDimensional K ↥p\ninst✝ : FiniteDimensional K ↥f.ker\n⊢ lift.{v, v'} (Module.rank K ↥p) + lift.{v', ... | [] | apply add_lt_aleph0 <;> rwa [lift_lt_aleph0, rank_lt_aleph0_iff] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.LinearAlgebra.FiniteDimensional.Lemmas | {
"line": 468,
"column": 2
} | {
"line": 468,
"column": 66
} | {
"line": 470,
"column": 0
} | [
{
"pp": "K : Type u\nV : Type v\nW : Type v'\ninst✝⁶ : DivisionRing K\ninst✝⁵ : AddCommGroup W\ninst✝⁴ : AddCommGroup V\ninst✝³ : Module K V\ninst✝² : Module K W\nf : V →ₗ[K] W\np : Submodule K V\ninst✝¹ : FiniteDimensional K (V ⧸ p)\ninst✝ : FiniteDimensional K (W ⧸ f.range)\n⊢ lift.{v, v'} (Module.rank K (W ⧸... | [] | apply add_lt_aleph0 <;> rwa [lift_lt_aleph0, rank_lt_aleph0_iff] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.LinearAlgebra.Coevaluation | {
"line": 51,
"column": 67
} | {
"line": 55,
"column": 73
} | {
"line": 57,
"column": 0
} | [
{
"pp": "K : Type u\ninst✝³ : Field K\nV : Type v\ninst✝² : AddCommGroup V\ninst✝¹ : Module K V\ninst✝ : FiniteDimensional K V\n⊢ (coevaluation K V) 1 =\n let bV := Basis.ofVectorSpace K V;\n ∑ i, bV i ⊗ₜ[K] bV.coord i",
"ppTerm": "?m.47",
"assigned": true,
"usedConstants": [
"TensorProd... | [] | by
simp only [coevaluation]
rw [(Basis.singleton Unit K).constr_apply_fintype K]
simp only [Fintype.univ_punit, Finset.sum_const, one_smul, Basis.singleton_repr,
Basis.equivFun_apply, Basis.coe_ofVectorSpace, Finset.card_singleton] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.Coevaluation | {
"line": 91,
"column": 40
} | {
"line": 91,
"column": 62
} | {
"line": 92,
"column": 2
} | [
{
"pp": "K : Type u\ninst✝³ : Field K\nV : Type v\ninst✝² : AddCommGroup V\ninst✝¹ : Module K V\ninst✝ : FiniteDimensional K V\nthis : DecidableEq ↑(Basis.ofVectorSpaceIndex K V) := Classical.decEq ↑(Basis.ofVectorSpaceIndex K V)\nj : ↑(Basis.ofVectorSpaceIndex K V)\n⊢ (LinearMap.lTensor V (contractLeft K V))\n... | [
"K : Type u\ninst✝³ : Field K\nV : Type v\ninst✝² : AddCommGroup V\ninst✝¹ : Module K V\ninst✝ : FiniteDimensional K V\nthis : DecidableEq ↑(Basis.ofVectorSpaceIndex K V) := Classical.decEq ↑(Basis.ofVectorSpaceIndex K V)\nj : ↑(Basis.ofVectorSpaceIndex K V)\n⊢ (LinearMap.lTensor V (contractLeft K V))\n (∑ x, ... | simp only [assoc_tmul] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.LinearAlgebra.SesquilinearForm.Basic | {
"line": 562,
"column": 2
} | {
"line": 562,
"column": 22
} | {
"line": 563,
"column": 2
} | [
{
"pp": "R : Type u_1\nM : Type u_5\nMₗ₁ : Type u_9\nMₗ₁' : Type u_10\nMₗ₂ : Type u_11\nMₗ₂' : Type u_12\ninst✝¹⁰ : AddCommMonoid M\ninst✝⁹ : AddCommMonoid Mₗ₁\ninst✝⁸ : AddCommMonoid Mₗ₂\ninst✝⁷ : AddCommMonoid Mₗ₁'\ninst✝⁶ : AddCommMonoid Mₗ₂'\ninst✝⁵ : CommSemiring R\ninst✝⁴ : Module R M\ninst✝³ : Module R M... | [
"R : Type u_1\nM : Type u_5\nMₗ₁ : Type u_9\nMₗ₁' : Type u_10\nMₗ₂ : Type u_11\nMₗ₂' : Type u_12\ninst✝¹⁰ : AddCommMonoid M\ninst✝⁹ : AddCommMonoid Mₗ₁\ninst✝⁸ : AddCommMonoid Mₗ₂\ninst✝⁷ : AddCommMonoid Mₗ₁'\ninst✝⁶ : AddCommMonoid Mₗ₂'\ninst✝⁵ : CommSemiring R\ninst✝⁴ : Module R M\ninst✝³ : Module R Mₗ₁\ninst✝² :... | specialize hx (e₂ y) | Lean.Elab.Tactic.evalSpecialize | Lean.Parser.Tactic.specialize |
Mathlib.LinearAlgebra.Contraction | {
"line": 137,
"column": 34
} | {
"line": 137,
"column": 99
} | {
"line": 139,
"column": 0
} | [
{
"pp": "case neg.inl\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : CommSemiring R\ninst✝⁷ : AddCommMonoid M\ninst✝⁶ : AddCommMonoid N\ninst✝⁵ : Module R M\ninst✝⁴ : Module R N\nm : Type u_7\nn : Type u_8\ninst✝³ : Fintype m\ninst✝² : Finite n\ninst✝¹ : DecidableEq m\ninst✝ : DecidableEq n\nbM : Basis m R... | [] | simp [LinearMap.toMatrix_apply, Finsupp.single_eq_pi_single, hij] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.LinearAlgebra.Contraction | {
"line": 137,
"column": 34
} | {
"line": 137,
"column": 99
} | {
"line": 139,
"column": 0
} | [
{
"pp": "case neg.inr\nR : Type u_2\nM : Type u_3\nN : Type u_4\ninst✝⁸ : CommSemiring R\ninst✝⁷ : AddCommMonoid M\ninst✝⁶ : AddCommMonoid N\ninst✝⁵ : Module R M\ninst✝⁴ : Module R N\nm : Type u_7\nn : Type u_8\ninst✝³ : Fintype m\ninst✝² : Finite n\ninst✝¹ : DecidableEq m\ninst✝ : DecidableEq n\nbM : Basis m R... | [] | simp [LinearMap.toMatrix_apply, Finsupp.single_eq_pi_single, hij] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.LinearAlgebra.Dual.Lemmas | {
"line": 347,
"column": 65
} | {
"line": 348,
"column": 73
} | {
"line": 350,
"column": 0
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝³ : CommRing R\ninst✝² : AddCommGroup M\ninst✝¹ : Module R M\ninst✝ : Projective R M\n⊢ ⊤.dualCoannihilator = ⊥",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"Algebra.to_smulCommClass",
"Semiring.toM... | [] | by
rw [dualCoannihilator, dualAnnihilator_top, comap_bot, Module.eval_ker] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.SesquilinearForm.Basic | {
"line": 737,
"column": 75
} | {
"line": 756,
"column": 40
} | {
"line": 758,
"column": 0
} | [
{
"pp": "n : Type u_19\nR : Type u_20\nM : Type u_21\nM₁ : Type u_22\ninst✝⁶ : CommSemiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : AddCommMonoid M₁\ninst✝³ : Module R M\ninst✝² : Module R M₁\ninst✝¹ : IsDomain R\ninst✝ : IsTorsionFree R M₁\nB : M →ₗ[R] M →ₗ[R] M₁\nv : Basis n R M\nhO : B.IsOrthoᵢ ⇑v\nh : ∀ (i : ... | [] | by
intro m hB
obtain ⟨vi, rfl⟩ := v.repr.symm.surjective m
rw [LinearEquiv.map_eq_zero_iff]
ext i
rw [Finsupp.zero_apply]
specialize hB (v i)
simp_rw [Basis.repr_symm_apply, Finsupp.linearCombination_apply, Finsupp.sum, map_sum₂,
map_smulₛₗ₂] at hB
rw [Finset.sum_eq_single i] at hB
· cases ... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.Dual.Lemmas | {
"line": 515,
"column": 75
} | {
"line": 517,
"column": 5
} | {
"line": 519,
"column": 0
} | [
{
"pp": "K : Type u_1\nV : Type u_2\ninst✝² : Field K\ninst✝¹ : AddCommGroup V\ninst✝ : Module K V\nW : Subspace K V\nφ : Dual K V\n⊢ W.quotAnnihilatorEquiv (Submodule.Quotient.mk φ) = (dualRestrict W) φ",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Subspace.quotAnnihilatorEquiv",... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.Dual.Lemmas | {
"line": 848,
"column": 58
} | {
"line": 850,
"column": 5
} | {
"line": 852,
"column": 0
} | [
{
"pp": "K : Type u_1\nV₁ : Type u_2\ninst✝² : Field K\ninst✝¹ : AddCommGroup V₁\ninst✝ : Module K V₁\nW : Subspace K V₁\n⊢ dualPairing W = ↑W.quotAnnihilatorEquiv",
"ppTerm": "?m.33",
"assigned": true,
"usedConstants": [
"Subspace.quotAnnihilatorEquiv",
"Submodule",
"Submodule.Quo... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Shapes.NormalMono.Basic | {
"line": 217,
"column": 7
} | {
"line": 220,
"column": 50
} | {
"line": 221,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nX Y : C\ninst✝ : HasZeroMorphisms C\nP Q R S : C\nf : P ⟶ Q\ng : P ⟶ R\nh : Q ⟶ S\nk : R ⟶ S\ngn : NormalEpi g\ncomm : f ≫ h = g ≫ k\nt : IsColimit (PushoutCocone.mk h k comm)\n⊢ (NormalEpi.g ≫ f) ≫ h = 0",
"ppTerm": "?m.71",
"assigned": true,
"use... | [] | by
have reassoc' {W : C} (h' : R ⟶ W) : gn.g ≫ g ≫ h' = 0 ≫ h' := by
rw [← Category.assoc, eq_whisker gn.w]
rw [Category.assoc, comm, reassoc', zero_comp] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Limits.Preserves.Shapes.Kernels | {
"line": 290,
"column": 41
} | {
"line": 290,
"column": 59
} | {
"line": 290,
"column": 60
} | [
{
"pp": "C : Type u₁\ninst✝⁹ : Category.{v₁, u₁} C\ninst✝⁸ : HasZeroMorphisms C\nD : Type u₂\ninst✝⁷ : Category.{v₂, u₂} D\ninst✝⁶ : HasZeroMorphisms D\nG : C ⥤ D\ninst✝⁵ : G.PreservesZeroMorphisms\nX Y : C\nf : X ⟶ Y\ninst✝⁴ : HasCokernel f\ninst✝³ : HasCokernel (G.map f)\ninst✝² : PreservesColimit (parallelPa... | [
"C : Type u₁\ninst✝⁹ : Category.{v₁, u₁} C\ninst✝⁸ : HasZeroMorphisms C\nD : Type u₂\ninst✝⁷ : Category.{v₂, u₂} D\ninst✝⁶ : HasZeroMorphisms D\nG : C ⥤ D\ninst✝⁵ : G.PreservesZeroMorphisms\nX Y : C\nf : X ⟶ Y\ninst✝⁴ : HasCokernel f\ninst✝³ : HasCokernel (G.map f)\ninst✝² : PreservesColimit (parallelPair f 0) G\nX... | ← Iso.eq_inv_comp, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Abelian.Basic | {
"line": 233,
"column": 10
} | {
"line": 234,
"column": 83
} | {
"line": 235,
"column": 10
} | [
{
"pp": "case refine_2\nC : Type u\ninst✝⁵ : Category.{v, u} C\ninst✝⁴ : Preadditive C\ninst✝³ : HasKernels C\ninst✝² : HasCokernels C\ninst✝¹ : ∀ {X Y : C} (f : X ⟶ Y), IsIso (coimageImageComparison f)\ninst✝ : HasFiniteProducts C\nX✝ Y✝ : C\nf : X✝ ⟶ Y✝\nm : Epi f\nthis✝¹ : HasImages C\nthis✝ : HasEqualizers ... | [
"case refine_2\nC : Type u\ninst✝⁵ : Category.{v, u} C\ninst✝⁴ : Preadditive C\ninst✝³ : HasKernels C\ninst✝² : HasCokernels C\ninst✝¹ : ∀ {X Y : C} (f : X ⟶ Y), IsIso (coimageImageComparison f)\ninst✝ : HasFiniteProducts C\nX✝ Y✝ : C\nf : X✝ ⟶ Y✝\nm : Epi f\nthis✝¹ : HasImages C\nthis✝ : HasEqualizers C\nthis : Ha... | refine isColimitAux _ (fun A => inv (imageMonoFactorisation f).m ≫
inv (Abelian.coimageImageComparison f) ≫ colimit.desc _ _) aux ?_ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.CategoryTheory.Abelian.Basic | {
"line": 459,
"column": 4
} | {
"line": 459,
"column": 38
} | {
"line": 459,
"column": 39
} | [
{
"pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : Abelian C\nX Y : C\nf : X ⟶ Y\n⊢ (imageStrongEpiMonoFactorisation f).e ≫ equalizer.ι (cokernel.π f) 0 =\n (factorThruImage f ≫ kernel.lift (cokernel.π f) (Limits.image.ι f) ⋯) ≫ equalizer.ι (cokernel.π f) 0",
"ppTerm": "?m.79",
"assigned": true... | [
"C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : Abelian C\nX Y : C\nf : X ⟶ Y\n⊢ Abelian.factorThruImage f ≫ equalizer.ι (cokernel.π f) 0 =\n (factorThruImage f ≫ kernel.lift (cokernel.π f) (Limits.image.ι f) ⋯) ≫ equalizer.ι (cokernel.π f) 0"
] | imageStrongEpiMonoFactorisation_e, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Abelian.Basic | {
"line": 672,
"column": 56
} | {
"line": 672,
"column": 60
} | {
"line": 672,
"column": 60
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Abelian C\nW X Y Z : C\nf : X ⟶ Z\ng : Y ⟶ Z\ninst✝ : Epi f\nR : C\ne : Y ⟶ R\nh : pullback.snd f g ≫ e = 0\nu : X ⊞ Y ⟶ R := biprod.desc 0 e\nhu : PullbackToBiproductIsKernel.pullbackToBiproduct f g ≫ u = 0\nthis✝¹ : IsColimit (CokernelCofork.ofπ (bipro... | [
"C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Abelian C\nW X Y Z : C\nf : X ⟶ Z\ng : Y ⟶ Z\ninst✝ : Epi f\nR : C\ne : Y ⟶ R\nh : pullback.snd f g ≫ e = 0\nu : X ⊞ Y ⟶ R := biprod.desc 0 e\nhu : PullbackToBiproductIsKernel.pullbackToBiproduct f g ≫ u = 0\nthis✝¹ : IsColimit (CokernelCofork.ofπ (biprod.desc f (-g... | ← hd | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Abelian.Basic | {
"line": 704,
"column": 56
} | {
"line": 704,
"column": 60
} | {
"line": 704,
"column": 60
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Abelian C\nW X Y Z : C\nf : X ⟶ Z\ng : Y ⟶ Z\ninst✝ : Epi g\nR : C\ne : X ⟶ R\nh : pullback.fst f g ≫ e = 0\nu : X ⊞ Y ⟶ R := biprod.desc e 0\nhu : PullbackToBiproductIsKernel.pullbackToBiproduct f g ≫ u = 0\nthis✝¹ : IsColimit (CokernelCofork.ofπ (bipro... | [
"C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Abelian C\nW X Y Z : C\nf : X ⟶ Z\ng : Y ⟶ Z\ninst✝ : Epi g\nR : C\ne : X ⟶ R\nh : pullback.fst f g ≫ e = 0\nu : X ⊞ Y ⟶ R := biprod.desc e 0\nhu : PullbackToBiproductIsKernel.pullbackToBiproduct f g ≫ u = 0\nthis✝¹ : IsColimit (CokernelCofork.ofπ (biprod.desc f (-g... | ← hd | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Homology.ShortComplex.Homology | {
"line": 471,
"column": 2
} | {
"line": 475,
"column": 80
} | {
"line": 477,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasZeroMorphisms C\nS₁ S₂ : ShortComplex C\nφ : S₁ ⟶ S₂\nh₁ : S₁.RightHomologyData\nh₂ : S₂.RightHomologyData\nγ : RightHomologyMapData φ h₁ h₂\ninst✝¹ : S₁.HasHomology\ninst✝ : S₂.HasHomology\n⊢ homologyMap φ = h₁.homologyIso.hom ≫ γ.φH ≫ h₂.homologyIso... | [] | dsimp [homologyMap, homologyMap', RightHomologyData.homologyIso,
rightHomologyIso, RightHomologyData.rightHomologyIso]
have γ' : HomologyMapData φ S₁.homologyData S₂.homologyData := default
simp [← γ.rightHomologyMap'_eq, ← rightHomologyMap'_comp_assoc,
γ'.left.leftHomologyMap'_eq, γ'.right.rightHomologyMap... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Homology.ShortComplex.Homology | {
"line": 471,
"column": 2
} | {
"line": 475,
"column": 80
} | {
"line": 477,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝³ : Category.{v, u} C\ninst✝² : HasZeroMorphisms C\nS₁ S₂ : ShortComplex C\nφ : S₁ ⟶ S₂\nh₁ : S₁.RightHomologyData\nh₂ : S₂.RightHomologyData\nγ : RightHomologyMapData φ h₁ h₂\ninst✝¹ : S₁.HasHomology\ninst✝ : S₂.HasHomology\n⊢ homologyMap φ = h₁.homologyIso.hom ≫ γ.φH ≫ h₂.homologyIso... | [] | dsimp [homologyMap, homologyMap', RightHomologyData.homologyIso,
rightHomologyIso, RightHomologyData.rightHomologyIso]
have γ' : HomologyMapData φ S₁.homologyData S₂.homologyData := default
simp [← γ.rightHomologyMap'_eq, ← rightHomologyMap'_comp_assoc,
γ'.left.leftHomologyMap'_eq, γ'.right.rightHomologyMap... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Abelian.Basic | {
"line": 750,
"column": 58
} | {
"line": 750,
"column": 62
} | {
"line": 750,
"column": 62
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Abelian C\nW X Y Z : C\nf : X ⟶ Y\ng : X ⟶ Z\ninst✝ : Mono f\nR : C\ne : R ⟶ Z\nh : e ≫ pushout.inr f g = 0\nu : R ⟶ Y ⊞ Z := biprod.lift 0 e\nhu : u ≫ BiproductToPushoutIsCokernel.biproductToPushout f g = 0\nthis✝¹ : IsLimit (KernelFork.ofι (biprod.lift... | [
"C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Abelian C\nW X Y Z : C\nf : X ⟶ Y\ng : X ⟶ Z\ninst✝ : Mono f\nR : C\ne : R ⟶ Z\nh : e ≫ pushout.inr f g = 0\nu : R ⟶ Y ⊞ Z := biprod.lift 0 e\nhu : u ≫ BiproductToPushoutIsCokernel.biproductToPushout f g = 0\nthis✝¹ : IsLimit (KernelFork.ofι (biprod.lift f (-g)) ⋯)\... | ← hd | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Homology.ShortComplex.LeftHomology | {
"line": 315,
"column": 4
} | {
"line": 315,
"column": 12
} | {
"line": 316,
"column": 4
} | [
{
"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ψ₁ ψ₂ : LeftHomologyMapData φ h₁ h₂\nhK : ψ₁.φK = ψ₂.φK\nhH : ψ₁.φH = ψ₂.φH\n⊢ ψ₁ = ψ₂",
"ppTerm": "?m.99",
"assigned": true,
... | [
"case mk\nC : 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ψ₂ : LeftHomologyMapData φ h₁ h₂\nφK✝ : h₁.K ⟶ h₂.K\nφH✝ : h₁.H ⟶ h₂.H\ncommi✝ : φK✝ ≫ h₂.i = h₁.i ≫ φ.τ₂\ncommf'✝ : h₁.f' ≫ φK✝ = φ.τ₁ ≫ ... | cases ψ₁ | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalCases | Lean.Parser.Tactic.cases |
Mathlib.Algebra.Homology.ShortComplex.Homology | {
"line": 962,
"column": 2
} | {
"line": 963,
"column": 95
} | {
"line": 965,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : HasZeroMorphisms C\nS : ShortComplex C\ninst✝ : S.HasHomology\n⊢ S.homologyπ ≫ S.homologyι = S.iCycles ≫ S.pOpcycles",
"ppTerm": "?m.48",
"assigned": true,
"usedConstants": [
"CategoryTheory.ShortComplex.opcycles",
"Eq.mpr",
... | [] | dsimp only [homologyπ, homologyι]
simpa only [assoc, S.leftRightHomologyComparison_fac] using S.π_leftRightHomologyComparison_ι | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Homology.ShortComplex.Homology | {
"line": 962,
"column": 2
} | {
"line": 963,
"column": 95
} | {
"line": 965,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : HasZeroMorphisms C\nS : ShortComplex C\ninst✝ : S.HasHomology\n⊢ S.homologyπ ≫ S.homologyι = S.iCycles ≫ S.pOpcycles",
"ppTerm": "?m.48",
"assigned": true,
"usedConstants": [
"CategoryTheory.ShortComplex.opcycles",
"Eq.mpr",
... | [] | dsimp only [homologyπ, homologyι]
simpa only [assoc, S.leftRightHomologyComparison_fac] using S.π_leftRightHomologyComparison_ι | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Abelian.Basic | {
"line": 772,
"column": 58
} | {
"line": 772,
"column": 62
} | {
"line": 772,
"column": 62
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Abelian C\nW X Y Z : C\nf : X ⟶ Y\ng : X ⟶ Z\ninst✝ : Mono g\nR : C\ne : R ⟶ Y\nh : e ≫ pushout.inl f g = 0\nu : R ⟶ Y ⊞ Z := biprod.lift e 0\nhu : u ≫ BiproductToPushoutIsCokernel.biproductToPushout f g = 0\nthis✝¹ : IsLimit (KernelFork.ofι (biprod.lift... | [
"C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : Abelian C\nW X Y Z : C\nf : X ⟶ Y\ng : X ⟶ Z\ninst✝ : Mono g\nR : C\ne : R ⟶ Y\nh : e ≫ pushout.inl f g = 0\nu : R ⟶ Y ⊞ Z := biprod.lift e 0\nhu : u ≫ BiproductToPushoutIsCokernel.biproductToPushout f g = 0\nthis✝¹ : IsLimit (KernelFork.ofι (biprod.lift f (-g)) ⋯)\... | ← hd | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Homology.ShortComplex.RightHomology | {
"line": 412,
"column": 4
} | {
"line": 412,
"column": 12
} | {
"line": 413,
"column": 4
} | [
{
"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₂\nhQ : ψ₁.φQ = ψ₂.φQ\nhH : ψ₁.φH = ψ₂.φH\n⊢ ψ₁ = ψ₂",
"ppTerm": "?m.99",
"assigned": true... | [
"case mk\nC : 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φQ✝ : h₁.Q ⟶ h₂.Q\nφH✝ : h₁.H ⟶ h₂.H\ncommp✝ : h₁.p ≫ φQ✝ = φ.τ₂ ≫ h₂.p\ncommg'✝ : φQ✝ ≫ h₂.g' = h₁.g... | cases ψ₁ | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalCases | Lean.Parser.Tactic.cases |
Mathlib.Algebra.Homology.ShortComplex.RightHomology | {
"line": 417,
"column": 75
} | {
"line": 417,
"column": 81
} | {
"line": 417,
"column": 82
} | [
{
"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⊢ φ.τ₁ ≫ S₂.f ≫ h₂.p = 0",
"ppTerm": "?m.65",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.... | [
"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⊢ φ.τ₁ ≫ 0 = 0"
] | h₂.wp, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Homology.ShortComplex.Homology | {
"line": 1166,
"column": 2
} | {
"line": 1166,
"column": 30
} | {
"line": 1167,
"column": 2
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh₁ : S₁.HomologyData\nh₂ : S₂.HomologyData\nA : C\nhf : S.f = 0\ninst✝ : S.HasHomology\n⊢ S.cycles ≅ S.homology",
"ppTerm": "?m.37",
"assigned": true,
"usedConstants": [
"Cat... | [
"C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh₁ : S₁.HomologyData\nh₂ : S₂.HomologyData\nA : C\nhf : S.f = 0\ninst✝ : S.HasHomology\nthis : IsIso S.homologyπ\n⊢ S.cycles ≅ S.homology"
] | have := S.isIso_homologyπ hf | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Algebra.Homology.ShortComplex.Homology | {
"line": 1167,
"column": 2
} | {
"line": 1167,
"column": 25
} | {
"line": 1169,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\ninst✝¹ : HasZeroMorphisms C\nS S₁ S₂ S₃ : ShortComplex C\nφ : S₁ ⟶ S₂\nh₁ : S₁.HomologyData\nh₂ : S₂.HomologyData\nA : C\nhf : S.f = 0\ninst✝ : S.HasHomology\nthis : IsIso S.homologyπ\n⊢ S.cycles ≅ S.homology",
"ppTerm": "?m.43",
"assigned": true,
"us... | [] | exact asIso S.homologyπ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Homology.ShortComplex.RightHomology | {
"line": 1329,
"column": 6
} | {
"line": 1329,
"column": 44
} | {
"line": 1329,
"column": 45
} | [
{
"pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : HasZeroMorphisms C\nS : ShortComplex C\nh : S.RightHomologyData\nA : C\nk : S.X₂ ⟶ A\nhk : S.f ≫ k = 0\ninst✝ : S.HasRightHomology\n⊢ h.opcyclesIso.hom ≫ h.descQ k hk = S.descOpcycles k hk",
"ppTerm": "?m.57",
"assigned": true,
"usedCon... | [
"C : Type u_1\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : HasZeroMorphisms C\nS : ShortComplex C\nh : S.RightHomologyData\nA : C\nk : S.X₂ ⟶ A\nhk : S.f ≫ k = 0\ninst✝ : S.HasRightHomology\n⊢ h.opcyclesIso.hom ≫ h.opcyclesIso.inv ≫ S.descOpcycles k hk = S.descOpcycles k hk"
] | ← h.opcyclesIso_inv_comp_descOpcycles, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Homology.ShortComplex.PreservesHomology | {
"line": 508,
"column": 55
} | {
"line": 510,
"column": 55
} | {
"line": 512,
"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✝⁶ : HasZeroMorphisms C\ninst✝⁵ : HasZeroMorphisms D\nS₁ S₂ : ShortComplex C\nφ : S₁ ⟶ S₂\nF : C ⥤ D\ninst✝⁴ : F.PreservesZeroMorphisms\ninst✝³ : S₁.HasLeftHomology\ninst✝² : S₂.HasLeftHomology\ninst✝¹ : F.P... | [] | by
simp [cyclesMap, mapCyclesIso, LeftHomologyData.cyclesIso,
LeftHomologyData.map_cyclesMap', ← cyclesMap'_comp] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.Functor.KanExtension.Basic | {
"line": 124,
"column": 2
} | {
"line": 125,
"column": 48
} | {
"line": 126,
"column": 2
} | [
{
"pp": "case mp\nC : Type u_1\nH : Type u_3\nD : Type u_5\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Category.{v_3, u_3} H\ninst✝ : Category.{v_5, u_5} D\nF' F'' : D ⥤ H\ne : F' ≅ F''\nL : C ⥤ D\nF : C ⥤ H\nα : L ⋙ F' ⟶ F\nα' : L ⋙ F'' ⟶ F\ncomm : L.whiskerLeft e.hom ≫ α' = α\n⊢ F'.IsRightKanExtension α → F''.I... | [
"case mpr\nC : Type u_1\nH : Type u_3\nD : Type u_5\ninst✝² : Category.{v_1, u_1} C\ninst✝¹ : Category.{v_3, u_3} H\ninst✝ : Category.{v_5, u_5} D\nF' F'' : D ⥤ H\ne : F' ≅ F''\nL : C ⥤ D\nF : C ⥤ H\nα : L ⋙ F' ⟶ F\nα' : L ⋙ F'' ⟶ F\ncomm : L.whiskerLeft e.hom ≫ α' = α\n⊢ F''.IsRightKanExtension α' → F'.IsRightKanE... | · intro
exact isRightKanExtension_of_iso e α α' comm | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.CategoryTheory.Functor.KanExtension.Basic | {
"line": 768,
"column": 2
} | {
"line": 768,
"column": 60
} | {
"line": 769,
"column": 2
} | [
{
"pp": "C : Type u_1\nH : Type u_3\nD : Type u_5\nD' : Type u_6\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : Category.{v_3, u_3} H\ninst✝² : Category.{v_5, u_5} D\ninst✝¹ : Category.{v_6, u_6} D'\nL : C ⥤ D\nL' : D ⥤ D'\nF₀ : C ⥤ H\nF₁ : D ⥤ H\nα : F₀ ⟶ L ⋙ F₁\ninst✝ : F₁.IsLeftKanExtension α\nF₂ : D' ⥤ H\nL'' : ... | [
"C : Type u_1\nH : Type u_3\nD : Type u_5\nD' : Type u_6\ninst✝⁴ : Category.{v_1, u_1} C\ninst✝³ : Category.{v_3, u_3} H\ninst✝² : Category.{v_5, u_5} D\ninst✝¹ : Category.{v_6, u_6} D'\nL : C ⥤ D\nL' : D ⥤ D'\nF₀ : C ⥤ H\nF₁ : D ⥤ H\nα : F₀ ⟶ L ⋙ F₁\ninst✝ : F₁.IsLeftKanExtension α\nF₂ : D' ⥤ H\nL'' : C ⥤ D'\ne : ... | obtain ⟨⟨hα⟩⟩ := (inferInstance : F₁.IsLeftKanExtension α) | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.CategoryTheory.Functor.KanExtension.RestrictedYoneda | {
"line": 104,
"column": 45
} | {
"line": 104,
"column": 82
} | {
"line": 104,
"column": 82
} | [
{
"pp": "C : Type u₁\ninst✝⁵ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝⁴ : Category.{v₂, u₂} D\ninst✝³ : LocallySmall.{w, v₁, u₁} C\ninst✝² : LocallySmall.{w, v₂, u₂} D\nL : (Cᵒᵖ ⥤ Type w) ⥤ D\nA : C ⥤ D\nα : A ⟶ shrinkYoneda.{w, v₁, u₁} ⋙ L\ninst✝¹ : shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A\ninst... | [] | simp [shrinkYonedaEquiv_symm_map.{w}] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.CategoryTheory.Functor.KanExtension.RestrictedYoneda | {
"line": 104,
"column": 45
} | {
"line": 104,
"column": 82
} | {
"line": 104,
"column": 82
} | [
{
"pp": "C : Type u₁\ninst✝⁵ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝⁴ : Category.{v₂, u₂} D\ninst✝³ : LocallySmall.{w, v₁, u₁} C\ninst✝² : LocallySmall.{w, v₂, u₂} D\nL : (Cᵒᵖ ⥤ Type w) ⥤ D\nA : C ⥤ D\nα : A ⟶ shrinkYoneda.{w, v₁, u₁} ⋙ L\ninst✝¹ : shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A\ninst... | [] | simp [shrinkYonedaEquiv_symm_map.{w}] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Functor.KanExtension.RestrictedYoneda | {
"line": 104,
"column": 45
} | {
"line": 104,
"column": 82
} | {
"line": 104,
"column": 82
} | [
{
"pp": "C : Type u₁\ninst✝⁵ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝⁴ : Category.{v₂, u₂} D\ninst✝³ : LocallySmall.{w, v₁, u₁} C\ninst✝² : LocallySmall.{w, v₂, u₂} D\nL : (Cᵒᵖ ⥤ Type w) ⥤ D\nA : C ⥤ D\nα : A ⟶ shrinkYoneda.{w, v₁, u₁} ⋙ L\ninst✝¹ : shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A\ninst... | [] | simp [shrinkYonedaEquiv_symm_map.{w}] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Functor.KanExtension.Basic | {
"line": 953,
"column": 6
} | {
"line": 953,
"column": 24
} | {
"line": 953,
"column": 25
} | [
{
"pp": "C : Type u_1\nH : Type u_3\nD : Type u_5\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : Category.{v_3, u_3} H\ninst✝³ : Category.{v_5, u_5} D\nF' : D ⥤ H\nL : C ⥤ D\nF : C ⥤ H\nα : L ⋙ F' ⟶ F\ninst✝² : F'.IsRightKanExtension α\ninst✝¹ : HasLimit F\ninst✝ : HasLimit F'\ni : C\n⊢ (F'.limitIsoOfIsRightKanExten... | [
"C : Type u_1\nH : Type u_3\nD : Type u_5\ninst✝⁵ : Category.{v_1, u_1} C\ninst✝⁴ : Category.{v_3, u_3} H\ninst✝³ : Category.{v_5, u_5} D\nF' : D ⥤ H\nL : C ⥤ D\nF : C ⥤ H\nα : L ⋙ F' ⟶ F\ninst✝² : F'.IsRightKanExtension α\ninst✝¹ : HasLimit F\ninst✝ : HasLimit F'\ni : C\n⊢ limit.π F i = (F'.limitIsoOfIsRightKanExt... | ← Iso.eq_inv_comp, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Preadditive.Injective.Basic | {
"line": 143,
"column": 4
} | {
"line": 143,
"column": 61
} | {
"line": 144,
"column": 4
} | [
{
"pp": "C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nβ : Type v\nc : β → C\ninst✝¹ : HasProduct c\ninst✝ : ∀ (b : β), Injective (c b)\nX✝ Y✝ : C\ng : X✝ ⟶ ∏ᶜ c\nf : X✝ ⟶ Y✝\nmono : Mono f\n⊢ ∃ h, f ≫ h = g",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"CategoryTheory.CategoryStruct.... | [
"C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nβ : Type v\nc : β → C\ninst✝¹ : HasProduct c\ninst✝ : ∀ (b : β), Injective (c b)\nX✝ Y✝ : C\ng : X✝ ⟶ ∏ᶜ c\nf : X✝ ⟶ Y✝\nmono : Mono f\n⊢ (f ≫ Pi.lift fun b ↦ factorThru (g ≫ Pi.π c b) f) = g"
] | refine ⟨Pi.lift fun b => factorThru (g ≫ Pi.π c _) f, ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Algebra.Homology.ShortComplex.Preadditive | {
"line": 55,
"column": 36
} | {
"line": 55,
"column": 50
} | {
"line": 56,
"column": 2
} | [
{
"pp": "case h₁\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Preadditive C\nS₁ S₂ S₃ : ShortComplex C\na b : S₁ ⟶ S₂\n⊢ (a + b).τ₁ = (b + a).τ₁",
"ppTerm": "?h₁",
"assigned": true,
"usedConstants": [
"CategoryTheory.CategoryStruct.toQuiver",
"Quiver.Hom",
"CategoryTheory... | [] | apply add_comm | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.Algebra.Homology.ShortComplex.Preadditive | {
"line": 55,
"column": 36
} | {
"line": 55,
"column": 50
} | {
"line": 56,
"column": 2
} | [
{
"pp": "case h₂\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Preadditive C\nS₁ S₂ S₃ : ShortComplex C\na b : S₁ ⟶ S₂\n⊢ (a + b).τ₂ = (b + a).τ₂",
"ppTerm": "?h₂",
"assigned": true,
"usedConstants": [
"CategoryTheory.CategoryStruct.toQuiver",
"Quiver.Hom",
"AddCommGroup.t... | [] | apply add_comm | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.Algebra.Homology.ShortComplex.Preadditive | {
"line": 55,
"column": 36
} | {
"line": 55,
"column": 50
} | {
"line": 56,
"column": 2
} | [
{
"pp": "case h₃\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Preadditive C\nS₁ S₂ S₃ : ShortComplex C\na b : S₁ ⟶ S₂\n⊢ (a + b).τ₃ = (b + a).τ₃",
"ppTerm": "?h₃",
"assigned": true,
"usedConstants": [
"CategoryTheory.CategoryStruct.toQuiver",
"Quiver.Hom",
"AddCommGroup.t... | [] | apply add_comm | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.CategoryTheory.Subobject.FactorThru | {
"line": 88,
"column": 45
} | {
"line": 91,
"column": 24
} | {
"line": 93,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝ : Category.{v₁, u₁} C\nX Y Z : C\nP : Subobject Z\nf : X ⟶ Y\ng : Y ⟶ Z\nh : P.Factors g\n⊢ P.Factors (f ≫ g)",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"CategoryTheory.Subobject.Factors",
"CategoryTheory.Category.assoc",
"CategoryTheory.O... | [] | by
induction P using Quotient.ind'
obtain ⟨g, rfl⟩ := h
exact ⟨f ≫ g, by simp⟩ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Homology.ShortComplex.Exact | {
"line": 904,
"column": 8
} | {
"line": 904,
"column": 12
} | {
"line": 904,
"column": 13
} | [
{
"pp": "case hf₁\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Abelian C\nS₁ S₂ : ShortComplex C\nφ : S₁ ⟶ S₂\nhg₁ : S₁.g = 0\nhf₂ : S₂.f = 0\nhg₂ : S₂.g = 0\n⊢ S₂.g.op = 0",
"ppTerm": "?hf₁",
"assigned": true,
"usedConstants": [
"CategoryTheory.Abelian.toPreadditive",
"Eq.mpr"... | [
"case hf₁\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\ninst✝ : Abelian C\nS₁ S₂ : ShortComplex C\nφ : S₁ ⟶ S₂\nhg₁ : S₁.g = 0\nhf₂ : S₂.f = 0\nhg₂ : S₂.g = 0\n⊢ Quiver.Hom.op 0 = 0"
] | hg₂, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Subobject.Basic | {
"line": 534,
"column": 4
} | {
"line": 537,
"column": 39
} | {
"line": 539,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nX Y Z : C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nA : C\nB : D\ne : MonoOver A ≌ MonoOver B\n⊢ lower e.inverse ⋙ lower e.functor ≅ 𝟭 (Subobject B)",
"ppTerm": "?m.38",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.O... | [] | apply eqToIso
convert ThinSkeleton.map_iso_eq e.counitIso
· exact (ThinSkeleton.map_comp_eq _ _).symm
· exact ThinSkeleton.map_id_eq.symm | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Subobject.Basic | {
"line": 534,
"column": 4
} | {
"line": 537,
"column": 39
} | {
"line": 539,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nX Y Z : C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nA : C\nB : D\ne : MonoOver A ≌ MonoOver B\n⊢ lower e.inverse ⋙ lower e.functor ≅ 𝟭 (Subobject B)",
"ppTerm": "?m.38",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"CategoryTheory.O... | [] | apply eqToIso
convert ThinSkeleton.map_iso_eq e.counitIso
· exact (ThinSkeleton.map_comp_eq _ _).symm
· exact ThinSkeleton.map_id_eq.symm | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Subobject.MonoOver | {
"line": 110,
"column": 4
} | {
"line": 110,
"column": 15
} | {
"line": 111,
"column": 4
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nX✝ Y Z : C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nX : C\nf g : MonoOver X\n⊢ ∀ (a b : f ⟶ g), a = b",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"CategoryTheory.Over",
"CategoryTheory.CategoryStruct.toQuiver",
"Qui... | [
"C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nX✝ Y Z : C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nX : C\nf g : MonoOver X\nh₁ h₂ : f ⟶ g\n⊢ h₁ = h₂"
] | intro h₁ h₂ | Lean.Elab.Tactic.evalIntro | Lean.Parser.Tactic.intro |
Mathlib.CategoryTheory.Subobject.Lattice | {
"line": 180,
"column": 2
} | {
"line": 180,
"column": 50
} | {
"line": 181,
"column": 2
} | [
{
"pp": "C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nX Y Z : C\ninst✝¹ : HasImages C\ninst✝ : HasBinaryCoproducts C\nA : C\nf g : MonoOver A\n⊢ g ⟶ (sup.obj f).obj g",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.factorThruImage",
"CategoryTheory.Over",
... | [
"C : Type u₁\ninst✝² : Category.{v₁, u₁} C\nX Y Z : C\ninst✝¹ : HasImages C\ninst✝ : HasBinaryCoproducts C\nA : C\nf g : MonoOver A\n⊢ (coprod.inr ≫ factorThruImage ((Functor.uncurry.obj Over.coprod).obj (((forget A).prod (forget A)).obj (f, g))).hom) ≫\n ((sup.obj f).obj g).arrow =\n g.arrow"
] | refine homMk (coprod.inr ≫ factorThruImage _) ?_ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.CategoryTheory.Subobject.Limits | {
"line": 107,
"column": 6
} | {
"line": 107,
"column": 35
} | {
"line": 107,
"column": 35
} | [
{
"pp": "case refine_1\nC : Type u\ninst✝² : Category.{v, u} C\nX Y : C\nf g : X ⟶ Y\ninst✝¹ : HasEqualizer f g\nW : C\nh : W ⟶ X\ninst✝ : HasPullbacks C\nthis :\n pullbackπ h (equalizerSubobject f g) ≫ (equalizerSubobject f g).arrow =\n ((Subobject.pullback h).obj (equalizerSubobject f g)).arrow ≫ h\n⊢ pul... | [
"case refine_1\nC : Type u\ninst✝² : Category.{v, u} C\nX Y : C\nf g : X ⟶ Y\ninst✝¹ : HasEqualizer f g\nW : C\nh : W ⟶ X\ninst✝ : HasPullbacks C\nthis :\n pullbackπ h (equalizerSubobject f g) ≫ (equalizerSubobject f g).arrow =\n ((Subobject.pullback h).obj (equalizerSubobject f g)).arrow ≫ h\n⊢ pullbackπ h (eq... | equalizerSubobject_arrow_comp | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Subobject.Limits | {
"line": 105,
"column": 4
} | {
"line": 107,
"column": 36
} | {
"line": 108,
"column": 2
} | [
{
"pp": "case refine_1\nC : Type u\ninst✝² : Category.{v, u} C\nX Y : C\nf g : X ⟶ Y\ninst✝¹ : HasEqualizer f g\nW : C\nh : W ⟶ X\ninst✝ : HasPullbacks C\nthis :\n pullbackπ h (equalizerSubobject f g) ≫ (equalizerSubobject f g).arrow =\n ((Subobject.pullback h).obj (equalizerSubobject f g)).arrow ≫ h\n⊢ ((S... | [] | rw [← reassoc_of% (Subobject.isPullback h (equalizerSubobject f g)).w,
← reassoc_of% (Subobject.isPullback h (equalizerSubobject f g)).w,
equalizerSubobject_arrow_comp] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.CategoryTheory.Subobject.Limits | {
"line": 110,
"column": 22
} | {
"line": 110,
"column": 51
} | {
"line": 110,
"column": 51
} | [
{
"pp": "case refine_2\nC : Type u\ninst✝² : Category.{v, u} C\nX Y : C\nf g : X ⟶ Y\ninst✝¹ : HasEqualizer f g\nW : C\nh : W ⟶ X\ninst✝ : HasPullbacks C\n⊢ (equalizerSubobject (h ≫ f) (h ≫ g)).arrow ≫ h ≫ f = (equalizerSubobject (h ≫ f) (h ≫ g)).arrow ≫ h ≫ g",
"ppTerm": "?refine_2",
"assigned": true,
... | [
"case refine_2\nC : Type u\ninst✝² : Category.{v, u} C\nX Y : C\nf g : X ⟶ Y\ninst✝¹ : HasEqualizer f g\nW : C\nh : W ⟶ X\ninst✝ : HasPullbacks C\n⊢ (equalizerSubobject (h ≫ f) (h ≫ g)).arrow ≫ h ≫ g = (equalizerSubobject (h ≫ f) (h ≫ g)).arrow ≫ h ≫ g"
] | equalizerSubobject_arrow_comp | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.CategoryTheory.Subobject.Limits | {
"line": 344,
"column": 2
} | {
"line": 344,
"column": 34
} | {
"line": 345,
"column": 2
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\nX Y Z : C\nf : X ⟶ Y\ninst✝¹ : HasImage f\ninst✝ : HasEqualizers C\n⊢ Epi (factorThruImageSubobject f)",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"CategoryTheory.Subobject.underlying",
"CategoryTheory.Epi",
"CategoryTh... | [
"C : Type u\ninst✝² : Category.{v, u} C\nX Y Z : C\nf : X ⟶ Y\ninst✝¹ : HasImage f\ninst✝ : HasEqualizers C\n⊢ Epi (factorThruImage f ≫ (imageSubobjectIso f).inv)"
] | dsimp [factorThruImageSubobject] | Lean.Elab.Tactic.evalDSimp | Lean.Parser.Tactic.dsimp |
Mathlib.CategoryTheory.Abelian.Exact | {
"line": 256,
"column": 4
} | {
"line": 263,
"column": 81
} | {
"line": 264,
"column": 2
} | [
{
"pp": "A : Type u₁\nB : Type u₂\ninst✝⁴ : Category.{v₁, u₁} A\ninst✝³ : Category.{v₂, u₂} B\ninst✝² : Abelian A\ninst✝¹ : Abelian B\nL : A ⥤ B\ninst✝ : L.PreservesZeroMorphisms\nhL : ∀ (S : ShortComplex A), S.Exact → (S.map L).Exact\nX Y : A\nf : X ⟶ Y\n⊢ PreservesColimit (parallelPair f 0) L",
"ppTerm": ... | [] | have := preservesEpimorphisms_of_map_exact _ hL
apply preservesColimit_of_preserves_colimit_cocone (cokernelIsCokernel f)
apply (CokernelCofork.isColimitMapCoconeEquiv _ L).2
have : Epi ((ShortComplex.mk _ _ (cokernel.condition f)).map L).g := by
dsimp
infer_instance
exact (hL (ShortComplex.... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Abelian.Exact | {
"line": 256,
"column": 4
} | {
"line": 263,
"column": 81
} | {
"line": 264,
"column": 2
} | [
{
"pp": "A : Type u₁\nB : Type u₂\ninst✝⁴ : Category.{v₁, u₁} A\ninst✝³ : Category.{v₂, u₂} B\ninst✝² : Abelian A\ninst✝¹ : Abelian B\nL : A ⥤ B\ninst✝ : L.PreservesZeroMorphisms\nhL : ∀ (S : ShortComplex A), S.Exact → (S.map L).Exact\nX Y : A\nf : X ⟶ Y\n⊢ PreservesColimit (parallelPair f 0) L",
"ppTerm": ... | [] | have := preservesEpimorphisms_of_map_exact _ hL
apply preservesColimit_of_preserves_colimit_cocone (cokernelIsCokernel f)
apply (CokernelCofork.isColimitMapCoconeEquiv _ L).2
have : Epi ((ShortComplex.mk _ _ (cokernel.condition f)).map L).g := by
dsimp
infer_instance
exact (hL (ShortComplex.... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Abelian.Subobject | {
"line": 37,
"column": 2
} | {
"line": 51,
"column": 92
} | {
"line": 52,
"column": 2
} | [
{
"pp": "case refine_1\nC : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : Abelian C\nX : C\n⊢ (cokernelOrderHom X).comp (kernelOrderHom X) = OrderHom.id",
"ppTerm": "?refine_1",
"assigned": true,
"usedConstants": [
"CategoryTheory.Limits.kernelOrderHom",
"CategoryTheory.Abelian.toPreadditi... | [
"case refine_2\nC : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : Abelian C\nX : C\n⊢ (kernelOrderHom X).comp (cokernelOrderHom X) = OrderHom.id"
] | · change (cokernelOrderHom X).comp (kernelOrderHom X) = _
refine OrderHom.ext _ _ (funext (Subobject.ind _ ?_))
intro A f hf
dsimp only [OrderHom.comp_coe, Function.comp_apply, kernelOrderHom_coe, Subobject.lift_mk,
cokernelOrderHom_coe, OrderHom.id_coe, id]
refine Subobject.mk_eq_mk_of_comm _ _
... | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.CategoryTheory.Subobject.Comma | {
"line": 152,
"column": 6
} | {
"line": 154,
"column": 10
} | {
"line": 154,
"column": 10
} | [
{
"pp": "C : 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 : (CostructuredArrow S T)ᵒᵖ\nf : P ⟶ op A\nhf : Mono f\n⊢ S.map (projectQuotient (Subobject.mk f)).arrow.... | [] | dsimp
rw [← Category.assoc, ← S.map_comp, ← unop_comp]
simp | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.Subobject.Comma | {
"line": 152,
"column": 6
} | {
"line": 154,
"column": 10
} | {
"line": 154,
"column": 10
} | [
{
"pp": "C : 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 : (CostructuredArrow S T)ᵒᵖ\nf : P ⟶ op A\nhf : Mono f\n⊢ S.map (projectQuotient (Subobject.mk f)).arrow.... | [] | dsimp
rw [← Category.assoc, ← S.map_comp, ← unop_comp]
simp | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono | {
"line": 42,
"column": 2
} | {
"line": 42,
"column": 33
} | {
"line": 44,
"column": 0
} | [
{
"pp": "K : Type u\ninst✝⁵ : Category.{v, u} K\nC : Type u'\ninst✝⁴ : Category.{v', u'} C\nD : Type u''\ninst✝³ : Category.{v'', u''} D\nF G : K ⥤ C\nf : F ⟶ G\ninst✝² : HasPullbacks C\ninst✝¹ : Mono f\nH : C ⥤ D\ninst✝ : H.PreservesMonomorphisms\nthis : ∀ (X : K), Mono ((whiskerRight f H).app X)\n⊢ Mono (whis... | [] | apply NatTrans.mono_of_mono_app | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.Algebra.Category.Grp.Adjunctions | {
"line": 77,
"column": 8
} | {
"line": 77,
"column": 40
} | {
"line": 79,
"column": 6
} | [
{
"pp": "X : Type u\nY : AddCommGrpCat\n⊢ ToHom (free.obj X) Y ≃ (X → (forget AddCommGrpCat).obj Y)",
"ppTerm": "?m.42",
"assigned": true,
"usedConstants": [
"AddMonoid.toAddZeroClass",
"AddCommGroup.toAddGroup",
"AddZeroClass.toAddZero",
"AddCommGrpCat.carrier",
"instA... | [] | exact FreeAbelianGroup.lift.symm | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Ring.Periodic | {
"line": 93,
"column": 2
} | {
"line": 93,
"column": 45
} | {
"line": 95,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nf : α → β\nc : α\ninst✝² : AddMonoid α\ninst✝¹ : Group γ\ninst✝ : DistribMulAction γ α\nh : Periodic f c\na : γ\n⊢ Periodic (fun x ↦ f (a⁻¹ • x)) (a • c)",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"instHSMul",
"DivInvOneMo... | [] | simpa only [inv_inv] using h.const_smul a⁻¹ | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.