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.Data.Set.Card
{ "line": 1348, "column": 4 }
{ "line": 1352, "column": 38 }
{ "line": 1353, "column": 2 }
[ { "pp": "case inl\nα : Type u_1\ns t : Set α\nhs : s.Finite\nht : t.Finite\n⊢ (∃ a ∉ s, insert a s = t) ↔ s ⊆ t ∧ s.ncard + 1 = t.ncard", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "HEq.refl", "Finset", "Iff.rfl", "PartialOrder.to...
[]
rw [ncard_eq_toFinset_card _ hs, ncard_eq_toFinset_card _ ht, ← @Finite.toFinset_subset_toFinset _ _ _ hs ht, ← Finset.exists_eq_insert_iff] convert Iff.rfl using 2; simp only [Finite.mem_toFinset] ext x simp [Finset.ext_iff, Set.ext_iff]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Set.Card
{ "line": 1348, "column": 4 }
{ "line": 1352, "column": 38 }
{ "line": 1353, "column": 2 }
[ { "pp": "case inl\nα : Type u_1\ns t : Set α\nhs : s.Finite\nht : t.Finite\n⊢ (∃ a ∉ s, insert a s = t) ↔ s ⊆ t ∧ s.ncard + 1 = t.ncard", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "HEq.refl", "Finset", "Iff.rfl", "PartialOrder.to...
[]
rw [ncard_eq_toFinset_card _ hs, ncard_eq_toFinset_card _ ht, ← @Finite.toFinset_subset_toFinset _ _ _ hs ht, ← Finset.exists_eq_insert_iff] convert Iff.rfl using 2; simp only [Finite.mem_toFinset] ext x simp [Finset.ext_iff, Set.ext_iff]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Set.Card
{ "line": 1424, "column": 2 }
{ "line": 1424, "column": 50 }
{ "line": 1426, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\nhs : s.Finite\n⊢ 2 < s.ncard ↔ ∃ a ∈ s, ∃ b ∈ s, ∃ c ∈ s, a ≠ b ∧ a ≠ c ∧ b ≠ c", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "congrArg", "Membership.mem", "Exists", "Ne", "_private.Mathlib.Data.Set.Card.0.Set.two_lt_ncard._...
[]
simp only [two_lt_ncard_iff hs, exists_and_left]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.Set.Card
{ "line": 1424, "column": 2 }
{ "line": 1424, "column": 50 }
{ "line": 1426, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\nhs : s.Finite\n⊢ 2 < s.ncard ↔ ∃ a ∈ s, ∃ b ∈ s, ∃ c ∈ s, a ≠ b ∧ a ≠ c ∧ b ≠ c", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "congrArg", "Membership.mem", "Exists", "Ne", "_private.Mathlib.Data.Set.Card.0.Set.two_lt_ncard._...
[]
simp only [two_lt_ncard_iff hs, exists_and_left]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Set.Card
{ "line": 1424, "column": 2 }
{ "line": 1424, "column": 50 }
{ "line": 1426, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\nhs : s.Finite\n⊢ 2 < s.ncard ↔ ∃ a ∈ s, ∃ b ∈ s, ∃ c ∈ s, a ≠ b ∧ a ≠ c ∧ b ≠ c", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "congrArg", "Membership.mem", "Exists", "Ne", "_private.Mathlib.Data.Set.Card.0.Set.two_lt_ncard._...
[]
simp only [two_lt_ncard_iff hs, exists_and_left]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.Disjointed
{ "line": 87, "column": 53 }
{ "line": 87, "column": 74 }
{ "line": 88, "column": 4 }
[ { "pp": "α : Type u_1\nι : Type u_2\ninst✝² : GeneralizedBooleanAlgebra α\ninst✝¹ : Preorder ι\ninst✝ : LocallyFiniteOrderBot ι\nf : ι → α\ni : ι\nhf : ∀ j < i, Disjoint (f j) (f i)\n⊢ f i ⊓ (Iio i).sup f = ⊥", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.to...
[ "α : Type u_1\nι : Type u_2\ninst✝² : GeneralizedBooleanAlgebra α\ninst✝¹ : Preorder ι\ninst✝ : LocallyFiniteOrderBot ι\nf : ι → α\ni : ι\nhf : ∀ j < i, Disjoint (f j) (f i)\n⊢ ((Iio i).sup fun i_1 ↦ f i ⊓ f i_1) = ⊥" ]
sup_inf_distrib_left,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Order.BigOperators.Group.LocallyFinite
{ "line": 44, "column": 16 }
{ "line": 44, "column": 42 }
{ "line": 44, "column": 42 }
[ { "pp": "α : Type u_1\nM : Type u_2\ninst✝² : CommMonoid M\nf : α → M\na b : α\ninst✝¹ : PartialOrder α\ninst✝ : LocallyFiniteOrder α\nh : a ≤ b\n⊢ f a * ∏ x ∈ Ioc a b, f x = ∏ x ∈ Icc a b, f x", "ppTerm": "?m.30", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "CommMo...
[ "α : Type u_1\nM : Type u_2\ninst✝² : CommMonoid M\nf : α → M\na b : α\ninst✝¹ : PartialOrder α\ninst✝ : LocallyFiniteOrder α\nh : a ≤ b\n⊢ ∏ x ∈ Icc a b, f x = ∏ x ∈ Icc a b, f x" ]
mul_prod_Ioc_eq_prod_Icc h
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.Disjointed
{ "line": 172, "column": 4 }
{ "line": 172, "column": 57 }
{ "line": 173, "column": 4 }
[ { "pp": "α : Type u_1\nι : Type u_2\ninst✝² : GeneralizedBooleanAlgebra α\ninst✝¹ : PartialOrder ι\ninst✝ : LocallyFiniteOrderBot ι\nf : ι → α\ni : ι\n⊢ (partialSups f) i \\ (f i \\ (Iio i).sup f) = (Iio i).sup f", "ppTerm": "?m.75", "assigned": true, "usedConstants": [ "partialSups_apply", ...
[ "α : Type u_1\nι : Type u_2\ninst✝² : GeneralizedBooleanAlgebra α\ninst✝¹ : PartialOrder ι\ninst✝ : LocallyFiniteOrderBot ι\nf : ι → α\ni : ι\n⊢ (Iic i).sup f \\ (f i \\ (Iio i).sup f) = (Iio i).sup f" ]
simp only [funext (partialSups_apply f), sup'_eq_sup]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.Order.Interval.Finset.Basic
{ "line": 95, "column": 6 }
{ "line": 95, "column": 26 }
{ "line": 95, "column": 27 }
[ { "pp": "α : Type u_1\ninst✝⁵ : AddCommMonoid α\ninst✝⁴ : PartialOrder α\ninst✝³ : IsOrderedCancelAddMonoid α\ninst✝² : ExistsAddOfLE α\ninst✝¹ : LocallyFiniteOrder α\ninst✝ : DecidableEq α\na b c : α\n⊢ image (fun x ↦ x + c) (Ioo a b) = Ioo (a + c) (b + c)", "ppTerm": "?m.29", "assigned": true, "us...
[ "α : Type u_1\ninst✝⁵ : AddCommMonoid α\ninst✝⁴ : PartialOrder α\ninst✝³ : IsOrderedCancelAddMonoid α\ninst✝² : ExistsAddOfLE α\ninst✝¹ : LocallyFiniteOrder α\ninst✝ : DecidableEq α\na b c : α\n⊢ image (fun x ↦ x + c) (Ioo a b) = map (addRightEmbedding c) (Ioo a b)" ]
← map_add_right_Ioo,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Order.Antidiag.Prod
{ "line": 306, "column": 78 }
{ "line": 307, "column": 29 }
{ "line": 309, "column": 0 }
[ { "pp": "A : Type u_2\nB : Type u_3\ninst✝³ : Monoid A\ninst✝² : Monoid B\ninst✝¹ : HasMulAntidiagonal A\ninst✝ : HasMulAntidiagonal B\na : A × B\n⊢ #(mulAntidiagonal a) = #(mulAntidiagonal a.1) * #(mulAntidiagonal a.2)", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "HMul.hMul", ...
[]
by simp [mulAntidiagonal_prod]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Ideal.Prime
{ "line": 91, "column": 34 }
{ "line": 91, "column": 87 }
{ "line": 91, "column": 87 }
[ { "pp": "α : Type u\ninst✝² : Semiring α\nI : Ideal α\na b : α\ninst✝¹ : Nontrivial α\ninst✝ : NoZeroDivisors α\nh : ⊥ = ⊤\n⊢ 1 = 0", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "NonAssocSemiring.toAddCommMonoidWithOne", "Submodule", "Semiring.toModule", "congrArg...
[]
by rwa [Ideal.eq_top_iff_one, Submodule.mem_bot] at h
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Nat.Choose.Sum
{ "line": 71, "column": 29 }
{ "line": 71, "column": 38 }
{ "line": 71, "column": 38 }
[ { "pp": "R : Type u_1\ninst✝ : Semiring R\nx y : R\nh : Commute x y\nn : ℕ\n⊢ (x + y) ^ n = ∑ x_1 ∈ range n.succ, x ^ x_1 * y ^ (n - x_1) * ↑(n.choose x_1)", "ppTerm": "?m.45", "assigned": true, "usedConstants": [ "NonAssocSemiring.toAddCommMonoidWithOne", "Nat.choose", "HMul.hMul"...
[]
h.add_pow
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Algebra.Ring.Idempotent
{ "line": 142, "column": 4 }
{ "line": 142, "column": 36 }
{ "line": 143, "column": 4 }
[ { "pp": "R : Type u_1\ninst✝¹ : NonUnitalRing R\ninst✝ : HasUniqueDiv R\np q : R\nhp : IsIdempotentElem p\nhq : IsIdempotentElem q\nh : p * (q - p) + (q - p) * p = 0\nhqp : p * q + q * p - p = p\nh1 : q * (p * q + q * p - p) = q * p\n⊢ Commute p q", "ppTerm": "?m.127", "assigned": true, "usedConstan...
[ "R : Type u_1\ninst✝¹ : NonUnitalRing R\ninst✝ : HasUniqueDiv R\np q : R\nhp : IsIdempotentElem p\nhq : IsIdempotentElem q\nh : p * (q - p) + (q - p) * p = 0\nhqp : p * q + q * p - p = p\nh1 : q * (p * q + q * p - p) = q * p\nh2 : (p * q + q * p - p) * q = p * q\n⊢ Commute p q" ]
have h2 := congr_arg (· * q) hqp
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.RingTheory.Ideal.Maximal
{ "line": 191, "column": 4 }
{ "line": 193, "column": 12 }
{ "line": 194, "column": 2 }
[ { "pp": "α : Type u\ninst✝ : CommSemiring α\nI : Ideal α\nS : Submonoid α\ndisjoint : Disjoint ↑I ↑S\nmaximally_disjoint : ∀ (J : Ideal α), I < J → ¬Disjoint ↑J ↑S\n⊢ I ≠ ⊤", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "NonAssocSemiring.toAddCommMonoidWithOne", "False", ...
[]
rintro rfl have : 1 ∈ (S : Set α) := S.one_mem simp_all
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Ideal.Maximal
{ "line": 191, "column": 4 }
{ "line": 193, "column": 12 }
{ "line": 194, "column": 2 }
[ { "pp": "α : Type u\ninst✝ : CommSemiring α\nI : Ideal α\nS : Submonoid α\ndisjoint : Disjoint ↑I ↑S\nmaximally_disjoint : ∀ (J : Ideal α), I < J → ¬Disjoint ↑J ↑S\n⊢ I ≠ ⊤", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "NonAssocSemiring.toAddCommMonoidWithOne", "False", ...
[]
rintro rfl have : 1 ∈ (S : Set α) := S.one_mem simp_all
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Ideal.Maximal
{ "line": 216, "column": 2 }
{ "line": 216, "column": 71 }
{ "line": 217, "column": 2 }
[ { "pp": "case refine_1.inr\nα : Type u\ninst✝ : CommSemiring α\nI : Ideal α\nS : Submonoid α\ndisjoint : Disjoint ↑I ↑S\nc : Set (Ideal α)\nhc : c ⊆ {p | Disjoint ↑p ↑S}\nhc' : IsChain (fun x1 x2 ↦ x1 ≤ x2) c\nx : Ideal α\nhx : x ∈ c\nh✝ : Nonempty ↑c\n⊢ ∃ ub ∈ {p | Disjoint ↑p ↑S}, ∀ z ∈ c, z ≤ ub", "ppTer...
[ "case refine_1.inr\nα : Type u\ninst✝ : CommSemiring α\nI : Ideal α\nS : Submonoid α\ndisjoint : Disjoint ↑I ↑S\nc : Set (Ideal α)\nhc : c ⊆ {p | Disjoint ↑p ↑S}\nhc' : IsChain (fun x1 x2 ↦ x1 ≤ x2) c\nx✝ : Ideal α\nhx✝ : x✝ ∈ c\nh✝ : Nonempty ↑c\nx : α\nhx : x ∈ ↑(sSup c)\n⊢ x ∉ ↑S" ]
refine ⟨sSup c, Set.disjoint_left.mpr fun x hx ↦ ?_, fun _ ↦ le_sSup⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.RingTheory.Ideal.Span
{ "line": 271, "column": 28 }
{ "line": 271, "column": 48 }
{ "line": 271, "column": 49 }
[ { "pp": "α : Type u\ninst✝ : Ring α\nx y : α\n⊢ span {x, x - y - x} = span {x, y}", "ppTerm": "?m.27", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "AddGroupWithOne.toAddGroup", "congrArg", "HSub.hSub", "AddCommGroup.toAddGroup", "Set...
[ "α : Type u\ninst✝ : Ring α\nx y : α\n⊢ span {x, -y} = span {x, y}" ]
sub_sub_cancel_left,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Ideal.Span
{ "line": 275, "column": 29 }
{ "line": 275, "column": 49 }
{ "line": 275, "column": 50 }
[ { "pp": "α : Type u\ninst✝ : Ring α\nx y : α\n⊢ span {y - x - y, y} = span {x, y}", "ppTerm": "?m.27", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "AddGroupWithOne.toAddGroup", "congrArg", "HSub.hSub", "AddCommGroup.toAddGroup", "Set...
[ "α : Type u\ninst✝ : Ring α\nx y : α\n⊢ span {-x, y} = span {x, y}" ]
sub_sub_cancel_left,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Ideal.Basic
{ "line": 250, "column": 2 }
{ "line": 254, "column": 25 }
{ "line": 256, "column": 0 }
[ { "pp": "R : Type u_4\ninst✝¹ : CommSemiring R\ninst✝ : Nontrivial R\nhf : ¬IsField R\n⊢ ∃ x, ∃ (_ : x ≠ 0), ¬IsUnit x", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Mathlib.Tactic.Push.not_forall_eq", "Mathlib.Tactic.Push.not_exists._simp_1", "Eq.mpr", "NonAssocSe...
[]
have : ¬_ := fun h => hf ⟨exists_pair_ne R, mul_comm, h⟩ simp_rw [isUnit_iff_exists_inv] push Not at this ⊢ obtain ⟨x, hx, not_unit⟩ := this exact ⟨x, hx, not_unit⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Ideal.Basic
{ "line": 250, "column": 2 }
{ "line": 254, "column": 25 }
{ "line": 256, "column": 0 }
[ { "pp": "R : Type u_4\ninst✝¹ : CommSemiring R\ninst✝ : Nontrivial R\nhf : ¬IsField R\n⊢ ∃ x, ∃ (_ : x ≠ 0), ¬IsUnit x", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Mathlib.Tactic.Push.not_forall_eq", "Mathlib.Tactic.Push.not_exists._simp_1", "Eq.mpr", "NonAssocSe...
[]
have : ¬_ := fun h => hf ⟨exists_pair_ne R, mul_comm, h⟩ simp_rw [isUnit_iff_exists_inv] push Not at this ⊢ obtain ⟨x, hx, not_unit⟩ := this exact ⟨x, hx, not_unit⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Group.Graph
{ "line": 79, "column": 6 }
{ "line": 79, "column": 26 }
{ "line": 80, "column": 6 }
[ { "pp": "G : Type u_1\nH : Type u_2\nI : Type u_3\ninst✝² : Monoid G\ninst✝¹ : Monoid H\ninst✝ : Monoid I\nf : G →* H × I\nhf₁ : Surjective (Prod.fst ∘ ⇑f)\nhf : ∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 → (f g₁).2 = (f g₂).2\nf' : H → I\nhf' : ∀ (a : H) (b : I), (∃ y, f y = (a, b)) ↔ f' a = b\n⊢ ∀ (x y : H), f' (x * ...
[ "G : Type u_1\nH : Type u_2\nI : Type u_3\ninst✝² : Monoid G\ninst✝¹ : Monoid H\ninst✝ : Monoid I\nf : G →* H × I\nhf₁ : Surjective (Prod.fst ∘ ⇑f)\nhf : ∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 → (f g₁).2 = (f g₂).2\nf' : H → I\nhf' : ∀ (a : H) (b : I), (∃ y, f y = (a, b)) ↔ f' a = b\n⊢ ∀ (x x_1 : G), f' ((Prod.fst ∘ ⇑f...
simp_rw [hf₁.forall]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.Algebra.Group.Graph
{ "line": 229, "column": 2 }
{ "line": 229, "column": 76 }
{ "line": 231, "column": 0 }
[ { "pp": "H : Type u_2\nI : Type u_3\ninst✝¹ : Group H\ninst✝ : Group I\nG : Subgroup (H × I)\nhG₁ : Bijective (Prod.fst ∘ ⇑G.subtype)\nhG₂ : Bijective (Prod.snd ∘ ⇑G.subtype)\n⊢ ∃ e, G = e.toMonoidHom.graph", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Eq.mpr", "MonoidHom.me...
[]
simpa [SetLike.ext_iff] using! Submonoid.exists_mulEquiv_eq_mgraph hG₁ hG₂
Lean.Elab.Tactic.Simpa.evalSimpaUsingBang
Lean.Parser.Tactic.simpaUsingBang
Mathlib.Algebra.Group.Graph
{ "line": 229, "column": 2 }
{ "line": 229, "column": 76 }
{ "line": 231, "column": 0 }
[ { "pp": "H : Type u_2\nI : Type u_3\ninst✝¹ : Group H\ninst✝ : Group I\nG : Subgroup (H × I)\nhG₁ : Bijective (Prod.fst ∘ ⇑G.subtype)\nhG₂ : Bijective (Prod.snd ∘ ⇑G.subtype)\n⊢ ∃ e, G = e.toMonoidHom.graph", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Eq.mpr", "MonoidHom.me...
[]
simpa [SetLike.ext_iff] using! Submonoid.exists_mulEquiv_eq_mgraph hG₁ hG₂
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Group.Graph
{ "line": 229, "column": 2 }
{ "line": 229, "column": 76 }
{ "line": 231, "column": 0 }
[ { "pp": "H : Type u_2\nI : Type u_3\ninst✝¹ : Group H\ninst✝ : Group I\nG : Subgroup (H × I)\nhG₁ : Bijective (Prod.fst ∘ ⇑G.subtype)\nhG₂ : Bijective (Prod.snd ∘ ⇑G.subtype)\n⊢ ∃ e, G = e.toMonoidHom.graph", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Eq.mpr", "MonoidHom.me...
[]
simpa [SetLike.ext_iff] using! Submonoid.exists_mulEquiv_eq_mgraph hG₁ hG₂
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Congruence.Basic
{ "line": 243, "column": 46 }
{ "line": 243, "column": 60 }
{ "line": 243, "column": 60 }
[ { "pp": "R : Type u_3\ninst✝¹ : Add R\ninst✝ : Mul R\n⊢ ¬Nontrivial (RingCon R) ↔ ¬Nontrivial R", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Nontrivial", "congrArg", "RingCon", "iff_self", "Iff", "True", "of_eq_true", "congrFun'", "_...
[]
nontrivial_iff
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.RingTheory.Ideal.Quotient.Basic
{ "line": 38, "column": 38 }
{ "line": 40, "column": 34 }
{ "line": 42, "column": 0 }
[ { "pp": "ι : Type u_1\nR : Type u_3\ninst✝¹ : Ring R\nf : ι → R\ninst✝ : (span (range f)).IsTwoSided\ni : ι\n⊢ (mk (span (range f))) (f i) = 0", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "Eq.mpr", "Ideal.subset_span", "Submodule.Quotient.instZeroQuotient", "Semi...
[]
by rw [Ideal.Quotient.eq_zero_iff_mem] exact Ideal.subset_span ⟨i, rfl⟩
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Ideal.Quotient.Basic
{ "line": 57, "column": 11 }
{ "line": 57, "column": 75 }
{ "line": 57, "column": 75 }
[ { "pp": "ι : Type u_1\nι' : Type u_2\nR : Type u_3\ninst✝ : Ring R\nI J : Ideal R\na b x y : R\n⊢ ∀ (a : R ⧸ ⊤), a = default", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Iff.mpr", "Inhabited.default", "Submodule.Quotient.instZeroQuotient", "Semiring.toModule", ...
[]
rintro ⟨x⟩; exact Quotient.eq_zero_iff_mem.mpr Submodule.mem_top
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Ideal.Quotient.Basic
{ "line": 57, "column": 11 }
{ "line": 57, "column": 75 }
{ "line": 57, "column": 75 }
[ { "pp": "ι : Type u_1\nι' : Type u_2\nR : Type u_3\ninst✝ : Ring R\nI J : Ideal R\na b x y : R\n⊢ ∀ (a : R ⧸ ⊤), a = default", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Iff.mpr", "Inhabited.default", "Submodule.Quotient.instZeroQuotient", "Semiring.toModule", ...
[]
rintro ⟨x⟩; exact Quotient.eq_zero_iff_mem.mpr Submodule.mem_top
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.LinearAlgebra.Prod
{ "line": 457, "column": 2 }
{ "line": 457, "column": 16 }
{ "line": 458, "column": 2 }
[ { "pp": "R : Type u\nM : Type v\nM₂ : Type w\nM₃ : Type y\ninst✝⁶ : Semiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : AddCommMonoid M₂\ninst✝³ : AddCommMonoid M₃\ninst✝² : Module R M\ninst✝¹ : Module R M₂\ninst✝ : Module R M₃\nf : M →ₗ[R] M₂\ng : M →ₗ[R] M₃\n⊢ ∀ ⦃x : M₂ × M₃⦄ (x_1 : M), Function.prod (⇑f) (⇑g) x_1...
[ "R : Type u\nM : Type v\nM₂ : Type w\nM₃ : Type y\ninst✝⁶ : Semiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : AddCommMonoid M₂\ninst✝³ : AddCommMonoid M₃\ninst✝² : Module R M\ninst✝¹ : Module R M₂\ninst✝ : Module R M₃\nf : M →ₗ[R] M₂\ng : M →ₗ[R] M₃\nx : M\n⊢ (∃ y, f y = (Function.prod (⇑f) (⇑g) x).1) ∧ ∃ y, g y = (Fu...
rintro _ x rfl
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRIntro
Lean.Parser.Tactic.rintro
Mathlib.LinearAlgebra.Pi
{ "line": 511, "column": 6 }
{ "line": 511, "column": 17 }
{ "line": 512, "column": 4 }
[ { "pp": "R✝ : Type u\nM✝ : Type v\nM₂ : Type w\nM₃ : Type y\nι : Type x\nι' : Type x'\ninst✝¹⁶ : Semiring R✝\nφ : ι → Type u_1\nψ : ι → Type u_2\nχ : ι → Type u_3\ninst✝¹⁵ : (i : ι) → AddCommMonoid (φ i)\ninst✝¹⁴ : (i : ι) → Module R✝ (φ i)\ninst✝¹³ : (i : ι) → AddCommMonoid (ψ i)\ninst✝¹² : (i : ι) → Module R✝...
[]
ext <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.LinearAlgebra.Pi
{ "line": 514, "column": 6 }
{ "line": 514, "column": 17 }
{ "line": 514, "column": 18 }
[ { "pp": "R✝ : Type u\nM✝ : Type v\nM₂ : Type w\nM₃ : Type y\nι : Type x\nι' : Type x'\ninst✝¹⁶ : Semiring R✝\nφ : ι → Type u_1\nψ : ι → Type u_2\nχ : ι → Type u_3\ninst✝¹⁵ : (i : ι) → AddCommMonoid (φ i)\ninst✝¹⁴ : (i : ι) → Module R✝ (φ i)\ninst✝¹³ : (i : ι) → AddCommMonoid (ψ i)\ninst✝¹² : (i : ι) → Module R✝...
[]
ext <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Order.DirSupClosed
{ "line": 240, "column": 2 }
{ "line": 240, "column": 37 }
{ "line": 241, "column": 2 }
[ { "pp": "α : Type u_1\ns : Set α\ninst✝ : Preorder α\nhs : DirSupClosed s\na b : α\nh : AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b\nha : a ∈ s\n⊢ IsLUB {a} b", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ "isLUB_congr_of_antisymmRel", "Eq.mpr", "congrArg", "Preorder.toL...
[ "α : Type u_1\ns : Set α\ninst✝ : Preorder α\nhs : DirSupClosed s\na b : α\nh : AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b\nha : a ∈ s\n⊢ IsLUB {a} a" ]
rw [← isLUB_congr_of_antisymmRel h]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.SetTheory.Ordinal.Family
{ "line": 112, "column": 4 }
{ "line": 112, "column": 24 }
{ "line": 114, "column": 0 }
[ { "pp": "α : Type u_3\nβ : Type u_4\nf : α ⊕ β → Ordinal.{u}\ninst✝¹ : Small.{u, u_3} α\ninst✝ : Small.{u, u_4} β\na : α\n⊢ (fun a ↦ f (Sum.inl a)) a ∈ range fun i ↦ f i", "ppTerm": "?m.93", "assigned": true, "usedConstants": [ "Set.mem_range_self", "Sum", "Sum.inl", "Ordinal...
[]
apply mem_range_self
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.SetTheory.Ordinal.Family
{ "line": 112, "column": 4 }
{ "line": 112, "column": 24 }
{ "line": 114, "column": 0 }
[ { "pp": "α : Type u_3\nβ : Type u_4\nf : α ⊕ β → Ordinal.{u}\ninst✝¹ : Small.{u, u_3} α\ninst✝ : Small.{u, u_4} β\na : β\n⊢ (fun b ↦ f (Sum.inr b)) a ∈ range fun i ↦ f i", "ppTerm": "?m.121", "assigned": true, "usedConstants": [ "Set.mem_range_self", "Sum", "Sum.inr", "Ordina...
[]
apply mem_range_self
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.Order.IsNormal
{ "line": 272, "column": 2 }
{ "line": 278, "column": 28 }
{ "line": 279, "column": 2 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ninst✝² : LinearOrder α\ninst✝¹ : WellFoundedLT α\ninst✝ : LinearOrder β\nf : α → β\nhf : IsNormal f\nhf' : IsCofinal (range f)\ns : Set β\nhs : s ⊆ range f\nhs₀ : s.Nonempty\na✝ : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s\na : β\nha : IsLUB s a\nhfn : (f ⁻¹' s).Nonempty\nthis✝¹ : N...
[ "α : Type u_1\nβ : Type u_2\ninst✝² : LinearOrder α\ninst✝¹ : WellFoundedLT α\ninst✝ : LinearOrder β\nf : α → β\nhf : IsNormal f\nhf' : IsCofinal (range f)\ns : Set β\nhs : s ⊆ range f\nhs₀ : s.Nonempty\na✝ : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s\na : β\nha : IsLUB s a\nhfn : (f ⁻¹' s).Nonempty\nthis✝¹ : Nonempty α\nt...
have hfl : IsLUB (f ⁻¹' s) (sSup (f ⁻¹' s)) := by apply isLUB_csSup hfn _ obtain ⟨_, ⟨b, rfl⟩, hb⟩ := hf' a use b intro c hc rw [← hf.strictMono.le_iff_le] exact (ha.1 hc).trans hb
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.SetTheory.Ordinal.Univ
{ "line": 167, "column": 4 }
{ "line": 167, "column": 25 }
{ "line": 168, "column": 4 }
[ { "pp": "c : Cardinal.{max (u + 1) v}\nh : c < univ.{u, v}\na : Cardinal.{u + 1}\nh' : a < #Ordinal.{u}\ne : lift.{v, u + 1} a = c\n⊢ ∃ c', c = lift.{max (u + 1) v, u} c'", "ppTerm": "?m.43", "assigned": true, "usedConstants": [ "Preorder.toLT", "Cardinal", "congrArg", "Cardi...
[ "c : Cardinal.{max (u + 1) v}\nh : c < univ.{u, v}\na : Cardinal.{u + 1}\nh' : a < univ.{u, u + 1}\ne : lift.{v, u + 1} a = c\n⊢ ∃ c', c = lift.{max (u + 1) v, u} c'" ]
rw [mk_ordinal] at h'
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.SetTheory.Ordinal.Univ
{ "line": 186, "column": 2 }
{ "line": 186, "column": 60 }
{ "line": 188, "column": 0 }
[ { "pp": "case mk\nα✝ : Type u\nα : Type v\nhα : lift.{v, u} #α✝ ≤ lift.{u, v} #α\n⊢ Small.{v, u} α✝", "ppTerm": "?mk", "assigned": true, "usedConstants": [ "Cardinal", "Cardinal.lift", "small_of_injective", "Cardinal.mk", "UnivLE.small", "Nonempty.some", "LE...
[]
exact small_of_injective (lift_mk_le'.1 hα).some.injective
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.SetTheory.Ordinal.Family
{ "line": 268, "column": 30 }
{ "line": 268, "column": 48 }
{ "line": 268, "column": 49 }
[ { "pp": "o : Ordinal.{u_1}\nι : Sort u_2\nf : ι → Ordinal.{u_1}\n⊢ sSup ((fun x ↦ o * x) '' range fun i ↦ f i) = ⨆ i, o * f i", "ppTerm": "?m.27", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "MulZeroClass.toMul", "congrArg", "iSup", "id", "Co...
[ "o : Ordinal.{u_1}\nι : Sort u_2\nf : ι → Ordinal.{u_1}\n⊢ sSup (range fun x ↦ o * f x) = ⨆ i, o * f i" ]
← Set.range_comp',
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.SetTheory.Ordinal.Enum
{ "line": 47, "column": 97 }
{ "line": 49, "column": 25 }
{ "line": 51, "column": 0 }
[ { "pp": "o a : Ordinal.{u}\ns : Set Ordinal.{u}\nha : a ∈ s\nH : ∀ b < o, enumOrd s b < a\n⊢ enumOrd s o ≤ a", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "Ordinal.partialOrder", "congrArg", "Set.ofPred", "_private.Mathlib.Se...
[]
by rw [enumOrd] exact csInf_le' ⟨ha, H⟩
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.SetTheory.Cardinal.Cofinality.Enum
{ "line": 149, "column": 2 }
{ "line": 149, "column": 23 }
{ "line": 150, "column": 2 }
[ { "pp": "α : Type u_2\ninst✝² : ConditionallyCompleteLinearOrderBot α\ninst✝¹ : WellFoundedLT α\ninst✝ : IsRegularCardinalOrder α\ns : Set α\nhs : IsCofinal s\nthis✝ : Bot ↑s := { bot := ⟨sInf s, ⋯⟩ }\nthis : OrderBot ↑s := { toBot := this✝, bot_le := ⋯ }\n⊢ ↑((enum s hs) ⊥) = sInf s", "ppTerm": "?m.48", ...
[ "α : Type u_2\ninst✝² : ConditionallyCompleteLinearOrderBot α\ninst✝¹ : WellFoundedLT α\ninst✝ : IsRegularCardinalOrder α\ns : Set α\nhs : IsCofinal s\nthis✝ : Bot ↑s := { bot := ⟨sInf s, ⋯⟩ }\nthis : OrderBot ↑s := { toBot := this✝, bot_le := ⋯ }\n⊢ ↑⊥ = sInf s" ]
rw [OrderIso.map_bot]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.SetTheory.Ordinal.Exponential
{ "line": 83, "column": 58 }
{ "line": 84, "column": 30 }
{ "line": 86, "column": 0 }
[ { "pp": "a : Ordinal.{u_1}\n⊢ a ^ 1 = a", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "HMul.hMul", "MulZeroClass.toMul", "congrArg", "AddMonoid.toAddZeroClass", "Eq.mp", "zero_add", "MulZeroOneClass.toMulOneClass", "Ordinal.addMonoidWithOne"...
[]
by simpa using opow_add_one a 0
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.SetTheory.Ordinal.Arithmetic
{ "line": 580, "column": 2 }
{ "line": 580, "column": 44 }
{ "line": 582, "column": 0 }
[ { "pp": "a b c : Ordinal.{u_4}\nb0 : b ≠ 0\n⊢ a / b ≤ c ↔ a < b * succ c", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Eq.mpr", "Ordinal.instLinearOrder", "Preorder.toLT", "instHDiv", "HMul.hMul", "Order.succ", "Ordinal.partialOrder", "Mul...
[]
rw [← lt_succ_iff, ← lt_mul_iff_div_lt b0]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.SetTheory.Ordinal.Arithmetic
{ "line": 580, "column": 2 }
{ "line": 580, "column": 44 }
{ "line": 582, "column": 0 }
[ { "pp": "a b c : Ordinal.{u_4}\nb0 : b ≠ 0\n⊢ a / b ≤ c ↔ a < b * succ c", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Eq.mpr", "Ordinal.instLinearOrder", "Preorder.toLT", "instHDiv", "HMul.hMul", "Order.succ", "Ordinal.partialOrder", "Mul...
[]
rw [← lt_succ_iff, ← lt_mul_iff_div_lt b0]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.SetTheory.Ordinal.Arithmetic
{ "line": 580, "column": 2 }
{ "line": 580, "column": 44 }
{ "line": 582, "column": 0 }
[ { "pp": "a b c : Ordinal.{u_4}\nb0 : b ≠ 0\n⊢ a / b ≤ c ↔ a < b * succ c", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Eq.mpr", "Ordinal.instLinearOrder", "Preorder.toLT", "instHDiv", "HMul.hMul", "Order.succ", "Ordinal.partialOrder", "Mul...
[]
rw [← lt_succ_iff, ← lt_mul_iff_div_lt b0]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.SetTheory.Ordinal.Arithmetic
{ "line": 672, "column": 68 }
{ "line": 672, "column": 84 }
{ "line": 672, "column": 84 }
[ { "pp": "case inr\na b c : Ordinal.{u_4}\nha : a ≠ 0\nd : Ordinal.{u_4}\n⊢ b ≤ c + d / a ↔ b ≤ (a * c + d) / a", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "Eq.mpr", "instHDiv", "HMul.hMul", "Ordinal.partialOrder", "MulZeroClass.toMul", "congrArg", ...
[ "case inr\na b c : Ordinal.{u_4}\nha : a ≠ 0\nd : Ordinal.{u_4}\n⊢ b ≤ c + d / a ↔ b ≤ c + d / a" ]
mul_add_div _ ha
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.SetTheory.Ordinal.Basic
{ "line": 1218, "column": 6 }
{ "line": 1218, "column": 31 }
{ "line": 1218, "column": 32 }
[ { "pp": "o : Ordinal.{u_1}\nn : ℕ\n⊢ ↑n < o.card ↔ ↑n < o", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "Cardinal.instOne", "Ordinal.partialOrder", "Cardinal", "congrArg", "PartialOrder.toPreorder", "Cardinal.natCa...
[ "o : Ordinal.{u_1}\nn : ℕ\n⊢ ↑n + 1 ≤ o.card ↔ ↑n < o" ]
← natCast_add_one_le_iff,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Nat.Log
{ "line": 425, "column": 4 }
{ "line": 425, "column": 31 }
{ "line": 427, "column": 0 }
[ { "pp": "case inr\nb x y : ℕ\nh : x ≤ b ^ y\nhb : 1 ≥ b\n⊢ clog b x ≤ y", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "_private.Mathlib.Data.Nat.Log.0.Nat.clog_le_of_le_pow._proof_1_1" ], "usedFVars": [ "b", "x", "y", "hb" ], "usedGoals": [] ...
[]
grind [clog_of_left_le_one]
Lean.Elab.Tactic.evalGrind
Lean.Parser.Tactic.grind
Mathlib.Data.Nat.Log
{ "line": 425, "column": 4 }
{ "line": 425, "column": 31 }
{ "line": 427, "column": 0 }
[ { "pp": "case inr\nb x y : ℕ\nh : x ≤ b ^ y\nhb : 1 ≥ b\n⊢ clog b x ≤ y", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "_private.Mathlib.Data.Nat.Log.0.Nat.clog_le_of_le_pow._proof_1_1" ], "usedFVars": [ "b", "x", "y", "hb" ], "usedGoals": [] ...
[]
grind [clog_of_left_le_one]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Nat.Log
{ "line": 425, "column": 4 }
{ "line": 425, "column": 31 }
{ "line": 427, "column": 0 }
[ { "pp": "case inr\nb x y : ℕ\nh : x ≤ b ^ y\nhb : 1 ≥ b\n⊢ clog b x ≤ y", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "_private.Mathlib.Data.Nat.Log.0.Nat.clog_le_of_le_pow._proof_1_1" ], "usedFVars": [ "b", "x", "y", "hb" ], "usedGoals": [] ...
[]
grind [clog_of_left_le_one]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.SetTheory.Ordinal.Exponential
{ "line": 416, "column": 4 }
{ "line": 416, "column": 74 }
{ "line": 418, "column": 0 }
[ { "pp": "case inr\nb o : Ordinal.{u_1}\nho : o ≠ 0\nhb : b ≠ 0\n⊢ o % b ^ log b o < o", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "Ordinal.partialOrder", "PartialOrder.toPreorder", "Ordinal.opow_log_le_self", "Ordinal.opow_ne_zero", "Ordinal.mod", "Or...
[]
exact (mod_lt _ <| opow_ne_zero _ hb).trans_le (opow_log_le_self _ ho)
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.SetTheory.Ordinal.Exponential
{ "line": 416, "column": 4 }
{ "line": 416, "column": 74 }
{ "line": 418, "column": 0 }
[ { "pp": "case inr\nb o : Ordinal.{u_1}\nho : o ≠ 0\nhb : b ≠ 0\n⊢ o % b ^ log b o < o", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "Ordinal.partialOrder", "PartialOrder.toPreorder", "Ordinal.opow_log_le_self", "Ordinal.opow_ne_zero", "Ordinal.mod", "Or...
[]
exact (mod_lt _ <| opow_ne_zero _ hb).trans_le (opow_log_le_self _ ho)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.SetTheory.Ordinal.Exponential
{ "line": 416, "column": 4 }
{ "line": 416, "column": 74 }
{ "line": 418, "column": 0 }
[ { "pp": "case inr\nb o : Ordinal.{u_1}\nho : o ≠ 0\nhb : b ≠ 0\n⊢ o % b ^ log b o < o", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "Ordinal.partialOrder", "PartialOrder.toPreorder", "Ordinal.opow_log_le_self", "Ordinal.opow_ne_zero", "Ordinal.mod", "Or...
[]
exact (mod_lt _ <| opow_ne_zero _ hb).trans_le (opow_log_le_self _ ho)
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.SetTheory.Ordinal.Arithmetic
{ "line": 828, "column": 2 }
{ "line": 828, "column": 95 }
{ "line": 829, "column": 2 }
[ { "pp": "case inl\nm n : ℕ\nh : m ≤ n\n⊢ ↑(m - n) = ↑m - ↑n", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Nat.instCanonicallyOrderedAdd", "Nat.instOrderedSub", "Ordinal.sub_eq_zero_iff_le", "Ordinal.partialOrder", "congrArg",...
[ "case inr\nm n : ℕ\nh : n ≤ m\n⊢ ↑(m - n) = ↑m - ↑n" ]
· rw [tsub_eq_zero_iff_le.2 h, Ordinal.sub_eq_zero_iff_le.2 (Nat.cast_le.2 h), Nat.cast_zero]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.SetTheory.Ordinal.Arithmetic
{ "line": 901, "column": 85 }
{ "line": 904, "column": 21 }
{ "line": 906, "column": 0 }
[ { "pp": "n : ℕ\n⊢ Nat.cast '' Iio n = Iio ↑n", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Set.ext", "_private.Mathlib.SetTheory.Ordinal.Arithmetic.0.Ordinal.natCast_image_Iio._proof_1_1", "Ordinal.partialOrder", "PartialOrder.toPreorder", "Preorder.toLE", ...
[]
by ext o have := @eq_natCast_of_le_natCast o grind [Nat.cast_lt]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.SetTheory.Ordinal.FixedPoint
{ "line": 206, "column": 6 }
{ "line": 206, "column": 41 }
{ "line": 207, "column": 6 }
[ { "pp": "case limit\nι : Type u_1\nf : ι → Ordinal.{u} → Ordinal.{u}\ninst✝ : Small.{u, u_1} ι\nH : ∀ (i : ι), IsNormal (f i)\na : Ordinal.{u}\nha : ∀ (i : ι), f i a ≤ a\no : Ordinal.{u}\nl : IsSuccLimit o\nIH : ∀ o' < o, a ≤ derivFamily f o' → ∃ o, derivFamily f o = a\nh₁ : a ≤ derivFamily f o\n⊢ ∃ o, derivFam...
[ "case limit.inl\nι : Type u_1\nf : ι → Ordinal.{u} → Ordinal.{u}\ninst✝ : Small.{u, u_1} ι\nH : ∀ (i : ι), IsNormal (f i)\na : Ordinal.{u}\nha : ∀ (i : ι), f i a ≤ a\no : Ordinal.{u}\nl : IsSuccLimit o\nIH : ∀ o' < o, a ≤ derivFamily f o' → ∃ o, derivFamily f o = a\nh₁ : a ≤ derivFamily f o\nh : a = derivFamily f o...
rcases eq_or_lt_of_le h₁ with h | h
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases
Lean.Parser.Tactic.rcases
Mathlib.SetTheory.Cardinal.Aleph
{ "line": 359, "column": 6 }
{ "line": 359, "column": 22 }
{ "line": 359, "column": 23 }
[ { "pp": "o : Ordinal.{u_1}\n⊢ 0 < preAleph o ↔ 0 < o", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "Ordinal.partialOrder", "Cardinal", "congrArg", "PartialOrder.toPreorder", "Preorder.toLE", "id", "OrderIso"...
[ "o : Ordinal.{u_1}\n⊢ preAleph 0 < preAleph o ↔ 0 < o" ]
← preAleph_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.SetTheory.Ordinal.Principal
{ "line": 165, "column": 2 }
{ "line": 165, "column": 41 }
{ "line": 166, "column": 2 }
[ { "pp": "o : Ordinal.{u}\nho : o ≤ 1\n⊢ IsPrincipal (fun x1 x2 ↦ x1 + x2) o", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Ordinal.instLinearOrder", "Ordinal.IsPrincipal", "Ordinal.partialOrder", "instIsBotZeroClass", "AddMonoid.toAddZeroClass", "Parti...
[ "case inl\nho : 0 ≤ 1\n⊢ IsPrincipal (fun x1 x2 ↦ x1 + x2) 0", "case inr\nho : 1 ≤ 1\n⊢ IsPrincipal (fun x1 x2 ↦ x1 + x2) 1" ]
rcases le_one_iff.1 ho with (rfl | rfl)
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases
Lean.Parser.Tactic.rcases
Mathlib.SetTheory.Cardinal.Ordinal
{ "line": 58, "column": 6 }
{ "line": 58, "column": 31 }
{ "line": 58, "column": 31 }
[ { "pp": "case neg\nι : Type u\nf : ι → Ordinal.{v}\nhf : BddAbove (range f)\n⊢ Function.Surjective (⇑ToType.mk ∘ fun x ↦ ⟨↑x.snd.toOrd, ⋯⟩)", "ppTerm": "?neg✝", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.mem_Iio", "Preorder.toLT", "Ordinal.ToType.toOrd", "Ordin...
[ "case neg\nι : Type u\nf : ι → Ordinal.{v}\nhf : BddAbove (range f)\n⊢ Function.Surjective fun x ↦ ⟨↑x.snd.toOrd, ⋯⟩" ]
EquivLike.comp_surjective
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.SetTheory.Cardinal.Cofinality.Ordinal
{ "line": 183, "column": 10 }
{ "line": 183, "column": 49 }
{ "line": 183, "column": 50 }
[ { "pp": "case refine_2.refine_2\nβ : Type v\ninst✝¹ : LinearOrder β\ninst✝ : Small.{u, v} β\nf : β → Ordinal.{u}\nhf : StrictMono f\nthis✝ : StrictMono fun i ↦ ⟨f i, ⋯⟩\nthis : Cardinal.lift.{u + 1, v} (Order.cof β) = Cardinal.lift.{v, u + 1} (Order.cof ↑(Iio (⨆ i, f i + 1)))\n⊢ Cardinal.lift.{v, u} (⨆ i, f i +...
[ "case refine_2.refine_2\nβ : Type v\ninst✝¹ : LinearOrder β\ninst✝ : Small.{u, v} β\nf : β → Ordinal.{u}\nhf : StrictMono f\nthis✝ : StrictMono fun i ↦ ⟨f i, ⋯⟩\nthis : Cardinal.lift.{u + 1, v} (Order.cof β) = Cardinal.lift.{v, u + 1} (Order.cof ↑(Iio (⨆ i, f i + 1)))\n⊢ Cardinal.lift.{max (u + 1) v, max u v} (Card...
← Cardinal.lift_inj.{_, max (u + 1) v},
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.SetTheory.Cardinal.Cofinality.Ordinal
{ "line": 330, "column": 2 }
{ "line": 330, "column": 21 }
{ "line": 331, "column": 2 }
[ { "pp": "case pos\na b : Ordinal.{u_1}\nha : a ≠ 0\nhb : IsSuccPrelimit b\nhb' : IsMin b\n⊢ (a * b).cof = b.cof", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Ordinal.cof_zero", "Ordinal.instLinearOrder", "HMul.hMul", "Ordinal.partialOrder", "Cardinal", ...
[ "case neg\na b : Ordinal.{u_1}\nha : a ≠ 0\nhb : IsSuccPrelimit b\nhb' : ¬IsMin b\n⊢ (a * b).cof = b.cof" ]
· simp [hb'.eq_bot]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.SetTheory.Cardinal.Arithmetic
{ "line": 773, "column": 2 }
{ "line": 778, "column": 33 }
{ "line": 780, "column": 0 }
[ { "pp": "α : Type u\ninst✝ : Infinite α\n⊢ #(Finset α) = #α", "ppTerm": "?m.2", "assigned": true, "usedConstants": [ "Cardinal.mk_le_of_surjective", "Trans.trans", "Cardinal", "Finset", "Classical.propDecidable", "Cardinal.mk", "Cardinal.mk_list_eq_mk", ...
[]
classical exact Eq.symm <| le_antisymm (mk_le_of_injective fun _ _ => Finset.singleton_inj.1) <| calc #(Finset α) ≤ #(List α) := mk_le_of_surjective List.toFinset_surjective _ = #α := mk_list_eq_mk α
Lean.Elab.Tactic.evalClassical
Lean.Parser.Tactic.classical
Mathlib.SetTheory.Cardinal.Arithmetic
{ "line": 773, "column": 2 }
{ "line": 778, "column": 33 }
{ "line": 780, "column": 0 }
[ { "pp": "α : Type u\ninst✝ : Infinite α\n⊢ #(Finset α) = #α", "ppTerm": "?m.2", "assigned": true, "usedConstants": [ "Cardinal.mk_le_of_surjective", "Trans.trans", "Cardinal", "Finset", "Classical.propDecidable", "Cardinal.mk", "Cardinal.mk_list_eq_mk", ...
[]
classical exact Eq.symm <| le_antisymm (mk_le_of_injective fun _ _ => Finset.singleton_inj.1) <| calc #(Finset α) ≤ #(List α) := mk_le_of_surjective List.toFinset_surjective _ = #α := mk_list_eq_mk α
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.SetTheory.Cardinal.Arithmetic
{ "line": 773, "column": 2 }
{ "line": 778, "column": 33 }
{ "line": 780, "column": 0 }
[ { "pp": "α : Type u\ninst✝ : Infinite α\n⊢ #(Finset α) = #α", "ppTerm": "?m.2", "assigned": true, "usedConstants": [ "Cardinal.mk_le_of_surjective", "Trans.trans", "Cardinal", "Finset", "Classical.propDecidable", "Cardinal.mk", "Cardinal.mk_list_eq_mk", ...
[]
classical exact Eq.symm <| le_antisymm (mk_le_of_injective fun _ _ => Finset.singleton_inj.1) <| calc #(Finset α) ≤ #(List α) := mk_le_of_surjective List.toFinset_surjective _ = #α := mk_list_eq_mk α
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Algebra.Opposite
{ "line": 49, "column": 4 }
{ "line": 49, "column": 89 }
{ "line": 51, "column": 0 }
[ { "pp": "R : Type u_1\nS : Type u_2\nA : Type u_3\nB : Type u_4\ninst✝⁹ : CommSemiring R\ninst✝⁸ : CommSemiring S\ninst✝⁷ : Semiring A\ninst✝⁶ : Semiring B\ninst✝⁵ : Algebra R S\ninst✝⁴ : Algebra R A\ninst✝³ : Algebra R B\ninst✝² : Algebra S A\ninst✝¹ : SMulCommClass R S A\ninst✝ : IsScalarTower R S A\nr : R\nx...
[]
simp only [RingHom.toOpposite_apply, Function.comp_apply, ← op_mul, Algebra.commutes]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.Algebra.Opposite
{ "line": 49, "column": 4 }
{ "line": 49, "column": 89 }
{ "line": 51, "column": 0 }
[ { "pp": "R : Type u_1\nS : Type u_2\nA : Type u_3\nB : Type u_4\ninst✝⁹ : CommSemiring R\ninst✝⁸ : CommSemiring S\ninst✝⁷ : Semiring A\ninst✝⁶ : Semiring B\ninst✝⁵ : Algebra R S\ninst✝⁴ : Algebra R A\ninst✝³ : Algebra R B\ninst✝² : Algebra S A\ninst✝¹ : SMulCommClass R S A\ninst✝ : IsScalarTower R S A\nr : R\nx...
[]
simp only [RingHom.toOpposite_apply, Function.comp_apply, ← op_mul, Algebra.commutes]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Algebra.Opposite
{ "line": 49, "column": 4 }
{ "line": 49, "column": 89 }
{ "line": 51, "column": 0 }
[ { "pp": "R : Type u_1\nS : Type u_2\nA : Type u_3\nB : Type u_4\ninst✝⁹ : CommSemiring R\ninst✝⁸ : CommSemiring S\ninst✝⁷ : Semiring A\ninst✝⁶ : Semiring B\ninst✝⁵ : Algebra R S\ninst✝⁴ : Algebra R A\ninst✝³ : Algebra R B\ninst✝² : Algebra S A\ninst✝¹ : SMulCommClass R S A\ninst✝ : IsScalarTower R S A\nr : R\nx...
[]
simp only [RingHom.toOpposite_apply, Function.comp_apply, ← op_mul, Algebra.commutes]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.GroupTheory.FreeAbelianGroup
{ "line": 535, "column": 6 }
{ "line": 548, "column": 78 }
{ "line": 548, "column": 79 }
[ { "pp": "α : Type u\nG : Type u_1\nβ : Type v\nγ : Type w\nR : Type u_2\ninst✝¹ : Monoid α\ninst✝ : Ring R\nf : α →* R\nx y : FreeAbelianGroup α\n⊢ (lift ⇑f) (x * y) = (lift ⇑f) x * (lift ⇑f) y", "ppTerm": "?m.72", "assigned": true, "usedConstants": [ "add_mul", "Distrib.leftDistribClass...
[]
induction y using FreeAbelianGroup.induction_on with | zero => simp only [mul_zero, map_zero] | of L2 => induction x using FreeAbelianGroup.induction_on with | zero => simp only [zero_mul, map_zero] | of L1 => simp_rw [of_mul_of, lift_apply_of] exact f.map_mul _ _...
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
Lean.Parser.Tactic.induction
Mathlib.GroupTheory.FreeAbelianGroup
{ "line": 535, "column": 6 }
{ "line": 548, "column": 78 }
{ "line": 548, "column": 79 }
[ { "pp": "α : Type u\nG : Type u_1\nβ : Type v\nγ : Type w\nR : Type u_2\ninst✝¹ : Monoid α\ninst✝ : Ring R\nf : α →* R\nx y : FreeAbelianGroup α\n⊢ (lift ⇑f) (x * y) = (lift ⇑f) x * (lift ⇑f) y", "ppTerm": "?m.72", "assigned": true, "usedConstants": [ "add_mul", "Distrib.leftDistribClass...
[]
induction y using FreeAbelianGroup.induction_on with | zero => simp only [mul_zero, map_zero] | of L2 => induction x using FreeAbelianGroup.induction_on with | zero => simp only [zero_mul, map_zero] | of L1 => simp_rw [of_mul_of, lift_apply_of] exact f.map_mul _ _...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.GroupTheory.FreeAbelianGroup
{ "line": 535, "column": 6 }
{ "line": 548, "column": 78 }
{ "line": 548, "column": 79 }
[ { "pp": "α : Type u\nG : Type u_1\nβ : Type v\nγ : Type w\nR : Type u_2\ninst✝¹ : Monoid α\ninst✝ : Ring R\nf : α →* R\nx y : FreeAbelianGroup α\n⊢ (lift ⇑f) (x * y) = (lift ⇑f) x * (lift ⇑f) y", "ppTerm": "?m.72", "assigned": true, "usedConstants": [ "add_mul", "Distrib.leftDistribClass...
[]
induction y using FreeAbelianGroup.induction_on with | zero => simp only [mul_zero, map_zero] | of L2 => induction x using FreeAbelianGroup.induction_on with | zero => simp only [zero_mul, map_zero] | of L1 => simp_rw [of_mul_of, lift_apply_of] exact f.map_mul _ _...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.GroupTheory.Commutator.Basic
{ "line": 240, "column": 2 }
{ "line": 240, "column": 71 }
{ "line": 241, "column": 2 }
[ { "pp": "G : Type u_1\nG' : Type u_2\nF : Type u_3\ninst✝³ : Group G\ninst✝² : Group G'\ninst✝¹ : FunLike F G G'\ninst✝ : MonoidHomClass F G G'\nf : F\ng₁ g₂ g₃ g : G\nH H₁ H₂ H₃ K K₁ K₂ : Subgroup G\nh₁ : H₁.Normal\nh₂ : H₂.Normal\nbase : Set G := {x | ∃ g₁ ∈ H₁, ∃ g₂ ∈ H₂, ⁅g₁, g₂⁆ = x}\n⊢ base = Group.conjug...
[ "G : Type u_1\nG' : Type u_2\nF : Type u_3\ninst✝³ : Group G\ninst✝² : Group G'\ninst✝¹ : FunLike F G G'\ninst✝ : MonoidHomClass F G G'\nf : F\ng₁ g₂ g₃ g : G\nH H₁ H₂ H₃ K K₁ K₂ : Subgroup G\nh₁ : H₁.Normal\nh₂ : H₂.Normal\nbase : Set G := {x | ∃ g₁ ∈ H₁, ∃ g₂ ∈ H₂, ⁅g₁, g₂⁆ = x}\na : G\nh : a ∈ Group.conjugatesOf...
refine Set.Subset.antisymm Group.subset_conjugatesOfSet fun a h => ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.GroupTheory.Commutator.Basic
{ "line": 389, "column": 4 }
{ "line": 389, "column": 22 }
{ "line": 390, "column": 4 }
[ { "pp": "case a\nG : Type u_1\nG' : Type u_2\ninst✝¹ : Group G\ninst✝ : Group G'\nH₁ H₂ : Subgroup G\nK₁ K₂ : Subgroup G'\n⊢ ⁅H₁.prod K₁, H₂.prod K₂⁆ ≤ ⁅H₁, H₂⁆.prod ⁅K₁, K₂⁆", "ppTerm": "?a✝", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "PartialOrder.toPreorder", ...
[ "case a\nG : Type u_1\nG' : Type u_2\ninst✝¹ : Group G\ninst✝ : Group G'\nH₁ H₂ : Subgroup G\nK₁ K₂ : Subgroup G'\n⊢ ∀ g₁ ∈ H₁.prod K₁, ∀ g₂ ∈ H₂.prod K₂, ⁅g₁, g₂⁆ ∈ ⁅H₁, H₂⁆.prod ⁅K₁, K₂⁆" ]
rw [commutator_le]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.GroupTheory.Commutator.Basic
{ "line": 550, "column": 4 }
{ "line": 551, "column": 23 }
{ "line": 552, "column": 2 }
[ { "pp": "case h₁\nG : Type u_1\ninst✝ : Group G\n⊢ ⇑(closureCommutatorRepresentatives G).subtype '' commutatorSet ↥(closureCommutatorRepresentatives G) ⊆ commutatorSet G", "ppTerm": "?h₁", "assigned": true, "usedConstants": [ "commutatorSet", "Subgroup.instSubgroupClass", "MonoidHo...
[]
rintro - ⟨-, ⟨g₁, g₂, rfl⟩, rfl⟩ exact ⟨g₁, g₂, rfl⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.GroupTheory.Commutator.Basic
{ "line": 550, "column": 4 }
{ "line": 551, "column": 23 }
{ "line": 552, "column": 2 }
[ { "pp": "case h₁\nG : Type u_1\ninst✝ : Group G\n⊢ ⇑(closureCommutatorRepresentatives G).subtype '' commutatorSet ↥(closureCommutatorRepresentatives G) ⊆ commutatorSet G", "ppTerm": "?h₁", "assigned": true, "usedConstants": [ "commutatorSet", "Subgroup.instSubgroupClass", "MonoidHo...
[]
rintro - ⟨-, ⟨g₁, g₂, rfl⟩, rfl⟩ exact ⟨g₁, g₂, rfl⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.DFinsupp.Defs
{ "line": 129, "column": 54 }
{ "line": 131, "column": 5 }
{ "line": 133, "column": 0 }
[ { "pp": "ι : Type u\nβ₁ : ι → Type v₁\ninst✝ : (i : ι) → Zero (β₁ i)\nh : ∀ (i : ι), id 0 = 0\ng : Π₀ (i : ι), β₁ i\n⊢ mapRange (fun i ↦ id) h g = g", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "DFinsupp.ext", "DFinsupp.instDFunLike", "id", "DFinsupp.mapRange", ...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Fintype.Quotient
{ "line": 124, "column": 40 }
{ "line": 124, "column": 57 }
{ "line": 124, "column": 57 }
[ { "pp": "ι : Type u_1\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nα : ι → Sort u_2\nS : (i : ι) → Setoid (α i)\nf : (i : ι) → Quotient (S i)\na : (i : ι) → α i\n⊢ (finChoice fun x ↦ ⟦a x⟧).eval = fun x ↦ ⟦a x⟧", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg"...
[ "ι : Type u_1\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nα : ι → Sort u_2\nS : (i : ι) → Setoid (α i)\nf : (i : ι) → Quotient (S i)\na : (i : ι) → α i\n⊢ ⟦a⟧.eval = fun x ↦ ⟦a x⟧" ]
rw [finChoice_eq]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Fintype.Quotient
{ "line": 144, "column": 2 }
{ "line": 144, "column": 19 }
{ "line": 145, "column": 2 }
[ { "pp": "ι : Type u_1\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nα : ι → Sort u_2\nS : (i : ι) → Setoid (α i)\nβ : Sort u_3\na : (i : ι) → α i\nf : ((i : ι) → α i) → β\nh : ∀ (a b : (i : ι) → α i), (∀ (i : ι), a i ≈ b i) → f a = f b\n⊢ (finChoice fun x ↦ ⟦a x⟧).liftOn f h = f a", "ppTerm": "?m.34", "as...
[ "ι : Type u_1\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nα : ι → Sort u_2\nS : (i : ι) → Setoid (α i)\nβ : Sort u_3\na : (i : ι) → α i\nf : ((i : ι) → α i) → β\nh : ∀ (a b : (i : ι) → α i), (∀ (i : ι), a i ≈ b i) → f a = f b\n⊢ ⟦a⟧.liftOn f h = f a" ]
rw [finChoice_eq]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Fintype.Quotient
{ "line": 155, "column": 4 }
{ "line": 155, "column": 21 }
{ "line": 156, "column": 4 }
[ { "pp": "ι : Type u_1\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nα : ι → Sort u_2\nS : (i : ι) → Setoid (α i)\nβ : Sort u_3\nq : (i : ι) → Quotient (S i)\na : (i : ι) → α i\n⊢ (finChoice fun x ↦ ⟦a x⟧).eval = fun x ↦ ⟦a x⟧", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "ι : Type u_1\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nα : ι → Sort u_2\nS : (i : ι) → Setoid (α i)\nβ : Sort u_3\nq : (i : ι) → Quotient (S i)\na : (i : ι) → α i\n⊢ ⟦a⟧.eval = fun x ↦ ⟦a x⟧" ]
rw [finChoice_eq]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Fintype.Quotient
{ "line": 186, "column": 2 }
{ "line": 186, "column": 19 }
{ "line": 187, "column": 2 }
[ { "pp": "ι : Type u_1\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nα : ι → Sort u_2\nS : (i : ι) → Setoid (α i)\nC : ((i : ι) → Quotient (S i)) → Sort u_4\na : (i : ι) → α i\nf : (a : (i : ι) → α i) → C fun x ↦ ⟦a x⟧\nh : ∀ (a b : (i : ι) → α i), (∀ (i : ι), a i ≈ b i) → f a ≍ f b\n⊢ Quotient.hrecOn (finChoice f...
[ "ι : Type u_1\ninst✝¹ : Fintype ι\ninst✝ : DecidableEq ι\nα : ι → Sort u_2\nS : (i : ι) → Setoid (α i)\nC : ((i : ι) → Quotient (S i)) → Sort u_4\na : (i : ι) → α i\nf : (a : (i : ι) → α i) → C fun x ↦ ⟦a x⟧\nh : ∀ (a b : (i : ι) → α i), (∀ (i : ι), a i ≈ b i) → f a ≍ f b\n⊢ Quotient.hrecOn ⟦a⟧ f h ≍ f a" ]
rw [finChoice_eq]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Algebra.MonoidAlgebra.MapDomain
{ "line": 102, "column": 57 }
{ "line": 102, "column": 75 }
{ "line": 102, "column": 76 }
[ { "pp": "R : Type u_3\nS : Type u_4\nM : Type u_6\ninst✝¹ : Semiring R\ninst✝ : Semiring S\nf : R →+ S\n⊢ ⇑coeffEquiv '' Set.range (map f) = Set.range fun x ↦ mapRange ⇑f ⋯ (coeffEquiv x)", "ppTerm": "?m.68", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoi...
[ "R : Type u_3\nS : Type u_4\nM : Type u_6\ninst✝¹ : Semiring R\ninst✝ : Semiring S\nf : R →+ S\n⊢ (Set.range fun x ↦ coeffEquiv (map f x)) = Set.range fun x ↦ mapRange ⇑f ⋯ (coeffEquiv x)" ]
← Set.range_comp',
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Data.DFinsupp.Sigma
{ "line": 92, "column": 6 }
{ "line": 92, "column": 20 }
{ "line": 93, "column": 2 }
[ { "pp": "case inl.inr\nι : Type u\nα : ι → Type u_1\nδ : (i : ι) → α i → Type v\ninst✝² : DecidableEq ι\ninst✝¹ : (i : ι) → DecidableEq (α i)\ninst✝ : (i : ι) → (j : α i) → Zero (δ i j)\ni : ι\nj : α i\nx : δ ⟨i, j⟩.fst ⟨i, j⟩.snd\nj' : α i\nhj : j' ≠ j\n⊢ ⟨i, j'⟩ ≠ ⟨i, j⟩", "ppTerm": "?inl.inr✝", "assi...
[]
simpa using hj
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Data.DFinsupp.Sigma
{ "line": 150, "column": 6 }
{ "line": 150, "column": 20 }
{ "line": 151, "column": 2 }
[ { "pp": "case inl.inr\nι : Type u\nα : ι → Type u_1\nδ : (i : ι) → α i → Type v\ninst✝² : DecidableEq ι\ninst✝¹ : (i : ι) → (j : α i) → Zero (δ i j)\ninst✝ : (i : ι) → DecidableEq (α i)\ni : ι\nj : α i\nx : δ i j\nj' : α i\nhj : j' ≠ j\n⊢ ⟨i, j'⟩ ≠ ⟨i, j⟩", "ppTerm": "?inl.inr✝", "assigned": true, "...
[]
simpa using hj
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Data.DFinsupp.Sigma
{ "line": 164, "column": 8 }
{ "line": 164, "column": 25 }
{ "line": 164, "column": 26 }
[ { "pp": "ι : Type u\nγ : Type w\nα : ι → Type u_1\nδ : (i : ι) → α i → Type v\ninst✝¹ : DecidableEq ι\ninst✝ : (i : ι) → (j : α i) → Zero (δ i j)\nf : Π₀ (i : ι) (j : α i), δ i j\ni : ι\nj : α i\n⊢ (f.sigmaUncurry.sigmaCurry i) j = (f i) j", "ppTerm": "?m.88", "assigned": true, "usedConstants": [ ...
[ "ι : Type u\nγ : Type w\nα : ι → Type u_1\nδ : (i : ι) → α i → Type v\ninst✝¹ : DecidableEq ι\ninst✝ : (i : ι) → (j : α i) → Zero (δ i j)\nf : Π₀ (i : ι) (j : α i), δ i j\ni : ι\nj : α i\n⊢ f.sigmaUncurry ⟨i, j⟩ = (f i) j" ]
sigmaCurry_apply,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.MonoidAlgebra.Defs
{ "line": 532, "column": 6 }
{ "line": 532, "column": 70 }
{ "line": 533, "column": 4 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝¹ : Semiring R\ninst✝ : Mul M\nx y : R[M]\nm : M\ns : Finset (M × M)\nhs : ∀ {p : M × M}, p ∈ s ↔ p.1 * p.2 = m\nF : M × M → R := fun p ↦ if p.1 * p.2 = m then x.coeff p.1 * y.coeff p.2 else 0\n⊢ ∑ p ∈ x.coeff.support ×ˢ y.coeff.support with p.1 * p.2 = m, x.coeff p.1 *...
[]
congr! 1; ext; simp only [mem_filter, mem_product, hs, and_comm]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.MonoidAlgebra.Defs
{ "line": 532, "column": 6 }
{ "line": 532, "column": 70 }
{ "line": 533, "column": 4 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝¹ : Semiring R\ninst✝ : Mul M\nx y : R[M]\nm : M\ns : Finset (M × M)\nhs : ∀ {p : M × M}, p ∈ s ↔ p.1 * p.2 = m\nF : M × M → R := fun p ↦ if p.1 * p.2 = m then x.coeff p.1 * y.coeff p.2 else 0\n⊢ ∑ p ∈ x.coeff.support ×ˢ y.coeff.support with p.1 * p.2 = m, x.coeff p.1 *...
[]
congr! 1; ext; simp only [mem_filter, mem_product, hs, and_comm]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.DFinsupp.Submonoid
{ "line": 77, "column": 2 }
{ "line": 82, "column": 15 }
{ "line": 84, "column": 0 }
[ { "pp": "case a\nι : Type u\nγ : Type w\ninst✝² : DecidableEq ι\np : ι → Prop\ninst✝¹ : DecidablePred p\ninst✝ : AddCommMonoid γ\nS : ι → AddSubmonoid γ\n⊢ AddMonoidHom.mrange ((sumAddHom fun i ↦ (S i).subtype).comp (filterAddMonoidHom (fun i ↦ ↥(S i)) p)) ≤\n ⨆ i, ⨆ (_ : p i), S i", "ppTerm": "?a✝", ...
[]
· rintro x ⟨v, rfl⟩ refine dfinsuppSumAddHom_mem _ _ _ fun i _ => ?_ refine AddSubmonoid.mem_iSup_of_mem i ?_ by_cases hp : p i · simp [hp] · simp [hp]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Data.Finsupp.ToDFinsupp
{ "line": 271, "column": 16 }
{ "line": 271, "column": 36 }
{ "line": 272, "column": 2 }
[ { "pp": "ι : Type u_1\nR : Type u_2\nM : Type u_3\nη : ι → Type u_4\nN : Type u_5\ninst✝¹ : Semiring R\ninst✝ : Zero N\nf : (i : ι) × η i →₀ N\n⊢ (fun f ↦ onFinset (f.support.sigma fun j ↦ (f j).support) (fun ji ↦ (f ji.fst) ji.snd) ⋯)\n ((fun f ↦ { toFun := f.split, support' := Trunc.mk ⟨f.splitSupport.va...
[]
by ext; simp [split]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Finsupp.ToDFinsupp
{ "line": 272, "column": 17 }
{ "line": 272, "column": 37 }
{ "line": 274, "column": 0 }
[ { "pp": "ι : Type u_1\nR : Type u_2\nM : Type u_3\nη : ι → Type u_4\nN : Type u_5\ninst✝¹ : Semiring R\ninst✝ : Zero N\nf : Π₀ (i : ι), η i →₀ N\n⊢ (fun f ↦ { toFun := f.split, support' := Trunc.mk ⟨f.splitSupport.val, ⋯⟩ })\n ((fun f ↦ onFinset (f.support.sigma fun j ↦ (f j).support) (fun ji ↦ (f ji.fst) ...
[]
by ext; simp [split]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.MonoidAlgebra.Defs
{ "line": 765, "column": 4 }
{ "line": 765, "column": 34 }
{ "line": 766, "column": 4 }
[ { "pp": "R : Type u_1\nS : Type u_2\nG : Type u_3\nM : Type u_4\nN : Type u_5\nO : Type u_6\nι : Type u_7\ninst✝³ : Semiring R\nx✝ y✝ : R[M]\nr r₁ r₂ : R\nm m' m₁ m₂ m₁' m₂' : M\ninst✝² : Monoid M\ninst✝¹ : Monoid N\ninst✝ : Subsingleton M\nx y : R[M]\nthis : Unique M := { default := 1, uniq := ⋯ }\n⊢ (coeffAdd...
[ "R : Type u_1\nS : Type u_2\nG : Type u_3\nM : Type u_4\nN : Type u_5\nO : Type u_6\nι : Type u_7\ninst✝³ : Semiring R\nx✝ y✝ : R[M]\nr r₁ r₂ : R\nm m' m₁ m₂ m₁' m₂' : M\ninst✝² : Monoid M\ninst✝¹ : Monoid N\ninst✝ : Subsingleton M\nx y : R[M]\nthis : Unique M := { default := 1, uniq := ⋯ }\n⊢ (x.coeff.sum fun m₁ r...
refine (coeff_mul ..).trans ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Data.Finsupp.ToDFinsupp
{ "line": 312, "column": 90 }
{ "line": 314, "column": 5 }
{ "line": 316, "column": 0 }
[ { "pp": "ι : Type u_1\nη : ι → Type u_4\nN : Type u_5\ninst✝ : AddZeroClass N\nf g : (i : ι) × η i →₀ N\n⊢ sigmaFinsuppEquivDFinsupp (f + g) = sigmaFinsuppEquivDFinsupp f + sigmaFinsuppEquivDFinsupp g", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Finsupp.instAddZeroClass", "...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Finsupp.ToDFinsupp
{ "line": 329, "column": 75 }
{ "line": 331, "column": 5 }
{ "line": 333, "column": 0 }
[ { "pp": "ι : Type u_1\nη : ι → Type u_4\nN : Type u_5\nR : Type u_6\ninst✝² : Monoid R\ninst✝¹ : AddMonoid N\ninst✝ : DistribMulAction R N\nr : R\nf : (i : ι) × η i →₀ N\n⊢ sigmaFinsuppEquivDFinsupp (r • f) = r • sigmaFinsuppEquivDFinsupp f", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ ...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.MonoidAlgebra.Defs
{ "line": 856, "column": 12 }
{ "line": 856, "column": 44 }
{ "line": 856, "column": 44 }
[ { "pp": "R : Type u_1\nG : Type u_3\ninst✝¹ : Semiring R\ninst✝ : Group G\nx y : R[G]\ng : G\n⊢ (x * y).coeff g = y.coeff.sum fun h r ↦ x.coeff (g * h⁻¹) * r", "ppTerm": "?m.38", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Eq.mpr", "MonoidAlgebra.coeff", "HMu...
[ "R : Type u_1\nG : Type u_3\ninst✝¹ : Semiring R\ninst✝ : Group G\nx y : R[G]\ng : G\n⊢ (y.coeff.sum fun x' v' ↦ x.coeff.sum fun x v ↦ if x * x' = g then v * v' else 0) =\n y.coeff.sum fun h r ↦ x.coeff (g * h⁻¹) * r" ]
rw [coeff_mul, Finsupp.sum_comm]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Fin.Tuple.Reflection
{ "line": 48, "column": 20 }
{ "line": 53, "column": 11 }
{ "line": 55, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nn : ℕ\nf : Fin (n + 1) → α → β\nv : Fin (n + 1) → α\ni : Fin (n + 1)\n⊢ seq f v i = f i (v i)", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "Eq.mpr", "instNeZeroNatHAdd_1", "Fin.succ", "congrArg", "FinVec.seq._proof_1", ...
[]
by simp_rw [seq, seq_eq] refine i.cases ?_ fun i => ?_ · rfl · rw [Matrix.cons_val_succ] rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.DFinsupp.BigOperators
{ "line": 293, "column": 4 }
{ "line": 297, "column": 79 }
{ "line": 299, "column": 0 }
[ { "pp": "ι : Type u\nγ : Type w\nβ : ι → Type v\ninst✝² : DecidableEq ι\ninst✝¹ : (i : ι) → AddZeroClass (β i)\ninst✝ : AddCommMonoid γ\ni : ι\nφ : β i →+ γ\n⊢ ↑(sumAddHom (Pi.single i φ)) = ↑(φ.comp (evalAddMonoidHom i))", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
convert! sumZeroHom_piSingle i φ.toZeroHom using 1 rw [sumAddHom_toZeroHom] conv_lhs => enter [1, i] rw [Pi.apply_single (fun i (x : β i →+ γ) => x.toZeroHom) (fun _ => rfl)]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.DFinsupp.BigOperators
{ "line": 293, "column": 4 }
{ "line": 297, "column": 79 }
{ "line": 299, "column": 0 }
[ { "pp": "ι : Type u\nγ : Type w\nβ : ι → Type v\ninst✝² : DecidableEq ι\ninst✝¹ : (i : ι) → AddZeroClass (β i)\ninst✝ : AddCommMonoid γ\ni : ι\nφ : β i →+ γ\n⊢ ↑(sumAddHom (Pi.single i φ)) = ↑(φ.comp (evalAddMonoidHom i))", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
convert! sumZeroHom_piSingle i φ.toZeroHom using 1 rw [sumAddHom_toZeroHom] conv_lhs => enter [1, i] rw [Pi.apply_single (fun i (x : β i →+ γ) => x.toZeroHom) (fun _ => rfl)]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.DFinsupp.BigOperators
{ "line": 371, "column": 6 }
{ "line": 371, "column": 23 }
{ "line": 371, "column": 24 }
[ { "pp": "ι : Type u\nγ : Type w\nβ : ι → Type v\ninst✝³ : DecidableEq ι\ninst✝² : (i : ι) → AddGroup (β i)\ninst✝¹ : (i : ι) → (x : β i) → Decidable (x ≠ 0)\ninst✝ : AddCommGroup γ\nf g : Π₀ (i : ι), β i\nh : (i : ι) → β i → γ\nh_sub : ∀ (i : ι) (b₁ b₂ : β i), h i (b₁ - b₂) = h i b₁ - h i b₂\nthis :\n (liftAdd...
[ "ι : Type u\nγ : Type w\nβ : ι → Type v\ninst✝³ : DecidableEq ι\ninst✝² : (i : ι) → AddGroup (β i)\ninst✝¹ : (i : ι) → (x : β i) → Decidable (x ≠ 0)\ninst✝ : AddCommGroup γ\nf g : Π₀ (i : ι), β i\nh : (i : ι) → β i → γ\nh_sub : ∀ (i : ι) (b₁ b₂ : β i), h i (b₁ - b₂) = h i b₁ - h i b₂\nthis :\n (sumAddHom fun a ↦ A...
liftAddHom_apply,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.DFinsupp.BigOperators
{ "line": 397, "column": 6 }
{ "line": 397, "column": 23 }
{ "line": 397, "column": 24 }
[ { "pp": "ι : Type u\nβ : ι → Type v\ninst✝² : DecidableEq ι\ninst✝¹ : (i : ι) → AddCommMonoid (β i)\ninst✝ : (i : ι) → (x : β i) → Decidable (x ≠ 0)\nf : Π₀ (i : ι), β i\nthis : (liftAddHom (singleAddHom β)) f = (AddMonoidHom.id (Π₀ (i : ι), β i)) f\n⊢ f.sum single = f", "ppTerm": "?m.33", "assigned": t...
[ "ι : Type u\nβ : ι → Type v\ninst✝² : DecidableEq ι\ninst✝¹ : (i : ι) → AddCommMonoid (β i)\ninst✝ : (i : ι) → (x : β i) → Decidable (x ≠ 0)\nf : Π₀ (i : ι), β i\nthis : (sumAddHom (singleAddHom β)) f = (AddMonoidHom.id (Π₀ (i : ι), β i)) f\n⊢ f.sum single = f" ]
liftAddHom_apply,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.Dual.Defs
{ "line": 123, "column": 86 }
{ "line": 125, "column": 5 }
{ "line": 127, "column": 0 }
[ { "pp": "R : Type u_1\nM₁ : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : AddCommMonoid M₁\ninst✝ : Module R M₁\n⊢ id.dualMap = id", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "LinearMap.id", "Semiring.toModule", "LinearMap.ext", "CommSemiring.toSemiring", "D...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Dual.Defs
{ "line": 153, "column": 72 }
{ "line": 155, "column": 5 }
{ "line": 157, "column": 0 }
[ { "pp": "R : Type u_1\nM₁ : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : AddCommMonoid M₁\ninst✝ : Module R M₁\n⊢ (refl R M₁).dualMap = refl R (Dual R M₁)", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Semiring.toModule", "LinearMap.ext", "CommSemiring.toSemiring", ...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Dual.Defs
{ "line": 435, "column": 2 }
{ "line": 436, "column": 67 }
{ "line": 438, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nU V : Submodule R M\n⊢ U.dualAnnihilator ⊔ V.dualAnnihilator ≤ (U ⊓ V).dualAnnihilator", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "Eq.mpr", "Submodule", "Latti...
[]
rw [le_dualAnnihilator_iff_le_dualCoannihilator, dualCoannihilator_sup_eq] apply inf_le_inf <;> exact le_dualAnnihilator_dualCoannihilator _
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.Dual.Defs
{ "line": 435, "column": 2 }
{ "line": 436, "column": 67 }
{ "line": 438, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nU V : Submodule R M\n⊢ U.dualAnnihilator ⊔ V.dualAnnihilator ≤ (U ⊓ V).dualAnnihilator", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "Eq.mpr", "Submodule", "Latti...
[]
rw [le_dualAnnihilator_iff_le_dualCoannihilator, dualCoannihilator_sup_eq] apply inf_le_inf <;> exact le_dualAnnihilator_dualCoannihilator _
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq