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.Polynomial.Div
{ "line": 608, "column": 4 }
{ "line": 609, "column": 43 }
{ "line": 610, "column": 2 }
[ { "pp": "R : Type u\ninst✝ : CommRing R\np : R[X]\na : R\na✝ : Nontrivial R\n⊢ eval a (p %ₘ (X - C a)) = eval a p", "ppTerm": "?m.50", "assigned": true, "usedConstants": [ "Eq.mpr", "Polynomial.C", "Polynomial.eval", "HMul.hMul", "MulZeroClass.toMul", "Polynomial....
[]
rw [modByMonic_eq_sub_mul_div, eval_sub, eval_mul, eval_sub, eval_X, eval_C, sub_self, zero_mul, sub_zero]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Order.Filter.Finite
{ "line": 317, "column": 2 }
{ "line": 317, "column": 43 }
{ "line": 318, "column": 2 }
[ { "pp": "α : Type u\nl : Filter α\nι : Type u_1\ns : Set ι\nhs : s.Finite\nf g : ι → Set α\nhle : ∀ i ∈ s, f i ≤ᶠ[l] g i\nthis : Finite ↑s\n⊢ ⋃ i ∈ s, f i ≤ᶠ[l] ⋃ i ∈ s, g i", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Membership.mem", "Set...
[ "α : Type u\nl : Filter α\nι : Type u_1\ns : Set ι\nhs : s.Finite\nf g : ι → Set α\nhle : ∀ i ∈ s, f i ≤ᶠ[l] g i\nthis : Finite ↑s\n⊢ ⋃ x, f ↑x ≤ᶠ[l] ⋃ x, g ↑x" ]
rw [biUnion_eq_iUnion, biUnion_eq_iUnion]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Order.Filter.Bases.Finite
{ "line": 53, "column": 2 }
{ "line": 53, "column": 94 }
{ "line": 55, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set (Set α)\n⊢ generate s = generate (sInter '' {t | t.Finite ∧ t ⊆ s})", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.ofPred", "Set.Finite", "id", "Filter.IsBasis.filter", "Filter.HasBasis.isB...
[]
rw [← FilterBasis.ofSets_sets, FilterBasis.generate, ← (hasBasis_generate s).filter_eq]; rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Filter.Bases.Finite
{ "line": 53, "column": 2 }
{ "line": 53, "column": 94 }
{ "line": 55, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set (Set α)\n⊢ generate s = generate (sInter '' {t | t.Finite ∧ t ⊆ s})", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.ofPred", "Set.Finite", "id", "Filter.IsBasis.filter", "Filter.HasBasis.isB...
[]
rw [← FilterBasis.ofSets_sets, FilterBasis.generate, ← (hasBasis_generate s).filter_eq]; rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Polynomial.Derivative
{ "line": 796, "column": 19 }
{ "line": 796, "column": 31 }
{ "line": 796, "column": 31 }
[ { "pp": "R : Type u\ninst✝² : CommSemiring R\ninst✝¹ : NoZeroDivisors R\nn : ℕ\nchn : C ↑n ≠ 0\na : R[X]\ninst✝ : Nontrivial R\n⊢ derivative (a ^ n) = 0 ↔ derivative a = 0", "ppTerm": "?m.74", "assigned": true, "usedConstants": [ "Nontrivial", "Polynomial.C", "NonAssocSemiring.toAd...
[ "R : Type u\ninst✝² : CommSemiring R\ninst✝¹ : NoZeroDivisors R\nn : ℕ\nchn : ↑n ≠ 0\na : R[X]\ninst✝ : Nontrivial R\n⊢ derivative (a ^ n) = 0 ↔ derivative a = 0" ]
C_eq_natCast
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.Filter.Cofinite
{ "line": 214, "column": 6 }
{ "line": 214, "column": 30 }
{ "line": 214, "column": 31 }
[ { "pp": "p : ℕ → Prop\n⊢ (∃ᶠ (n : ℕ) in atTop, p n) ↔ {n | p n}.Infinite", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.ofPred", "id", "Filter.Frequently", "Filter.atTop", "Iff", "Nat.instPreorder", "Nat", ...
[ "p : ℕ → Prop\n⊢ (∃ᶠ (n : ℕ) in cofinite, p n) ↔ {n | p n}.Infinite" ]
← Nat.cofinite_eq_atTop,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.Filter.Cofinite
{ "line": 221, "column": 37 }
{ "line": 233, "column": 53 }
{ "line": 235, "column": 0 }
[ { "pp": "α : Type u_4\nβ : Type u_5\ninst✝ : LinearOrder β\ns : Set α\nhs : s.Nonempty\nf : α → β\nhf : Tendsto f cofinite atTop\n⊢ ∃ a₀ ∈ s, ∀ a ∈ s, f a₀ ≤ f a", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Mathlib.Tactic.Push.not_exists._simp_1", "Mathlib.Tactic.Push.not_a...
[]
by by_cases! all_top : ∃ y ∈ s, ∃ x, f y < x · -- the set of points `{y | f y < x}` is nonempty and finite, so we take `min` over this set rcases all_top with ⟨y, hys, x, hx⟩ have : { y | ¬x ≤ f y }.Finite := Filter.eventually_cofinite.mp (tendsto_atTop.1 hf x) simp only [not_le] at this obtain ⟨a₀,...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Multiset.Fintype
{ "line": 177, "column": 87 }
{ "line": 177, "column": 98 }
{ "line": 179, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\nm : Multiset α\n⊢ m.coeEquiv.toEmbedding.trans (Function.Embedding.subtype fun x ↦ x ∈ m.toEnumFinset) = m.coeEmbedding", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Multiset.coeEmbedding", "Finset", "Membership.mem", ...
[]
ext <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Data.Multiset.Fintype
{ "line": 177, "column": 87 }
{ "line": 177, "column": 98 }
{ "line": 179, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\nm : Multiset α\n⊢ m.coeEquiv.toEmbedding.trans (Function.Embedding.subtype fun x ↦ x ∈ m.toEnumFinset) = m.coeEmbedding", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Multiset.coeEmbedding", "Finset", "Membership.mem", ...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Multiset.Fintype
{ "line": 177, "column": 87 }
{ "line": 177, "column": 98 }
{ "line": 179, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\nm : Multiset α\n⊢ m.coeEquiv.toEmbedding.trans (Function.Embedding.subtype fun x ↦ x ∈ m.toEnumFinset) = m.coeEmbedding", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Multiset.coeEmbedding", "Finset", "Membership.mem", ...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Multiset.Fintype
{ "line": 301, "column": 29 }
{ "line": 301, "column": 54 }
{ "line": 303, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\nm : Multiset α\nv : α\nx : (v ::ₘ m).ToType\nhx : x.fst = v\nhx2 : ↑x.snd = count v m\n⊢ consEquiv x = none", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "dite_eq_left_of_eq_true", "Multiset.consEquiv._proof_1", "Equiv.instE...
[]
simp [consEquiv, hx, hx2]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.Multiset.Fintype
{ "line": 301, "column": 29 }
{ "line": 301, "column": 54 }
{ "line": 303, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\nm : Multiset α\nv : α\nx : (v ::ₘ m).ToType\nhx : x.fst = v\nhx2 : ↑x.snd = count v m\n⊢ consEquiv x = none", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "dite_eq_left_of_eq_true", "Multiset.consEquiv._proof_1", "Equiv.instE...
[]
simp [consEquiv, hx, hx2]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Multiset.Fintype
{ "line": 301, "column": 29 }
{ "line": 301, "column": 54 }
{ "line": 303, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : DecidableEq α\nm : Multiset α\nv : α\nx : (v ::ₘ m).ToType\nhx : x.fst = v\nhx2 : ↑x.snd = count v m\n⊢ consEquiv x = none", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "dite_eq_left_of_eq_true", "Multiset.consEquiv._proof_1", "Equiv.instE...
[]
simp [consEquiv, hx, hx2]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Polynomial.Roots
{ "line": 294, "column": 88 }
{ "line": 295, "column": 24 }
{ "line": 295, "column": 25 }
[ { "pp": "R : Type u\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nL : List R[X]\nhd : R[X]\ntl : List R[X]\nih : 0 ∉ tl → tl.prod.roots = (↑tl).bind roots\nH : ¬0 = hd ∧ 0 ∉ tl\n⊢ hd.roots + tl.prod.roots = (↑(hd :: tl)).bind roots", "ppTerm": "?m.81", "assigned": true, "usedConstants": [ "Eq.mpr"...
[ "R : Type u\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nL : List R[X]\nhd : R[X]\ntl : List R[X]\nih : 0 ∉ tl → tl.prod.roots = (↑tl).bind roots\nH : ¬0 = hd ∧ 0 ∉ tl\n⊢ hd.roots + tl.prod.roots = (hd ::ₘ ↑tl).bind roots" ]
← Multiset.cons_coe,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.UniqueFactorizationDomain.NormalizedFactors
{ "line": 308, "column": 2 }
{ "line": 308, "column": 34 }
{ "line": 309, "column": 2 }
[ { "pp": "α : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : NormalizationMonoid α\ninst✝ : UniqueFactorizationMonoid α\nx : α\nhx : IsUnit x\n⊢ normalizedFactors x = 0", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "UniqueFactorizationMonoid.normalizedFactors", "IsUnit", ...
[ "case inl\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : NormalizationMonoid α\ninst✝ : UniqueFactorizationMonoid α\nhx : IsUnit 0\n⊢ normalizedFactors 0 = 0", "case inr\nα : Type u_1\ninst✝² : CommMonoidWithZero α\ninst✝¹ : NormalizationMonoid α\ninst✝ : UniqueFactorizationMonoid α\nx : α\nhx : IsUnit x\...
obtain rfl | hx₀ := eq_or_ne x 0
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Algebra.Polynomial.Roots
{ "line": 428, "column": 48 }
{ "line": 430, "column": 55 }
{ "line": 432, "column": 0 }
[ { "pp": "R : Type u\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\nn : ℕ\nh : 0 < n\na x : R\n⊢ x ∈ nthRootsFinset n a ↔ x ^ n = a", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Multiset.toFinset", "Eq.mpr", "congrArg", "CommSemiring.toSemiring", "Finset", ...
[]
by classical rw [nthRootsFinset_def, mem_toFinset, mem_nthRoots h]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.UniqueFactorizationDomain.Basic
{ "line": 291, "column": 2 }
{ "line": 298, "column": 60 }
{ "line": 300, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : UniqueFactorizationMonoid α\np q : Multiset (Associates α)\n⊢ (∀ a ∈ p, Irreducible a) → (∀ a ∈ q, Irreducible a) → p.prod = q.prod → p = q", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "CommMonoidWithZero.toCommMonoid",...
[]
apply Multiset.induction_on_multiset_quot p apply Multiset.induction_on_multiset_quot q intro s t hs ht eq refine Multiset.map_mk_eq_map_mk_of_rel (UniqueFactorizationMonoid.factors_unique ?_ ?_ ?_) · exact fun a ha => irreducible_mk.1 <| hs _ <| Multiset.mem_map_of_mem _ ha · exact fun a ha => irreducible_mk...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.UniqueFactorizationDomain.Basic
{ "line": 291, "column": 2 }
{ "line": 298, "column": 60 }
{ "line": 300, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : UniqueFactorizationMonoid α\np q : Multiset (Associates α)\n⊢ (∀ a ∈ p, Irreducible a) → (∀ a ∈ q, Irreducible a) → p.prod = q.prod → p = q", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "CommMonoidWithZero.toCommMonoid",...
[]
apply Multiset.induction_on_multiset_quot p apply Multiset.induction_on_multiset_quot q intro s t hs ht eq refine Multiset.map_mk_eq_map_mk_of_rel (UniqueFactorizationMonoid.factors_unique ?_ ?_ ?_) · exact fun a ha => irreducible_mk.1 <| hs _ <| Multiset.mem_map_of_mem _ ha · exact fun a ha => irreducible_mk...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.UniqueFactorizationDomain.NormalizedFactors
{ "line": 403, "column": 6 }
{ "line": 403, "column": 37 }
{ "line": 403, "column": 37 }
[ { "pp": "case neg\nα : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : UniqueFactorizationMonoid α\nx : Associates α\nhx : ¬x = 0\nh : ⇑Associates.mkMonoidHom ∘ Classical.choose ⋯ = id\n⊢ failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representation)", "ppTerm": "?neg✝", ...
[]
apply prod_normalizedFactors hx
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.Algebra.Polynomial.Roots
{ "line": 509, "column": 2 }
{ "line": 509, "column": 46 }
{ "line": 510, "column": 2 }
[ { "pp": "S : Type v\nT : Type w\ninst✝⁵ : CommRing T\ninst✝⁴ : IsDomain T\ninst✝³ : CommRing S\ninst✝² : IsDomain S\ninst✝¹ : Algebra T S\ninst✝ : Module.IsTorsionFree T S\np : T[X]\na : S\n⊢ a ∈ p.aroots S ↔ p ≠ 0 ∧ (aeval a) p = 0", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "Po...
[ "S : Type v\nT : Type w\ninst✝⁵ : CommRing T\ninst✝⁴ : IsDomain T\ninst✝³ : CommRing S\ninst✝² : IsDomain S\ninst✝¹ : Algebra T S\ninst✝ : Module.IsTorsionFree T S\np : T[X]\na : S\n⊢ Function.Injective ⇑(algebraMap T S)" ]
rw [mem_aroots', Polynomial.map_ne_zero_iff]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.Polynomial.Content
{ "line": 163, "column": 2 }
{ "line": 164, "column": 12 }
{ "line": 165, "column": 2 }
[ { "pp": "case mp\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : NormalizedGCDMonoid R\np : R[X]\nh : ∀ x ∈ p.support, p.coeff x = 0\n⊢ p = 0", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "False", "AddMonoidAlgebra.semiring", "Finsupp.ext", ...
[ "case mpr\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : NormalizedGCDMonoid R\np : R[X]\nh : p = 0\n⊢ ∀ x ∈ p.support, p.coeff x = 0" ]
· ext n simp_all
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.RingTheory.Polynomial.Content
{ "line": 202, "column": 2 }
{ "line": 203, "column": 39 }
{ "line": 204, "column": 2 }
[ { "pp": "case mp\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : NormalizedGCDMonoid R\np : R[X]\nr : R\n⊢ r ∣ p.content → ∀ (i : ℕ), r ∣ p.coeff i", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Dvd.dvd", "CommRing.toNonUnitalCommRing", "CommSemir...
[ "case mpr\nR : Type u_1\ninst✝¹ : CommRing R\ninst✝ : NormalizedGCDMonoid R\np : R[X]\nr : R\n⊢ (∀ (i : ℕ), r ∣ p.coeff i) → r ∣ p.content" ]
· intro h i apply h.trans (content_dvd_coeff _)
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.RingTheory.UniqueFactorizationDomain.FactorSet
{ "line": 219, "column": 2 }
{ "line": 219, "column": 65 }
{ "line": 221, "column": 0 }
[ { "pp": "case h\nα : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : UniqueFactorizationMonoid α\na✝ : Associates α\nh : ¬a✝ = 0\na b : α\nhab : a ≈ b\n⊢ ∀ (a_1 : ¬⟦a⟧ = 0) (a' : ¬⟦b⟧ = 0), a_1 ≍ a' → ↑(factors' a) ≍ ↑(factors' b)", "ppTerm": "?h", "assigned": true, "usedConstants": [ "congrA...
[]
exact fun ha hb _ => heq_of_eq congr(some $(factors'_cong hab))
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.RingTheory.Polynomial.UniqueFactorization
{ "line": 141, "column": 8 }
{ "line": 141, "column": 37 }
{ "line": 141, "column": 38 }
[ { "pp": "σ : Type v\nD : Type u\ninst✝¹ : CommRing D\ninst✝ : UniqueFactorizationMonoid D\nd : ℕ\ns : Finset σ\na' : MvPolynomial (↥s) D\nha : (rename Subtype.val) a' ≠ 0\nw : Multiset (MvPolynomial (↥s) D)\nh : ∀ b ∈ w, Prime b\nu : (MvPolynomial (↥s) D)ˣ\nhw : w.prod * ↑u = a'\n⊢ (rename Subtype.val) w.prod *...
[ "σ : Type v\nD : Type u\ninst✝¹ : CommRing D\ninst✝ : UniqueFactorizationMonoid D\nd : ℕ\ns : Finset σ\na' : MvPolynomial (↥s) D\nha : (rename Subtype.val) a' ≠ 0\nw : Multiset (MvPolynomial (↥s) D)\nh : ∀ b ∈ w, Prime b\nu : (MvPolynomial (↥s) D)ˣ\nhw : w.prod * ↑u = a'\n⊢ (rename Subtype.val) w.prod * ↑(rename Su...
AlgHom.toRingHom_toMonoidHom,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Polynomial.Content
{ "line": 470, "column": 8 }
{ "line": 470, "column": 53 }
{ "line": 470, "column": 54 }
[ { "pp": "R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : NormalizedGCDMonoid R\nthis : DecidableEq R := Classical.decEq R\np q r : R[X]\nrprim : r.IsPrimitive\nhr : ∀ (s : R[X]), p.primPart ∣ s ∧ q.primPart ∣ s ↔ r ∣ s\ns : R[X]\nhs : ¬s = 0\nhpq : ¬C (lcm p.content q.content) = 0\na✝ : Nontrivial R\n⊢ (p.content ∣ ...
[ "R : Type u_1\ninst✝¹ : CommRing R\ninst✝ : NormalizedGCDMonoid R\nthis : DecidableEq R := Classical.decEq R\np q r : R[X]\nrprim : r.IsPrimitive\nhr : ∀ (s : R[X]), p.primPart ∣ s ∧ q.primPart ∣ s ↔ r ∣ s\ns : R[X]\nhs : ¬s = 0\nhpq : ¬C (lcm p.content q.content) = 0\na✝ : Nontrivial R\n⊢ (p.content ∣ s.content ∧ ...
(associated_content_mul ..).dvd_iff_dvd_left,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Algebraic.Basic
{ "line": 62, "column": 9 }
{ "line": 62, "column": 41 }
{ "line": 63, "column": 6 }
[ { "pp": "R : Type u\nA : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nr : A\nf : R[X]\nhf : f.natDegree ≠ 0\nhf' : f.leadingCoeff ∈ R⁰\np : R[X]\nh1 : p ≠ 0\nh2 : (aeval ((aeval r) f)) p = 0\nh : (p.comp f).coeff (p.natDegree * f.natDegree) = 0\n⊢ p = 0", "ppTerm": "?m.63", "assign...
[ "R : Type u\nA : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\nr : A\nf : R[X]\nhf : f.natDegree ≠ 0\nhf' : f.leadingCoeff ∈ R⁰\np : R[X]\nh1 : p ≠ 0\nh2 : (aeval ((aeval r) f)) p = 0\nh : p.leadingCoeff * f.leadingCoeff ^ p.natDegree = 0\n⊢ p = 0" ]
coeff_comp_degree_mul_degree hf,
Lean.Elab.Tactic.evalRwaAt
null
Mathlib.RingTheory.Algebraic.Basic
{ "line": 417, "column": 30 }
{ "line": 417, "column": 62 }
{ "line": 417, "column": 63 }
[ { "pp": "R : Type u_3\nS : Type u_4\nA : Type u_5\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : Ring A\ninst✝³ : Algebra R S\ninst✝² : Algebra S A\ninst✝¹ : Algebra R A\ninst✝ : IsScalarTower R S A\nhinj : Function.Injective ⇑(algebraMap R S)\nx : A\nA_alg : IsAlgebraic R x\np : R[X]\nhp₁ : p ≠ 0\nhp₂ : (...
[ "R : Type u_3\nS : Type u_4\nA : Type u_5\ninst✝⁶ : CommRing R\ninst✝⁵ : CommRing S\ninst✝⁴ : Ring A\ninst✝³ : Algebra R S\ninst✝² : Algebra S A\ninst✝¹ : Algebra R A\ninst✝ : IsScalarTower R S A\nhinj : Function.Injective ⇑(algebraMap R S)\nx : A\nA_alg : IsAlgebraic R x\np : R[X]\nhp₁ : p ≠ 0\nhp₂ : (aeval x) p =...
degree_map_eq_of_injective hinj,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.DirectedInverseSystem
{ "line": 144, "column": 2 }
{ "line": 144, "column": 61 }
{ "line": 146, "column": 0 }
[ { "pp": "ι : Type u_1\ninst✝³ : Preorder ι\nF : ι → Type u_4\nT : ⦃i j : ι⦄ → i ≤ j → Sort u_8\nf : (i j : ι) → (h : i ≤ j) → T h\ninst✝² : ⦃i j : ι⦄ → (h : i ≤ j) → FunLike (T h) (F i) (F j)\ninst✝¹ : DirectedSystem F fun x1 x2 x3 ↦ ⇑(f x1 x2 x3)\ninst✝ : IsDirectedOrder ι\nC : DirectLimit F f → DirectLimit F ...
[]
obtain ⟨_, _, _, rfl, rfl⟩ := exists_eq_mk₂ f x y; apply ih
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.DirectedInverseSystem
{ "line": 144, "column": 2 }
{ "line": 144, "column": 61 }
{ "line": 146, "column": 0 }
[ { "pp": "ι : Type u_1\ninst✝³ : Preorder ι\nF : ι → Type u_4\nT : ⦃i j : ι⦄ → i ≤ j → Sort u_8\nf : (i j : ι) → (h : i ≤ j) → T h\ninst✝² : ⦃i j : ι⦄ → (h : i ≤ j) → FunLike (T h) (F i) (F j)\ninst✝¹ : DirectedSystem F fun x1 x2 x3 ↦ ⇑(f x1 x2 x3)\ninst✝ : IsDirectedOrder ι\nC : DirectLimit F f → DirectLimit F ...
[]
obtain ⟨_, _, _, rfl, rfl⟩ := exists_eq_mk₂ f x y; apply ih
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Colimit.Module
{ "line": 260, "column": 2 }
{ "line": 264, "column": 23 }
{ "line": 266, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝⁶ : Semiring R\nι : Type u_2\ninst✝⁵ : Preorder ι\nG : ι → Type u_3\ninst✝⁴ : (i : ι) → AddCommMonoid (G i)\ninst✝³ : (i : ι) → Module R (G i)\nf : (i j : ι) → i ≤ j → G i →ₗ[R] G j\ninst✝² : DecidableEq ι\ninst✝¹ : DirectedSystem G fun x1 x2 x3 ↦ ⇑(f x1 x2 x3)\ninst✝ : IsDirectedOrd...
[]
have := Nonempty.intro i apply_fun linearEquiv _ _ at h simp_rw [linearEquiv_of] at h have ⟨j, h⟩ := Quotient.exact h exact ⟨j, h.1, h.2.2⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Colimit.Module
{ "line": 260, "column": 2 }
{ "line": 264, "column": 23 }
{ "line": 266, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝⁶ : Semiring R\nι : Type u_2\ninst✝⁵ : Preorder ι\nG : ι → Type u_3\ninst✝⁴ : (i : ι) → AddCommMonoid (G i)\ninst✝³ : (i : ι) → Module R (G i)\nf : (i j : ι) → i ≤ j → G i →ₗ[R] G j\ninst✝² : DecidableEq ι\ninst✝¹ : DirectedSystem G fun x1 x2 x3 ↦ ⇑(f x1 x2 x3)\ninst✝ : IsDirectedOrd...
[]
have := Nonempty.intro i apply_fun linearEquiv _ _ at h simp_rw [linearEquiv_of] at h have ⟨j, h⟩ := Quotient.exact h exact ⟨j, h.1, h.2.2⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.LinearAlgebra.TensorProduct.RightExactness
{ "line": 256, "column": 23 }
{ "line": 256, "column": 60 }
{ "line": 256, "column": 60 }
[ { "pp": "R : Type u_1\nM : Type u_2\nN : Type u_3\nP : Type u_4\ninst✝⁸ : CommRing R\ninst✝⁷ : AddCommGroup M\ninst✝⁶ : AddCommGroup N\ninst✝⁵ : AddCommGroup P\ninst✝⁴ : Module R M\ninst✝³ : Module R N\ninst✝² : Module R P\nf : M →ₗ[R] N\ng : N →ₗ[R] P\nQ : Type u_5\ninst✝¹ : AddCommGroup Q\ninst✝ : Module R Q\...
[ "R : Type u_1\nM : Type u_2\nN : Type u_3\nP : Type u_4\ninst✝⁸ : CommRing R\ninst✝⁷ : AddCommGroup M\ninst✝⁶ : AddCommGroup N\ninst✝⁵ : AddCommGroup P\ninst✝⁴ : Module R M\ninst✝³ : Module R N\ninst✝² : Module R P\nf : M →ₗ[R] N\ng : N →ₗ[R] P\nQ : Type u_5\ninst✝¹ : AddCommGroup Q\ninst✝ : Module R Q\nhfg : Exact...
lTensor.inverse_of_rightInverse_apply
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.TensorProduct.RightExactness
{ "line": 278, "column": 8 }
{ "line": 278, "column": 45 }
{ "line": 278, "column": 45 }
[ { "pp": "R : Type u_1\nM : Type u_2\nN : Type u_3\nP : Type u_4\ninst✝⁸ : CommRing R\ninst✝⁷ : AddCommGroup M\ninst✝⁶ : AddCommGroup N\ninst✝⁵ : AddCommGroup P\ninst✝⁴ : Module R M\ninst✝³ : Module R N\ninst✝² : Module R P\nf : M →ₗ[R] N\ng : N →ₗ[R] P\nQ : Type u_5\ninst✝¹ : AddCommGroup Q\ninst✝ : Module R Q\...
[ "R : Type u_1\nM : Type u_2\nN : Type u_3\nP : Type u_4\ninst✝⁸ : CommRing R\ninst✝⁷ : AddCommGroup M\ninst✝⁶ : AddCommGroup N\ninst✝⁵ : AddCommGroup P\ninst✝⁴ : Module R M\ninst✝³ : Module R N\ninst✝² : Module R P\nf : M →ₗ[R] N\ng : N →ₗ[R] P\nQ : Type u_5\ninst✝¹ : AddCommGroup Q\ninst✝ : Module R Q\nhfg : Exact...
lTensor.inverse_of_rightInverse_apply
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Nilpotent.Defs
{ "line": 175, "column": 2 }
{ "line": 175, "column": 7 }
{ "line": 176, "column": 2 }
[ { "pp": "R : Type u_1\nx y : R\ninst✝ : Semiring R\nh_comm : Commute x y\nn : ℕ\nhn : x ^ n = 0\n⊢ IsNilpotent (x * y)", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "HMul.hMul", "NPow.toPow", "instDistribOfSemiring", "HPow.hPow", "Distrib.toMul", "Nat"...
[ "case h\nR : Type u_1\nx y : R\ninst✝ : Semiring R\nh_comm : Commute x y\nn : ℕ\nhn : x ^ n = 0\n⊢ (x * y) ^ n = 0" ]
use n
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.Algebra.Colimit.DirectLimit
{ "line": 376, "column": 40 }
{ "line": 376, "column": 87 }
{ "line": 376, "column": 87 }
[ { "pp": "ι : Type u_2\ninst✝⁹ : Preorder ι\nG : ι → Type u_3\nH : ι → Type u_4\nC : Type u_5\nT : ⦃i j : ι⦄ → i ≤ j → Type u_6\nf : (x x_1 : ι) → (h : x ≤ x_1) → T h\ninst✝⁸ : (i j : ι) → (h : i ≤ j) → FunLike (T h) (G i) (G j)\ninst✝⁷ : (i : ι) → FunLike (H i) (G i) C\ninst✝⁶ : DirectedSystem G fun x1 x2 x3 ↦ ...
[]
by simp_rw [div₀_def, lift_def, map_div₀ (g i)]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Finset.Density
{ "line": 104, "column": 71 }
{ "line": 110, "column": 44 }
{ "line": 112, "column": 0 }
[ { "pp": "α : Type u_2\nβ : Type u_3\ninst✝¹ : Fintype α\ns : Finset α\ninst✝ : Fintype β\nf : α ↪ β\n⊢ (map f s).dens ≤ s.dens", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Fintype.card_le_of_injective", "div_le_div₀", "Eq.mpr", "GroupWithZero.toMonoidWithZero", ...
[]
by cases isEmpty_or_nonempty α · simp [Subsingleton.elim s ∅] simp_rw [dens, card_map] gcongr · exact mod_cast Fintype.card_pos · exact Fintype.card_le_of_injective _ f.2
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Colimit.DirectLimit
{ "line": 412, "column": 48 }
{ "line": 412, "column": 64 }
{ "line": 412, "column": 64 }
[ { "pp": "R : Type u_1\nι : Type u_2\ninst✝⁷ : Preorder ι\nG : ι → Type u_3\nH : ι → Type u_4\nC : Type u_5\nT : ⦃i j : ι⦄ → i ≤ j → Type u_6\nf : (x x_1 : ι) → (h : x ≤ x_1) → T h\ninst✝⁶ : (i j : ι) → (h : i ≤ j) → FunLike (T h) (G i) (G j)\ninst✝⁵ : (i : ι) → FunLike (H i) (G i) C\ninst✝⁴ : DirectedSystem G f...
[]
Int.cast_natCast
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Data.Int.Interval
{ "line": 125, "column": 6 }
{ "line": 125, "column": 15 }
{ "line": 125, "column": 16 }
[ { "pp": "a b : ℤ\nh : a ≤ b\n⊢ ↑(#(Ioc a b)) = b - a", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "HSub.hSub", "Int.card_Ioc", "id", "Int.instPreorder", "Int", "Int.instLocallyFiniteOrder", "Nat.cast", "in...
[ "a b : ℤ\nh : a ≤ b\n⊢ ↑(b - a).toNat = b - a" ]
card_Ioc,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Int.Interval
{ "line": 159, "column": 38 }
{ "line": 159, "column": 80 }
{ "line": 160, "column": 8 }
[ { "pp": "n a : ℤ\nh : 0 ≤ a\nha : 0 < a\ni : ℤ\nhi₀ : 0 ≤ i\nhia : i < a\nhn : n % a + a * (n / a) = n\nhi : i < n % a\n⊢ 0 + n % a + a * (n / a) ≤ i + a + a * (n / a)", "ppTerm": "?m.197", "assigned": true, "usedConstants": [ "Int.instDiv", "le_refl", "instHDiv", "HMul.hMul"...
[]
gcongr; exact (Int.emod_lt_of_pos n ha).le
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Int.Interval
{ "line": 159, "column": 38 }
{ "line": 159, "column": 80 }
{ "line": 160, "column": 8 }
[ { "pp": "n a : ℤ\nh : 0 ≤ a\nha : 0 < a\ni : ℤ\nhi₀ : 0 ≤ i\nhia : i < a\nhn : n % a + a * (n / a) = n\nhi : i < n % a\n⊢ 0 + n % a + a * (n / a) ≤ i + a + a * (n / a)", "ppTerm": "?m.197", "assigned": true, "usedConstants": [ "Int.instDiv", "le_refl", "instHDiv", "HMul.hMul"...
[]
gcongr; exact (Int.emod_lt_of_pos n ha).le
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.BigOperators.Ring.Nat
{ "line": 36, "column": 2 }
{ "line": 36, "column": 64 }
{ "line": 38, "column": 0 }
[ { "pp": "ι : Type u_1\ns : Finset ι\nf : ι → ℕ\n⊢ Odd (∑ i ∈ s, f i) ↔ Odd #({x ∈ s | Odd (f x)})", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "instDecidableNot", "Iff.of_eq", "congrArg", "_private.Mathlib.Algebra.BigOperators.Ring.Nat.0.Finset.odd_sum_iff_odd_ca...
[]
simp only [← Nat.not_even_iff_odd, even_sum_iff_even_card_odd]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.BigOperators.Ring.Nat
{ "line": 36, "column": 2 }
{ "line": 36, "column": 64 }
{ "line": 38, "column": 0 }
[ { "pp": "ι : Type u_1\ns : Finset ι\nf : ι → ℕ\n⊢ Odd (∑ i ∈ s, f i) ↔ Odd #({x ∈ s | Odd (f x)})", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "instDecidableNot", "Iff.of_eq", "congrArg", "_private.Mathlib.Algebra.BigOperators.Ring.Nat.0.Finset.odd_sum_iff_odd_ca...
[]
simp only [← Nat.not_even_iff_odd, even_sum_iff_even_card_odd]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.BigOperators.Ring.Nat
{ "line": 36, "column": 2 }
{ "line": 36, "column": 64 }
{ "line": 38, "column": 0 }
[ { "pp": "ι : Type u_1\ns : Finset ι\nf : ι → ℕ\n⊢ Odd (∑ i ∈ s, f i) ↔ Odd #({x ∈ s | Odd (f x)})", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "instDecidableNot", "Iff.of_eq", "congrArg", "_private.Mathlib.Algebra.BigOperators.Ring.Nat.0.Finset.odd_sum_iff_odd_ca...
[]
simp only [← Nat.not_even_iff_odd, even_sum_iff_even_card_odd]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.BigOperators.Ring.Nat
{ "line": 44, "column": 6 }
{ "line": 44, "column": 62 }
{ "line": 44, "column": 62 }
[ { "pp": "ι : Type u_1\nM : Type u_2\nf : ι → M\ns : Finset M\nhb : ∀ b ∈ s, {a | f a = b}.Finite\nt : Finset M := ⋯.toFinset\n⊢ Nat.card ↑(f ⁻¹' ↑s) = ∑ b ∈ s, Nat.card { a // f a = b }", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "inf_of_le_left"...
[ "ι : Type u_1\nM : Type u_2\nf : ι → M\ns : Finset M\nhb : ∀ b ∈ s, {a | f a = b}.Finite\nt : Finset M := ⋯.toFinset\n⊢ Nat.card ↑(f ⁻¹' ↑t) = ∑ b ∈ s, Nat.card { a // f a = b }" ]
show Nat.card (f ⁻¹' s) = Nat.card (f ⁻¹' t) by simp [t]
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.BigOperators.ModEq
{ "line": 190, "column": 58 }
{ "line": 193, "column": 31 }
{ "line": 195, "column": 0 }
[ { "pp": "α : Type u_1\nn : ℤ\nf : α → ℤ\ninst✝ : DecidableEq α\ns : Finset α\na : α\nhf : ∀ x ∈ s, x ≠ a → f x ≡ 1 [ZMOD n]\n⊢ ∏ x ∈ s, f x ≡ if a ∈ s then f a else 1 [ZMOD n]", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Int.instCommMonoid", "Int.cast", "Eq.mpr", ...
[]
by simp only [← modEq_natAbs (n := n), ← ZMod.intCast_eq_intCast_iff, cast_one, cast_prod, apply_ite Int.cast] at * exact Finset.prod_eq_ite _ hf
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.IsTensorProduct
{ "line": 513, "column": 10 }
{ "line": 513, "column": 12 }
{ "line": 513, "column": 13 }
[ { "pp": "R : Type u_1\nM : Type v₁\nN : Type v₂\ninst✝⁴ : AddCommMonoid M\ninst✝³ : AddCommMonoid N\ninst✝² : CommSemiring R\ninst✝¹ : Module R M\ninst✝ : Module R N\ne : M ≃ₗ[R] N\nQ : Type (max v₁ v₂ u_1)\n⊢ ∀ [inst : AddCommMonoid Q] [inst_1 : Module R Q] [inst_2 : Module R Q] [inst_3 : IsScalarTower R R Q] ...
[ "R : Type u_1\nM : Type v₁\nN : Type v₂\ninst✝⁴ : AddCommMonoid M\ninst✝³ : AddCommMonoid N\ninst✝² : CommSemiring R\ninst✝¹ : Module R M\ninst✝ : Module R N\ne : M ≃ₗ[R] N\nQ : Type (max v₁ v₂ u_1)\nI₁ : AddCommMonoid Q\n⊢ ∀ [inst : Module R Q] [inst_1 : Module R Q] [inst_2 : IsScalarTower R R Q] (g : M →ₗ[R] Q), ...
I₁
Lean.Elab.Tactic.evalIntro
ident
Mathlib.Data.Sym.Sym2
{ "line": 1062, "column": 14 }
{ "line": 1062, "column": 31 }
{ "line": 1064, "column": 0 }
[ { "pp": "case mk\nα : Type u_1\nι : Type u_4\nf : ι → Set α\nx✝ : Sym2 α\nx y : α\n⊢ Quot.mk (Rel α) (x, y) ∈ (⋂ i, f i).sym2 ↔ Quot.mk (Rel α) (x, y) ∈ ⋂ i, (f i).sym2", "ppTerm": "?mk", "assigned": true, "usedConstants": [ "Sym2.Rel", "Sym2.mk", "congrArg", "Set.iInter", ...
[]
simp [forall_and]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Combinatorics.Quiver.Basic
{ "line": 110, "column": 2 }
{ "line": 111, "column": 9 }
{ "line": 113, "column": 0 }
[ { "pp": "V : Type u_1\ninst✝ : Quiver V\nX Y X' Y' : V\nhX : X = X'\nhY : Y = Y'\nf g : X ⟶ Y\nh : homOfEq f hX hY = homOfEq g hX hY\n⊢ f = g", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Quiver.Hom", "Quiver.homOfEq", "Eq.rec", "Eq.refl", "Eq" ], "...
[]
subst hX hY exact h
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Combinatorics.Quiver.Basic
{ "line": 110, "column": 2 }
{ "line": 111, "column": 9 }
{ "line": 113, "column": 0 }
[ { "pp": "V : Type u_1\ninst✝ : Quiver V\nX Y X' Y' : V\nhX : X = X'\nhY : Y = Y'\nf g : X ⟶ Y\nh : homOfEq f hX hY = homOfEq g hX hY\n⊢ f = g", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Quiver.Hom", "Quiver.homOfEq", "Eq.rec", "Eq.refl", "Eq" ], "...
[]
subst hX hY exact h
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Category.Basic
{ "line": 296, "column": 33 }
{ "line": 296, "column": 71 }
{ "line": 298, "column": 0 }
[ { "pp": "C : Type u\ninst✝ : Category.{v, u} C\nX Y : C\nf g : X ⟶ Y\nw : (fun {Z} h ↦ f ≫ h) = fun {Z} h ↦ g ≫ h\nZ : C\nh : Y ⟶ Z\n⊢ f ≫ h = g ≫ h", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheory.CategoryStruct.toQuiver", "Quiver.Hom", "Ca...
[]
by convert congr_fun (congr_fun w Z) h
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.IsTensorProduct
{ "line": 756, "column": 34 }
{ "line": 756, "column": 58 }
{ "line": 756, "column": 59 }
[ { "pp": "R : Type u_1\nS : Type v₃\ninst✝²⁷ : CommSemiring R\ninst✝²⁶ : CommSemiring S\ninst✝²⁵ : Algebra R S\nT : Type u_4\ninst✝²⁴ : CommSemiring T\ninst✝²³ : Algebra R T\ninst✝²² : Algebra S T\ninst✝²¹ : IsScalarTower R S T\nR' : Type u_6\nS' : Type u_7\ninst✝²⁰ : CommSemiring R'\ninst✝¹⁹ : CommSemiring S'\n...
[ "R : Type u_1\nS : Type v₃\ninst✝²⁷ : CommSemiring R\ninst✝²⁶ : CommSemiring S\ninst✝²⁵ : Algebra R S\nT : Type u_4\ninst✝²⁴ : CommSemiring T\ninst✝²³ : Algebra R T\ninst✝²² : Algebra S T\ninst✝²¹ : IsScalarTower R S T\nR' : Type u_6\nS' : Type u_7\ninst✝²⁰ : CommSemiring R'\ninst✝¹⁹ : CommSemiring S'\ninst✝¹⁸ : Al...
algebraMap_apply R S S',
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.Products.Basic
{ "line": 112, "column": 39 }
{ "line": 120, "column": 51 }
{ "line": 122, "column": 0 }
[ { "pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nP Q : C\nS T : D\nf : (P, S) ⟶ (Q, T)\n⊢ IsIso f ↔ IsIso f.1 ∧ IsIso f.2", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "CategoryTheory.IsIso", "CategoryTheory.prod", "CategoryT...
[]
by constructor · rintro ⟨g, hfg, hgf⟩ rcases Prod.hom_ext_iff.1 hfg with ⟨hfg₁, hfg₂⟩ rcases Prod.hom_ext_iff.1 hgf with ⟨hgf₁, hgf₂⟩ exact ⟨⟨⟨g.1, hfg₁, hgf₁⟩⟩, ⟨⟨g.2, hfg₂, hgf₂⟩⟩⟩ · rintro ⟨⟨g₁, hfg₁, hgf₁⟩, ⟨g₂, hfg₂, hgf₂⟩⟩ dsimp at hfg₁ hgf₁ hfg₂ hgf₂ refine ⟨⟨(g₁, g₂), by aesop_cat, by ...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.CategoryTheory.Pi.Basic
{ "line": 220, "column": 2 }
{ "line": 224, "column": 9 }
{ "line": 226, "column": 0 }
[ { "pp": "case h_map\nI : Type w₀\nC : I → Type u₁\ninst✝¹ : (i : I) → Category.{v₁, u₁} (C i)\nA : Type u₃\ninst✝ : Category.{v₃, u₃} A\nf f' : A ⥤ ((i : I) → C i)\nh : ∀ (i : I), f ⋙ Pi.eval C i = f' ⋙ Pi.eval C i\n⊢ autoParam (∀ (X Y : A) (f_1 : X ⟶ Y), f.map f_1 = eqToHom ⋯ ≫ f'.map f_1 ≫ eqToHom ⋯) ext._aut...
[]
· intro X Y g funext i specialize h i have := congr_hom h g simpa
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.CategoryTheory.Functor.ReflectsIso.Basic
{ "line": 87, "column": 41 }
{ "line": 87, "column": 66 }
{ "line": 87, "column": 66 }
[ { "pp": "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\nD : Type u_2\ninst✝¹ : Category.{v_2, u_2} D\nF G : C ⥤ D\nα : F ≅ G\ninst✝ : F.ReflectsIsomorphisms\nA✝ B✝ : C\nf : A✝ ⟶ B✝\nx✝ : IsIso (G.map f)\n⊢ IsIso (F.map f)", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "C : Type u_1\ninst✝² : Category.{v_1, u_1} C\nD : Type u_2\ninst✝¹ : Category.{v_2, u_2} D\nF G : C ⥤ D\nα : F ≅ G\ninst✝ : F.ReflectsIsomorphisms\nA✝ B✝ : C\nf : A✝ ⟶ B✝\nx✝ : IsIso (G.map f)\n⊢ IsIso (α.hom.app A✝ ≫ G.map f ≫ α.inv.app B✝)" ]
← NatIso.naturality_2 α f
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.Category.Preorder
{ "line": 274, "column": 4 }
{ "line": 276, "column": 18 }
{ "line": 277, "column": 0 }
[ { "pp": "case mpr\nX : Type u\ninst✝ : PartialOrder X\na b : X\nf : a ⟶ b\n⊢ a = b → IsIso f", "ppTerm": "?mpr", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheory.IsIso", "CategoryTheory.CategoryStruct.toQuiver", "Quiver.Hom", "congrArg", "PartialOrde...
[]
rintro rfl rw [Subsingleton.elim f (𝟙 _)] infer_instance
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.Category.Preorder
{ "line": 274, "column": 4 }
{ "line": 276, "column": 18 }
{ "line": 277, "column": 0 }
[ { "pp": "case mpr\nX : Type u\ninst✝ : PartialOrder X\na b : X\nf : a ⟶ b\n⊢ a = b → IsIso f", "ppTerm": "?mpr", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheory.IsIso", "CategoryTheory.CategoryStruct.toQuiver", "Quiver.Hom", "congrArg", "PartialOrde...
[]
rintro rfl rw [Subsingleton.elim f (𝟙 _)] infer_instance
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Functor.EpiMono
{ "line": 148, "column": 4 }
{ "line": 148, "column": 43 }
{ "line": 149, "column": 4 }
[ { "pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nF : C ⥤ D\nG : D ⥤ C\nadj : F ⊣ G\nX Y : C\nf : X ⟶ Y\nhf : Epi f\nZ : D\ng h : F.obj Y ⟶ Z\nH : F.map f ≫ g = F.map f ≫ h\n⊢ g = h", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "Equiv.ins...
[ "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nF : C ⥤ D\nG : D ⥤ C\nadj : F ⊣ G\nX Y : C\nf : X ⟶ Y\nhf : Epi f\nZ : D\ng h : F.obj Y ⟶ Z\nH : (adj.homEquiv X Z) (F.map f ≫ g) = (adj.homEquiv X Z) (F.map f ≫ h)\n⊢ g = h" ]
replace H := congr(adj.homEquiv X Z $H)
Lean.Elab.Tactic.evalReplace
Lean.Parser.Tactic.replace
Mathlib.CategoryTheory.Yoneda
{ "line": 908, "column": 16 }
{ "line": 910, "column": 38 }
{ "line": 911, "column": 2 }
[ { "pp": "C : Type u₁\ninst✝ : Category.{v₁, u₁} C\nX : C\nF : Cᵒᵖ ⥤ Type (max w v₁)\nτ : uliftYoneda.{w, v₁, u₁}.obj X ⟶ F\n⊢ (fun x ↦ { app := fun Y ↦ ↾fun y ↦ (ConcreteCategory.hom (F.map (Quiver.Hom.op y.down))) x, naturality := ⋯ })\n ((fun τ ↦ (ConcreteCategory.hom (τ.app (op X))) { down := 𝟙 (unop (...
[]
by ext ⟨Y⟩ ⟨y⟩ simp [← NatTrans.naturality_apply]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.CategoryTheory.Limits.Preserves.Basic
{ "line": 253, "column": 8 }
{ "line": 253, "column": 38 }
{ "line": 253, "column": 38 }
[ { "pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nJ : Type w\ninst✝² : Category.{w', w} J\nJ' : Type w₂\ninst✝¹ : Category.{w₂', w₂} J'\ne : J ≌ J'\nF : C ⥤ D\ninst✝ : PreservesLimitsOfShape J F\nK : J' ⥤ C\nc : Cone K\nt : IsLimit c\nequ : e.inverse ⋙ e.functor ⋙ K ...
[]
simp [equ, ← Functor.map_comp]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.CategoryTheory.Limits.Shapes.IsTerminal
{ "line": 333, "column": 61 }
{ "line": 333, "column": 90 }
{ "line": 333, "column": 90 }
[ { "pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nD : Type u_2\ninst✝ : Category.{v_2, u_2} D\nX : D\nhX : IsTerminal X\n⊢ ∀ (Y : C ⥤ D) (m : Y ⟶ (const C).obj X), m = { app := fun Z ↦ hX.from (Y.obj Z), naturality := ⋯ }", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Category...
[]
intros; ext; apply hX.hom_ext
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.Limits.Shapes.IsTerminal
{ "line": 333, "column": 61 }
{ "line": 333, "column": 90 }
{ "line": 333, "column": 90 }
[ { "pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nD : Type u_2\ninst✝ : Category.{v_2, u_2} D\nX : D\nhX : IsTerminal X\n⊢ ∀ (Y : C ⥤ D) (m : Y ⟶ (const C).obj X), m = { app := fun Z ↦ hX.from (Y.obj Z), naturality := ⋯ }", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Category...
[]
intros; ext; apply hX.hom_ext
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Limits.Shapes.BinaryProducts.BinaryFan
{ "line": 206, "column": 2 }
{ "line": 209, "column": 68 }
{ "line": 211, "column": 0 }
[ { "pp": "case mpr\nC : Type u\ninst✝ : Category.{v, u} C\nX Y : C\nh : IsTerminal Y\nc : BinaryFan X Y\n⊢ IsIso c.fst → Nonempty (IsLimit c)", "ppTerm": "?mpr", "assigned": true, "usedConstants": [ "CategoryTheory.Category.assoc", "CategoryTheory.Limits.BinaryFan.fst", "CategoryThe...
[]
· intro exact ⟨BinaryFan.IsLimit.mk _ (fun f _ => f ≫ inv c.fst) (fun _ _ => by simp) (fun _ _ => h.hom_ext _ _) fun _ _ _ e _ => by simp [← e]⟩
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.CategoryTheory.Limits.Shapes.WidePullbacks
{ "line": 154, "column": 10 }
{ "line": 154, "column": 55 }
{ "line": 154, "column": 56 }
[ { "pp": "J : Type w\nC : Type u\ninst✝ : Category.{v, u} C\nF : WidePullbackShape J ⥤ C\nX : C\nf✝ : X ⟶ F.obj none\nπ : (j : J) → X ⟶ F.obj (some j)\nw : ∀ (j : J), π j ≫ F.map (Hom.term j) = f✝\nj j' : WidePullbackShape J\nf : j ⟶ j'\n⊢ (((Functor.const (WidePullbackShape J)).obj X).map f ≫\n match j' wi...
[]
cases j <;> cases j' <;> cases f <;> simp [w]
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.CategoryTheory.Limits.Shapes.WidePullbacks
{ "line": 154, "column": 10 }
{ "line": 154, "column": 55 }
{ "line": 154, "column": 56 }
[ { "pp": "J : Type w\nC : Type u\ninst✝ : Category.{v, u} C\nF : WidePullbackShape J ⥤ C\nX : C\nf✝ : X ⟶ F.obj none\nπ : (j : J) → X ⟶ F.obj (some j)\nw : ∀ (j : J), π j ≫ F.map (Hom.term j) = f✝\nj j' : WidePullbackShape J\nf : j ⟶ j'\n⊢ (((Functor.const (WidePullbackShape J)).obj X).map f ≫\n match j' wi...
[]
cases j <;> cases j' <;> cases f <;> simp [w]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.Limits.Shapes.WidePullbacks
{ "line": 154, "column": 10 }
{ "line": 154, "column": 55 }
{ "line": 154, "column": 56 }
[ { "pp": "J : Type w\nC : Type u\ninst✝ : Category.{v, u} C\nF : WidePullbackShape J ⥤ C\nX : C\nf✝ : X ⟶ F.obj none\nπ : (j : J) → X ⟶ F.obj (some j)\nw : ∀ (j : J), π j ≫ F.map (Hom.term j) = f✝\nj j' : WidePullbackShape J\nf : j ⟶ j'\n⊢ (((Functor.const (WidePullbackShape J)).obj X).map f ≫\n match j' wi...
[]
cases j <;> cases j' <;> cases f <;> simp [w]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Limits.Shapes.Pullback.PullbackCone
{ "line": 334, "column": 23 }
{ "line": 335, "column": 84 }
{ "line": 335, "column": 85 }
[ { "pp": "C : Type u\ninst✝ : Category.{v, u} C\nW✝ X Y Z : C\nf : X ⟶ Y\ng : X ⟶ Z\nW : C\ninl : Y ⟶ W\ninr : Z ⟶ W\neq : f ≫ inl = g ≫ inr\n⊢ ∀ ⦃X_1 Y_1 : WalkingSpan⦄ (f_1 : X_1 ⟶ Y_1),\n ((span f g).map f_1 ≫ Option.casesOn Y_1 (f ≫ inl) fun j' ↦ WalkingPair.casesOn j' inl inr) =\n (Option.casesOn X_...
[]
by rintro (⟨⟩ | ⟨⟨⟩⟩) (⟨⟩ | ⟨⟨⟩⟩) <;> intro f <;> cases f <;> dsimp <;> aesop
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.CategoryTheory.Limits.Shapes.Equalizers
{ "line": 156, "column": 6 }
{ "line": 156, "column": 28 }
{ "line": 157, "column": 6 }
[ { "pp": "i j : WalkingParallelPairᵒᵖ\nf : i ⟶ j\n⊢ (walkingParallelPairOp.leftOp ⋙ walkingParallelPairOp).map f ≫ (eqToIso ⋯).hom =\n (eqToIso ⋯).hom ≫ (𝟭 WalkingParallelPairᵒᵖ).map f", "ppTerm": "?m.233", "assigned": true, "usedConstants": [ "Opposite", "CategoryTheory.CategoryStruc...
[ "case op\nj : WalkingParallelPairᵒᵖ\ni : WalkingParallelPair\nf : op i ⟶ j\n⊢ (walkingParallelPairOp.leftOp ⋙ walkingParallelPairOp).map f ≫ (eqToIso ⋯).hom =\n (eqToIso ⋯).hom ≫ (𝟭 WalkingParallelPairᵒᵖ).map f" ]
induction i with | _ i
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
Lean.Parser.Tactic.induction
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 469, "column": 20 }
{ "line": 469, "column": 34 }
{ "line": 469, "column": 35 }
[ { "pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nS : D\nT : C ⥤ D\nf : StructuredArrow S T\nh : f.IsUniversal\nc : C\nη η' : f.right ⟶ c\nw : f.hom ≫ T.map η = f.hom ≫ T.map η'\n⊢ h.desc (mk (f.hom ≫ T.map η)) = η'", "ppTerm": "?m.80", "assigned": true, "...
[ "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nS : D\nT : C ⥤ D\nf : StructuredArrow S T\nh : f.IsUniversal\nc : C\nη η' : f.right ⟶ c\nw : f.hom ≫ T.map η = f.hom ≫ T.map η'\n⊢ h.desc (mk (f.hom ≫ T.map η)) = h.desc (mk (f.hom ≫ T.map η'))" ]
h.hom_desc η',
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.MorphismProperty.Factorization
{ "line": 115, "column": 2 }
{ "line": 123, "column": 37 }
{ "line": 125, "column": 0 }
[ { "pp": "C : Type u_1\ninst✝ : Category.{v_1, u_1} C\nW₁ W₂ : MorphismProperty C\n⊢ W₁.comp W₂ = ⊤ ↔ W₁.HasFactorization W₂", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheory.MorphismProperty", "CategoryTheory.CategoryStruct.toQuiver", "Quiver...
[]
constructor · intro h refine ⟨fun f => ?_⟩ have : W₁.comp W₂ f := by simp only [h, top_apply] exact ⟨this.some⟩ · intro ext X Y f simp only [top_apply, iff_true] exact ⟨factorizationData W₁ W₂ f⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.MorphismProperty.Factorization
{ "line": 115, "column": 2 }
{ "line": 123, "column": 37 }
{ "line": 125, "column": 0 }
[ { "pp": "C : Type u_1\ninst✝ : Category.{v_1, u_1} C\nW₁ W₂ : MorphismProperty C\n⊢ W₁.comp W₂ = ⊤ ↔ W₁.HasFactorization W₂", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Eq.mpr", "CategoryTheory.MorphismProperty", "CategoryTheory.CategoryStruct.toQuiver", "Quiver...
[]
constructor · intro h refine ⟨fun f => ?_⟩ have : W₁.comp W₂ f := by simp only [h, top_apply] exact ⟨this.some⟩ · intro ext X Y f simp only [top_apply, iff_true] exact ⟨factorizationData W₁ W₂ f⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Limits.Shapes.Images
{ "line": 768, "column": 56 }
{ "line": 769, "column": 49 }
{ "line": 771, "column": 0 }
[ { "pp": "C : Type u\ninst✝² : Category.{v, u} C\nf g : Arrow C\ninst✝¹ : HasImage f.hom\ninst✝ : HasImage g.hom\nsq : f ⟶ g\nF G : ImageMap sq\n⊢ F.map = G.map", "ppTerm": "?m.60", "assigned": true, "usedConstants": [ "CategoryTheory.Limits.ImageMap.map_uniq_aux", "CategoryTheory.Limits....
[]
by apply ImageMap.map_uniq_aux _ F.map_ι _ G.map_ι
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.CategoryTheory.Limits.Preserves.Shapes.Zero
{ "line": 57, "column": 24 }
{ "line": 59, "column": 33 }
{ "line": 61, "column": 0 }
[ { "pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\ninst✝² : HasZeroMorphisms C\ninst✝¹ : HasZeroMorphisms D\nF : C ⥤ D\ninst✝ : F.PreservesZeroMorphisms\nX : C\nhX : IsZero X\n⊢ IsZero (F.obj X)", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ ...
[]
by simp only [IsZero.iff_id_eq_zero] at hX ⊢ rw [← F.map_id, hX, F.map_zero]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 905, "column": 20 }
{ "line": 905, "column": 34 }
{ "line": 905, "column": 35 }
[ { "pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nT : D\nS : C ⥤ D\nf : CostructuredArrow S T\nh : f.IsUniversal\nc : C\nη η' : c ⟶ f.left\nw : S.map η ≫ f.hom = S.map η' ≫ f.hom\n⊢ h.lift (mk (S.map η ≫ f.hom)) = η'", "ppTerm": "?m.80", "assigned": true, ...
[ "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\nT : D\nS : C ⥤ D\nf : CostructuredArrow S T\nh : f.IsUniversal\nc : C\nη η' : c ⟶ f.left\nw : S.map η ≫ f.hom = S.map η' ≫ f.hom\n⊢ h.lift (mk (S.map η ≫ f.hom)) = h.lift (mk (S.map η' ≫ f.hom))" ]
h.hom_desc η',
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 995, "column": 29 }
{ "line": 995, "column": 51 }
{ "line": 995, "column": 51 }
[ { "pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nA : Type u₃\ninst✝¹ : Category.{v₃, u₃} A\nB : Type u₄\ninst✝ : Category.{v₄, u₄} B\nF : C ⥤ D\nd : D\nX✝ Y✝ : (StructuredArrow (op d) F.op)ᵒᵖ\nf : X✝ ⟶ Y✝\n⊢ (F.map (Hom.right f.unop).unop ≫ (CostructuredArrow.mk (un...
[]
simp [dsimp% f.unop.w]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 995, "column": 29 }
{ "line": 995, "column": 51 }
{ "line": 995, "column": 51 }
[ { "pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nA : Type u₃\ninst✝¹ : Category.{v₃, u₃} A\nB : Type u₄\ninst✝ : Category.{v₄, u₄} B\nF : C ⥤ D\nd : D\nX✝ Y✝ : (StructuredArrow (op d) F.op)ᵒᵖ\nf : X✝ ⟶ Y✝\n⊢ (F.map (Hom.right f.unop).unop ≫ (CostructuredArrow.mk (un...
[]
simp [dsimp% f.unop.w]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 995, "column": 29 }
{ "line": 995, "column": 51 }
{ "line": 995, "column": 51 }
[ { "pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nA : Type u₃\ninst✝¹ : Category.{v₃, u₃} A\nB : Type u₄\ninst✝ : Category.{v₄, u₄} B\nF : C ⥤ D\nd : D\nX✝ Y✝ : (StructuredArrow (op d) F.op)ᵒᵖ\nf : X✝ ⟶ Y✝\n⊢ (F.map (Hom.right f.unop).unop ≫ (CostructuredArrow.mk (un...
[]
simp [dsimp% f.unop.w]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Limits.Shapes.ZeroMorphisms
{ "line": 79, "column": 2 }
{ "line": 82, "column": 28 }
{ "line": 83, "column": 2 }
[ { "pp": "C : Type u\ninst✝ : Category.{v, u} C\nI J : HasZeroMorphisms C\nw : ∀ (X Y : C), Zero.zero = Zero.zero\n⊢ I = J", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "CategoryTheory.CategoryStruct.toQuiver", "Quiver.Hom", "congrArg", "Zero.zero", "Category...
[ "C : Type u\ninst✝ : Category.{v, u} C\nI J : HasZeroMorphisms C\nw : ∀ (X Y : C), Zero.zero = Zero.zero\nthis : zero = zero\n⊢ I = J" ]
have : I.zero = J.zero := by funext X Y specialize w X Y apply congrArg Zero.mk w
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 1021, "column": 29 }
{ "line": 1021, "column": 51 }
{ "line": 1021, "column": 51 }
[ { "pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nA : Type u₃\ninst✝¹ : Category.{v₃, u₃} A\nB : Type u₄\ninst✝ : Category.{v₄, u₄} B\nF : C ⥤ D\nd : D\nX✝ Y✝ : (CostructuredArrow F.op (op d))ᵒᵖ\nf : X✝ ⟶ Y✝\n⊢ ((StructuredArrow.mk (unop X✝).hom.unop).hom ≫ F.map (Ho...
[]
simp [dsimp% f.unop.w]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 1021, "column": 29 }
{ "line": 1021, "column": 51 }
{ "line": 1021, "column": 51 }
[ { "pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nA : Type u₃\ninst✝¹ : Category.{v₃, u₃} A\nB : Type u₄\ninst✝ : Category.{v₄, u₄} B\nF : C ⥤ D\nd : D\nX✝ Y✝ : (CostructuredArrow F.op (op d))ᵒᵖ\nf : X✝ ⟶ Y✝\n⊢ ((StructuredArrow.mk (unop X✝).hom.unop).hom ≫ F.map (Ho...
[]
simp [dsimp% f.unop.w]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 1021, "column": 29 }
{ "line": 1021, "column": 51 }
{ "line": 1021, "column": 51 }
[ { "pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nA : Type u₃\ninst✝¹ : Category.{v₃, u₃} A\nB : Type u₄\ninst✝ : Category.{v₄, u₄} B\nF : C ⥤ D\nd : D\nX✝ Y✝ : (CostructuredArrow F.op (op d))ᵒᵖ\nf : X✝ ⟶ Y✝\n⊢ ((StructuredArrow.mk (unop X✝).hom.unop).hom ≫ F.map (Ho...
[]
simp [dsimp% f.unop.w]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 1038, "column": 6 }
{ "line": 1038, "column": 75 }
{ "line": 1038, "column": 75 }
[ { "pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nA : Type u₃\ninst✝¹ : Category.{v₃, u₃} A\nB : Type u₄\ninst✝ : Category.{v₄, u₄} B\nF : C ⥤ D\nd : D\nX : C\nx : d ⟶ F.obj X\nY : C\ny : d ⟶ F.obj Y\nf : op (StructuredArrow.mk x) ⟶ op (StructuredArrow.mk y)\n⊢ (𝟭 (...
[]
exact Quiver.Hom.unop_inj (by ext; apply Quiver.Hom.op_inj (by simp))
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 1056, "column": 6 }
{ "line": 1056, "column": 75 }
{ "line": 1056, "column": 75 }
[ { "pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nA : Type u₃\ninst✝¹ : Category.{v₃, u₃} A\nB : Type u₄\ninst✝ : Category.{v₄, u₄} B\nF : C ⥤ D\nd : D\nX : C\nx : F.obj X ⟶ d\nY : C\ny : F.obj Y ⟶ d\nf : op (CostructuredArrow.mk x) ⟶ op (CostructuredArrow.mk y)\n⊢ (...
[]
exact Quiver.Hom.unop_inj (by ext; apply Quiver.Hom.op_inj (by simp))
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 1082, "column": 4 }
{ "line": 1083, "column": 64 }
{ "line": 1085, "column": 0 }
[ { "pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nA : Type u₃\ninst✝² : Category.{v₃, u₃} A\nB : Type u₄\ninst✝¹ : Category.{v₄, u₄} B\nE : Type u₃\ninst✝ : Category.{v₃, u₃} E\nF : C ⥤ D\nG : D ⥤ E\ne : E\nf : StructuredArrow e G\nX✝ Y✝ : StructuredArrow f.right F\n...
[]
simp only [Functor.comp_obj, mk_right, mk_hom_eq_self, Functor.comp_map, Category.assoc, ← w φ, Functor.map_comp]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 1082, "column": 4 }
{ "line": 1083, "column": 64 }
{ "line": 1085, "column": 0 }
[ { "pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nA : Type u₃\ninst✝² : Category.{v₃, u₃} A\nB : Type u₄\ninst✝¹ : Category.{v₄, u₄} B\nE : Type u₃\ninst✝ : Category.{v₃, u₃} E\nF : C ⥤ D\nG : D ⥤ E\ne : E\nf : StructuredArrow e G\nX✝ Y✝ : StructuredArrow f.right F\n...
[]
simp only [Functor.comp_obj, mk_right, mk_hom_eq_self, Functor.comp_map, Category.assoc, ← w φ, Functor.map_comp]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.Comma.StructuredArrow.Basic
{ "line": 1082, "column": 4 }
{ "line": 1083, "column": 64 }
{ "line": 1085, "column": 0 }
[ { "pp": "C : Type u₁\ninst✝⁴ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝³ : Category.{v₂, u₂} D\nA : Type u₃\ninst✝² : Category.{v₃, u₃} A\nB : Type u₄\ninst✝¹ : Category.{v₄, u₄} B\nE : Type u₃\ninst✝ : Category.{v₃, u₃} E\nF : C ⥤ D\nG : D ⥤ E\ne : E\nf : StructuredArrow e G\nX✝ Y✝ : StructuredArrow f.right F\n...
[]
simp only [Functor.comp_obj, mk_right, mk_hom_eq_self, Functor.comp_map, Category.assoc, ← w φ, Functor.map_comp]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Limits.Shapes.ZeroMorphisms
{ "line": 394, "column": 2 }
{ "line": 394, "column": 38 }
{ "line": 395, "column": 2 }
[ { "pp": "C : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\ninst✝¹ : HasZeroMorphisms C\ninst✝ : HasZeroObject C\nX Y : C\n⊢ IsIso 0 ≃ (X ≅ 0) × (Y ≅ 0)", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "CategoryTheory.IsIso", "CategoryTheory.Categ...
[ "C : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\ninst✝¹ : HasZeroMorphisms C\ninst✝ : HasZeroObject C\nX Y : C\n⊢ 𝟙 X = 0 ∧ 𝟙 Y = 0 ≃ (X ≅ 0) × (Y ≅ 0)" ]
refine (isIsoZeroEquiv X Y).trans ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.CategoryTheory.Limits.Shapes.ZeroMorphisms
{ "line": 403, "column": 6 }
{ "line": 403, "column": 37 }
{ "line": 404, "column": 4 }
[ { "pp": "case invFun.fst\nC : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\ninst✝¹ : HasZeroMorphisms C\ninst✝ : HasZeroObject C\nX Y : C\nhX : 𝟙 X = 0\nhY : 𝟙 Y = 0\n⊢ X ≅ 0", "ppTerm": "?invFun.fst", "assigned": true, "usedConstants": [ "Equiv.instEquivLike...
[]
exact (idZeroEquivIsoZero X) hX
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.CategoryTheory.Limits.Shapes.ZeroMorphisms
{ "line": 403, "column": 6 }
{ "line": 403, "column": 37 }
{ "line": 404, "column": 4 }
[ { "pp": "case invFun.fst\nC : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\ninst✝¹ : HasZeroMorphisms C\ninst✝ : HasZeroObject C\nX Y : C\nhX : 𝟙 X = 0\nhY : 𝟙 Y = 0\n⊢ X ≅ 0", "ppTerm": "?invFun.fst", "assigned": true, "usedConstants": [ "Equiv.instEquivLike...
[]
exact (idZeroEquivIsoZero X) hX
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.Limits.Shapes.ZeroMorphisms
{ "line": 403, "column": 6 }
{ "line": 403, "column": 37 }
{ "line": 404, "column": 4 }
[ { "pp": "case invFun.fst\nC : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\ninst✝¹ : HasZeroMorphisms C\ninst✝ : HasZeroObject C\nX Y : C\nhX : 𝟙 X = 0\nhY : 𝟙 Y = 0\n⊢ X ≅ 0", "ppTerm": "?invFun.fst", "assigned": true, "usedConstants": [ "Equiv.instEquivLike...
[]
exact (idZeroEquivIsoZero X) hX
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Limits.Shapes.ZeroMorphisms
{ "line": 663, "column": 30 }
{ "line": 663, "column": 70 }
{ "line": 665, "column": 0 }
[ { "pp": "C : Type u\ninst✝³ : Category.{v, u} C\nD : Type u'\ninst✝² : Category.{v', u'} D\ninst✝¹ : HasZeroMorphisms C\nX Y : C\ninst✝ : HasBinaryProduct X Y\nZ✝ : C\nx✝¹ x✝ : Z✝ ⟶ Y\ne : x✝¹ ≫ prod.inr X Y = x✝ ≫ prod.inr X Y\n⊢ x✝¹ = x✝", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ ...
[]
by simpa using congrArg (· ≫ prod.snd) e
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.CategoryTheory.Limits.Shapes.Kernels
{ "line": 209, "column": 7 }
{ "line": 209, "column": 60 }
{ "line": 209, "column": 60 }
[ { "pp": "C : Type u\ninst✝¹ : Category.{v, u} C\ninst✝ : HasZeroMorphisms C\nX✝ Y✝ : C\nf : X✝ ⟶ Y✝\nX Y : C\ng : X ⟶ Y\nc : KernelFork g\nhc : IsLimit c\nX' Y' : C\ng' : X' ⟶ Y'\ne : X ≅ X'\niff : ∀ ⦃W : C⦄ (φ : W ⟶ X), φ ≫ g = 0 ↔ φ ≫ e.hom ≫ g' = 0\nW'✝ : C\ns : W'✝ ⟶ X'\nhs : s ≫ g' = 0\n⊢ (s ≫ e.inv) ≫ g =...
[]
by rw [iff, Category.assoc, Iso.inv_hom_id_assoc, hs]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.CategoryTheory.Limits.Shapes.Kernels
{ "line": 1209, "column": 8 }
{ "line": 1209, "column": 78 }
{ "line": 1209, "column": 78 }
[ { "pp": "C : Type u\ninst✝⁸ : Category.{v, u} C\ninst✝⁷ : HasZeroMorphisms C\nX Y : C\nf : X ⟶ Y\nD : Type u₂\ninst✝⁶ : Category.{v₂, u₂} D\ninst✝⁵ : HasZeroMorphisms D\nG : C ⥤ D\ninst✝⁴ : G.PreservesZeroMorphisms\nX' Y' : C\ninst✝³ : HasKernel f\ninst✝² : HasKernel (G.map f)\ng : X' ⟶ Y'\ninst✝¹ : HasKernel g...
[]
simp only [← G.map_comp]; exact G.congr_map (kernel.lift_ι _ _ _).symm
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.Limits.Shapes.Kernels
{ "line": 1209, "column": 8 }
{ "line": 1209, "column": 78 }
{ "line": 1209, "column": 78 }
[ { "pp": "C : Type u\ninst✝⁸ : Category.{v, u} C\ninst✝⁷ : HasZeroMorphisms C\nX Y : C\nf : X ⟶ Y\nD : Type u₂\ninst✝⁶ : Category.{v₂, u₂} D\ninst✝⁵ : HasZeroMorphisms D\nG : C ⥤ D\ninst✝⁴ : G.PreservesZeroMorphisms\nX' Y' : C\ninst✝³ : HasKernel f\ninst✝² : HasKernel (G.map f)\ng : X' ⟶ Y'\ninst✝¹ : HasKernel g...
[]
simp only [← G.map_comp]; exact G.congr_map (kernel.lift_ι _ _ _).symm
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Limits.Shapes.Grothendieck
{ "line": 78, "column": 6 }
{ "line": 79, "column": 25 }
{ "line": 80, "column": 4 }
[ { "pp": "case e_a.w_base\nC : Type u₁\ninst✝² : Category.{v₁, u₁} C\nF : C ⥤ Cat\nH : Type u₂\ninst✝¹ : Category.{v₂, u₂} H\nG : Grothendieck F ⥤ H\ninst✝ : ∀ {X Y : C} (f : X ⟶ Y), HasColimit ((F.map f).toFunctor ⋙ Grothendieck.ι F Y ⋙ G)\nX Y Z : C\nf : X ⟶ Y\ng : Y ⟶ Z\nd : ↑(F.obj X)\n⊢ { base := f ≫ g, fib...
[]
simp only [eqToHom_refl, Category.assoc, Grothendieck.comp_base, Category.comp_id]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.CategoryTheory.Limits.Shapes.Grothendieck
{ "line": 78, "column": 6 }
{ "line": 79, "column": 25 }
{ "line": 80, "column": 4 }
[ { "pp": "case e_a.w_base\nC : Type u₁\ninst✝² : Category.{v₁, u₁} C\nF : C ⥤ Cat\nH : Type u₂\ninst✝¹ : Category.{v₂, u₂} H\nG : Grothendieck F ⥤ H\ninst✝ : ∀ {X Y : C} (f : X ⟶ Y), HasColimit ((F.map f).toFunctor ⋙ Grothendieck.ι F Y ⋙ G)\nX Y Z : C\nf : X ⟶ Y\ng : Y ⟶ Z\nd : ↑(F.obj X)\n⊢ { base := f ≫ g, fib...
[]
simp only [eqToHom_refl, Category.assoc, Grothendieck.comp_base, Category.comp_id]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.CategoryTheory.Limits.Shapes.Grothendieck
{ "line": 78, "column": 6 }
{ "line": 79, "column": 25 }
{ "line": 80, "column": 4 }
[ { "pp": "case e_a.w_base\nC : Type u₁\ninst✝² : Category.{v₁, u₁} C\nF : C ⥤ Cat\nH : Type u₂\ninst✝¹ : Category.{v₂, u₂} H\nG : Grothendieck F ⥤ H\ninst✝ : ∀ {X Y : C} (f : X ⟶ Y), HasColimit ((F.map f).toFunctor ⋙ Grothendieck.ι F Y ⋙ G)\nX Y Z : C\nf : X ⟶ Y\ng : Y ⟶ Z\nd : ↑(F.obj X)\n⊢ { base := f ≫ g, fib...
[]
simp only [eqToHom_refl, Category.assoc, Grothendieck.comp_base, Category.comp_id]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.CategoryTheory.Limits.Types.ColimitType
{ "line": 225, "column": 15 }
{ "line": 229, "column": 12 }
{ "line": 231, "column": 0 }
[ { "pp": "J : Type u\ninst✝ : Category.{v, u} J\nF : J ⥤ Type w₀\nc : F.CoconeTypes\nhc : c.IsColimit\nc' : F.CoconeTypes\ne : c.pt ≃ c'.pt\nhe : ∀ (j : J) (x : F.obj j), c'.ι j x = e (c.ι j x)\n⊢ Function.Bijective (F.descColimitType c')", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ ...
[]
by convert Function.Bijective.comp e.bijective hc.bijective ext y obtain ⟨j, x, rfl⟩ := F.ιColimitType_jointly_surjective y simp_all
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.CategoryTheory.Limits.Creates
{ "line": 517, "column": 8 }
{ "line": 517, "column": 58 }
{ "line": 518, "column": 8 }
[ { "pp": "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nJ : Type w\ninst✝¹ : Category.{w', w} J\nK : J ⥤ C\nF G : C ⥤ D\nh : F ≅ G\ninst✝ : CreatesLimit K F\nc : Cone (K ⋙ G)\nt : IsLimit c\n⊢ G.mapCone (liftLimit ((IsLimit.postcomposeInvEquiv (K.isoWhiskerLeft h) c).symm ...
[ "C : Type u₁\ninst✝³ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝² : Category.{v₂, u₂} D\nJ : Type w\ninst✝¹ : Category.{w', w} J\nK : J ⥤ C\nF G : C ⥤ D\nh : F ≅ G\ninst✝ : CreatesLimit K F\nc : Cone (K ⋙ G)\nt : IsLimit c\n⊢ IsLimit (F.mapCone (liftLimit ((IsLimit.postcomposeInvEquiv (K.isoWhiskerLeft h) c).symm t))...
refine (IsLimit.mapConeEquiv h ?_).uniqueUpToIso t
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.CategoryTheory.ObjectProperty.LimitsOfShape
{ "line": 145, "column": 4 }
{ "line": 145, "column": 15 }
{ "line": 146, "column": 4 }
[ { "pp": "case refine_2\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nP : ObjectProperty C\nJ : Type u'\ninst✝ : Category.{v', u'} J\n⊢ P.limitsOfShape J ≤ (P.strictLimitsOfShape J).isoClosure", "ppTerm": "?refine_2", "assigned": true, "usedConstants": [ "CategoryTheory.ObjectProperty.LimitOfS...
[ "case refine_2\nC : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nP : ObjectProperty C\nJ : Type u'\ninst✝ : Category.{v', u'} J\nX : C\nh : P.LimitOfShape J X\n⊢ (P.strictLimitsOfShape J).isoClosure X" ]
intro X ⟨h⟩
Lean.Elab.Tactic.evalIntro
Lean.Parser.Tactic.intro
Mathlib.CategoryTheory.ObjectProperty.LimitsOfShape
{ "line": 153, "column": 2 }
{ "line": 153, "column": 13 }
{ "line": 154, "column": 2 }
[ { "pp": "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nP : ObjectProperty C\nJ : Type u'\ninst✝ : Category.{v', u'} J\nQ : ObjectProperty C\nhPQ : P ≤ Q\n⊢ P.limitsOfShape J ≤ Q.limitsOfShape J", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "CategoryTheory.ObjectProperty.LimitOfShap...
[ "C : Type u_1\ninst✝¹ : Category.{v_1, u_1} C\nP : ObjectProperty C\nJ : Type u'\ninst✝ : Category.{v', u'} J\nQ : ObjectProperty C\nhPQ : P ≤ Q\nX : C\nh : P.LimitOfShape J X\n⊢ Q.limitsOfShape J X" ]
intro X ⟨h⟩
Lean.Elab.Tactic.evalIntro
Lean.Parser.Tactic.intro