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.GroupTheory.Commutator.Basic
{ "line": 97, "column": 2 }
{ "line": 100, "column": 57 }
{ "line": 102, "column": 0 }
[ { "pp": "G : Type u_1\ninst✝ : Group G\na b : G\nh : Commute b ⁅a, b⁆\nn : ℕ\n⊢ ⁅a, b⁆ ^ n = ⁅a, b ^ n⁆", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "mul_inv_cancel_right", "Eq.mpr", "MulOne.toOne", "Semigroup.toMul", "Nat.recAux", "DivInvMonoid.toInv...
[]
induction n with | zero => simp | succ n ih => rw [pow_succ', pow_succ', commutatorElement_mul_right_eq_mul_conj, ← ih, (h.pow_right n).right_comm, mul_inv_cancel_right]
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
Lean.Parser.Tactic.induction
Mathlib.GroupTheory.Commutator.Basic
{ "line": 97, "column": 2 }
{ "line": 100, "column": 57 }
{ "line": 102, "column": 0 }
[ { "pp": "G : Type u_1\ninst✝ : Group G\na b : G\nh : Commute b ⁅a, b⁆\nn : ℕ\n⊢ ⁅a, b⁆ ^ n = ⁅a, b ^ n⁆", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "mul_inv_cancel_right", "Eq.mpr", "MulOne.toOne", "Semigroup.toMul", "Nat.recAux", "DivInvMonoid.toInv...
[]
induction n with | zero => simp | succ n ih => rw [pow_succ', pow_succ', commutatorElement_mul_right_eq_mul_conj, ← ih, (h.pow_right n).right_comm, mul_inv_cancel_right]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.GroupTheory.Commutator.Basic
{ "line": 97, "column": 2 }
{ "line": 100, "column": 57 }
{ "line": 102, "column": 0 }
[ { "pp": "G : Type u_1\ninst✝ : Group G\na b : G\nh : Commute b ⁅a, b⁆\nn : ℕ\n⊢ ⁅a, b⁆ ^ n = ⁅a, b ^ n⁆", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "mul_inv_cancel_right", "Eq.mpr", "MulOne.toOne", "Semigroup.toMul", "Nat.recAux", "DivInvMonoid.toInv...
[]
induction n with | zero => simp | succ n ih => rw [pow_succ', pow_succ', commutatorElement_mul_right_eq_mul_conj, ← ih, (h.pow_right n).right_comm, mul_inv_cancel_right]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.GroupTheory.FreeAbelianGroup
{ "line": 593, "column": 33 }
{ "line": 593, "column": 41 }
{ "line": 593, "column": 42 }
[ { "pp": "case of.add\nα : Type u\nG : Type u_1\nβ : Type v\nγ : Type w\ninst✝ : CommMonoid α\ns : α\ny1 y2 : FreeAbelianGroup α\nih1 : of s * y1 = y1 * of s\nih2 : of s * y2 = y2 * of s\n⊢ of s * (y1 + y2) = (y1 + y2) * of s", "ppTerm": "?of.add", "assigned": true, "usedConstants": [ "Distrib....
[ "case of.add\nα : Type u\nG : Type u_1\nβ : Type v\nγ : Type w\ninst✝ : CommMonoid α\ns : α\ny1 y2 : FreeAbelianGroup α\nih1 : of s * y1 = y1 * of s\nih2 : of s * y2 = y2 * of s\n⊢ of s * y1 + of s * y2 = (y1 + y2) * of s" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.GroupTheory.FreeAbelianGroup
{ "line": 595, "column": 40 }
{ "line": 595, "column": 48 }
{ "line": 595, "column": 49 }
[ { "pp": "case add\nα : Type u\nG : Type u_1\nβ : Type v\nγ : Type w\ninst✝ : CommMonoid α\ny x1 x2 : FreeAbelianGroup α\nih1 : x1 * y = y * x1\nih2 : x2 * y = y * x2\n⊢ x1 * y + x2 * y = y * (x1 + x2)", "ppTerm": "?add", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "E...
[ "case add\nα : Type u\nG : Type u_1\nβ : Type v\nγ : Type w\ninst✝ : CommMonoid α\ny x1 x2 : FreeAbelianGroup α\nih1 : x1 * y = y * x1\nih2 : x2 * y = y * x2\n⊢ x1 * y + x2 * y = y * x1 + y * x2" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.GroupTheory.Commutator.Basic
{ "line": 314, "column": 2 }
{ "line": 315, "column": 37 }
{ "line": 317, "column": 0 }
[ { "pp": "G : Type u_1\ninst✝ : Group G\nH₁ H₂ : Subgroup G\n⊢ H₂ ≤ normalizer ↑⁅H₁, H₂⁆", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "PartialOrder.toPreorder", "Bracket.bracket", "Preorder.toLE", "id", "Subgroup", "Su...
[]
rw [commutator_comm] apply normalizer_commutator_ge_left
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.GroupTheory.Commutator.Basic
{ "line": 314, "column": 2 }
{ "line": 315, "column": 37 }
{ "line": 317, "column": 0 }
[ { "pp": "G : Type u_1\ninst✝ : Group G\nH₁ H₂ : Subgroup G\n⊢ H₂ ≤ normalizer ↑⁅H₁, H₂⁆", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "PartialOrder.toPreorder", "Bracket.bracket", "Preorder.toLE", "id", "Subgroup", "Su...
[]
rw [commutator_comm] apply normalizer_commutator_ge_left
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.GroupTheory.Commutator.Basic
{ "line": 523, "column": 58 }
{ "line": 523, "column": 72 }
{ "line": 523, "column": 72 }
[ { "pp": "G : Type u_1\nG' : Type u_2\ninst✝¹ : Group G\ninst✝ : Group G'\nf : G →* G'\nhf : Function.Surjective ⇑f\n⊢ ⁅⊤, ⊤⁆ = commutator G'", "ppTerm": "?m.27", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Bracket.bracket", "id", "Subgroup", "commu...
[ "G : Type u_1\nG' : Type u_2\ninst✝¹ : Group G\ninst✝ : Group G'\nf : G →* G'\nhf : Function.Surjective ⇑f\n⊢ ⁅⊤, ⊤⁆ = ⁅⊤, ⊤⁆" ]
commutator_def
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.DFinsupp.Sigma
{ "line": 91, "column": 6 }
{ "line": 91, "column": 46 }
{ "line": 92, "column": 6 }
[ { "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⊢ (single ⟨i, j⟩ x) ⟨i, j'⟩ = (single j x) j'", "ppTe...
[ "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⟩" ]
rw [single_eq_of_ne, single_eq_of_ne hj]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.DFinsupp.Defs
{ "line": 489, "column": 4 }
{ "line": 489, "column": 34 }
{ "line": 490, "column": 4 }
[ { "pp": "case mpr\nι : Type u\nβ : ι → Type v\ninst✝¹ : (i : ι) → Zero (β i)\ninst✝ : DecidableEq ι\ni j : ι\nxi : β i\nxj : β j\n⊢ i = j ∧ xi ≍ xj ∨ xi = 0 ∧ xj = 0 → single i xi = single j xj", "ppTerm": "?mpr", "assigned": true, "usedConstants": [ "DFinsupp.single", "Or.casesOn", ...
[ "case mpr.inl\nι : Type u\nβ : ι → Type v\ninst✝¹ : (i : ι) → Zero (β i)\ninst✝ : DecidableEq ι\ni : ι\nxi xj : β i\nhxi : xi ≍ xj\n⊢ single i xi = single i xj", "case mpr.inr\nι : Type u\nβ : ι → Type v\ninst✝¹ : (i : ι) → Zero (β i)\ninst✝ : DecidableEq ι\ni j : ι\nxi : β i\nxj : β j\nhi : xi = 0\nhj : xj = 0\n...
rintro (⟨rfl, hxi⟩ | ⟨hi, hj⟩)
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRIntro
Lean.Parser.Tactic.rintro
Mathlib.Data.DFinsupp.Defs
{ "line": 649, "column": 2 }
{ "line": 649, "column": 20 }
{ "line": 651, "column": 0 }
[ { "pp": "case inr\nι : Type u\ninst✝¹ : DecidableEq ι\nβ : ι → Type u_1\ninst✝ : (i : ι) → AddZeroClass (β i)\nf : Π₀ (i : ι), β i\ni : ι\nb : β i\nj : ι\nh : i ≠ j\n⊢ (f.update i b) j = (single i b + erase i f) j", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "Eq.recOn", "Fals...
[]
· simp [h, h.symm]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Data.DFinsupp.Defs
{ "line": 656, "column": 2 }
{ "line": 656, "column": 20 }
{ "line": 658, "column": 0 }
[ { "pp": "case inr\nι : Type u\ninst✝¹ : DecidableEq ι\nβ : ι → Type u_1\ninst✝ : (i : ι) → AddZeroClass (β i)\nf : Π₀ (i : ι), β i\ni : ι\nb : β i\nj : ι\nh : i ≠ j\n⊢ (f.update i b) j = (erase i f + single i b) j", "ppTerm": "?inr", "assigned": true, "usedConstants": [ "Eq.recOn", "Fals...
[]
· simp [h, h.symm]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Data.DFinsupp.Defs
{ "line": 755, "column": 2 }
{ "line": 755, "column": 93 }
{ "line": 756, "column": 2 }
[ { "pp": "case h.cons\nι : Type u\nβ : ι → Type v\ninst✝¹ : DecidableEq ι\ninst✝ : (i : ι) → AddZeroClass (β i)\np : (Π₀ (i : ι), β i) → Prop\nh0 : p 0\nha : ∀ (i : ι) (b : β i) (f : Π₀ (i : ι), β i), f i = 0 → b ≠ 0 → p f → p (single i b + f)\ni : ι\ns : Multiset ι\nih : ∀ (f : (i : ι) → β i) (H : ∀ (i : ι), i ...
[ "case h.cons\nι : Type u\nβ : ι → Type v\ninst✝¹ : DecidableEq ι\ninst✝ : (i : ι) → AddZeroClass (β i)\np : (Π₀ (i : ι), β i) → Prop\nh0 : p 0\nha : ∀ (i : ι) (b : β i) (f : Π₀ (i : ι), β i), f i = 0 → b ≠ 0 → p f → p (single i b + f)\ni : ι\ns : Multiset ι\nih : ∀ (f : (i : ι) → β i) (H : ∀ (i : ι), i ∈ s ∨ f i = ...
have H3 : single i _ + _ = (⟨f, Trunc.mk ⟨i ::ₘ s, H⟩⟩ : Π₀ i, β i) := single_add_erase _ _
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Data.DFinsupp.Defs
{ "line": 782, "column": 40 }
{ "line": 782, "column": 57 }
{ "line": 784, "column": 0 }
[ { "pp": "ι : Type u\nβ : ι → Type v\ninst✝¹ : DecidableEq ι\ninst✝ : (i : ι) → Zero (β i)\ns : Finset ι\ni : ι\n⊢ (if H : i ∈ s then 0 ⟨i, H⟩ else 0) = 0 i", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Finset", "Membership.mem", "DFins...
[]
split_ifs <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Algebra.MonoidAlgebra.Defs
{ "line": 550, "column": 48 }
{ "line": 550, "column": 88 }
{ "line": 552, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝¹ : Semiring R\nr₁ r₂ : R\nm₁ m₂ : M\ninst✝ : Mul M\nhm : Commute m₁ m₂\nhr : Commute r₁ r₂\n⊢ Commute (single m₁ r₁) (single m₂ r₂)", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "HMul.hMul", "congrArg", "MonoidAlgebra.instMul",...
[]
simp [Commute, SemiconjBy, hm.eq, hr.eq]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.MonoidAlgebra.Defs
{ "line": 550, "column": 48 }
{ "line": 550, "column": 88 }
{ "line": 552, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝¹ : Semiring R\nr₁ r₂ : R\nm₁ m₂ : M\ninst✝ : Mul M\nhm : Commute m₁ m₂\nhr : Commute r₁ r₂\n⊢ Commute (single m₁ r₁) (single m₂ r₂)", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "HMul.hMul", "congrArg", "MonoidAlgebra.instMul",...
[]
simp [Commute, SemiconjBy, hm.eq, hr.eq]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.MonoidAlgebra.Defs
{ "line": 550, "column": 48 }
{ "line": 550, "column": 88 }
{ "line": 552, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝¹ : Semiring R\nr₁ r₂ : R\nm₁ m₂ : M\ninst✝ : Mul M\nhm : Commute m₁ m₂\nhr : Commute r₁ r₂\n⊢ Commute (single m₁ r₁) (single m₂ r₂)", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "HMul.hMul", "congrArg", "MonoidAlgebra.instMul",...
[]
simp [Commute, SemiconjBy, hm.eq, hr.eq]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.DFinsupp.Defs
{ "line": 808, "column": 82 }
{ "line": 817, "column": 86 }
{ "line": 819, "column": 0 }
[ { "pp": "ι : Type u\nβ : ι → Type v\nβ₁ : ι → Type v₁\nβ₂ : ι → Type v₂\ninst✝² : DecidableEq ι\ninst✝¹ : (i : ι) → Zero (β i)\ninst✝ : (i : ι) → (x : β i) → Decidable (x ≠ 0)\nf : Π₀ (i : ι), β i\n⊢ ∀ (a b : { s // ∀ (i : ι), i ∈ s ∨ f.toFun i = 0 }), {i ∈ (↑a).toFinset | f i ≠ 0} = {i ∈ (↑b).toFinset | f i ≠ ...
[]
by rintro ⟨sx, hx⟩ ⟨sy, hy⟩ dsimp only [Subtype.coe_mk, toFun_eq_coe] at * ext i; constructor · intro H rcases Finset.mem_filter.1 H with ⟨_, h⟩ exact Finset.mem_filter.2 ⟨Multiset.mem_toFinset.2 <| (hy i).resolve_right h, h⟩ · intro H rcases Finset.mem_filter.1 H with ⟨_, h⟩ ...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.DFinsupp.Defs
{ "line": 985, "column": 90 }
{ "line": 990, "column": 38 }
{ "line": 992, "column": 0 }
[ { "pp": "ι : Type u\nβ : ι → Type v\ninst✝³ : DecidableEq ι\ninst✝² : (i : ι) → Zero (β i)\ninst✝¹ : (i : ι) → (x : β i) → Decidable (x ≠ 0)\nf : Π₀ (i : ι), β i\ni : ι\nb : β i\ninst✝ : Decidable (b = 0)\n⊢ (f.update i b).support = if b = 0 then (erase i f).support else insert i f.support", "ppTerm": "?m.4...
[]
by ext j split_ifs with hb · subst hb simp [update_eq_erase, support_erase] · rw [support_update_ne_zero f _ hb]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.DFinsupp.BigOperators
{ "line": 379, "column": 55 }
{ "line": 382, "column": 61 }
{ "line": 384, "column": 0 }
[ { "pp": "ι : Type u\nβ : ι → Type v\ninst✝³ : DecidableEq ι\nγ : Type w\nα : Type x\ninst✝² : (i : ι) → AddCommMonoid (β i)\ninst✝¹ : (i : ι) → (x : β i) → Decidable (x ≠ 0)\ninst✝ : CommMonoid γ\ns : Finset α\ng : α → Π₀ (i : ι), β i\nh : (i : ι) → β i → γ\nh_zero : ∀ (i : ι), h i 0 = 1\nh_add : ∀ (i : ι) (b₁ ...
[]
by classical exact Finset.induction_on s (by simp [prod_zero_index]) (by simp +contextual [prod_add_index, h_zero, h_add])
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Dual.Defs
{ "line": 449, "column": 2 }
{ "line": 449, "column": 90 }
{ "line": 450, "column": 2 }
[ { "pp": "R : Type u_1\nM : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\ns : Set M\nf : Dual R M\n⊢ f ∈ ↑(span R s).dualAnnihilator ↔ f ∈ {f | s ⊆ ↑f.ker}", "ppTerm": "?m.53", "assigned": true, "usedConstants": [ "Eq.mpr", "Submodule", "Semiring.t...
[ "R : Type u_1\nM : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\ns : Set M\nf : Dual R M\n⊢ (∀ w ∈ span R s, w ∈ LinearMap.ker f) ↔ s ⊆ ↑(LinearMap.ker f)" ]
simp only [SetLike.mem_coe, mem_dualAnnihilator, Set.mem_ofPred_eq, ← LinearMap.mem_ker]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.LinearAlgebra.Dual.Defs
{ "line": 493, "column": 81 }
{ "line": 494, "column": 52 }
{ "line": 496, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_2\nM' : Type u_3\ninst✝⁴ : CommSemiring R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : AddCommMonoid M'\ninst✝ : Module R M'\nf : M →ₗ[R] M'\n⊢ f.dualMap.ker = (Dual.eval R M' ∘ₗ f).range.dualCoannihilator", "ppTerm": "?m.76", "assigned": true, "usedCons...
[]
by ext x; simp [LinearMap.ext_iff (f := dualMap f x)]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Finsupp.Span
{ "line": 127, "column": 9 }
{ "line": 127, "column": 22 }
{ "line": 127, "column": 22 }
[ { "pp": "case refine_2\nR : Type u_1\nM : Type u_2\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nS : Set (Submodule R M)\nm : M\nx✝ : ∃ s, m ∈ ⨆ i ∈ s, ↑i\ns : Finset (Subtype (Membership.mem S))\nhs : m ∈ ⨆ i ∈ s, ↑i\n⊢ m ∈ ⨆ i, ⨆ (hi : i ∈ S), ⨆ (_ : ⟨i, hi⟩ ∈ s), i", "ppTerm": "?ref...
[ "case refine_2\nR : Type u_1\nM : Type u_2\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nS : Set (Submodule R M)\nm : M\nx✝ : ∃ s, m ∈ ⨆ i ∈ s, ↑i\ns : Finset (Subtype (Membership.mem S))\nhs : m ∈ ⨆ i ∈ s, ↑i\n⊢ m ∈ ⨆ x, ⨆ (_ : ⟨↑x, ⋯⟩ ∈ s), ↑x" ]
iSup_subtype'
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.LinearIndependent.Lemmas
{ "line": 313, "column": 41 }
{ "line": 313, "column": 52 }
{ "line": 313, "column": 53 }
[ { "pp": "R : Type u_2\nM : Type u_4\ninst✝⁹ : Ring R\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : Module R M\nx y : M\nS : Type u_6\ninst✝⁶ : CommRing S\ninst✝⁵ : IsDomain S\ninst✝⁴ : Module S R\ninst✝³ : Module S M\ninst✝² : SMulCommClass S R M\ninst✝¹ : IsScalarTower S R M\ninst✝ : IsTorsionFree S R\nu : S\nhu : u ≠ 0\...
[ "R : Type u_2\nM : Type u_4\ninst✝⁹ : Ring R\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : Module R M\nx y : M\nS : Type u_6\ninst✝⁶ : CommRing S\ninst✝⁵ : IsDomain S\ninst✝⁴ : Module S R\ninst✝³ : Module S M\ninst✝² : SMulCommClass S R M\ninst✝¹ : IsScalarTower S R M\ninst✝ : IsTorsionFree S R\nu : S\nhu : u ≠ 0\nh : ∀ (s t ...
smul_assoc,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.LinearAlgebra.LinearIndependent.Lemmas
{ "line": 313, "column": 53 }
{ "line": 313, "column": 64 }
{ "line": 313, "column": 65 }
[ { "pp": "R : Type u_2\nM : Type u_4\ninst✝⁹ : Ring R\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : Module R M\nx y : M\nS : Type u_6\ninst✝⁶ : CommRing S\ninst✝⁵ : IsDomain S\ninst✝⁴ : Module S R\ninst✝³ : Module S M\ninst✝² : SMulCommClass S R M\ninst✝¹ : IsScalarTower S R M\ninst✝ : IsTorsionFree S R\nu : S\nhu : u ≠ 0\...
[ "R : Type u_2\nM : Type u_4\ninst✝⁹ : Ring R\ninst✝⁸ : AddCommGroup M\ninst✝⁷ : Module R M\nx y : M\nS : Type u_6\ninst✝⁶ : CommRing S\ninst✝⁵ : IsDomain S\ninst✝⁴ : Module S R\ninst✝³ : Module S M\ninst✝² : SMulCommClass S R M\ninst✝¹ : IsScalarTower S R M\ninst✝ : IsTorsionFree S R\nu : S\nhu : u ≠ 0\nh : ∀ (s t ...
smul_assoc,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Finiteness.Cardinality
{ "line": 31, "column": 2 }
{ "line": 32, "column": 27 }
{ "line": 34, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_2\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nN : Submodule R M\n⊢ N.FG ↔ ∃ n f, f.range = N", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "Eq.mpr", "Pi.Function.module", "Submodule", "RingHomSurjective.ids...
[]
simp_rw [fg_iff_exists_fin_generating_family, ← ((Pi.basisFun R _).constr ℕ).exists_congr_right] simp [Basis.constr_range]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Finiteness.Cardinality
{ "line": 31, "column": 2 }
{ "line": 32, "column": 27 }
{ "line": 34, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_2\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nN : Submodule R M\n⊢ N.FG ↔ ∃ n f, f.range = N", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "Eq.mpr", "Pi.Function.module", "Submodule", "RingHomSurjective.ids...
[]
simp_rw [fg_iff_exists_fin_generating_family, ← ((Pi.basisFun R _).constr ℕ).exists_congr_right] simp [Basis.constr_range]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Order.Module.Defs
{ "line": 849, "column": 93 }
{ "line": 850, "column": 60 }
{ "line": 852, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\na : α\nb : β\ninst✝⁵ : Monoid α\ninst✝⁴ : Zero β\ninst✝³ : MulAction α β\ninst✝² : Preorder α\ninst✝¹ : Preorder β\ninst✝ : SMulPosStrictMono α β\nhb : 0 < b\nh : a < 1\n⊢ a • b < b", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "MulOne.toOne", ...
[]
by simpa only [one_smul] using smul_lt_smul_of_pos_right h hb
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Order.Module.Defs
{ "line": 852, "column": 93 }
{ "line": 853, "column": 60 }
{ "line": 855, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\na : α\nb : β\ninst✝⁵ : Monoid α\ninst✝⁴ : Zero β\ninst✝³ : MulAction α β\ninst✝² : Preorder α\ninst✝¹ : Preorder β\ninst✝ : SMulPosStrictMono α β\nhb : 0 < b\nh : 1 < a\n⊢ b < a • b", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "MulOne.toOne", ...
[]
by simpa only [one_smul] using smul_lt_smul_of_pos_right h hb
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.ConditionallyCompleteLattice.WithTop
{ "line": 77, "column": 56 }
{ "line": 80, "column": 54 }
{ "line": 82, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝¹ : LE α\ninst✝ : SupSet α\ns : Set (WithTop α)\nh : ¬BddAbove (some ⁻¹' s)\n⊢ sSup s = ⊤", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Classical.propDecidable", "ite_eq_right", "Membership.mem", "WithTop.instSupSet", "WithTop.sS...
[]
by by_cases hmem : ⊤ ∈ s · exact sSup_of_top_mem hmem · exact ite_eq_right hmem |>.trans <| ite_eq_right h
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.ConditionallyCompleteLattice.WithTop
{ "line": 115, "column": 4 }
{ "line": 117, "column": 58 }
{ "line": 118, "column": 2 }
[ { "pp": "case pos\nα : Type u_1\ninst✝¹ : Preorder α\ninst✝ : InfSet α\ns : Set α\nh's : BddBelow s\nx : α\nhx : x ∈ s\nh : (fun a ↦ ↑a) '' s ⊆ {⊤} ∨ ¬BddBelow ((fun a ↦ ↑a) '' s)\n⊢ ↑(sInf s) = ⊤", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "WithTop.coe_mono", "WithTop.inst...
[]
rcases h with h1 | h2 · cases h1 (mem_image_of_mem _ hx) · exact (h2 (Monotone.map_bddBelow coe_mono h's)).elim
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.ConditionallyCompleteLattice.WithTop
{ "line": 115, "column": 4 }
{ "line": 117, "column": 58 }
{ "line": 118, "column": 2 }
[ { "pp": "case pos\nα : Type u_1\ninst✝¹ : Preorder α\ninst✝ : InfSet α\ns : Set α\nh's : BddBelow s\nx : α\nhx : x ∈ s\nh : (fun a ↦ ↑a) '' s ⊆ {⊤} ∨ ¬BddBelow ((fun a ↦ ↑a) '' s)\n⊢ ↑(sInf s) = ⊤", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "WithTop.coe_mono", "WithTop.inst...
[]
rcases h with h1 | h2 · cases h1 (mem_image_of_mem _ hx) · exact (h2 (Monotone.map_bddBelow coe_mono h's)).elim
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.ConditionallyCompleteLattice.WithTop
{ "line": 184, "column": 6 }
{ "line": 184, "column": 42 }
{ "line": 185, "column": 6 }
[ { "pp": "case neg.some\nβ : Type u_5\ninst✝ : ConditionallyCompleteLattice β\ns : Set (WithTop β)\nhs : BddBelow s\nh : ¬s ⊆ {⊤}\na : β\nha : Option.some a ∈ s\n⊢ ↑(sInf ((fun a ↦ ↑a) ⁻¹' s)) ≤ Option.some a", "ppTerm": "?neg.some✝", "assigned": true, "usedConstants": [ "Iff.mpr", "Parti...
[ "case neg.some\nβ : Type u_5\ninst✝ : ConditionallyCompleteLattice β\ns : Set (WithTop β)\nhs : BddBelow s\nh : ¬s ⊆ {⊤}\na : β\nha : Option.some a ∈ s\n⊢ BddBelow ((fun a ↦ ↑a) ⁻¹' s)" ]
refine coe_le_coe.2 (csInf_le ?_ ha)
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Order.ConditionallyCompleteLattice.WithTop
{ "line": 200, "column": 6 }
{ "line": 203, "column": 60 }
{ "line": 204, "column": 6 }
[ { "pp": "case neg.none\nβ : Type u_5\ninst✝ : ConditionallyCompleteLattice β\ns : Set (WithTop β)\nhs : BddBelow s\nh : ¬s ⊆ {⊤}\nha : none ∈ lowerBounds s\n⊢ none ≤ ↑(sInf ((fun a ↦ ↑a) ⁻¹' s))", "ppTerm": "?neg.none✝", "assigned": true, "usedConstants": [ "Iff.mpr", "WithTop.instPartia...
[ "case neg.some\nβ : Type u_5\ninst✝ : ConditionallyCompleteLattice β\ns : Set (WithTop β)\nhs : BddBelow s\nh : ¬s ⊆ {⊤}\na : β\nha : Option.some a ∈ lowerBounds s\n⊢ Option.some a ≤ ↑(sInf ((fun a ↦ ↑a) ⁻¹' s))" ]
· exfalso apply h intro b hb exact Set.mem_singleton_iff.2 (top_le_iff.1 (ha hb))
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Data.ENat.Lattice
{ "line": 153, "column": 2 }
{ "line": 157, "column": 76 }
{ "line": 158, "column": 2 }
[ { "pp": "case inr.inr.coe\nι : Sort u_2\na : ℕ∞\nf : ι → ℕ∞\nhne : a ≠ 0\nhι : Nonempty ι\nd : ℕ\nh : ∀ (i : ι), a * f i ≤ ↑d\n⊢ a * ⨆ i, f i ≤ ↑d", "ppTerm": "?inr.inr.coe", "assigned": true, "usedConstants": [ "Eq.mpr", "ENat.self_le_mul_left", "False", "Preorder.toLT", ...
[ "case inr.inr.coe\nι : Sort u_2\na : ℕ∞\nf : ι → ℕ∞\nhne : a ≠ 0\nhι : Nonempty ι\nd : ℕ\nh : ∀ (i : ι), a * f i ≤ ↑d\nhlt : ⨆ i, f i < ⊤\n⊢ a * ⨆ i, f i ≤ ↑d" ]
have hlt : ⨆ i, f i < ⊤ := by rw [lt_top_iff_ne_top] intro htop obtain ⟨i, hi : d < f i⟩ := (iSup_eq_top ..).1 htop d (by simp) exact (((h i).trans_lt hi).trans_le (ENat.self_le_mul_left _ hne)).false
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Data.ENat.Lattice
{ "line": 254, "column": 67 }
{ "line": 254, "column": 92 }
{ "line": 256, "column": 0 }
[ { "pp": "ι : Type u_4\ninst✝¹ : Preorder ι\ninst✝ : IsDirectedOrder ι\nf g : ι → ℕ∞\nhf : Monotone f\nhg : Monotone g\ni j _k : ι\nx✝ : i ≤ _k ∧ j ≤ _k\nhi : i ≤ _k\nhj : j ≤ _k\n⊢ f i + g j ≤ f _k + g _k", "ppTerm": "?m.49", "assigned": true, "usedConstants": [ "instCompleteLinearOrderENat", ...
[]
by gcongr <;> apply_rules
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.ENat.Lattice
{ "line": 285, "column": 66 }
{ "line": 285, "column": 95 }
{ "line": 287, "column": 0 }
[ { "pp": "a : ℕ∞\ns : Set ℕ∞\n⊢ sInf s + a = ⨅ b ∈ s, b + a", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "iInf", "instCompleteLinearOrderENat", "congrArg", "CompletelyDistribLattice.toCompleteLattice", "Membership.mem", "instAddENat", "Conditiona...
[]
simp [sInf_eq_iInf, iInf_add]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.ENat.Lattice
{ "line": 285, "column": 66 }
{ "line": 285, "column": 95 }
{ "line": 287, "column": 0 }
[ { "pp": "a : ℕ∞\ns : Set ℕ∞\n⊢ sInf s + a = ⨅ b ∈ s, b + a", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "iInf", "instCompleteLinearOrderENat", "congrArg", "CompletelyDistribLattice.toCompleteLattice", "Membership.mem", "instAddENat", "Conditiona...
[]
simp [sInf_eq_iInf, iInf_add]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.ENat.Lattice
{ "line": 285, "column": 66 }
{ "line": 285, "column": 95 }
{ "line": 287, "column": 0 }
[ { "pp": "a : ℕ∞\ns : Set ℕ∞\n⊢ sInf s + a = ⨅ b ∈ s, b + a", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "iInf", "instCompleteLinearOrderENat", "congrArg", "CompletelyDistribLattice.toCompleteLattice", "Membership.mem", "instAddENat", "Conditiona...
[]
simp [sInf_eq_iInf, iInf_add]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.ENat.Lattice
{ "line": 300, "column": 67 }
{ "line": 300, "column": 92 }
{ "line": 302, "column": 0 }
[ { "pp": "ι : Type u_4\ninst✝¹ : Preorder ι\ninst✝ : IsCodirectedOrder ι\nf g : ι → ℕ∞\nhf : Monotone f\nhg : Monotone g\ni j _k : ι\nx✝ : _k ≤ i ∧ _k ≤ j\nhi : _k ≤ i\nhj : _k ≤ j\n⊢ f _k + g _k ≤ f i + g j", "ppTerm": "?m.49", "assigned": true, "usedConstants": [ "instCompleteLinearOrderENat"...
[]
by gcongr <;> apply_rules
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.RelSeries
{ "line": 196, "column": 6 }
{ "line": 196, "column": 23 }
{ "line": 196, "column": 24 }
[ { "pp": "α : Type u_1\nr : SetRel α α\ns : RelSeries r\nx : α\n⊢ x ∈ s.toList ↔ x ∈ s", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "List.ofFn", "Membership.mem", "id", "RelSeries.length", "RelSeries.toList", "instOfNa...
[ "α : Type u_1\nr : SetRel α α\ns : RelSeries r\nx : α\n⊢ x ∈ List.ofFn s.toFun ↔ x ∈ s" ]
RelSeries.toList,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.KrullDimension
{ "line": 382, "column": 32 }
{ "line": 382, "column": 45 }
{ "line": 382, "column": 45 }
[ { "pp": "case coe\nα : Type u_1\ninst✝ : Preorder α\na : α\nn : ℕ\nhne : Nonempty { p // RelSeries.last p = a }\nm : ℕ\nh : n ≤ m\nha : ⨆ p, ⨆ (_ : RelSeries.last p = a), ↑p.length = ↑m\n⊢ ∃ p, RelSeries.last p = a ∧ p.length = n", "ppTerm": "?coe", "assigned": true, "usedConstants": [ "Preord...
[ "case coe\nα : Type u_1\ninst✝ : Preorder α\na : α\nn : ℕ\nhne : Nonempty { p // RelSeries.last p = a }\nm : ℕ\nh : n ≤ m\nha : ⨆ x, ↑(↑x).length = ↑m\n⊢ ∃ p, RelSeries.last p = a ∧ p.length = n" ]
iSup_subtype'
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.KrullDimension
{ "line": 427, "column": 82 }
{ "line": 432, "column": 13 }
{ "line": 434, "column": 0 }
[ { "pp": "α : Type u_1\ninst✝ : Preorder α\nx : α\nn : ℕ\n⊢ height x ≤ ↑n ↔ ∀ y < x, height y < ↑n", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "instOneENat", "Eq.mpr", "False", "Preorder.toLT", "instCompleteLinearOrderENat", "instCharZeroENat", ...
[]
by conv_lhs => rw [height_eq_iSup_lt_height, iSup₂_le_iff] congr! 2 with y _ cases height y · simp · norm_cast
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Module.Submodule.Bilinear
{ "line": 142, "column": 2 }
{ "line": 143, "column": 35 }
{ "line": 144, "column": 2 }
[ { "pp": "ι : Sort uι\nR : Type u_1\nM : Type u_2\nN : Type u_3\nP : Type u_4\ninst✝⁶ : CommSemiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : AddCommMonoid N\ninst✝³ : AddCommMonoid P\ninst✝² : Module R M\ninst✝¹ : Module R N\ninst✝ : Module R P\nf : M →ₗ[R] N →ₗ[R] P\ns : ι → Submodule R M\nt : Submodule R N\n⊢ ma...
[ "ι : Sort uι\nR : Type u_1\nM : Type u_2\nN : Type u_3\nP : Type u_4\ninst✝⁶ : CommSemiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : AddCommMonoid N\ninst✝³ : AddCommMonoid P\ninst✝² : Module R M\ninst✝¹ : Module R N\ninst✝ : Module R P\nf : M →ₗ[R] N →ₗ[R] P\ns : ι → Submodule R M\nt : Submodule R N\n⊢ map₂ f (⨆ i, s...
suffices map₂ f (⨆ i, span R (s i : Set M)) (span R t) = ⨆ i, map₂ f (span R (s i)) (span R t) by simpa only [span_eq] using this
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticSuffices__1
Lean.Parser.Tactic.tacticSuffices_
Mathlib.Algebra.Module.Submodule.Bilinear
{ "line": 155, "column": 35 }
{ "line": 155, "column": 57 }
{ "line": 155, "column": 58 }
[ { "pp": "R : Type u_1\nM : Type u_2\nN : Type u_3\nP : Type u_4\ninst✝⁶ : CommSemiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : AddCommMonoid N\ninst✝³ : AddCommMonoid P\ninst✝² : Module R M\ninst✝¹ : Module R N\ninst✝ : Module R P\nf : M →ₗ[R] N →ₗ[R] P\nm : M\ns : Submodule R N\n⊢ span R (image2 (fun m n ↦ (f m)...
[ "R : Type u_1\nM : Type u_2\nN : Type u_3\nP : Type u_4\ninst✝⁶ : CommSemiring R\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : AddCommMonoid N\ninst✝³ : AddCommMonoid P\ninst✝² : Module R M\ninst✝¹ : Module R N\ninst✝ : Module R P\nf : M →ₗ[R] N →ₗ[R] P\nm : M\ns : Submodule R N\n⊢ span R ((fun n ↦ (f m) n) '' ↑s) = map (f m...
image2_singleton_left,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.KrullDimension
{ "line": 839, "column": 8 }
{ "line": 839, "column": 75 }
{ "line": 840, "column": 8 }
[ { "pp": "case coe.coe\nα✝ : Type u_1\ninst✝² : Preorder α✝\nα : Type u_1\ninst✝¹ : Preorder α\ninst✝ : Nonempty α\nhnottop : krullDim α < ⊤\na : α\nthis✝ : height a < ⊤\nthis : coheight a < ⊤\nn : ℕ\nhh : height a = ↑n\nm : ℕ\nhch : coheight a = ↑m\np₁ : LTSeries α\nhlast : RelSeries.last p₁ = a\nhlen₁ : p₁.len...
[ "case coe.coe\nα✝ : Type u_1\ninst✝² : Preorder α✝\nα : Type u_1\ninst✝¹ : Preorder α\ninst✝ : Nonempty α\nhnottop : krullDim α < ⊤\na : α\nthis✝ : height a < ⊤\nthis : coheight a < ⊤\nn : ℕ\nhh : height a = ↑n\nm : ℕ\nhch : coheight a = ↑m\np₁ : LTSeries α\nhlast : RelSeries.last p₁ = a\nhlen₁ : p₁.length = n\np₂ ...
obtain ⟨p₂, hhead, hlen₂⟩ := exists_series_of_coheight_eq_coe a hch
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Order.KrullDimension
{ "line": 1043, "column": 23 }
{ "line": 1043, "column": 88 }
{ "line": 1043, "column": 89 }
[ { "pp": "α : Type u_1\ninst✝ : Preorder α\nx : α\np : LTSeries (WithTop α)\nhlast : RelSeries.last p = ↑x\ni : Fin p.length\n⊢ ((p.toFun i.castSucc).untop ⋯, (p.toFun i.succ).untop ⋯) ∈ {(a, b) | a < b}", "ppTerm": "?m.33", "assigned": true, "usedConstants": [ "Eq.mpr", "lt_of_le_of_lt",...
[]
by simpa [WithTop.untop_lt_iff, WithTop.coe_untop] using p.step i
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.KrullDimension
{ "line": 1077, "column": 21 }
{ "line": 1077, "column": 34 }
{ "line": 1077, "column": 34 }
[ { "pp": "α : Type u_1\ninst✝¹ : Preorder α\ninst✝ : Nonempty α\n⊢ ⨆ y, ⨆ (_ : y ≠ ⊤), height y + 1 = ⨆ i, height i + 1", "ppTerm": "?m.29", "assigned": true, "usedConstants": [ "Eq.mpr", "instCompleteLinearOrderENat", "instAddMonoidWithOneENat", "WithTop.instPreorder", ...
[ "α : Type u_1\ninst✝¹ : Preorder α\ninst✝ : Nonempty α\n⊢ ⨆ x, height ↑x + 1 = ⨆ i, height i + 1" ]
iSup_subtype'
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.KrullDimension
{ "line": 1091, "column": 2 }
{ "line": 1091, "column": 64 }
{ "line": 1093, "column": 0 }
[ { "pp": "⊢ krullDim (WithTop ℕ) = ⊤", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "instOneENat", "Order.krullDim_of_noMaxOrder", "WithBot.some", "WithBot", "instTopENat", "WithTop.instPreorder", "congrArg", "PartialOrder.toPreorder", ...
[]
simp [← WithBot.coe_top, ← WithBot.coe_one, ← WithBot.coe_add]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Order.RelSeries
{ "line": 964, "column": 6 }
{ "line": 965, "column": 83 }
{ "line": 966, "column": 6 }
[ { "pp": "case succ.refine_1\nα : Type u_3\ninst✝² : PartialOrder α\ninst✝¹ : WellFoundedLT α\ninst✝ : WellFoundedGT α\nn : ℕ\nIH :\n ∀ (s : Fin (n + 1) → α) (h : ∀ (i : Fin n), (s i.castSucc, s i.succ) ∈ {(a, b) | a < b}),\n ∃ t i,\n t.toFun ∘ ⇑i = { length := n, toFun := s, step := h }.toFun ∧\n ...
[ "case succ.refine_1.refine_1\nα : Type u_3\ninst✝² : PartialOrder α\ninst✝¹ : WellFoundedLT α\ninst✝ : WellFoundedGT α\nn : ℕ\nIH :\n ∀ (s : Fin (n + 1) → α) (h : ∀ (i : Fin n), (s i.castSucc, s i.succ) ∈ {(a, b) | a < b}),\n ∃ t i,\n t.toFun ∘ ⇑i = { length := n, toFun := s, step := h }.toFun ∧\n i...
refine Fin.lastCases (Fin.lastCases (fun _ ↦ rfl) fun j eq ↦ ?_) fun j ↦ Fin.lastCases (fun eq ↦ ?_) fun k eq ↦ Fin.ext (congr_arg Fin.val (by simpa using! eq) :)
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Algebra.Group.Pointwise.Set.BigOperators
{ "line": 86, "column": 2 }
{ "line": 86, "column": 68 }
{ "line": 88, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝ : CommMonoid α\nn : ℕ\ns : Set α\na : α\n⊢ a ∈ s ^ n ↔ ∃ f, (∀ (i : Fin n), f i ∈ s) ∧ ∏ i, f i = a", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Fintype.card_fin", "Finset.univ", "Iff.of_eq", "congrArg", "Finset", "instIn...
[]
simpa using mem_finsetProd (t := .univ) (f := fun _ : Fin n ↦ s) _
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Algebra.Group.Pointwise.Set.BigOperators
{ "line": 86, "column": 2 }
{ "line": 86, "column": 68 }
{ "line": 88, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝ : CommMonoid α\nn : ℕ\ns : Set α\na : α\n⊢ a ∈ s ^ n ↔ ∃ f, (∀ (i : Fin n), f i ∈ s) ∧ ∏ i, f i = a", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Fintype.card_fin", "Finset.univ", "Iff.of_eq", "congrArg", "Finset", "instIn...
[]
simpa using mem_finsetProd (t := .univ) (f := fun _ : Fin n ↦ s) _
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Group.Pointwise.Set.BigOperators
{ "line": 86, "column": 2 }
{ "line": 86, "column": 68 }
{ "line": 88, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝ : CommMonoid α\nn : ℕ\ns : Set α\na : α\n⊢ a ∈ s ^ n ↔ ∃ f, (∀ (i : Fin n), f i ∈ s) ∧ ∏ i, f i = a", "ppTerm": "?m.23", "assigned": true, "usedConstants": [ "Fintype.card_fin", "Finset.univ", "Iff.of_eq", "congrArg", "Finset", "instIn...
[]
simpa using mem_finsetProd (t := .univ) (f := fun _ : Fin n ↦ s) _
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Ring.Submonoid.Pointwise
{ "line": 165, "column": 41 }
{ "line": 165, "column": 51 }
{ "line": 165, "column": 51 }
[ { "pp": "R : Type u_2\ninst✝ : NonUnitalNonAssocSemiring R\nM N : AddSubmonoid R\n⊢ M * N = M * closure ↑N", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "congrArg", "AddSubmonoid.mul", "AddMonoid.toAddZeroClass", "id", "Add...
[ "R : Type u_2\ninst✝ : NonUnitalNonAssocSemiring R\nM N : AddSubmonoid R\n⊢ M * N = M * N" ]
closure_eq
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Ring.Submonoid.Pointwise
{ "line": 282, "column": 21 }
{ "line": 282, "column": 31 }
{ "line": 282, "column": 31 }
[ { "pp": "R : Type u_2\ninst✝ : Semiring R\ns : AddSubmonoid R\nn : ℕ\n⊢ s ^ n = closure ↑s ^ n", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "congrArg", "AddMonoid.toAddZeroClass", "id", "AddSubmonoi...
[ "R : Type u_2\ninst✝ : Semiring R\ns : AddSubmonoid R\nn : ℕ\n⊢ s ^ n = s ^ n" ]
closure_eq
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.GroupTheory.GroupAction.SubMulAction.Pointwise
{ "line": 115, "column": 4 }
{ "line": 115, "column": 24 }
{ "line": 116, "column": 2 }
[ { "pp": "R : Type u_1\nM : Type u_2\ninst✝⁴ : Monoid R\ninst✝³ : MulAction R M\ninst✝² : Monoid M\ninst✝¹ : IsScalarTower R M M\ninst✝ : SMulCommClass R M M\np : SubMulAction R M\n⊢ 1 ⊆ ↑1", "ppTerm": "?m.49", "assigned": true, "usedConstants": [ "MulOne.toOne", "Monoid.toMulOneClass", ...
[]
exact subset_coe_one
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.RingTheory.Coprime.Lemmas
{ "line": 109, "column": 4 }
{ "line": 109, "column": 37 }
{ "line": 110, "column": 4 }
[ { "pp": "case insert\nR : Type u\nI : Type v\ninst✝ : CommSemiring R\nz : R\ns : I → R\nt : Finset I\na : I\nr : Finset I\nhar : a ∉ r\nih : (↑r).Pairwise (IsCoprime on s) → (∀ i ∈ r, s i ∣ z) → ∏ x ∈ r, s x ∣ z\nHs : (↑(insert a r)).Pairwise (IsCoprime on s)\nHs1 : ∀ i ∈ insert a r, s i ∣ z\n⊢ s a * ∏ x ∈ r, s...
[ "case insert.refine_1\nR : Type u\nI : Type v\ninst✝ : CommSemiring R\nz : R\ns : I → R\nt : Finset I\na : I\nr : Finset I\nhar : a ∉ r\nih : (↑r).Pairwise (IsCoprime on s) → (∀ i ∈ r, s i ∣ z) → ∏ x ∈ r, s x ∣ z\nHs : (↑(insert a r)).Pairwise (IsCoprime on s)\nHs1 : ∀ i ∈ insert a r, s i ∣ z\n⊢ IsCoprime (s a) (∏ ...
refine IsCoprime.mul_dvd ?_ ?_ ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.RingTheory.Coprime.Basic
{ "line": 65, "column": 48 }
{ "line": 65, "column": 57 }
{ "line": 65, "column": 58 }
[ { "pp": "R : Type u\ninst✝ : CommSemiring R\nx : R\nx✝ : IsCoprime 0 x\na b : R\nH : a * 0 + b * x = 1\n⊢ x * b = 1", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "NonAssocSemiring.toAddCommMonoidWithOne", "HMul.hMul", "MulZeroClass.toMul", "congrArg", "CommS...
[ "R : Type u\ninst✝ : CommSemiring R\nx : R\nx✝ : IsCoprime 0 x\na b : R\nH : 0 + b * x = 1\n⊢ x * b = 1" ]
mul_zero,
Lean.Elab.Tactic.evalRwaAt
null
Mathlib.RingTheory.Coprime.Basic
{ "line": 85, "column": 2 }
{ "line": 85, "column": 33 }
{ "line": 87, "column": 0 }
[ { "pp": "R : Type u\ninst✝¹ : CommSemiring R\ninst✝ : Nontrivial R\nh : IsCoprime (0 0) (0 1)\n⊢ False", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "not_isCoprime_zero_zero" ], "usedFVars": [ "R", "inst✝¹", "inst✝", "h" ], "usedGoals": [] ...
[]
exact not_isCoprime_zero_zero h
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.RingTheory.Coprime.Basic
{ "line": 90, "column": 2 }
{ "line": 90, "column": 33 }
{ "line": 92, "column": 0 }
[ { "pp": "R : Type u\ninst✝¹ : CommSemiring R\ninst✝ : Nontrivial R\nh : IsCoprime 0 0\n⊢ False", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "not_isCoprime_zero_zero" ], "usedFVars": [ "R", "inst✝¹", "inst✝", "h" ], "usedGoals": [] } ]
[]
exact not_isCoprime_zero_zero h
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.RingTheory.Coprime.Basic
{ "line": 100, "column": 24 }
{ "line": 100, "column": 32 }
{ "line": 100, "column": 33 }
[ { "pp": "R : Type u\ninst✝ : CommSemiring R\nx y z : R\nH1 : IsCoprime x z\nH2 : x ∣ y * z\na b : R\nH : a * x + b * z = 1\n⊢ x ∣ y * (a * x + b * z)", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "Dvd.dvd", "HMul.hMul", ...
[ "R : Type u\ninst✝ : CommSemiring R\nx y z : R\nH1 : IsCoprime x z\nH2 : x ∣ y * z\na b : R\nH : a * x + b * z = 1\n⊢ x ∣ y * (a * x) + y * (b * z)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Coprime.Basic
{ "line": 393, "column": 22 }
{ "line": 393, "column": 32 }
{ "line": 393, "column": 33 }
[ { "pp": "R : Type u\ninst✝ : CommRing R\nx y z : R\n⊢ IsCoprime (x + -(y * z)) y ↔ IsCoprime x y", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Eq.mpr", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "HMul.hMul", "CommRing.toNonUnitalCommRing", "AddGroupWi...
[ "R : Type u\ninst✝ : CommRing R\nx y z : R\n⊢ IsCoprime (x + y * -z) y ↔ IsCoprime x y" ]
← mul_neg,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Coprime.Basic
{ "line": 399, "column": 22 }
{ "line": 399, "column": 32 }
{ "line": 399, "column": 33 }
[ { "pp": "R : Type u\ninst✝ : CommRing R\nx y z : R\n⊢ IsCoprime x (y + -(x * z)) ↔ IsCoprime x y", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Eq.mpr", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "HMul.hMul", "CommRing.toNonUnitalCommRing", "AddGroupWi...
[ "R : Type u\ninst✝ : CommRing R\nx y z : R\n⊢ IsCoprime x (y + x * -z) ↔ IsCoprime x y" ]
← mul_neg,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Coprime.Basic
{ "line": 470, "column": 2 }
{ "line": 470, "column": 33 }
{ "line": 472, "column": 0 }
[ { "pp": "R : Type u_1\ninst✝² : CommRing R\ninst✝¹ : LinearOrder R\ninst✝ : IsStrictOrderedRing R\nha hb : 0 ^ 2 = 0\nh : IsCoprime 0 0\nh' : 0 ^ 2 + 0 ^ 2 = 0\n⊢ False", "ppTerm": "?m.104", "assigned": true, "usedConstants": [ "AddGroupWithOne.toAddMonoidWithOne", "SemilatticeInf.toPart...
[]
exact not_isCoprime_zero_zero h
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.RingTheory.Coprime.Basic
{ "line": 565, "column": 22 }
{ "line": 565, "column": 32 }
{ "line": 565, "column": 33 }
[ { "pp": "R : Type u_1\ninst✝ : CommRing R\nx y z : R\n⊢ IsRelPrime (x + -(y * z)) y ↔ IsRelPrime x y", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "Eq.mpr", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "HMul.hMul", "CommRing.toNonUnitalCommRing", "AddGro...
[ "R : Type u_1\ninst✝ : CommRing R\nx y z : R\n⊢ IsRelPrime (x + y * -z) y ↔ IsRelPrime x y" ]
← mul_neg,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Coprime.Basic
{ "line": 571, "column": 22 }
{ "line": 571, "column": 32 }
{ "line": 571, "column": 33 }
[ { "pp": "R : Type u_1\ninst✝ : CommRing R\nx y z : R\n⊢ IsRelPrime x (y + -(x * z)) ↔ IsRelPrime x y", "ppTerm": "?m.20", "assigned": true, "usedConstants": [ "Eq.mpr", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "HMul.hMul", "CommRing.toNonUnitalCommRing", "AddGro...
[ "R : Type u_1\ninst✝ : CommRing R\nx y z : R\n⊢ IsRelPrime x (y + x * -z) ↔ IsRelPrime x y" ]
← mul_neg,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Algebra.Operations
{ "line": 609, "column": 2 }
{ "line": 609, "column": 26 }
{ "line": 611, "column": 0 }
[ { "pp": "R : Type u\ninst✝² : CommSemiring R\nA : Type v\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\nM : Submodule R A\nn : ℕ\n⊢ M ^ n = span R (↑M ^ n)", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Submodule", ...
[]
rw [← span_pow, span_eq]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Algebra.Algebra.Operations
{ "line": 609, "column": 2 }
{ "line": 609, "column": 26 }
{ "line": 611, "column": 0 }
[ { "pp": "R : Type u\ninst✝² : CommSemiring R\nA : Type v\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\nM : Submodule R A\nn : ℕ\n⊢ M ^ n = span R (↑M ^ n)", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Submodule", ...
[]
rw [← span_pow, span_eq]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Algebra.Operations
{ "line": 609, "column": 2 }
{ "line": 609, "column": 26 }
{ "line": 611, "column": 0 }
[ { "pp": "R : Type u\ninst✝² : CommSemiring R\nA : Type v\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\nM : Submodule R A\nn : ℕ\n⊢ M ^ n = span R (↑M ^ n)", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ "Eq.mpr", "NonAssocSemiring.toAddCommMonoidWithOne", "Submodule", ...
[]
rw [← span_pow, span_eq]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Multiplicity
{ "line": 656, "column": 2 }
{ "line": 656, "column": 54 }
{ "line": 656, "column": 55 }
[ { "pp": "α : Type u_1\ninst✝ : Ring α\np a b : α\nh : multiplicity p b < multiplicity p a\nhfin : FiniteMultiplicity p b\n⊢ multiplicity p (a - b) = multiplicity p b", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Eq.mpr", "NegZeroClass.toNeg", "AddGroupWithOne.toAddGrou...
[ "α : Type u_1\ninst✝ : Ring α\np a b : α\nh : multiplicity p b < multiplicity p a\nhfin : FiniteMultiplicity p b\n⊢ multiplicity p (-b) = multiplicity p b", "α : Type u_1\ninst✝ : Ring α\np a b : α\nh : multiplicity p b < multiplicity p a\nhfin : FiniteMultiplicity p b\n⊢ multiplicity p (-b) < multiplicity p a" ]
rw [sub_eq_add_neg, hfin.neg.multiplicity_add_of_gt]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.Ideal.Prod
{ "line": 90, "column": 6 }
{ "line": 91, "column": 15 }
{ "line": 91, "column": 15 }
[ { "pp": "R : Type u\nS : Type v\ninst✝¹ : Semiring R\ninst✝ : Semiring S\nI : Ideal R\nJ : Ideal S\nx : S\n⊢ (∃ x_1 ∈ I.prod J, (RingHom.snd R S) x_1 = x) → x ∈ J", "ppTerm": "?m.43", "assigned": true, "usedConstants": [ "Submodule", "Semiring.toModule", "RingHom", "Membershi...
[]
rintro ⟨x, ⟨h, rfl⟩⟩ exact h.2
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.Ideal.Prod
{ "line": 90, "column": 6 }
{ "line": 91, "column": 15 }
{ "line": 91, "column": 15 }
[ { "pp": "R : Type u\nS : Type v\ninst✝¹ : Semiring R\ninst✝ : Semiring S\nI : Ideal R\nJ : Ideal S\nx : S\n⊢ (∃ x_1 ∈ I.prod J, (RingHom.snd R S) x_1 = x) → x ∈ J", "ppTerm": "?m.43", "assigned": true, "usedConstants": [ "Submodule", "Semiring.toModule", "RingHom", "Membershi...
[]
rintro ⟨x, ⟨h, rfl⟩⟩ exact h.2
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Ideal.Prod
{ "line": 109, "column": 4 }
{ "line": 109, "column": 41 }
{ "line": 110, "column": 4 }
[ { "pp": "R : Type u\nS : Type v\ninst✝¹ : Semiring R\ninst✝ : Semiring S\nI✝ : Ideal R\nJ✝ : Ideal S\nI J : Ideal (R × S)\nh : map (RingHom.fst R S) I ≤ map (RingHom.fst R S) J ∧ map (RingHom.snd R S) I ≤ map (RingHom.snd R S) J\n⊢ I ≤ J", "ppTerm": "?m.75", "assigned": true, "usedConstants": [ ...
[ "R : Type u\nS : Type v\ninst✝¹ : Semiring R\ninst✝ : Semiring S\nI✝ : Ideal R\nJ✝ : Ideal S\nI J : Ideal (R × S)\nh : map (RingHom.fst R S) I ≤ map (RingHom.fst R S) J ∧ map (RingHom.snd R S) I ≤ map (RingHom.snd R S) J\n⊢ (map (RingHom.fst R S) I).prod (map (RingHom.snd R S) I) ≤ (map (RingHom.fst R S) J).prod (m...
rw [ideal_prod_eq I, ideal_prod_eq J]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Algebra.Algebra.Operations
{ "line": 930, "column": 4 }
{ "line": 932, "column": 45 }
{ "line": 933, "column": 4 }
[ { "pp": "case refine_1.refine_1\nR : Type u\ninst✝⁶ : CommSemiring R\nS : Type u_1\nM : Type u_2\ninst✝⁵ : CommSemiring S\ninst✝⁴ : Algebra S R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : Module S M\ninst✝ : IsScalarTower S R M\ns : Set S\nN : Submodule R M\nx : M\nx_in : x ∈ ⇑(algebraMap S R) '' s...
[ "case refine_1.refine_2\nR : Type u\ninst✝⁶ : CommSemiring R\nS : Type u_1\nM : Type u_2\ninst✝⁵ : CommSemiring S\ninst✝⁴ : Algebra S R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : Module S M\ninst✝ : IsScalarTower S R M\ns : Set S\nN : Submodule R M\nx : M\nx_in : x ∈ ⇑(algebraMap S R) '' s • N\n⊢ ∀ (r...
· rintro _ x ⟨r, r_in, rfl⟩ x_in rw [algebraMap_smul] exact mem_set_smul_of_mem_mem r_in x_in
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.RingTheory.Ideal.Maps
{ "line": 96, "column": 34 }
{ "line": 96, "column": 77 }
{ "line": 97, "column": 2 }
[ { "pp": "R : Type u\nF : Type u_1\ninst✝⁴ : Semiring R\nS : Type u_2\ninst✝³ : CommSemiring S\ninst✝² : FunLike F R S\ninst✝¹ : RingHomClass F R S\nf : F\nP : Ideal R\ninst✝ : P.IsPrime\nI : Ideal S\nle : comap f I ≤ P\nx✝ : S\n⊢ x✝ ∈ ↑I → x✝ ∉ ↑(Submonoid.map f P.primeCompl)", "ppTerm": "?m.55", "assig...
[]
by rintro hI ⟨r, hp, rfl⟩; exact hp (le hI)
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.Filter.Defs
{ "line": 139, "column": 34 }
{ "line": 139, "column": 59 }
{ "line": 141, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nf g : Filter α\ns t : Set α\np : Set α → Prop\nhe : p ∅\nhmono : ∀ (t : Set α), p t → ∀ (s : Set α), s ⊆ t → p s\nhunion : ∀ (s : Set α), p s → ∀ (t : Set α), p t → p (s ∪ t)\nx✝ y✝ : Set α\nht₁ : x✝ ∈ {t | p tᶜ}\nht₂ : y✝ ∈ {t | p tᶜ}\n⊢ x✝ ∩ y✝ ∈ {t | p tᶜ}", "ppTerm":...
[]
simp [hunion _ ht₁ _ ht₂]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Order.Filter.Defs
{ "line": 139, "column": 34 }
{ "line": 139, "column": 59 }
{ "line": 141, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nf g : Filter α\ns t : Set α\np : Set α → Prop\nhe : p ∅\nhmono : ∀ (t : Set α), p t → ∀ (s : Set α), s ⊆ t → p s\nhunion : ∀ (s : Set α), p s → ∀ (t : Set α), p t → p (s ∪ t)\nx✝ y✝ : Set α\nht₁ : x✝ ∈ {t | p tᶜ}\nht₂ : y✝ ∈ {t | p tᶜ}\n⊢ x✝ ∩ y✝ ∈ {t | p tᶜ}", "ppTerm":...
[]
simp [hunion _ ht₁ _ ht₂]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Filter.Defs
{ "line": 139, "column": 34 }
{ "line": 139, "column": 59 }
{ "line": 141, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nf g : Filter α\ns t : Set α\np : Set α → Prop\nhe : p ∅\nhmono : ∀ (t : Set α), p t → ∀ (s : Set α), s ⊆ t → p s\nhunion : ∀ (s : Set α), p s → ∀ (t : Set α), p t → p (s ∪ t)\nx✝ y✝ : Set α\nht₁ : x✝ ∈ {t | p tᶜ}\nht₂ : y✝ ∈ {t | p tᶜ}\n⊢ x✝ ∩ y✝ ∈ {t | p tᶜ}", "ppTerm":...
[]
simp [hunion _ ht₁ _ ht₂]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Ideal.Maps
{ "line": 377, "column": 4 }
{ "line": 377, "column": 37 }
{ "line": 378, "column": 4 }
[ { "pp": "R : Type u\nS : Type v\nF : Type u_1\ninst✝⁶ : Semiring R\ninst✝⁵ : Semiring S\ninst✝⁴ : FunLike F R S\nf✝ : F\nI✝ J : Ideal R\nK L : Ideal S\nG : Type u_2\ninst✝³ : FunLike G S R\ninst✝² : RingHomClass F R S\nι : Sort u_3\nf : R →+* S\ninst✝¹ : RingHomSurjective f\nI : Ideal R\ninst✝ : I.IsTwoSided\na...
[ "R : Type u\nS : Type v\nF : Type u_1\ninst✝⁶ : Semiring R\ninst✝⁵ : Semiring S\ninst✝⁴ : FunLike F R S\nf✝ : F\nI✝ J : Ideal R\nK L : Ideal S\nG : Type u_2\ninst✝³ : FunLike G S R\ninst✝² : RingHomClass F R S\nι : Sort u_3\nf : R →+* S\ninst✝¹ : RingHomSurjective f\nI : Ideal R\ninst✝ : I.IsTwoSided\na✝ b : S\nha ...
rw [map_eq_submodule_map] at ha ⊢
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.Ideal.Maps
{ "line": 447, "column": 6 }
{ "line": 448, "column": 98 }
{ "line": 449, "column": 6 }
[ { "pp": "R✝ : Type u\nS : Type v\nF : Type u_1\ninst✝⁶ : Semiring R✝\ninst✝⁵ : Semiring S\ninst✝⁴ : FunLike F R✝ S\nf : F\nI✝ J : Ideal R✝\nK L : Ideal S\nG : Type u_2\ninst✝³ : FunLike G S R✝\ninst✝² : RingHomClass F R✝ S\nι✝ : Sort u_3\nι : Type u_4\nR : ι → Type u_5\ninst✝¹ : (i : ι) → Semiring (R i)\ninst✝ ...
[ "R✝ : Type u\nS : Type v\nF : Type u_1\ninst✝⁶ : Semiring R✝\ninst✝⁵ : Semiring S\ninst✝⁴ : FunLike F R✝ S\nf : F\nI✝ J : Ideal R✝\nK L : Ideal S\nG : Type u_2\ninst✝³ : FunLike G S R✝\ninst✝² : RingHomClass F R✝ S\nι✝ : Sort u_3\nι : Type u_4\nR : ι → Type u_5\ninst✝¹ : (i : ι) → Semiring (R i)\ninst✝ : Finite ι\n...
classical rw [show r = ∑ i, Pi.single i 1 * r' i from funext fun i ↦ by rw [← (hr' _).2, Finset.sum_apply, Fintype.sum_eq_single i fun j ne ↦ by simp [ne]]; simp]
Lean.Elab.Tactic.evalClassical
Lean.Parser.Tactic.classical
Mathlib.Order.Filter.Basic
{ "line": 478, "column": 49 }
{ "line": 478, "column": 94 }
{ "line": 480, "column": 0 }
[ { "pp": "α : Type u\nι : Sort x\nf : ι → Filter α\np : ι → Prop\nl : Filter α\nh : ∀ {s : Set α}, s ∈ l ↔ ∃ i, p i ∧ s ∈ f i\nx✝ : Set α\n⊢ x✝ ∈ l ↔ ∃ i, x✝ ∈ f ↑i", "ppTerm": "?m.31", "assigned": true, "usedConstants": [ "Filter.instMembership", "Iff.of_eq", "congrArg", "Mem...
[]
by simp only [Subtype.exists, h, exists_prop]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Ideal.Maps
{ "line": 923, "column": 9 }
{ "line": 923, "column": 34 }
{ "line": 924, "column": 2 }
[ { "pp": "R : Type u_1\nM : Type u_2\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\nι : Type u_4\ninst✝ : Nonempty ι\nr : R\n⊢ r ∈ annihilator R (ι →₀ M) ↔ r ∈ annihilator R M", "ppTerm": "?m.19", "assigned": true, "usedConstants": [ "Eq.mpr", "instHSMul", "Sem...
[ "R : Type u_1\nM : Type u_2\ninst✝³ : Semiring R\ninst✝² : AddCommMonoid M\ninst✝¹ : Module R M\nι : Type u_4\ninst✝ : Nonempty ι\nr : R\n⊢ (∀ (m : ι →₀ M), r • m = 0) ↔ ∀ (m : M), r • m = 0" ]
simp_rw [mem_annihilator]
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
Mathlib.Tactic.tacticSimp_rw___
Mathlib.RingTheory.Ideal.Operations
{ "line": 442, "column": 17 }
{ "line": 444, "column": 26 }
{ "line": 446, "column": 0 }
[ { "pp": "R : Type u\ninst✝² : Semiring R\ninst✝¹ : NoZeroDivisors R\nI J : Ideal R\ninst✝ : I.IsTwoSided\nhI : I ≠ ⊥\nhJ : J ≠ ⊥\n⊢ I ⊓ J ≠ ⊥", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "Eq.mpr", "le_refl", "Preorder.toLT", "Semiring.toModule", "HMul.hMul"...
[]
by grw [← bot_lt_iff_ne_bot, ← mul_le_inf, bot_lt_iff_ne_bot, Ne, mul_eq_bot] exact not_or_intro hI hJ
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.Filter.AtTopBot.Disjoint
{ "line": 46, "column": 2 }
{ "line": 46, "column": 42 }
{ "line": 47, "column": 2 }
[ { "pp": "α : Type u_1\ninst✝¹ : PartialOrder α\ninst✝ : Nontrivial α\n⊢ Disjoint atBot atTop", "ppTerm": "?m.8", "assigned": true, "usedConstants": [ "Filter.instCompleteLatticeFilter", "PartialOrder.toPreorder", "Preorder.toLE", "Disjoint", "Exists", "CompleteLat...
[ "α : Type u_1\ninst✝¹ : PartialOrder α\ninst✝ : Nontrivial α\nx y : α\nhne : x ≠ y\n⊢ Disjoint atBot atTop" ]
rcases exists_pair_ne α with ⟨x, y, hne⟩
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases
Lean.Parser.Tactic.rcases
Mathlib.Order.Filter.Basic
{ "line": 1025, "column": 15 }
{ "line": 1027, "column": 19 }
{ "line": 1029, "column": 0 }
[ { "pp": "α : Type u\nβ : Type v\nγ : Type w\nl : Filter α\nf f' : α → β\nhf : f =ᶠ[l] f'\ng g' : α → γ\nhg : g =ᶠ[l] g'\n⊢ ∀ (x : α), g x = g' x → f x = f' x → (fun x ↦ (f x, g x)) x = (fun x ↦ (f' x, g' x)) x", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "congrArg", "Prod.mk...
[]
by intros simp only [*]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.Filter.Basic
{ "line": 1347, "column": 4 }
{ "line": 1347, "column": 67 }
{ "line": 1349, "column": 0 }
[ { "pp": "α : Type u\ns t : Set α\nl : Filter α\n⊢ t ∈ l ⊓ 𝓟 s ↔ l ⊓ 𝓟 s ≤ l ⊓ 𝓟 t", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Filter.instMembership", "CompleteLattice.toLattice", "congrArg", "Filter.instCompleteLatticeFilter", "PartialOrder.toPreorder"...
[]
simp only [le_inf_iff, inf_le_left, true_and, le_principal_iff]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Order.Filter.Basic
{ "line": 1347, "column": 4 }
{ "line": 1347, "column": 67 }
{ "line": 1349, "column": 0 }
[ { "pp": "α : Type u\ns t : Set α\nl : Filter α\n⊢ t ∈ l ⊓ 𝓟 s ↔ l ⊓ 𝓟 s ≤ l ⊓ 𝓟 t", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Filter.instMembership", "CompleteLattice.toLattice", "congrArg", "Filter.instCompleteLatticeFilter", "PartialOrder.toPreorder"...
[]
simp only [le_inf_iff, inf_le_left, true_and, le_principal_iff]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Filter.Basic
{ "line": 1347, "column": 4 }
{ "line": 1347, "column": 67 }
{ "line": 1349, "column": 0 }
[ { "pp": "α : Type u\ns t : Set α\nl : Filter α\n⊢ t ∈ l ⊓ 𝓟 s ↔ l ⊓ 𝓟 s ≤ l ⊓ 𝓟 t", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "Filter.instMembership", "CompleteLattice.toLattice", "congrArg", "Filter.instCompleteLatticeFilter", "PartialOrder.toPreorder"...
[]
simp only [le_inf_iff, inf_le_left, true_and, le_principal_iff]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.Filter.Map
{ "line": 609, "column": 76 }
{ "line": 611, "column": 65 }
{ "line": 613, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nl : Filter (α ⊕ β)\nm₁ : α → γ\nm₂ : β → γ\n⊢ map (Sum.elim m₁ m₂) l = map m₁ (comap inl l) ⊔ map m₂ (comap inr l)", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "CompleteLattice.toL...
[]
by rw [← map_comap_inl_sup_map_comap_inr l] simp [map_sup, map_map, comap_sup, (gc_map_comap _).u_l_u_eq_u]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.Filter.Map
{ "line": 696, "column": 2 }
{ "line": 697, "column": 87 }
{ "line": 698, "column": 2 }
[ { "pp": "case mp\nα : Type u_1\nβ : Type u_2\nf : α → β\nF : Filter β\nx : α\n⊢ (∀ (A : Set α), ∀ B ∈ F, f ⁻¹' B ⊆ A → x ∈ A) → ∀ B ∈ F, f x ∈ B", "ppTerm": "?mp", "assigned": true, "usedConstants": [ "Filter.instMembership", "_private.Mathlib.Order.Filter.Map.0.Filter.sInter_comap_sets....
[ "case mpr\nα : Type u_1\nβ : Type u_2\nf : α → β\nF : Filter β\nx : α\n⊢ (∀ B ∈ F, f x ∈ B) → ∀ (A : Set α), ∀ B ∈ F, f ⁻¹' B ⊆ A → x ∈ A" ]
· intro h U U_in simpa only [Subset.rfl, forall_prop_of_true, mem_preimage] using h (f ⁻¹' U) U U_in
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Order.Filter.Map
{ "line": 698, "column": 4 }
{ "line": 698, "column": 26 }
{ "line": 699, "column": 4 }
[ { "pp": "case mpr\nα : Type u_1\nβ : Type u_2\nf : α → β\nF : Filter β\nx : α\n⊢ (∀ B ∈ F, f x ∈ B) → ∀ (A : Set α), ∀ B ∈ F, f ⁻¹' B ⊆ A → x ∈ A", "ppTerm": "?mpr", "assigned": true, "usedConstants": [ "Filter.instMembership", "Membership.mem", "LE.le", "Set.instLE", "...
[ "case mpr\nα : Type u_1\nβ : Type u_2\nf : α → β\nF : Filter β\nx : α\nh : ∀ B ∈ F, f x ∈ B\nV : Set α\nU : Set β\nU_in : U ∈ F\nf_U_V : f ⁻¹' U ⊆ V\n⊢ x ∈ V" ]
intro h V U U_in f_U_V
Lean.Elab.Tactic.evalIntro
Lean.Parser.Tactic.intro
Mathlib.RingTheory.Ideal.Operations
{ "line": 534, "column": 8 }
{ "line": 534, "column": 22 }
{ "line": 534, "column": 23 }
[ { "pp": "case succ.succ\nR : Type u\ninst✝ : Semiring R\nn : ℕ\nih : n + 1 ≠ 0 → ↑(n + 1) = ⊤\nhn : n + 1 + 1 ≠ 0\n⊢ ↑(n + 1 + 1) = ⊤", "ppTerm": "?succ.succ", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.cast_succ", "Submodule.instAddCommMonoidWithOne", "Semiring.toMo...
[ "case succ.succ\nR : Type u\ninst✝ : Semiring R\nn : ℕ\nih : n + 1 ≠ 0 → ↑(n + 1) = ⊤\nhn : n + 1 + 1 ≠ 0\n⊢ ↑(n + 1) + 1 = ⊤" ]
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.Filter.Map
{ "line": 881, "column": 8 }
{ "line": 881, "column": 23 }
{ "line": 881, "column": 23 }
[ { "pp": "case refine_1\nα : Type u_1\nβ : Type u_2\nf : Filter (α → β)\na : α\ns : Set (α → β)\nhs : s ∈ f\n⊢ (fun g ↦ g a) '' s ∈ f.seq (pure a)", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Pure.pure", "Filter.instMembership", "Eq.mpr", "congrArg", "F...
[ "case refine_1\nα : Type u_1\nβ : Type u_2\nf : Filter (α → β)\na : α\ns : Set (α → β)\nhs : s ∈ f\n⊢ s.seq {a} ∈ f.seq (pure a)" ]
← seq_singleton
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Order.Filter.Map
{ "line": 906, "column": 4 }
{ "line": 906, "column": 34 }
{ "line": 907, "column": 4 }
[ { "pp": "case refine_1\nα : Type u_1\nβ : Type u_2\nf : Filter α\ng : Filter β\ns : Set (α → α × β)\nhs✝ : s ∈ map (fun b a ↦ (a, b)) g\nt : Set α\nht : t ∈ f\nu : Set β\nhu : u ∈ g\nhs : (fun b a ↦ (a, b)) '' u ⊆ s\n⊢ ((fun b a ↦ (a, b)) '' u).seq t ∈ (map Prod.mk f).seq g", "ppTerm": "?refine_1", "ass...
[ "case refine_1\nα : Type u_1\nβ : Type u_2\nf : Filter α\ng : Filter β\ns : Set (α → α × β)\nhs✝ : s ∈ map (fun b a ↦ (a, b)) g\nt : Set α\nht : t ∈ f\nu : Set β\nhu : u ∈ g\nhs : (fun b a ↦ (a, b)) '' u ⊆ s\n⊢ (Prod.mk '' t).seq u ∈ (map Prod.mk f).seq g" ]
rw [← Set.prod_image_seq_comm]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.RingTheory.Ideal.Operations
{ "line": 1027, "column": 11 }
{ "line": 1027, "column": 39 }
{ "line": 1027, "column": 40 }
[ { "pp": "R : Type u\nι : Type u_1\ninst✝ : CommSemiring R\ns : Finset ι\nx : ι → R\np : Ideal R\nhp : p.IsPrime\n⊢ ∏ i ∈ s, x i ∈ p ↔ ∃ i ∈ s, x i ∈ p", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "Eq.mpr", "Semiring.toModule", "congrArg", "CommSemiring.toSemiring...
[ "R : Type u\nι : Type u_1\ninst✝ : CommSemiring R\ns : Finset ι\nx : ι → R\np : Ideal R\nhp : p.IsPrime\n⊢ span {∏ i ∈ s, x i} ≤ p ↔ ∃ i ∈ s, span {x i} ≤ p" ]
← span_singleton_le_iff_mem,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Algebra.EuclideanDomain.Basic
{ "line": 143, "column": 4 }
{ "line": 143, "column": 40 }
{ "line": 145, "column": 0 }
[ { "pp": "R : Type u\ninst✝¹ : EuclideanDomain R\ninst✝ : DecidableEq R\na✝ b✝ a b : R\nx✝¹ : a ≠ 0\nx✝ : gcd (b % a) a ∣ b % a ∧ gcd (b % a) a ∣ a\nIH₁ : gcd (b % a) a ∣ b % a\nIH₂ : gcd (b % a) a ∣ a\n⊢ gcd (b % a) a ∣ a ∧ gcd (b % a) a ∣ b", "ppTerm": "?m.57", "assigned": true, "usedConstants": [ ...
[]
exact ⟨IH₂, (dvd_mod_iff IH₂).1 IH₁⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Algebra.EuclideanDomain.Basic
{ "line": 208, "column": 65 }
{ "line": 208, "column": 74 }
{ "line": 208, "column": 75 }
[ { "pp": "R : Type u\ninst✝¹ : EuclideanDomain R\ninst✝ : DecidableEq R\na b : R\n⊢ a = a + b * 0", "ppTerm": "?m.44", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "MulZeroClass.toMul", "congrArg", "CommSemiring.toSemiring", "id", "Distrib.toAd...
[ "R : Type u\ninst✝¹ : EuclideanDomain R\ninst✝ : DecidableEq R\na b : R\n⊢ a = a + 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.EuclideanDomain.Basic
{ "line": 209, "column": 34 }
{ "line": 209, "column": 43 }
{ "line": 209, "column": 44 }
[ { "pp": "R : Type u\ninst✝¹ : EuclideanDomain R\ninst✝ : DecidableEq R\na b : R\n⊢ b = a * 0 + b", "ppTerm": "?m.57", "assigned": true, "usedConstants": [ "Eq.mpr", "HMul.hMul", "MulZeroClass.toMul", "congrArg", "CommSemiring.toSemiring", "id", "Distrib.toAd...
[ "R : Type u\ninst✝¹ : EuclideanDomain R\ninst✝ : DecidableEq R\na b : R\n⊢ b = 0 + b" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.EuclideanDomain.Basic
{ "line": 284, "column": 60 }
{ "line": 284, "column": 69 }
{ "line": 284, "column": 70 }
[ { "pp": "R : Type u\ninst✝¹ : EuclideanDomain R\ninst✝ : DecidableEq R\nx : R\n⊢ x * 0 / gcd x 0 = 0", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Eq.mpr", "instHDiv", "HMul.hMul", "MulZeroClass.toMul", "congrArg", "CommSemiring.toSemiring", "id...
[ "R : Type u\ninst✝¹ : EuclideanDomain R\ninst✝ : DecidableEq R\nx : R\n⊢ 0 / gcd x 0 = 0" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.EuclideanDomain.Basic
{ "line": 336, "column": 6 }
{ "line": 336, "column": 14 }
{ "line": 336, "column": 15 }
[ { "pp": "R : Type u\ninst✝ : EuclideanDomain R\nx y z : R\nh1 : y ≠ 0\nh2 : y ∣ x\n⊢ y * (x / y + z) = x + y * z", "ppTerm": "?m.37", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "instHDiv", "HMul.hMul", "congrArg", "CommSemiring.toSe...
[ "R : Type u\ninst✝ : EuclideanDomain R\nx y z : R\nh1 : y ≠ 0\nh2 : y ∣ x\n⊢ y * (x / y) + y * z = x + y * z" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null