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.BigOperators.Finprod
{ "line": 1095, "column": 6 }
{ "line": 1095, "column": 22 }
{ "line": 1096, "column": 6 }
[ { "pp": "case neg\nα : Type u_1\nM : Type u_5\ninst✝ : CommMonoid M\nf : α → M\na : α\nhf : HasFiniteMulSupport f\nh : ∀ (x : α), f x ≠ 1 → (x ≠ a ↔ x ∈ Finite.toFinset hf \\ {a})\nha : f a = 1\n⊢ f a * ∏ i ∈ (Finite.toFinset hf).erase a, f i = ∏ i ∈ Finite.toFinset hf, f i", "ppTerm": "?neg✝", "assigne...
[ "case neg\nα : Type u_1\nM : Type u_5\ninst✝ : CommMonoid M\nf : α → M\na : α\nhf : HasFiniteMulSupport f\nh : ∀ (x : α), f x ≠ 1 → (x ≠ a ↔ x ∈ Finite.toFinset hf \\ {a})\nha : f a = 1\n⊢ ∏ i ∈ (Finite.toFinset hf).erase a, f i = ∏ i ∈ Finite.toFinset hf, f i" ]
rw [ha, one_mul]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Vector.Basic
{ "line": 47, "column": 34 }
{ "line": 47, "column": 45 }
{ "line": 47, "column": 45 }
[ { "pp": "α : Type u_1\nn : ℕ\nv : List α\nhv : v.length = n\nw : List α\nhw : w.length = n\nh : ∀ (m : Fin n), get ⟨v, hv⟩ m = get ⟨w, hw⟩ m\n⊢ (↑⟨v, hv⟩).length = (↑⟨w, hw⟩).length", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "id", "Subtype...
[]
rw [hv, hw]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Vector.Basic
{ "line": 47, "column": 34 }
{ "line": 47, "column": 45 }
{ "line": 47, "column": 45 }
[ { "pp": "α : Type u_1\nn : ℕ\nv : List α\nhv : v.length = n\nw : List α\nhw : w.length = n\nh : ∀ (m : Fin n), get ⟨v, hv⟩ m = get ⟨w, hw⟩ m\n⊢ (↑⟨v, hv⟩).length = (↑⟨w, hw⟩).length", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "id", "Subtype...
[]
rw [hv, hw]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Vector.Basic
{ "line": 47, "column": 34 }
{ "line": 47, "column": 45 }
{ "line": 47, "column": 45 }
[ { "pp": "α : Type u_1\nn : ℕ\nv : List α\nhv : v.length = n\nw : List α\nhw : w.length = n\nh : ∀ (m : Fin n), get ⟨v, hv⟩ m = get ⟨w, hw⟩ m\n⊢ (↑⟨v, hv⟩).length = (↑⟨w, hw⟩).length", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "id", "Subtype...
[]
rw [hv, hw]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.BigOperators.Finprod
{ "line": 1345, "column": 42 }
{ "line": 1345, "column": 66 }
{ "line": 1345, "column": 66 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nM : Type u_5\ninst✝¹ : CommMonoid M\nf : α → β\nhf : Injective f\ninst✝ : DecidablePred fun x ↦ x ∈ range f\ng : α → M\n⊢ (∏ᶠ (j : α), if h' : f j ∈ range f then g (Classical.choose h') else 1) = ∏ᶠ (a : α), g a", "ppTerm": "?m.47", "assigned": true, "usedConstan...
[ "α : Type u_1\nβ : Type u_2\nM : Type u_5\ninst✝¹ : CommMonoid M\nf : α → β\nhf : Injective f\ninst✝ : DecidablePred fun x ↦ x ∈ range f\ng : α → M\n⊢ finprod ?m.52 = ∏ᶠ (a : α), g a", "α : Type u_1\nβ : Type u_2\nM : Type u_5\ninst✝¹ : CommMonoid M\nf : α → β\nhf : Injective f\ninst✝ : DecidablePred fun x ↦ x ∈ ...
finprod_congr fun a => _
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Fintype.BigOperators
{ "line": 189, "column": 8 }
{ "line": 189, "column": 44 }
{ "line": 189, "column": 44 }
[ { "pp": "case pos\nι : Type u_4\nα : ι → Type u_6\ninst✝² : DecidableEq ι\ninst✝¹ : Fintype ι\ninst✝ : (i : ι) → DecidableEq (α i)\ns : (i : ι) → Finset (α i)\ni : ι\na : α i\nh : a ∈ s i\n⊢ #({f ∈ piFinset s | f i = a}) = ∏ b ∈ univ.erase i, #(s b)", "ppTerm": "?pos✝", "assigned": true, "usedConsta...
[ "case pos\nι : Type u_4\nα : ι → Type u_6\ninst✝² : DecidableEq ι\ninst✝¹ : Fintype ι\ninst✝ : (i : ι) → DecidableEq (α i)\ns : (i : ι) → Finset (α i)\ni : ι\na : α i\nh : a ∈ s i\n⊢ ∏ j ∈ univ.erase i, #(s j) = ∏ b ∈ univ.erase i, #(s b)" ]
card_filter_piFinset_eq_of_mem _ _ h
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Fintype.BigOperators
{ "line": 189, "column": 4 }
{ "line": 189, "column": 45 }
{ "line": 190, "column": 2 }
[ { "pp": "case pos\nι : Type u_4\nα : ι → Type u_6\ninst✝² : DecidableEq ι\ninst✝¹ : Fintype ι\ninst✝ : (i : ι) → DecidableEq (α i)\ns : (i : ι) → Finset (α i)\ni : ι\na : α i\nh : a ∈ s i\n⊢ #({f ∈ piFinset s | f i = a}) = ∏ b ∈ univ.erase i, #(s b)", "ppTerm": "?pos✝", "assigned": true, "usedConsta...
[]
rw [card_filter_piFinset_eq_of_mem _ _ h]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Fintype.BigOperators
{ "line": 189, "column": 4 }
{ "line": 189, "column": 45 }
{ "line": 190, "column": 2 }
[ { "pp": "case pos\nι : Type u_4\nα : ι → Type u_6\ninst✝² : DecidableEq ι\ninst✝¹ : Fintype ι\ninst✝ : (i : ι) → DecidableEq (α i)\ns : (i : ι) → Finset (α i)\ni : ι\na : α i\nh : a ∈ s i\n⊢ #({f ∈ piFinset s | f i = a}) = ∏ b ∈ univ.erase i, #(s b)", "ppTerm": "?pos✝", "assigned": true, "usedConsta...
[]
rw [card_filter_piFinset_eq_of_mem _ _ h]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Fintype.BigOperators
{ "line": 189, "column": 4 }
{ "line": 189, "column": 45 }
{ "line": 190, "column": 2 }
[ { "pp": "case pos\nι : Type u_4\nα : ι → Type u_6\ninst✝² : DecidableEq ι\ninst✝¹ : Fintype ι\ninst✝ : (i : ι) → DecidableEq (α i)\ns : (i : ι) → Finset (α i)\ni : ι\na : α i\nh : a ∈ s i\n⊢ #({f ∈ piFinset s | f i = a}) = ∏ b ∈ univ.erase i, #(s b)", "ppTerm": "?pos✝", "assigned": true, "usedConsta...
[]
rw [card_filter_piFinset_eq_of_mem _ _ h]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Fintype.Fin
{ "line": 64, "column": 59 }
{ "line": 64, "column": 78 }
{ "line": 64, "column": 79 }
[ { "pp": "case cons\nα : Type u_1\nn✝ : ℕ\np : α → Bool\nn : ℕ\nx : α\nxs : List.Vector α n\nhxs : List.countP p xs.toList = #{i | p (xs.get i) = true}\n⊢ List.countP p (x ::ᵥ xs).toList = (if p x = true then 1 else 0) + #{x_1 | p ((x ::ᵥ xs).get x_1.succ) = true}", "ppTerm": "?cons", "assigned": true, ...
[ "case cons\nα : Type u_1\nn✝ : ℕ\np : α → Bool\nn : ℕ\nx : α\nxs : List.Vector α n\nhxs : List.countP p xs.toList = #{i | p (xs.get i) = true}\n⊢ List.countP p (x :: xs.toList) = (if p x = true then 1 else 0) + #{x_1 | p ((x ::ᵥ xs).get x_1.succ) = true}" ]
Vector.toList_cons,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Order.Interval.Set.Fin
{ "line": 98, "column": 83 }
{ "line": 98, "column": 97 }
{ "line": 100, "column": 0 }
[ { "pp": "n : ℕ\ni j : Fin n\n⊢ val '' uIoo i j = uIoo ↑i ↑j", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Lattice.toSemilatticeSup", "congrArg", "PartialOrder.toPreorder", "SemilatticeInf.toPartialOrder", "SemilatticeSup.toMax", "DistribLattice.toLatti...
[]
by simp [uIoo]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Fin.VecNotation
{ "line": 230, "column": 2 }
{ "line": 230, "column": 16 }
{ "line": 232, "column": 0 }
[ { "pp": "α : Type u\nm : ℕ\nx : α\nu : Fin m → α\nx✝ : Fin m\n⊢ vecTail (vecCons x u) x✝ = u x✝", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "congrArg", "Matrix.cons_val_succ", "True", "eq_self", "of_eq_true", "congrFun'", "Matrix.vecTail", ...
[]
simp [vecTail]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Order.Interval.Set.Fin
{ "line": 807, "column": 71 }
{ "line": 807, "column": 93 }
{ "line": 809, "column": 0 }
[ { "pp": "n : ℕ\ni : Fin n\n⊢ rev ⁻¹' Ici i = Iic i.rev", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Set.ext", "Set.Ici", "_private.Mathlib.Order.Interval.Set.Fin.0.Fin.preimage_rev_Ici._simp_1_1", "congrArg", "PartialOrder.toPreorder", "Preorder.toLE...
[]
ext; simp [le_rev_iff]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Interval.Set.Fin
{ "line": 807, "column": 71 }
{ "line": 807, "column": 93 }
{ "line": 809, "column": 0 }
[ { "pp": "n : ℕ\ni : Fin n\n⊢ rev ⁻¹' Ici i = Iic i.rev", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Set.ext", "Set.Ici", "_private.Mathlib.Order.Interval.Set.Fin.0.Fin.preimage_rev_Ici._simp_1_1", "congrArg", "PartialOrder.toPreorder", "Preorder.toLE...
[]
ext; simp [le_rev_iff]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Logic.Equiv.Fin.Rotate
{ "line": 73, "column": 4 }
{ "line": 73, "column": 50 }
{ "line": 74, "column": 4 }
[ { "pp": "n✝ n : ℕ\ni : Fin (n + 2)\n⊢ (finRotate (n + 2)) i = i + 1", "ppTerm": "?m.30", "assigned": true, "usedConstants": [ "Equiv.instEquivLike", "Fin.eq_or_lt_of_le", "Fin.neZero", "Fin.instOfNat", "instOfNatNat", "finRotate", "Or.casesOn", "instHA...
[ "case inl\nn✝ n : ℕ\n⊢ (finRotate (n + 2)) (Fin.last (n + 1)) = Fin.last (n + 1) + 1", "case inr\nn✝ n : ℕ\ni : Fin (n + 2)\nh : i < Fin.last (n + 1)\n⊢ (finRotate (n + 2)) i = i + 1" ]
obtain rfl | h := Fin.eq_or_lt_of_le i.le_last
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Algebra.GroupWithZero.Associated
{ "line": 337, "column": 12 }
{ "line": 337, "column": 17 }
{ "line": 337, "column": 18 }
[ { "pp": "M : Type u_1\ninst✝¹ : CommMonoidWithZero M\ninst✝ : IsCancelMulZero M\na b c d : M\nh : a * b ~ᵤ c * d\nh₁ : a ~ᵤ c\nha : a ≠ 0\nu : Mˣ\nhu : a * b * ↑u = c * d\nv : Mˣ\nhv : c * ↑v = a\n⊢ a * (b * ↑(u * v)) = a * d", "ppTerm": "?m.47", "assigned": true, "usedConstants": [ "Units.val...
[ "M : Type u_1\ninst✝¹ : CommMonoidWithZero M\ninst✝ : IsCancelMulZero M\na b c d : M\nh : a * b ~ᵤ c * d\nh₁ : a ~ᵤ c\nha : a ≠ 0\nu : Mˣ\nhu : a * b * ↑u = c * d\nv : Mˣ\nhv : c * ↑v = a\n⊢ c * ↑v * (b * ↑(u * v)) = c * ↑v * d" ]
← hv,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.LinearIndependent.Basic
{ "line": 404, "column": 2 }
{ "line": 411, "column": 41 }
{ "line": 413, "column": 0 }
[ { "pp": "R : Type u_2\nM : Type u_4\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nm : ℕ\nx : M\nv : Fin m → M\nhli : LinearIndependent R v\nx_ortho : ∀ (c : R), ∀ y ∈ span R (range v), c • x + y = 0 → c = 0\n⊢ LinearIndependent R (Fin.cons x v)", "ppTerm": "?m.40", "assigned": true, ...
[]
rw [Fintype.linearIndependent_iff] at hli ⊢ rintro g total_eq j simp_rw [Fin.sum_univ_succ, Fin.cons_zero, Fin.cons_succ] at total_eq have : g 0 = 0 := by refine x_ortho (g 0) (∑ i : Fin m, g i.succ • v i) ?_ total_eq exact sum_mem fun i _ => smul_mem _ _ (subset_span ⟨i, rfl⟩) rw [this, zero_smul, zero...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.LinearIndependent.Basic
{ "line": 404, "column": 2 }
{ "line": 411, "column": 41 }
{ "line": 413, "column": 0 }
[ { "pp": "R : Type u_2\nM : Type u_4\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nm : ℕ\nx : M\nv : Fin m → M\nhli : LinearIndependent R v\nx_ortho : ∀ (c : R), ∀ y ∈ span R (range v), c • x + y = 0 → c = 0\n⊢ LinearIndependent R (Fin.cons x v)", "ppTerm": "?m.40", "assigned": true, ...
[]
rw [Fintype.linearIndependent_iff] at hli ⊢ rintro g total_eq j simp_rw [Fin.sum_univ_succ, Fin.cons_zero, Fin.cons_succ] at total_eq have : g 0 = 0 := by refine x_ortho (g 0) (∑ i : Fin m, g i.succ • v i) ?_ total_eq exact sum_mem fun i _ => smul_mem _ _ (subset_span ⟨i, rfl⟩) rw [this, zero_smul, zero...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.GroupWithZero.Associated
{ "line": 695, "column": 6 }
{ "line": 695, "column": 70 }
{ "line": 695, "column": 71 }
[ { "pp": "case mk.mk.mk\nM : Type u_1\nN : Type u_2\nP : Type u_3\ninst✝¹ : CommMonoidWithZero M\ninst✝ : IsCancelMulZero M\na✝ : Associates M\na : M\nha : Quot.mk (⇑(Associated.setoid M)) a ≠ 0\na₁✝ : Associates M\nb : M\na₂✝ : Associates M\nc : M\nh :\n (fun x ↦ Quot.mk (⇑(Associated.setoid M)) a * x) (Quot.m...
[]
exact Quotient.sound' ⟨u, mul_left_cancel₀ (mk_ne_zero.1 ha) hu⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Algebra.BigOperators.Fin
{ "line": 277, "column": 82 }
{ "line": 278, "column": 29 }
{ "line": 280, "column": 0 }
[ { "pp": "M : Type u_2\ninst✝ : CommMonoid M\nn m : ℕ\nh : n ≤ m\nf : Fin m → M\na b : Fin n\n⊢ ∏ i ∈ uIcc (castLE h a) (castLE h b), f i = ∏ i ∈ uIcc a b, f (castLE h i)", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "congrArg", "Fin.castLE", "Finset", "Fin.instLoc...
[]
by simp [← map_castLEEmb_uIcc]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.LinearIndependent.Basic
{ "line": 493, "column": 2 }
{ "line": 494, "column": 7 }
{ "line": 496, "column": 0 }
[ { "pp": "ι : Type u'\nR : Type u_2\ns : Set ι\nM : Type u_4\nv : ι → M\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nt : Set ι\nhdj : Disjoint s t\nh : LinearIndepOn R v (s ∪ t)\n⊢ Disjoint (span R (v '' s)) (span R (v '' t))", "ppTerm": "?m.72", "assigned": true, "usedConstants": [...
[]
convert h.disjoint_span_image (s := (↑) ⁻¹' s) (t := (↑) ⁻¹' t) (hdj.preimage _) <;> aesop
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.LinearAlgebra.LinearIndependent.Defs
{ "line": 591, "column": 91 }
{ "line": 622, "column": 69 }
{ "line": 624, "column": 0 }
[ { "pp": "ι : Type u'\nR : Type u_2\nM : Type u_4\nv : ι → M\ninst✝⁶ : Semiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module R M\ninst✝³ : LinearOrder R\ninst✝² : CanonicallyOrderedAdd R\ninst✝¹ : AddRightReflectLE R\ninst✝ : IsCancelAdd M\n⊢ LinearIndependent R v ↔\n ∀ (s t : Finset ι) (f : ι → R),\n Di...
[]
by classical let : Sub R := CanonicallyOrderedAdd.toSub have : OrderedSub R := CanonicallyOrderedAdd.toOrderedSub rw [linearIndependent_iff'ₛ] refine ⟨fun h s t f hst heq => ?_, fun h s f g heq => ?_⟩ · specialize h (s ∪ t) (fun i => if i ∈ s then f i else 0) (fun i => if i ∈ t then f i else 0) ?_ · sim...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Module.Submodule.Pointwise
{ "line": 476, "column": 2 }
{ "line": 478, "column": 25 }
{ "line": 480, "column": 0 }
[ { "pp": "R : Type u_4\nG : Type u_5\nM : Type u_6\ninst✝⁵ : Semiring R\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\ninst✝² : Group G\ninst✝¹ : DistribMulAction G M\ninst✝ : SMulCommClass G R M\nS : Submodule R M\n⊢ stabilizer G S = stabilizer G ↑S", "ppTerm": "?m.19", "assigned": true, "usedConst...
[]
ext rw [mem_stabilizer_iff, SetLike.ext'_iff, coe_pointwise_smul, ← mem_stabilizer_iff]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Module.Submodule.Pointwise
{ "line": 476, "column": 2 }
{ "line": 478, "column": 25 }
{ "line": 480, "column": 0 }
[ { "pp": "R : Type u_4\nG : Type u_5\nM : Type u_6\ninst✝⁵ : Semiring R\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\ninst✝² : Group G\ninst✝¹ : DistribMulAction G M\ninst✝ : SMulCommClass G R M\nS : Submodule R M\n⊢ stabilizer G S = stabilizer G ↑S", "ppTerm": "?m.19", "assigned": true, "usedConst...
[]
ext rw [mem_stabilizer_iff, SetLike.ext'_iff, coe_pointwise_smul, ← mem_stabilizer_iff]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.ScottContinuity
{ "line": 178, "column": 2 }
{ "line": 179, "column": 49 }
{ "line": 181, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\ninst✝² : Preorder α\ninst✝¹ : Preorder β\ninst✝ : Preorder γ\nf : α → β\ng : α → γ\nhf : ScottContinuous f\nhg : ScottContinuous g\n⊢ ScottContinuous fun x ↦ (f x, g x)", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
rw [← scottContinuousOn_univ] at ⊢ hf hg exact ScottContinuousOn.prodMk (by grind) hf hg
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.ScottContinuity
{ "line": 178, "column": 2 }
{ "line": 179, "column": 49 }
{ "line": 181, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\ninst✝² : Preorder α\ninst✝¹ : Preorder β\ninst✝ : Preorder γ\nf : α → β\ng : α → γ\nhf : ScottContinuous f\nhg : ScottContinuous g\n⊢ ScottContinuous fun x ↦ (f x, g x)", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
rw [← scottContinuousOn_univ] at ⊢ hf hg exact ScottContinuousOn.prodMk (by grind) hf hg
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.Closure
{ "line": 76, "column": 22 }
{ "line": 76, "column": 91 }
{ "line": 78, "column": 0 }
[ { "pp": "α : Type u_1\nι : Sort u_2\nκ : ι → Sort u_3\ninst✝ : Preorder α\n⊢ Function.Injective fun c ↦ ⇑c.toOrderHom", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "ClosureOperator.mk", "congrArg", "ClosureOperator.casesOn", "OrderHom.toFun", "Preorder.toLE"...
[]
rintro ⟨⟩ ⟨⟩ h; obtain rfl := DFunLike.ext' h; congr with x; simp_all
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Closure
{ "line": 76, "column": 22 }
{ "line": 76, "column": 91 }
{ "line": 78, "column": 0 }
[ { "pp": "α : Type u_1\nι : Sort u_2\nκ : ι → Sort u_3\ninst✝ : Preorder α\n⊢ Function.Injective fun c ↦ ⇑c.toOrderHom", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "ClosureOperator.mk", "congrArg", "ClosureOperator.casesOn", "OrderHom.toFun", "Preorder.toLE"...
[]
rintro ⟨⟩ ⟨⟩ h; obtain rfl := DFunLike.ext' h; congr with x; simp_all
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.SuccPred.Basic
{ "line": 386, "column": 2 }
{ "line": 386, "column": 42 }
{ "line": 388, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝² : PartialOrder α\ninst✝¹ : SuccOrder α\ninst✝ : OrderTop α\n⊢ succ ⊤ = ⊤", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "isMax_iff_eq_top", "Eq.mpr", "Order.succ", "congrArg", "PartialOrder.toPreorder", "Preorder.toLE", ...
[]
rw [succ_eq_iff_isMax, isMax_iff_eq_top]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Order.SuccPred.Basic
{ "line": 386, "column": 2 }
{ "line": 386, "column": 42 }
{ "line": 388, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝² : PartialOrder α\ninst✝¹ : SuccOrder α\ninst✝ : OrderTop α\n⊢ succ ⊤ = ⊤", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "isMax_iff_eq_top", "Eq.mpr", "Order.succ", "congrArg", "PartialOrder.toPreorder", "Preorder.toLE", ...
[]
rw [succ_eq_iff_isMax, isMax_iff_eq_top]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.SuccPred.Basic
{ "line": 386, "column": 2 }
{ "line": 386, "column": 42 }
{ "line": 388, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝² : PartialOrder α\ninst✝¹ : SuccOrder α\ninst✝ : OrderTop α\n⊢ succ ⊤ = ⊤", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "isMax_iff_eq_top", "Eq.mpr", "Order.succ", "congrArg", "PartialOrder.toPreorder", "Preorder.toLE", ...
[]
rw [succ_eq_iff_isMax, isMax_iff_eq_top]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.SupIndep
{ "line": 128, "column": 97 }
{ "line": 134, "column": 18 }
{ "line": 136, "column": 0 }
[ { "pp": "α : Type u_1\nι : Type u_3\nι' : Type u_4\ninst✝¹ : Lattice α\ninst✝ : OrderBot α\nf : ι → α\ns : Finset ι'\ng : ι' ↪ ι\n⊢ (map g s).SupIndep f ↔ s.SupIndep (f ∘ ⇑g)", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mpr", "Lattice.toSemilatticeSup", ...
[]
by refine ⟨fun hs t ht i hi hit => ?_, fun hs => ?_⟩ · rw [← sup_map] exact hs (map_subset_map.2 ht) ((mem_map' _).2 hi) (by rwa [mem_map']) · classical rw [map_eq_image] exact hs.image
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.SupIndep
{ "line": 140, "column": 4 }
{ "line": 140, "column": 44 }
{ "line": 141, "column": 2 }
[ { "pp": "α : Type u_1\nι : Type u_3\ninst✝² : Lattice α\ninst✝¹ : OrderBot α\nf : ι → α\ninst✝ : DecidableEq ι\ni j : ι\nhij : i ≠ j\nthis : Disjoint (f i) (f j) → Disjoint (f j) (({i, j}.erase j).sup f)\n⊢ {i, j}.SupIndep f ↔ Disjoint (f i) (f j)", "ppTerm": "?m.36", "assigned": true, "usedConstant...
[]
simpa [supIndep_iff_disjoint_erase, hij]
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Order.SupIndep
{ "line": 140, "column": 4 }
{ "line": 140, "column": 44 }
{ "line": 141, "column": 2 }
[ { "pp": "α : Type u_1\nι : Type u_3\ninst✝² : Lattice α\ninst✝¹ : OrderBot α\nf : ι → α\ninst✝ : DecidableEq ι\ni j : ι\nhij : i ≠ j\nthis : Disjoint (f i) (f j) → Disjoint (f j) (({i, j}.erase j).sup f)\n⊢ {i, j}.SupIndep f ↔ Disjoint (f i) (f j)", "ppTerm": "?m.36", "assigned": true, "usedConstant...
[]
simpa [supIndep_iff_disjoint_erase, hij]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.SupIndep
{ "line": 140, "column": 4 }
{ "line": 140, "column": 44 }
{ "line": 141, "column": 2 }
[ { "pp": "α : Type u_1\nι : Type u_3\ninst✝² : Lattice α\ninst✝¹ : OrderBot α\nf : ι → α\ninst✝ : DecidableEq ι\ni j : ι\nhij : i ≠ j\nthis : Disjoint (f i) (f j) → Disjoint (f j) (({i, j}.erase j).sup f)\n⊢ {i, j}.SupIndep f ↔ Disjoint (f i) (f j)", "ppTerm": "?m.36", "assigned": true, "usedConstant...
[]
simpa [supIndep_iff_disjoint_erase, hij]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.SupIndep
{ "line": 251, "column": 6 }
{ "line": 251, "column": 57 }
{ "line": 251, "column": 57 }
[ { "pp": "α : Type u_1\nι : Type u_3\ninst✝³ : Lattice α\ninst✝² : IsModularLattice α\ninst✝¹ : OrderBot α\ninst✝ : DecidableEq ι\ns t : Finset ι\nf : ι → α\nhs : s.SupIndep f\nht : t.SupIndep f\nh : Disjoint (s.sup f) (t.sup f)\n⊢ (s ∪ t).SupIndep f", "ppTerm": "?m.28", "assigned": true, "usedConsta...
[ "α : Type u_1\nι : Type u_3\ninst✝³ : Lattice α\ninst✝² : IsModularLattice α\ninst✝¹ : OrderBot α\ninst✝ : DecidableEq ι\ns t : Finset ι\nf : ι → α\nhs : s.SupIndep f\nht : t.SupIndep f\nh : Disjoint (s.sup f) (t.sup f)\n⊢ ({s, t}.biUnion id).SupIndep f" ]
show s ∪ t = ({s, t} : Finset _).biUnion id by simp
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 278, "column": 19 }
{ "line": 278, "column": 46 }
{ "line": 278, "column": 46 }
[ { "pp": "α : Type u_4\ninst✝ : CompleteLattice α\nh : IsSupFiniteCompact α\ns : Set α\nhne : s.Nonempty\nhsc : SupClosed s\n⊢ sSup s ∈ s", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Lattice.toSemilatticeSup", "Finset", "PartialOrder.toPreorder", "Preorder.toLE", ...
[ "α : Type u_4\ninst✝ : CompleteLattice α\nh : IsSupFiniteCompact α\ns : Set α\nhne : s.Nonempty\nhsc : SupClosed s\nt : Finset α\nht₁ : ↑t ⊆ s\nht₂ : sSup s = t.sup id\n⊢ sSup s ∈ s" ]
obtain ⟨t, ht₁, ht₂⟩ := h s
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 466, "column": 40 }
{ "line": 466, "column": 51 }
{ "line": 466, "column": 51 }
[ { "pp": "α : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\na : α\ns : Set α\nh : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s\n⊢ ⨆ b ∈ s, a ⊓ b = ⊥ ↔ ∀ ⦃b : α⦄, b ∈ s → a ⊓ b = ⊥", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Lattice.toSemilatticeSup", "Complete...
[]
iSup_eq_bot
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 470, "column": 40 }
{ "line": 470, "column": 51 }
{ "line": 470, "column": 51 }
[ { "pp": "α : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\na : α\ns : Set α\nh : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s\n⊢ ⨆ b ∈ s, b ⊓ a = ⊥ ↔ ∀ ⦃b : α⦄, b ∈ s → b ⊓ a = ⊥", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Lattice.toSemilatticeSup", "Complete...
[]
iSup_eq_bot
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 474, "column": 40 }
{ "line": 474, "column": 51 }
{ "line": 474, "column": 51 }
[ { "pp": "ι : Sort u_1\nα : Type u_2\nf : ι → α\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\na : α\nh : Directed (fun x1 x2 ↦ x1 ≤ x2) f\n⊢ ⨆ i, a ⊓ f i = ⊥ ↔ ∀ (i : ι), a ⊓ f i = ⊥", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Lattice.toSemilatticeSup", "Comp...
[]
iSup_eq_bot
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 478, "column": 40 }
{ "line": 478, "column": 51 }
{ "line": 478, "column": 51 }
[ { "pp": "ι : Sort u_1\nα : Type u_2\nf : ι → α\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\na : α\nh : Directed (fun x1 x2 ↦ x1 ≤ x2) f\n⊢ ⨆ i, f i ⊓ a = ⊥ ↔ ∀ (i : ι), f i ⊓ a = ⊥", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Lattice.toSemilatticeSup", "Comp...
[]
iSup_eq_bot
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.LinearAlgebra.Basis.Submodule
{ "line": 47, "column": 31 }
{ "line": 47, "column": 83 }
{ "line": 49, "column": 0 }
[ { "pp": "ι : Type u_1\nR : Type u_2\nM : Type u_3\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : Fintype ι\nP : Submodule R M\nb : Basis ι R ↥P\nx : M\nc : ι → R\n⊢ (x = (equivFunOnFinite.symm c).sum fun i x ↦ x • ↑(b i)) ↔ x = ∑ i, c i • ↑(b i)", "ppTerm": "?m.53", "assign...
[]
simp [Finsupp.sum_fintype, Finsupp.equivFunOnFinite]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.LinearAlgebra.Basis.Submodule
{ "line": 47, "column": 31 }
{ "line": 47, "column": 83 }
{ "line": 49, "column": 0 }
[ { "pp": "ι : Type u_1\nR : Type u_2\nM : Type u_3\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : Fintype ι\nP : Submodule R M\nb : Basis ι R ↥P\nx : M\nc : ι → R\n⊢ (x = (equivFunOnFinite.symm c).sum fun i x ↦ x • ↑(b i)) ↔ x = ∑ i, c i • ↑(b i)", "ppTerm": "?m.53", "assign...
[]
simp [Finsupp.sum_fintype, Finsupp.equivFunOnFinite]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.Basis.Submodule
{ "line": 47, "column": 31 }
{ "line": 47, "column": 83 }
{ "line": 49, "column": 0 }
[ { "pp": "ι : Type u_1\nR : Type u_2\nM : Type u_3\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : Fintype ι\nP : Submodule R M\nb : Basis ι R ↥P\nx : M\nc : ι → R\n⊢ (x = (equivFunOnFinite.symm c).sum fun i x ↦ x • ↑(b i)) ↔ x = ∑ i, c i • ↑(b i)", "ppTerm": "?m.53", "assign...
[]
simp [Finsupp.sum_fintype, Finsupp.equivFunOnFinite]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.LinearAlgebra.Span.Basic
{ "line": 154, "column": 4 }
{ "line": 154, "column": 22 }
{ "line": 155, "column": 2 }
[ { "pp": "case a\nR : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\ns : Set M\nr : R\nhr : IsUnit r\n⊢ span R (r • s) ≤ span R s", "ppTerm": "?a✝", "assigned": true, "usedConstants": [ "Submodule.span_smul_le" ], "usedFVars": [ "R", ...
[]
apply span_smul_le
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.LinearAlgebra.Span.Basic
{ "line": 154, "column": 4 }
{ "line": 154, "column": 22 }
{ "line": 155, "column": 2 }
[ { "pp": "case a\nR : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\ns : Set M\nr : R\nhr : IsUnit r\n⊢ span R (r • s) ≤ span R s", "ppTerm": "?a✝", "assigned": true, "usedConstants": [ "Submodule.span_smul_le" ], "usedFVars": [ "R", ...
[]
apply span_smul_le
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.Span.Basic
{ "line": 154, "column": 4 }
{ "line": 154, "column": 22 }
{ "line": 155, "column": 2 }
[ { "pp": "case a\nR : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\ns : Set M\nr : R\nhr : IsUnit r\n⊢ span R (r • s) ≤ span R s", "ppTerm": "?a✝", "assigned": true, "usedConstants": [ "Submodule.span_smul_le" ], "usedFVars": [ "R", ...
[]
apply span_smul_le
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 499, "column": 55 }
{ "line": 499, "column": 66 }
{ "line": 499, "column": 66 }
[ { "pp": "α : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\ns : Set α\nh : ∀ (t : Finset α), ↑t ⊆ s → sSupIndep ↑t\na : α\nha : a ∈ s\n⊢ ⨆ t, ⨆ (_ : ↑t ⊆ s \\ {a}), a ⊓ t.sup id = ⊥", "ppTerm": "?m.36", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemi...
[ "α : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\ns : Set α\nh : ∀ (t : Finset α), ↑t ⊆ s → sSupIndep ↑t\na : α\nha : a ∈ s\n⊢ ∀ (i : Finset α), ⨆ (_ : ↑i ⊆ s \\ {a}), a ⊓ i.sup id = ⊥" ]
iSup_eq_bot
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Algebra.Hom
{ "line": 263, "column": 33 }
{ "line": 263, "column": 71 }
{ "line": 263, "column": 72 }
[ { "pp": "R : Type u\nA : Type v\nB : Type w\nC : Type u₁\nD : Type v₁\ninst✝⁸ : CommSemiring R\ninst✝⁷ : Semiring A\ninst✝⁶ : Semiring B\ninst✝⁵ : Semiring C\ninst✝⁴ : Semiring D\ninst✝³ : Algebra R A\ninst✝² : Algebra R B\ninst✝¹ : Algebra R C\ninst✝ : Algebra R D\nφ : A →ₐ[R] B\nφ₁ : B →ₐ[R] C\nφ₂ : A →ₐ[R] B...
[]
rw [← φ₁.commutes, ← φ₂.commutes]; rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Algebra.Hom
{ "line": 263, "column": 33 }
{ "line": 263, "column": 71 }
{ "line": 263, "column": 72 }
[ { "pp": "R : Type u\nA : Type v\nB : Type w\nC : Type u₁\nD : Type v₁\ninst✝⁸ : CommSemiring R\ninst✝⁷ : Semiring A\ninst✝⁶ : Semiring B\ninst✝⁵ : Semiring C\ninst✝⁴ : Semiring D\ninst✝³ : Algebra R A\ninst✝² : Algebra R B\ninst✝¹ : Algebra R C\ninst✝ : Algebra R D\nφ : A →ₐ[R] B\nφ₁ : B →ₐ[R] C\nφ₂ : A →ₐ[R] B...
[]
rw [← φ₁.commutes, ← φ₂.commutes]; rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 562, "column": 4 }
{ "line": 562, "column": 15 }
{ "line": 562, "column": 15 }
[ { "pp": "α : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\nι : Type u_3\nf : ι → α\ns : Set ι\na : α\nhs : ∀ t ⊆ s, t.Finite → Disjoint (⨆ i ∈ t, f i) a\n⊢ ⨆ t, ⨆ (_ : ↑t ⊆ range fun x ↦ f ↑x), a ⊓ t.sup id = ⊥", "ppTerm": "?m.39", "assigned": true, "usedConstants": [ "...
[ "α : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\nι : Type u_3\nf : ι → α\ns : Set ι\na : α\nhs : ∀ t ⊆ s, t.Finite → Disjoint (⨆ i ∈ t, f i) a\n⊢ ∀ (i : Finset α), (↑i ⊆ range fun x ↦ f ↑x) → a ⊓ i.sup id = ⊥" ]
iSup_eq_bot
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 569, "column": 2 }
{ "line": 569, "column": 19 }
{ "line": 571, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\nι : Type u_3\nf : ι → α\ns : Set ι\na : α\nhs : ∀ t ⊆ s, t.Finite → Disjoint (⨆ i ∈ t, f i) a\nu : Finset α\nhu : ↑u ⊆ range fun x ↦ f ↑x\nt : Set ι\nht : t ⊆ s\nht' : t.Finite\nhtu : u.sup id = ⨆ i ∈ t, f i\n⊢ Disjoint (⨆ i ∈ t,...
[]
exact hs t ht ht'
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 561, "column": 2 }
{ "line": 569, "column": 19 }
{ "line": 571, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\nι : Type u_3\nf : ι → α\ns : Set ι\na : α\nhs : ∀ t ⊆ s, t.Finite → Disjoint (⨆ i ∈ t, f i) a\n⊢ Disjoint (⨆ i ∈ s, f i) a", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSem...
[]
simp_rw [disjoint_iff, iSup_subtype', ← sSup_range, inf_comm, inf_sSup_eq_iSup_inf_sup_finset, iSup_eq_bot] intro u hu obtain ⟨t, ht, ht', htu⟩ : ∃ t ⊆ s, ∃ hu : t.Finite, f '' t = u := Set.Finite.exists_subset_finite_image_eq u.finite_toSet <| by rwa [Set.image_eq_range f s] replace htu : u.sup id = ⨆ i ...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 561, "column": 2 }
{ "line": 569, "column": 19 }
{ "line": 571, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\nι : Type u_3\nf : ι → α\ns : Set ι\na : α\nhs : ∀ t ⊆ s, t.Finite → Disjoint (⨆ i ∈ t, f i) a\n⊢ Disjoint (⨆ i ∈ s, f i) a", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSem...
[]
simp_rw [disjoint_iff, iSup_subtype', ← sSup_range, inf_comm, inf_sSup_eq_iSup_inf_sup_finset, iSup_eq_bot] intro u hu obtain ⟨t, ht, ht', htu⟩ : ∃ t ⊆ s, ∃ hu : t.Finite, f '' t = u := Set.Finite.exists_subset_finite_image_eq u.finite_toSet <| by rwa [Set.image_eq_range f s] replace htu : u.sup id = ⨆ i ...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.LinearAlgebra.Span.Basic
{ "line": 357, "column": 2 }
{ "line": 357, "column": 66 }
{ "line": 359, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nx : M\nd : Set (Submodule R M)\nhemp : d.Nonempty\nhdir : DirectedOn (fun x1 x2 ↦ x1 ≤ x2) d\nhsup : R ∙ x ≤ sSup d\nthis : x ∈ sSup d\ny : Submodule R M\nhyd : y ∈ d\nhxy : x ∈ y\n⊢ ∃ x_1 ∈ d, R ∙ x ≤ x_1", ...
[]
exact ⟨y, ⟨hyd, by simpa only [span_le, singleton_subset_iff] ⟩⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Algebra.Order.Ring.WithTop
{ "line": 109, "column": 2 }
{ "line": 116, "column": 37 }
{ "line": 118, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝³ : DecidableEq α\ninst✝² : MulZeroClass α\na : WithTop α\ninst✝¹ : Preorder α\ninst✝ : PosMulStrictMono α\nh₀ : 0 < a\nhinf : a ≠ ⊤\n⊢ StrictMono fun x ↦ a * x", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "HMul.hM...
[]
lift a to α using hinf rintro b c hbc lift b to α using hbc.ne_top match c with | ⊤ => simp [← coe_mul, mul_top h₀.ne'] | (c : α) => simp only [coe_pos, coe_lt_coe, ← coe_mul, gt_iff_lt] at * exact mul_lt_mul_of_pos_left hbc h₀
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Order.Ring.WithTop
{ "line": 109, "column": 2 }
{ "line": 116, "column": 37 }
{ "line": 118, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝³ : DecidableEq α\ninst✝² : MulZeroClass α\na : WithTop α\ninst✝¹ : Preorder α\ninst✝ : PosMulStrictMono α\nh₀ : 0 < a\nhinf : a ≠ ⊤\n⊢ StrictMono fun x ↦ a * x", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "HMul.hM...
[]
lift a to α using hinf rintro b c hbc lift b to α using hbc.ne_top match c with | ⊤ => simp [← coe_mul, mul_top h₀.ne'] | (c : α) => simp only [coe_pos, coe_lt_coe, ← coe_mul, gt_iff_lt] at * exact mul_lt_mul_of_pos_left hbc h₀
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Order.SuccPred
{ "line": 366, "column": 82 }
{ "line": 367, "column": 66 }
{ "line": 369, "column": 0 }
[ { "pp": "α : Type u_2\nβ : Type u_3\ninst✝⁵ : PartialOrder α\ninst✝⁴ : Preorder β\ninst✝³ : Sub α\ninst✝² : One α\ninst✝¹ : PredSubOrder α\ninst✝ : IsPredArchimedean α\nf : α → β\n⊢ (∀ (a : α), ¬IsMin a → f (a - 1) ≤ f a) → Monotone f", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "...
[]
by simpa [Order.pred_eq_sub_one] using monotone_of_pred_le (f := f)
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.SuccPred.Archimedean
{ "line": 306, "column": 4 }
{ "line": 306, "column": 9 }
{ "line": 307, "column": 4 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ninst✝³ : PartialOrder α\ninst✝² : PredOrder α\ninst✝¹ : IsPredArchimedean α\ns : Set α\ninst✝ : s.OrdConnected\nx✝¹ x✝ : ↑s\nb : α\nhb : b ∈ s\nc : α\nhc : c ∈ s\nhbc : b ≤ c\nn : ℕ\nhn : pred^[n] c = b\n⊢ ∃ n, pred^[n] ⟨c, hc⟩ = ⟨b, hb⟩", "ppTerm": "?m.69", "assigne...
[ "case h\nα : Type u_1\nβ : Type u_2\ninst✝³ : PartialOrder α\ninst✝² : PredOrder α\ninst✝¹ : IsPredArchimedean α\ns : Set α\ninst✝ : s.OrdConnected\nx✝¹ x✝ : ↑s\nb : α\nhb : b ∈ s\nc : α\nhc : c ∈ s\nhbc : b ≤ c\nn : ℕ\nhn : pred^[n] c = b\n⊢ pred^[n] ⟨c, hc⟩ = ⟨b, hb⟩" ]
use n
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.Order.SuccPred.Limit
{ "line": 115, "column": 2 }
{ "line": 115, "column": 27 }
{ "line": 117, "column": 0 }
[ { "pp": "α : Type u_1\na : α\ninst✝ : Preorder α\nh : ¬IsMin a\n⊢ IsSuccPrelimit a ↔ IsSuccLimit a", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "False", "Preorder.toLT", "Order.IsSuccPrelimit", "eq_false", "congrArg", "Preorder.toLE", "Order.IsSu...
[]
simp [isSuccLimit_iff, h]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Order.SuccPred.Limit
{ "line": 115, "column": 2 }
{ "line": 115, "column": 27 }
{ "line": 117, "column": 0 }
[ { "pp": "α : Type u_1\na : α\ninst✝ : Preorder α\nh : ¬IsMin a\n⊢ IsSuccPrelimit a ↔ IsSuccLimit a", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "False", "Preorder.toLT", "Order.IsSuccPrelimit", "eq_false", "congrArg", "Preorder.toLE", "Order.IsSu...
[]
simp [isSuccLimit_iff, h]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.SuccPred.Limit
{ "line": 115, "column": 2 }
{ "line": 115, "column": 27 }
{ "line": 117, "column": 0 }
[ { "pp": "α : Type u_1\na : α\ninst✝ : Preorder α\nh : ¬IsMin a\n⊢ IsSuccPrelimit a ↔ IsSuccLimit a", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "False", "Preorder.toLT", "Order.IsSuccPrelimit", "eq_false", "congrArg", "Preorder.toLE", "Order.IsSu...
[]
simp [isSuccLimit_iff, h]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.ENat.Pow
{ "line": 129, "column": 6 }
{ "line": 129, "column": 46 }
{ "line": 130, "column": 4 }
[ { "pp": "case inl.inl\nx z : ℕ∞\nx_0 : x < 1\n⊢ 0 ^ (0 + z) = 0 ^ 0 * 0 ^ z", "ppTerm": "?inl.inl", "assigned": true, "usedConstants": [ "instOneENat", "instAddMonoidWithOneENat", "HMul.hMul", "congrArg", "CommSemiring.toSemiring", "AddMonoid.toAddZeroClass", ...
[]
simp only [zero_add, epow_zero, one_mul]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.ENat.Pow
{ "line": 129, "column": 6 }
{ "line": 129, "column": 46 }
{ "line": 130, "column": 4 }
[ { "pp": "case inl.inl\nx z : ℕ∞\nx_0 : x < 1\n⊢ 0 ^ (0 + z) = 0 ^ 0 * 0 ^ z", "ppTerm": "?inl.inl", "assigned": true, "usedConstants": [ "instOneENat", "instAddMonoidWithOneENat", "HMul.hMul", "congrArg", "CommSemiring.toSemiring", "AddMonoid.toAddZeroClass", ...
[]
simp only [zero_add, epow_zero, one_mul]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.ENat.Pow
{ "line": 129, "column": 6 }
{ "line": 129, "column": 46 }
{ "line": 130, "column": 4 }
[ { "pp": "case inl.inl\nx z : ℕ∞\nx_0 : x < 1\n⊢ 0 ^ (0 + z) = 0 ^ 0 * 0 ^ z", "ppTerm": "?inl.inl", "assigned": true, "usedConstants": [ "instOneENat", "instAddMonoidWithOneENat", "HMul.hMul", "congrArg", "CommSemiring.toSemiring", "AddMonoid.toAddZeroClass", ...
[]
simp only [zero_add, epow_zero, one_mul]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Nat.GCD.Basic
{ "line": 56, "column": 2 }
{ "line": 56, "column": 40 }
{ "line": 57, "column": 2 }
[ { "pp": "case inr.inr\na b c : ℕ\nha0 : a > 0\nha1 : succ 0 < a\n⊢ (a ^ c - 1) % (a ^ b - 1) = a ^ (c % b) - 1", "ppTerm": "?inr.inr", "assigned": true, "usedConstants": [ "Nat.instMonoid", "HSub.hSub", "Nat.instMod", "instHMod", "instSubNat", "instOfNatNat", ...
[ "case inr.inr.inl\na c : ℕ\nha0 : a > 0\nha1 : succ 0 < a\n⊢ (a ^ c - 1) % (a ^ 0 - 1) = a ^ (c % 0) - 1", "case inr.inr.inr\na b c : ℕ\nha0 : a > 0\nha1 : succ 0 < a\nhb0 : b > 0\n⊢ (a ^ c - 1) % (a ^ b - 1) = a ^ (c % b) - 1" ]
rcases eq_zero_or_pos b with rfl | hb0
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases
Lean.Parser.Tactic.rcases
Mathlib.Algebra.Order.Hom.Monoid
{ "line": 305, "column": 75 }
{ "line": 307, "column": 5 }
{ "line": 309, "column": 0 }
[ { "pp": "α : Type u_2\nβ : Type u_3\ninst✝³ : Preorder α\ninst✝² : Preorder β\ninst✝¹ : MulOneClass α\ninst✝ : MulOneClass β\nf : α →*o β\nh : Monotone (↑↑f).toFun\n⊢ { toMonoidHom := ↑f, monotone' := h } = f", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "OrderMonoidHom", "Or...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Nat.ModEq
{ "line": 552, "column": 97 }
{ "line": 553, "column": 52 }
{ "line": 555, "column": 0 }
[ { "pp": "a b c : ℕ\nhca : c ∣ b\n⊢ (a + b) / c = a / c + b / c", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "Eq.mpr", "instHDiv", "congrArg", "id", "HDiv.hDiv", "add_comm", "instHAdd", "HAdd.hAdd", "Nat", "Nat.instDiv", "...
[]
by rwa [add_comm, Nat.add_div_of_dvd_right, add_comm]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Logic.Small.Defs
{ "line": 75, "column": 90 }
{ "line": 77, "column": 29 }
{ "line": 79, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : Small.{w, u_1} α\nF : Shrink.{w, u_1} α → Sort v\nf : (a : α) → F ((equivShrink α) a)\na : α\n⊢ Shrink.rec f ((equivShrink α) a) = f a", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Eq.mpr", "eqRec_eq_cast", "Equiv.instEquivLike", "c...
[]
by simp only [Shrink.rec, eqRec_eq_cast, cast_eq_iff_heq] rw [Equiv.symm_apply_apply]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Basic.Countable.Basic
{ "line": 126, "column": 2 }
{ "line": 126, "column": 55 }
{ "line": 127, "column": 2 }
[ { "pp": "α : Type u\nβ : Type v\nπ : α → Type w\ninst✝¹ : Countable α\ninst✝ : ∀ (a : α), Countable (π a)\nf : α → ℕ\nhf : Injective f\n⊢ Countable (Sigma π)", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Classical.choose_spec", "Countable.exists_injective_nat", "Nat", ...
[ "α : Type u\nβ : Type v\nπ : α → Type w\ninst✝¹ : Countable α\ninst✝ : ∀ (a : α), Countable (π a)\nf : α → ℕ\nhf : Injective f\ng : (a : α) → π a → ℕ\nhg : ∀ (a : α), Injective (g a)\n⊢ Countable (Sigma π)" ]
choose g hg using fun a => exists_injective_nat (π a)
Mathlib.Tactic.Choose._aux_Mathlib_Tactic_Choose___elabRules_Mathlib_Tactic_Choose_choose_1
Mathlib.Tactic.Choose.choose
Mathlib.Order.InitialSeg
{ "line": 278, "column": 2 }
{ "line": 280, "column": 11 }
{ "line": 282, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nr : α → α → Prop\ns : β → β → Prop\ninst✝¹ : Std.Irrefl s\ninst✝ : Std.Trichotomous s\nf g : r ≺i s\nh : ∀ (x : α), f.toRelEmbedding x = g.toRelEmbedding x\n⊢ f = g", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", ...
[]
rw [← toRelEmbedding_inj] ext exact h _
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.InitialSeg
{ "line": 278, "column": 2 }
{ "line": 280, "column": 11 }
{ "line": 282, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nr : α → α → Prop\ns : β → β → Prop\ninst✝¹ : Std.Irrefl s\ninst✝ : Std.Trichotomous s\nf g : r ≺i s\nh : ∀ (x : α), f.toRelEmbedding x = g.toRelEmbedding x\n⊢ f = g", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", ...
[]
rw [← toRelEmbedding_inj] ext exact h _
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.SetTheory.Cardinal.Basic
{ "line": 88, "column": 12 }
{ "line": 88, "column": 14 }
{ "line": 88, "column": 15 }
[ { "pp": "case refine_3\nα✝ : Type u\nh : Fintype α✝\nα : Type u\n⊢ ∀ [inst : Fintype α],\n (∀ (f : α → Cardinal.{v}), prod f = lift.{u, v} (∏ i, f i)) →\n ∀ (f : Option α → Cardinal.{v}), prod f = lift.{u, v} (∏ i, f i)", "ppTerm": "?refine_3", "assigned": true, "usedConstants": [ "Fin...
[ "case refine_3\nα✝ : Type u\nh : Fintype α✝\nα : Type u\nhα : Fintype α\n⊢ (∀ (f : α → Cardinal.{v}), prod f = lift.{u, v} (∏ i, f i)) →\n ∀ (f : Option α → Cardinal.{v}), prod f = lift.{u, v} (∏ i, f i)" ]
hα
Lean.Elab.Tactic.evalIntro
ident
Mathlib.SetTheory.Cardinal.Basic
{ "line": 146, "column": 2 }
{ "line": 146, "column": 17 }
{ "line": 147, "column": 2 }
[ { "pp": "α β : Type u\na : Cardinal.{u}\n⊢ Small.{u, u + 1} ↑(Iic a)", "ppTerm": "?m.3", "assigned": true, "usedConstants": [ "Eq.mpr", "Cardinal", "Cardinal.mk_out", "congrArg", "PartialOrder.toPreorder", "Cardinal.mk", "Set.Elem", "id", "Quotie...
[ "α β : Type u\na : Cardinal.{u}\n⊢ Small.{u, u + 1} ↑(Iic #(Quotient.out a))" ]
rw [← mk_out a]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.SetTheory.Cardinal.Finite
{ "line": 183, "column": 2 }
{ "line": 184, "column": 22 }
{ "line": 186, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nf : α → β\nhf : Injective f\n⊢ Nat.card ↑(range f) = Nat.card α", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "Eq.mpr", "le_rfl", "ChainCompletePartialOrder.instOfCompleteLattice", "congrArg", "Set.univ", "PartialOrd...
[]
rw [← Nat.card_preimage_of_injective hf le_rfl] simp [Nat.card_univ]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.SetTheory.Cardinal.Finite
{ "line": 183, "column": 2 }
{ "line": 184, "column": 22 }
{ "line": 186, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nf : α → β\nhf : Injective f\n⊢ Nat.card ↑(range f) = Nat.card α", "ppTerm": "?m.6", "assigned": true, "usedConstants": [ "Eq.mpr", "le_rfl", "ChainCompletePartialOrder.instOfCompleteLattice", "congrArg", "Set.univ", "PartialOrd...
[]
rw [← Nat.card_preimage_of_injective hf le_rfl] simp [Nat.card_univ]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.SetTheory.Cardinal.Basic
{ "line": 328, "column": 6 }
{ "line": 328, "column": 31 }
{ "line": 328, "column": 32 }
[ { "pp": "n : ℕ\n⊢ ↑n < ℵ₀", "ppTerm": "?m.3", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "Cardinal.instOne", "Cardinal", "congrArg", "PartialOrder.toPreorder", "Cardinal.natCast_add_one_le_iff", "id", "Cardinal.aleph0", ...
[ "n : ℕ\n⊢ ↑n + 1 ≤ ℵ₀" ]
← natCast_add_one_le_iff,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.Dimension.Basic
{ "line": 141, "column": 8 }
{ "line": 141, "column": 33 }
{ "line": 141, "column": 34 }
[ { "pp": "case succ\nR : Type u\nM : Type v\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : Nontrivial R\nn : ℕ\ns : { s // LinearIndepOn R id s }\nle : ↑n < #↑↑s\n⊢ ∃ s, s.card = n + 1 ∧ LinearIndepOn R id ↑s", "ppTerm": "?succ", "assigned": true, "usedConstants": [ ...
[ "case succ\nR : Type u\nM : Type v\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\ninst✝ : Nontrivial R\nn : ℕ\ns : { s // LinearIndepOn R id s }\nle : ↑n + 1 ≤ #↑↑s\n⊢ ∃ s, s.card = n + 1 ∧ LinearIndepOn R id ↑s" ]
← natCast_add_one_le_iff,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.Dimension.Finrank
{ "line": 80, "column": 4 }
{ "line": 80, "column": 38 }
{ "line": 81, "column": 2 }
[ { "pp": "case hc\nR : Type u\nM : Type v\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nn : ℕ\nh : Module.rank R M ≤ ↑n\n⊢ Module.rank R M < ℵ₀", "ppTerm": "?hc", "assigned": true, "usedConstants": [ "Cardinal", "PartialOrder.toPreorder", "Cardinal.aleph0", ...
[]
exact h.trans_lt natCast_lt_aleph0
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.LinearAlgebra.Dimension.Finrank
{ "line": 80, "column": 4 }
{ "line": 80, "column": 38 }
{ "line": 81, "column": 2 }
[ { "pp": "case hc\nR : Type u\nM : Type v\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nn : ℕ\nh : Module.rank R M ≤ ↑n\n⊢ Module.rank R M < ℵ₀", "ppTerm": "?hc", "assigned": true, "usedConstants": [ "Cardinal", "PartialOrder.toPreorder", "Cardinal.aleph0", ...
[]
exact h.trans_lt natCast_lt_aleph0
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.Dimension.Finrank
{ "line": 80, "column": 4 }
{ "line": 80, "column": 38 }
{ "line": 81, "column": 2 }
[ { "pp": "case hc\nR : Type u\nM : Type v\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nn : ℕ\nh : Module.rank R M ≤ ↑n\n⊢ Module.rank R M < ℵ₀", "ppTerm": "?hc", "assigned": true, "usedConstants": [ "Cardinal", "PartialOrder.toPreorder", "Cardinal.aleph0", ...
[]
exact h.trans_lt natCast_lt_aleph0
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Set.Card
{ "line": 74, "column": 2 }
{ "line": 74, "column": 49 }
{ "line": 76, "column": 0 }
[ { "pp": "α : Type u_3\n⊢ univ.encard = ENat.card α", "ppTerm": "?m.4", "assigned": true, "usedConstants": [ "ENat.card_congr", "Eq.mpr", "Set.encard", "congrArg", "Set.univ", "Set.Elem", "id", "ENat", "Eq.refl", "Set.encard.eq_1", "EN...
[]
rw [encard, ENat.card_congr (Equiv.Set.univ α)]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Set.Card
{ "line": 74, "column": 2 }
{ "line": 74, "column": 49 }
{ "line": 76, "column": 0 }
[ { "pp": "α : Type u_3\n⊢ univ.encard = ENat.card α", "ppTerm": "?m.4", "assigned": true, "usedConstants": [ "ENat.card_congr", "Eq.mpr", "Set.encard", "congrArg", "Set.univ", "Set.Elem", "id", "ENat", "Eq.refl", "Set.encard.eq_1", "EN...
[]
rw [encard, ENat.card_congr (Equiv.Set.univ α)]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Set.Card
{ "line": 74, "column": 2 }
{ "line": 74, "column": 49 }
{ "line": 76, "column": 0 }
[ { "pp": "α : Type u_3\n⊢ univ.encard = ENat.card α", "ppTerm": "?m.4", "assigned": true, "usedConstants": [ "ENat.card_congr", "Eq.mpr", "Set.encard", "congrArg", "Set.univ", "Set.Elem", "id", "ENat", "Eq.refl", "Set.encard.eq_1", "EN...
[]
rw [encard, ENat.card_congr (Equiv.Set.univ α)]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.SetTheory.Cardinal.Basic
{ "line": 948, "column": 48 }
{ "line": 948, "column": 62 }
{ "line": 948, "column": 62 }
[ { "pp": "α : Type u\n⊢ Nontrivial α ↔ ∃ x y, x ≠ y", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Nontrivial", "Eq.mpr", "congrArg", "Exists", "id", "Ne", "nontrivial_iff", "Iff", "propext", "Eq" ], "usedFVars": [ ...
[ "α : Type u\n⊢ (∃ x y, x ≠ y) ↔ ∃ x y, x ≠ y" ]
nontrivial_iff
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.SetTheory.Cardinal.Basic
{ "line": 983, "column": 34 }
{ "line": 983, "column": 59 }
{ "line": 983, "column": 60 }
[ { "pp": "α : Type u_1\nh : 3 ≤ #α\nx y : α\nthis : ↑3 ≤ #α\n⊢ ↑2 < #α", "ppTerm": "?m.30", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "Cardinal.instOne", "Cardinal", "congrArg", "PartialOrder.toPreorder", "Cardinal.natCast_add_one_le_iff...
[ "α : Type u_1\nh : 3 ≤ #α\nx y : α\nthis : ↑3 ≤ #α\n⊢ ↑2 + 1 ≤ #α" ]
← natCast_add_one_le_iff,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Group.Submonoid.Finite
{ "line": 78, "column": 8 }
{ "line": 81, "column": 30 }
{ "line": 81, "column": 30 }
[ { "pp": "η : Type u_1\nf : η → Type u_2\ninst✝¹ : (i : η) → MulOneClass (f i)\ninst✝ : Finite η\ns : (i : η) → Set (f i)\nhs : ∀ (i : η), 1 ∈ s i\ni : η\n_x : f i\nhx : _x ∈ s i\nj : η\n⊢ (MonoidHom.mulSingle f i) _x j ∈ s j", "ppTerm": "?m.93", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
by_cases H : j = i · subst H simpa · simpa [H] using hs _
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Group.Submonoid.Finite
{ "line": 78, "column": 8 }
{ "line": 81, "column": 30 }
{ "line": 81, "column": 30 }
[ { "pp": "η : Type u_1\nf : η → Type u_2\ninst✝¹ : (i : η) → MulOneClass (f i)\ninst✝ : Finite η\ns : (i : η) → Set (f i)\nhs : ∀ (i : η), 1 ∈ s i\ni : η\n_x : f i\nhx : _x ∈ s i\nj : η\n⊢ (MonoidHom.mulSingle f i) _x j ∈ s j", "ppTerm": "?m.93", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[]
by_cases H : j = i · subst H simpa · simpa [H] using hs _
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Group.Subgroup.Finite
{ "line": 206, "column": 8 }
{ "line": 209, "column": 30 }
{ "line": 209, "column": 30 }
[ { "pp": "η : Type u_2\nf : η → Type u_3\ninst✝¹ : (i : η) → Group (f i)\ninst✝ : Finite η\ns : (i : η) → Set (f i)\nhs : ∀ (i : η), 1 ∈ s i\ni : η\n_x : f i\nhx : _x ∈ s i\nj : η\n⊢ (MonoidHom.mulSingle f i) _x j ∈ s j", "ppTerm": "?m.92", "assigned": true, "usedConstants": [ "Eq.mpr", "...
[]
by_cases H : j = i · subst H simpa · simpa [H] using hs _
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Group.Subgroup.Finite
{ "line": 206, "column": 8 }
{ "line": 209, "column": 30 }
{ "line": 209, "column": 30 }
[ { "pp": "η : Type u_2\nf : η → Type u_3\ninst✝¹ : (i : η) → Group (f i)\ninst✝ : Finite η\ns : (i : η) → Set (f i)\nhs : ∀ (i : η), 1 ∈ s i\ni : η\n_x : f i\nhx : _x ∈ s i\nj : η\n⊢ (MonoidHom.mulSingle f i) _x j ∈ s j", "ppTerm": "?m.92", "assigned": true, "usedConstants": [ "Eq.mpr", "...
[]
by_cases H : j = i · subst H simpa · simpa [H] using hs _
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Set.Card
{ "line": 589, "column": 4 }
{ "line": 590, "column": 75 }
{ "line": 591, "column": 2 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ninst✝ : Nonempty β\ns : Set α\nt : Set β\nhs : s.Finite\nhle : s.encard ≤ t.encard\na : α\nhas : a ∈ s\nb : β\nhbt : b ∈ t\n⊢ (s \\ {a}).encard ≤ (t \\ {b}).encard", "ppTerm": "?m.109", "assigned": true, "usedConstants": [ "instOneENat", "Eq.mpr", ...
[]
rwa [← ENat.add_le_add_iff_right ENat.one_ne_top, encard_sdiff_singleton_add_one has, encard_sdiff_singleton_add_one hbt]
Lean.Elab.Tactic.evalRwa
Lean.Parser.Tactic.rwa
Mathlib.GroupTheory.Coset.Basic
{ "line": 246, "column": 2 }
{ "line": 246, "column": 62 }
{ "line": 248, "column": 0 }
[ { "pp": "ι : Type u_2\nβ : ι → Type u_3\ninst✝ : (i : ι) → Group (β i)\ns' : (i : ι) → Subgroup (β i)\nx y : (i : ι) → β i\n⊢ (leftRel (Subgroup.pi univ s')) x y ↔ piSetoid x y", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Semigroup.toMul", "DivInvMonoid.toInv", "HMul....
[]
simp [Setoid.piSetoid_apply, leftRel_apply, Subgroup.mem_pi]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.Set.Card
{ "line": 971, "column": 2 }
{ "line": 971, "column": 54 }
{ "line": 973, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\ns : Set α\nt : Set β\nhc : t.ncard < s.ncard\nf : α → β\nhf : ∀ a ∈ s, f a ∈ t\nht : t.Finite\nh' : ∀ x ∈ s, ∀ x_1 ∈ s, f x = f x_1 → x = x_1\n⊢ False", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "LE.le.not_gt", "Nat.instPreorder", ...
[]
exact (ncard_le_ncard_of_injOn f hf h' ht).not_gt hc
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Algebra.Order.Interval.Finset.SuccPred
{ "line": 160, "column": 2 }
{ "line": 160, "column": 77 }
{ "line": 162, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝⁴ : LinearOrder α\ninst✝³ : One α\ninst✝² : LocallyFiniteOrder α\ninst✝¹ : Sub α\ninst✝ : PredSubOrder α\na b : α\nh : a ≤ b\nha : ¬IsMin a\n⊢ insert a (Ioc a b) = Ioc (a - 1) b", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "PredSubOrder.toPredOrder", ...
[]
simpa [pred_eq_sub_one] using insert_Ioc_left_eq_Ioc_pred_of_not_isMin h ha
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Algebra.Order.Interval.Finset.SuccPred
{ "line": 160, "column": 2 }
{ "line": 160, "column": 77 }
{ "line": 162, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝⁴ : LinearOrder α\ninst✝³ : One α\ninst✝² : LocallyFiniteOrder α\ninst✝¹ : Sub α\ninst✝ : PredSubOrder α\na b : α\nh : a ≤ b\nha : ¬IsMin a\n⊢ insert a (Ioc a b) = Ioc (a - 1) b", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "PredSubOrder.toPredOrder", ...
[]
simpa [pred_eq_sub_one] using insert_Ioc_left_eq_Ioc_pred_of_not_isMin h ha
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Order.Interval.Finset.SuccPred
{ "line": 160, "column": 2 }
{ "line": 160, "column": 77 }
{ "line": 162, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝⁴ : LinearOrder α\ninst✝³ : One α\ninst✝² : LocallyFiniteOrder α\ninst✝¹ : Sub α\ninst✝ : PredSubOrder α\na b : α\nh : a ≤ b\nha : ¬IsMin a\n⊢ insert a (Ioc a b) = Ioc (a - 1) b", "ppTerm": "?m.25", "assigned": true, "usedConstants": [ "PredSubOrder.toPredOrder", ...
[]
simpa [pred_eq_sub_one] using insert_Ioc_left_eq_Ioc_pred_of_not_isMin h ha
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.GroupTheory.QuotientGroup.Basic
{ "line": 125, "column": 65 }
{ "line": 128, "column": 5 }
{ "line": 130, "column": 0 }
[ { "pp": "G : Type u\ninst✝¹ : Group G\nH : Type v\ninst✝ : Group H\nφ : G →* H\n⊢ Surjective ⇑(rangeKerLift φ)", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "MonoidHom.range", "Subgroup.instSubgroupClass", "MonoidHom.instFunLike", "SubmonoidClass.toMulOneClass", ...
[]
by rintro ⟨_, g, rfl⟩ use mk g rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.PartialSups
{ "line": 262, "column": 38 }
{ "line": 263, "column": 63 }
{ "line": 265, "column": 0 }
[ { "pp": "α : Type u_1\nι : Type u_3\ninst✝² : Preorder ι\ninst✝¹ : LocallyFiniteOrderBot ι\ninst✝ : CompleteLattice α\nf : ι → α\ni : ι\n⊢ (partialSups f) i = ⨆ j, ⨆ (_ : j ≤ i), f j", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Lattice.toSemilatticeSup", "Iff.of_eq", ...
[]
by simpa only [iSup_subtype] using! partialSups_eq_ciSup_Iic f i
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Set.Card
{ "line": 1215, "column": 2 }
{ "line": 1219, "column": 59 }
{ "line": 1221, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\nn : ℕ\nh : Nat.card α = n + s.ncard\nhs : s.Finite\n⊢ sᶜ.ncard = n", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Nat.eq_zero_of_add_eq_zero_right", "Nat.add_right_cancel_iff", "Eq.mpr", "Set.Infinite.ncard", "Set.finite_or_...
[]
rcases sᶜ.finite_or_infinite with hsc | hsc · rwa [← ncard_compl_add_ncard s hs hsc, Nat.add_right_cancel_iff] at h · have := hsc.to_type rw [Nat.card_eq_zero_of_infinite] at h rw [hsc.ncard, Nat.eq_zero_of_add_eq_zero_right h.symm]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Set.Card
{ "line": 1215, "column": 2 }
{ "line": 1219, "column": 59 }
{ "line": 1221, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\nn : ℕ\nh : Nat.card α = n + s.ncard\nhs : s.Finite\n⊢ sᶜ.ncard = n", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Nat.eq_zero_of_add_eq_zero_right", "Nat.add_right_cancel_iff", "Eq.mpr", "Set.Infinite.ncard", "Set.finite_or_...
[]
rcases sᶜ.finite_or_infinite with hsc | hsc · rwa [← ncard_compl_add_ncard s hs hsc, Nat.add_right_cancel_iff] at h · have := hsc.to_type rw [Nat.card_eq_zero_of_infinite] at h rw [hsc.ncard, Nat.eq_zero_of_add_eq_zero_right h.symm]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq