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.Group.Subgroup.Pointwise | {
"line": 261,
"column": 54
} | {
"line": 261,
"column": 64
} | {
"line": 261,
"column": 64
} | [
{
"pp": "G : Type u_2\ninst✝ : Group G\nH K : Subgroup G\n⊢ H ⊔ closure ↑K ≤ H ⊔ K",
"ppTerm": "?m.74",
"assigned": true,
"usedConstants": [
"Subgroup.closure_eq",
"Eq.mpr",
"Lattice.toSemilatticeSup",
"Subgroup.closure",
"congrArg",
"PartialOrder.toPreorder",
... | [
"G : Type u_2\ninst✝ : Group G\nH K : Subgroup G\n⊢ H ⊔ K ≤ H ⊔ K"
] | closure_eq | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Group.Subgroup.Pointwise | {
"line": 326,
"column": 2
} | {
"line": 326,
"column": 35
} | {
"line": 327,
"column": 2
} | [
{
"pp": "case mpr\nG : Type u_2\ninst✝ : Group G\nA B C : Subgroup G\nh : A ≤ C\nx✝ : G\n⊢ (∃ x ∈ ↑A, ∃ y ∈ ↑B, x * y = x✝) ∧ x✝ ∈ ↑C → ∃ x ∈ ↑A, ∃ y, (y ∈ ↑B ∧ y ∈ ↑C) ∧ x * y = x✝",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"HMul.hMul",
"Monoid.toMulOneClass",
"Membe... | [
"case mpr\nG : Type u_2\ninst✝ : Group G\nA B C : Subgroup G\nh : A ≤ C\ny : G\nhy : y ∈ ↑A\nz : G\nhz : z ∈ ↑B\nhyz : y * z ∈ ↑C\n⊢ ∃ x ∈ ↑A, ∃ y_1, (y_1 ∈ ↑B ∧ y_1 ∈ ↑C) ∧ x * y_1 = y * z"
] | rintro ⟨⟨y, hy, z, hz, rfl⟩, hyz⟩ | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRIntro | Lean.Parser.Tactic.rintro |
Mathlib.Algebra.BigOperators.Group.Finset.Basic | {
"line": 141,
"column": 2
} | {
"line": 141,
"column": 59
} | {
"line": 141,
"column": 59
} | [
{
"pp": "ι : Type u_1\nM : Type u_4\ns₁ s₂ : Finset ι\ninst✝¹ : CommMonoid M\nf : ι → M\ninst✝ : DecidableEq ι\nh : Disjoint s₁ s₂\n⊢ ∏ x ∈ s₁ ∪ s₂, f x = (∏ x ∈ s₁, f x) * ∏ x ∈ s₂, f x",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"Monoid.toMulO... | [
"ι : Type u_1\nM : Type u_4\ns₁ s₂ : Finset ι\ninst✝¹ : CommMonoid M\nf : ι → M\ninst✝ : DecidableEq ι\nh : Disjoint s₁ s₂\n⊢ ∏ x ∈ s₁ ∪ s₂, f x = (∏ x ∈ s₁ ∪ s₂, f x) * ∏ x ∈ ∅, f x"
] | rw [← prod_union_inter, disjoint_iff_inter_eq_empty.mp h] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.GroupTheory.FreeGroup.Basic | {
"line": 107,
"column": 42
} | {
"line": 107,
"column": 85
} | {
"line": 107,
"column": 85
} | [
{
"pp": "α : Type u\nL1 L2 : List (α × Bool)\nx : α\nb : Bool\n⊢ (L1 ++ L2).length + 2 = (L1 ++ (x, b) :: (x, !b) :: L2).length",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Bool.not",
"congrArg",
"List.length_append",
"id",
"Prod.mk",
... | [
"α : Type u\nL1 L2 : List (α × Bool)\nx : α\nb : Bool\n⊢ L1.length + L2.length + 2 = L1.length + ((x, b) :: (x, !b) :: L2).length"
] | rw [List.length_append, List.length_append] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.BigOperators.Group.Finset.Basic | {
"line": 502,
"column": 6
} | {
"line": 502,
"column": 24
} | {
"line": 502,
"column": 25
} | [
{
"pp": "ι : Type u_1\nκ : Type u_2\nM : Type u_4\ns : Finset ι\ninst✝¹ : CommMonoid M\ninst✝ : DecidableEq κ\nt : Finset κ\nf : ι → κ\ng : ι → M\nj : κ → M\nhfg : FactorsThrough g f\nhf : Set.BijOn f (↑s) (↑t ∩ Set.range f)\nthis : image f s ⊆ t\n⊢ ∏ i ∈ t, extend f g j i = (∏ i ∈ t \\ image f s, j i) * ∏ i ∈ ... | [
"ι : Type u_1\nκ : Type u_2\nM : Type u_4\ns : Finset ι\ninst✝¹ : CommMonoid M\ninst✝ : DecidableEq κ\nt : Finset κ\nf : ι → κ\ng : ι → M\nj : κ → M\nhfg : FactorsThrough g f\nhf : Set.BijOn f (↑s) (↑t ∩ Set.range f)\nthis : image f s ⊆ t\n⊢ (∏ x ∈ t \\ image f s, extend f g j x) * ∏ x ∈ image f s, extend f g j x =... | ← prod_sdiff this, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.BigOperators.Group.Finset.Basic | {
"line": 536,
"column": 4
} | {
"line": 540,
"column": 44
} | {
"line": 541,
"column": 2
} | [] | [
"case calc_1\nι : Type u_1\nκ : Type u_2\nM : Type u_4\ninst✝ : CommMonoid M\ns : Finset ι\nt : Finset κ\nf : ι → M\ng : κ → M\ni : (a : ι) → a ∈ s → f a ≠ 1 → κ\nhi : ∀ (a : ι) (h₁ : a ∈ s) (h₂ : f a ≠ 1), i a h₁ h₂ ∈ t\ni_inj :\n ∀ (a₁ : ι) (h₁₁ : a₁ ∈ s) (h₁₂ : f a₁ ≠ 1) (a₂ : ι) (h₂₁ : a₂ ∈ s) (h₂₂ : f a₂ ≠ 1)... | ∏ x ∈ s, f x = ∏ x ∈ s with f x ≠ 1, f x := by rw [prod_filter_ne_one]
_ = ∏ x ∈ t with g x ≠ 1, g x :=
prod_bij (fun a ha => i a (mem_filter.mp ha).1 <| by simpa using (mem_filter.mp ha).2)
?_ ?_ ?_ ?_
_ = ∏ x ∈ t, g x := prod_filter_ne_one _ | Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1 | Lean.calcSteps |
Mathlib.GroupTheory.Coset.Defs | {
"line": 237,
"column": 2
} | {
"line": 238,
"column": 18
} | {
"line": 239,
"column": 2
} | [
{
"pp": "α : Type u_1\ninst✝ : Group α\nN : Subgroup α\ns : Set α\nx : α\n⊢ x ∈ mk ⁻¹' mk '' s ↔ x ∈ ⋃ x, (fun x_1 ↦ x_1 * ↑x) ⁻¹' s",
"ppTerm": "?m.32",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"DivInvOneMonoid.toInvOneClass",
"Iff.of_eq",
"Monoid.to... | [
"α : Type u_1\ninst✝ : Group α\nN : Subgroup α\ns : Set α\nx : α\n⊢ (∃ x_1 ∈ s, x_1⁻¹ * x ∈ N) ↔ ∃ x_1 ∈ N, x * x_1 ∈ s"
] | simp only [QuotientGroup.eq, SetLike.exists, exists_prop, Set.mem_preimage, Set.mem_iUnion,
Set.mem_image] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.BigOperators.Group.Finset.Basic | {
"line": 690,
"column": 4
} | {
"line": 690,
"column": 57
} | {
"line": 691,
"column": 4
} | [
{
"pp": "case succ\nM : Type u_4\ninst✝ : CommMonoid M\nf : ℕ → M\nn : ℕ\nih : ∏ r ∈ range (n + 1), f (n - r) = ∏ k ∈ range (n + 1), f k\n⊢ ∏ r ∈ range (n + 1 + 1), f (n + 1 - r) = ∏ k ∈ range (n + 1 + 1), f k",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Finset.pr... | [
"case succ\nM : Type u_4\ninst✝ : CommMonoid M\nf : ℕ → M\nn : ℕ\nih : ∏ r ∈ range (n + 1), f (n - r) = ∏ k ∈ range (n + 1), f k\n⊢ (∏ k ∈ range (n + 1), f (n + 1 - (k + 1))) * f (n + 1 - 0) = (∏ x ∈ range n.succ, f x) * f n.succ"
] | rw [prod_range_succ', prod_range_succ _ (Nat.succ n)] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.BigOperators.Group.Finset.Basic | {
"line": 707,
"column": 8
} | {
"line": 707,
"column": 26
} | {
"line": 707,
"column": 27
} | [
{
"pp": "ι : Type u_1\nM : Type u_4\ns✝ : Finset ι\ninst✝ : CommMonoid M\nf : ι → M\ns : Finset ι\nih :\n ∀ t ⊂ s,\n ∀ (g : (a : ι) → a ∈ t → ι),\n (∀ (a : ι) (ha : a ∈ t), f a * f (g a ha) = 1) →\n (∀ (a : ι) (ha : a ∈ t), f a ≠ 1 → g a ha ≠ a) →\n ∀ (g_mem : ∀ (a : ι) (ha : a ∈ t), g ... | [
"ι : Type u_1\nM : Type u_4\ns✝ : Finset ι\ninst✝ : CommMonoid M\nf : ι → M\ns : Finset ι\nih :\n ∀ t ⊂ s,\n ∀ (g : (a : ι) → a ∈ t → ι),\n (∀ (a : ι) (ha : a ∈ t), f a * f (g a ha) = 1) →\n (∀ (a : ι) (ha : a ∈ t), f a ≠ 1 → g a ha ≠ a) →\n ∀ (g_mem : ∀ (a : ι) (ha : a ∈ t), g a ha ∈ t), (... | ← prod_sdiff this, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.BigOperators.Group.Finset.Basic | {
"line": 1070,
"column": 4
} | {
"line": 1074,
"column": 14
} | {
"line": 1076,
"column": 0
} | [
{
"pp": "M : Type u_4\nι : Type u_5\ninst✝² : Fintype ι\ninst✝¹ : CommMonoid M\np : ι → Prop\nf : ι → M\ninst✝ : DecidablePred p\n⊢ (∏ i, f ↑i) * ∏ i, f ↑i = ∏ i, f i",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instDecidableNot",
"Finset.mem_filter._simp_1"... | [] | let s := { x | p x }.toFinset
rw [← Finset.prod_subtype s, ← Finset.prod_subtype sᶜ]
· exact Finset.prod_mul_prod_compl _ _
· simp [s]
· simp [s] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.BigOperators.Group.Finset.Basic | {
"line": 1070,
"column": 4
} | {
"line": 1074,
"column": 14
} | {
"line": 1076,
"column": 0
} | [
{
"pp": "M : Type u_4\nι : Type u_5\ninst✝² : Fintype ι\ninst✝¹ : CommMonoid M\np : ι → Prop\nf : ι → M\ninst✝ : DecidablePred p\n⊢ (∏ i, f ↑i) * ∏ i, f ↑i = ∏ i, f i",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instDecidableNot",
"Finset.mem_filter._simp_1"... | [] | let s := { x | p x }.toFinset
rw [← Finset.prod_subtype s, ← Finset.prod_subtype sᶜ]
· exact Finset.prod_mul_prod_compl _ _
· simp [s]
· simp [s] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.BigOperators.Group.Finset.Basic | {
"line": 1122,
"column": 6
} | {
"line": 1122,
"column": 30
} | {
"line": 1122,
"column": 31
} | [
{
"pp": "ι : Type u_1\ninst✝ : DecidableEq ι\ns : Finset ι\nm : Multiset ι\nhms : ∀ a ∈ m, a ∈ s\n⊢ ∑ a ∈ s, count a m = m.card",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Multiset.toFinset",
"Eq.mpr",
"Multiset.toFinset_sum_count_eq",
"congrArg",
"Multis... | [
"ι : Type u_1\ninst✝ : DecidableEq ι\ns : Finset ι\nm : Multiset ι\nhms : ∀ a ∈ m, a ∈ s\n⊢ ∑ a ∈ s, count a m = ∑ a ∈ m.toFinset, count a m"
] | ← toFinset_sum_count_eq, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.Finiteness | {
"line": 818,
"column": 4
} | {
"line": 818,
"column": 35
} | {
"line": 820,
"column": 0
} | [
{
"pp": "case mpr\nG : Type u_3\ninst✝ : Group G\nα : Type\nw✝ : Finite α\nφ : FreeGroup α →* G\nhφ : Function.Surjective ⇑φ\n⊢ FG G",
"ppTerm": "?mpr",
"assigned": true,
"usedConstants": [
"Group.fg_of_surjective",
"instFGFreeGroupOfFinite",
"FreeGroup",
"FreeGroup.instGroup... | [] | exact Group.fg_of_surjective hφ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Algebra.Defs | {
"line": 237,
"column": 59
} | {
"line": 237,
"column": 75
} | {
"line": 239,
"column": 0
} | [
{
"pp": "R : Type u\nS : Type v\nA : Type w\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Module R A\nh₁ : ∀ (r : R) (x y : A), r • x * y = r • (x * y)\nh₂ : ∀ (r : R) (x y : A), x * r • y = r • (x * y)\nr : R\nx : A\n⊢ x * r • 1 = r • x",
"ppTerm": "?m.61",
"assigned": true,
"usedConstants... | [] | rw [h₂, mul_one] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Algebra.Defs | {
"line": 237,
"column": 59
} | {
"line": 237,
"column": 75
} | {
"line": 239,
"column": 0
} | [
{
"pp": "R : Type u\nS : Type v\nA : Type w\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Module R A\nh₁ : ∀ (r : R) (x y : A), r • x * y = r • (x * y)\nh₂ : ∀ (r : R) (x y : A), x * r • y = r • (x * y)\nr : R\nx : A\n⊢ x * r • 1 = r • x",
"ppTerm": "?m.61",
"assigned": true,
"usedConstants... | [] | rw [h₂, mul_one] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Algebra.Defs | {
"line": 237,
"column": 59
} | {
"line": 237,
"column": 75
} | {
"line": 239,
"column": 0
} | [
{
"pp": "R : Type u\nS : Type v\nA : Type w\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Module R A\nh₁ : ∀ (r : R) (x y : A), r • x * y = r • (x * y)\nh₂ : ∀ (r : R) (x y : A), x * r • y = r • (x * y)\nr : R\nx : A\n⊢ x * r • 1 = r • x",
"ppTerm": "?m.61",
"assigned": true,
"usedConstants... | [] | rw [h₂, mul_one] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Algebra.Defs | {
"line": 320,
"column": 79
} | {
"line": 321,
"column": 36
} | {
"line": 323,
"column": 0
} | [
{
"pp": "R : Type u\nA : Type w\ninst✝² : CommSemiring R\ninst✝¹ : Semiring A\ninst✝ : Algebra R A\ns : R\nx y : A\n⊢ x * s • y = s • (x * y)",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instHSMul",
"HMul.hMul",
"Algebra.algebraMap",
"congrArg",
... | [] | by
rw [smul_def, smul_def, left_comm] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.GroupTheory.MonoidLocalization.Basic | {
"line": 182,
"column": 28
} | {
"line": 182,
"column": 44
} | {
"line": 182,
"column": 44
} | [
{
"pp": "M : Type u_1\ninst✝ : CommMonoid M\nS : Submonoid M\nb : Con (M × ↥S)\nH : b ∈ {c | ∀ (y : ↥S), c 1 (↑y, y)}\nx✝² x✝¹ : M × ↥S\np : M\nq : ↥S\nx : M\ny : ↥S\nx✝ : (r' S) (p, q) (x, y)\nt : ↥S\nht : ↑t * (↑(x, y).2 * (p, q).1) = ↑t * (↑(p, q).2 * (x, y).1)\n⊢ b (1 * (p, q)) (x, y)",
"ppTerm": "?m.85... | [
"M : Type u_1\ninst✝ : CommMonoid M\nS : Submonoid M\nb : Con (M × ↥S)\nH : b ∈ {c | ∀ (y : ↥S), c 1 (↑y, y)}\nx✝² x✝¹ : M × ↥S\np : M\nq : ↥S\nx : M\ny : ↥S\nx✝ : (r' S) (p, q) (x, y)\nt : ↥S\nht : ↑t * (↑(x, y).2 * (p, q).1) = ↑t * (↑(p, q).2 * (x, y).1)\n⊢ b (1 * (p, q)) (1 * (x, y))"
] | ← one_mul (x, y) | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.MonoidLocalization.Maps | {
"line": 189,
"column": 2
} | {
"line": 192,
"column": 18
} | {
"line": 194,
"column": 0
} | [
{
"pp": "M : Type u_1\ninst✝² : CommMonoid M\nS : Submonoid M\nN : Type u_2\ninst✝¹ : CommMonoid N\nP : Type u_3\ninst✝ : CommMonoid P\nf : S.LocalizationMap N\ng : M →* P\nhg : ∀ (y : ↥S), IsUnit (g ↑y)\nj : N →* P\nhj : ∀ (x : M), j (f x) = g x\n⊢ f.lift hg = j",
"ppTerm": "?m.27",
"assigned": true,
... | [] | ext
rw [lift_spec, ← hj, ← hj, ← j.map_mul]
apply congr_arg
rw [← sec_spec'] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.GroupTheory.MonoidLocalization.Maps | {
"line": 189,
"column": 2
} | {
"line": 192,
"column": 18
} | {
"line": 194,
"column": 0
} | [
{
"pp": "M : Type u_1\ninst✝² : CommMonoid M\nS : Submonoid M\nN : Type u_2\ninst✝¹ : CommMonoid N\nP : Type u_3\ninst✝ : CommMonoid P\nf : S.LocalizationMap N\ng : M →* P\nhg : ∀ (y : ↥S), IsUnit (g ↑y)\nj : N →* P\nhj : ∀ (x : M), j (f x) = g x\n⊢ f.lift hg = j",
"ppTerm": "?m.27",
"assigned": true,
... | [] | ext
rw [lift_spec, ← hj, ← hj, ← j.map_mul]
apply congr_arg
rw [← sec_spec'] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.GroupTheory.MonoidLocalization.Basic | {
"line": 358,
"column": 6
} | {
"line": 358,
"column": 17
} | {
"line": 358,
"column": 18
} | [
{
"pp": "M : Type u_1\ninst✝² : CommMonoid M\nS : Submonoid M\nR : Type u_4\ninst✝¹ : SMul R M\ninst✝ : IsScalarTower R M M\nc : R\na : M\nb : ↥S\n⊢ (c • 1) • a /ₒ (b * 1) = c • a /ₒ b",
"ppTerm": "?m.87",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"instHSMul",
... | [
"M : Type u_1\ninst✝² : CommMonoid M\nS : Submonoid M\nR : Type u_4\ninst✝¹ : SMul R M\ninst✝ : IsScalarTower R M M\nc : R\na : M\nb : ↥S\n⊢ c • 1 • a /ₒ (b * 1) = c • a /ₒ b"
] | smul_assoc, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.MonoidLocalization.Basic | {
"line": 586,
"column": 2
} | {
"line": 590,
"column": 6
} | {
"line": 592,
"column": 0
} | [
{
"pp": "M : Type u_1\ninst✝¹ : CommMonoid M\nS : Submonoid M\nN : Type u_2\ninst✝ : CommMonoid N\nf : S.LocalizationMap N\nx₁ x₂ : M\ny₁ y₂ : ↥S\n⊢ f.mk' (x₁ * x₂) (y₁ * y₂) = f.mk' x₁ y₁ * f.mk' x₂ y₂",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"IsUnit.liftRigh... | [] | refine (mul_inv_left f.map_units _ _ _).2 ?_
simp only [map_mul, coe_mul, toMonoidHom_apply, mk', IsUnit.liftRight, Units.liftRight,
MonoidHom.domRestrict_apply, MonoidHom.coe_mk, OneHom.coe_mk]
rw [mul_mul_mul_comm (f x₁), mul_left_comm, mul_mul_mul_comm (f y₁)]
simp | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.GroupTheory.MonoidLocalization.Basic | {
"line": 586,
"column": 2
} | {
"line": 590,
"column": 6
} | {
"line": 592,
"column": 0
} | [
{
"pp": "M : Type u_1\ninst✝¹ : CommMonoid M\nS : Submonoid M\nN : Type u_2\ninst✝ : CommMonoid N\nf : S.LocalizationMap N\nx₁ x₂ : M\ny₁ y₂ : ↥S\n⊢ f.mk' (x₁ * x₂) (y₁ * y₂) = f.mk' x₁ y₁ * f.mk' x₂ y₂",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"IsUnit.liftRigh... | [] | refine (mul_inv_left f.map_units _ _ _).2 ?_
simp only [map_mul, coe_mul, toMonoidHom_apply, mk', IsUnit.liftRight, Units.liftRight,
MonoidHom.domRestrict_apply, MonoidHom.coe_mk, OneHom.coe_mk]
rw [mul_mul_mul_comm (f x₁), mul_left_comm, mul_mul_mul_comm (f y₁)]
simp | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.GroupTheory.GroupAction.DomAct.Basic | {
"line": 183,
"column": 4
} | {
"line": 183,
"column": 44
} | {
"line": 184,
"column": 4
} | [
{
"pp": "M : Type u_1\nβ : Type u_2\nα : Type u_3\nN : Type u_4\ninst✝² : SMul M α\ninst✝¹ : FaithfulSMul M α\ninst✝ : Nontrivial β\nc₁ c₂ : Mᵈᵐᵃ\nh : ∀ (a : α → β), c₁ • a = c₂ • a\na : α\n⊢ mk.symm c₁ • a = mk.symm c₂ • a",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"DomMulAct",... | [
"M : Type u_1\nβ : Type u_2\nα : Type u_3\nN : Type u_4\ninst✝² : SMul M α\ninst✝¹ : FaithfulSMul M α\ninst✝ : Nontrivial β\nc₁ c₂ : Mᵈᵐᵃ\nh : ∀ (a : α → β), c₁ • a = c₂ • a\na : α\nx y : β\nhne : x ≠ y\n⊢ mk.symm c₁ • a = mk.symm c₂ • a"
] | rcases exists_pair_ne β with ⟨x, y, hne⟩ | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRCases | Lean.Parser.Tactic.rcases |
Mathlib.GroupTheory.OreLocalization.Basic | {
"line": 587,
"column": 52
} | {
"line": 587,
"column": 63
} | {
"line": 587,
"column": 64
} | [
{
"pp": "R : Type u_1\nR' : Type u_2\nM : Type u_3\nX : Type u_4\ninst✝¹³ : Monoid M\nS : Submonoid M\ninst✝¹² : OreSet S\ninst✝¹¹ : MulAction M X\ninst✝¹⁰ : SMul R X\ninst✝⁹ : SMul R M\ninst✝⁸ : IsScalarTower R M M\ninst✝⁷ : IsScalarTower R M X\ninst✝⁶ : SMul R' X\ninst✝⁵ : SMul R' M\ninst✝⁴ : IsScalarTower R'... | [
"R : Type u_1\nR' : Type u_2\nM : Type u_3\nX : Type u_4\ninst✝¹³ : Monoid M\nS : Submonoid M\ninst✝¹² : OreSet S\ninst✝¹¹ : MulAction M X\ninst✝¹⁰ : SMul R X\ninst✝⁹ : SMul R M\ninst✝⁸ : IsScalarTower R M M\ninst✝⁷ : IsScalarTower R M X\ninst✝⁶ : SMul R' X\ninst✝⁵ : SMul R' M\ninst✝⁴ : IsScalarTower R' M M\ninst✝³... | smul_assoc, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.OreLocalization.Basic | {
"line": 618,
"column": 48
} | {
"line": 618,
"column": 59
} | {
"line": 618,
"column": 60
} | [
{
"pp": "R : Type u_1\nM : Type u_3\nX : Type u_4\ninst✝⁶ : Monoid M\nS : Submonoid M\ninst✝⁵ : OreSet S\ninst✝⁴ : MulAction M X\ninst✝³ : SMul R X\ninst✝² : SMul R M\ninst✝¹ : IsScalarTower R M M\ninst✝ : IsScalarTower R M X\nr : R\nx : X\n⊢ (r • 1) • x /ₒ 1 = r • x /ₒ 1",
"ppTerm": "?m.71",
"assigned"... | [
"R : Type u_1\nM : Type u_3\nX : Type u_4\ninst✝⁶ : Monoid M\nS : Submonoid M\ninst✝⁵ : OreSet S\ninst✝⁴ : MulAction M X\ninst✝³ : SMul R X\ninst✝² : SMul R M\ninst✝¹ : IsScalarTower R M M\ninst✝ : IsScalarTower R M X\nr : R\nx : X\n⊢ r • 1 • x /ₒ 1 = r • x /ₒ 1"
] | smul_assoc, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Module.LinearMap.End | {
"line": 153,
"column": 12
} | {
"line": 153,
"column": 28
} | {
"line": 154,
"column": 2
} | [
{
"pp": "case zero\nR : Type u_1\nR₂ : Type u_2\nM : Type u_4\nM₂ : Type u_6\ninst✝⁵ : Semiring R\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\ninst✝² : Semiring R₂\ninst✝¹ : AddCommMonoid M₂\ninst✝ : Module R₂ M₂\nσ₁₂ : R →+* R₂\nf : M →ₛₗ[σ₁₂] M₂\ng : End R M\ng₂ : End R₂ M₂\nh : g₂ ∘ₛₗ f = f ∘ₛₗ g\n⊢ (g₂ ^... | [] | simp [one_eq_id] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.Module.LinearMap.End | {
"line": 153,
"column": 12
} | {
"line": 153,
"column": 28
} | {
"line": 154,
"column": 2
} | [
{
"pp": "case zero\nR : Type u_1\nR₂ : Type u_2\nM : Type u_4\nM₂ : Type u_6\ninst✝⁵ : Semiring R\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\ninst✝² : Semiring R₂\ninst✝¹ : AddCommMonoid M₂\ninst✝ : Module R₂ M₂\nσ₁₂ : R →+* R₂\nf : M →ₛₗ[σ₁₂] M₂\ng : End R M\ng₂ : End R₂ M₂\nh : g₂ ∘ₛₗ f = f ∘ₛₗ g\n⊢ (g₂ ^... | [] | simp [one_eq_id] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Module.LinearMap.End | {
"line": 153,
"column": 12
} | {
"line": 153,
"column": 28
} | {
"line": 154,
"column": 2
} | [
{
"pp": "case zero\nR : Type u_1\nR₂ : Type u_2\nM : Type u_4\nM₂ : Type u_6\ninst✝⁵ : Semiring R\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\ninst✝² : Semiring R₂\ninst✝¹ : AddCommMonoid M₂\ninst✝ : Module R₂ M₂\nσ₁₂ : R →+* R₂\nf : M →ₛₗ[σ₁₂] M₂\ng : End R M\ng₂ : End R₂ M₂\nh : g₂ ∘ₛₗ f = f ∘ₛₗ g\n⊢ (g₂ ^... | [] | simp [one_eq_id] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Module.Submodule.Defs | {
"line": 375,
"column": 28
} | {
"line": 375,
"column": 43
} | {
"line": 376,
"column": 2
} | [
{
"pp": "G : Type u''\nS : Type u'\nR : Type u\nM : Type v\nT : Type u_1\ninst✝⁹ : Semiring R\ninst✝⁸ : AddCommMonoid M\ninst✝⁷ : Semiring S\ninst✝⁶ : Module R M\ninst✝⁵ : SMul S R\ninst✝⁴ : Module S M\ninst✝³ : IsScalarTower S R M\ninst✝² : SetLike T M\ninst✝¹ : AddSubmonoidClass T M\ninst✝ : SMulMemClass T R ... | [] | simp [mul_smul] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.GroupTheory.GroupAction.SubMulAction | {
"line": 133,
"column": 15
} | {
"line": 133,
"column": 30
} | {
"line": 133,
"column": 30
} | [
{
"pp": "R : Type u_1\nM : Type u_2\nS : Type u_3\ninst✝³ : Monoid R\ninst✝² : MulAction R M\ninst✝¹ : SetLike S M\ninst✝ : SMulMemClass S R M\nN : S\nx : M\nh : ∀ (a : R), a • x ∈ N\n⊢ x ∈ N",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"MulOne.toOne",
"instHSMul",
"Mo... | [] | simpa using h 1 | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.GroupTheory.GroupAction.SubMulAction | {
"line": 133,
"column": 15
} | {
"line": 133,
"column": 30
} | {
"line": 133,
"column": 30
} | [
{
"pp": "R : Type u_1\nM : Type u_2\nS : Type u_3\ninst✝³ : Monoid R\ninst✝² : MulAction R M\ninst✝¹ : SetLike S M\ninst✝ : SMulMemClass S R M\nN : S\nx : M\nh : ∀ (a : R), a • x ∈ N\n⊢ x ∈ N",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"MulOne.toOne",
"instHSMul",
"Mo... | [] | simpa using h 1 | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.GroupTheory.GroupAction.SubMulAction | {
"line": 133,
"column": 15
} | {
"line": 133,
"column": 30
} | {
"line": 133,
"column": 30
} | [
{
"pp": "R : Type u_1\nM : Type u_2\nS : Type u_3\ninst✝³ : Monoid R\ninst✝² : MulAction R M\ninst✝¹ : SetLike S M\ninst✝ : SMulMemClass S R M\nN : S\nx : M\nh : ∀ (a : R), a • x ∈ N\n⊢ x ∈ N",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"MulOne.toOne",
"instHSMul",
"Mo... | [] | simpa using h 1 | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Module.Submodule.LinearMap | {
"line": 302,
"column": 50
} | {
"line": 305,
"column": 53
} | {
"line": 307,
"column": 0
} | [
{
"pp": "R : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nf' : M →ₗ[R] M\np : Submodule R M\nn : ℕ\nh : ∀ x ∈ p, f' x ∈ p\nh' : ∀ x ∈ p, (f' ^ n) x ∈ p\n⊢ f'.restrict h ^ n = (f' ^ n).restrict h'",
"ppTerm": "?m.98",
"assigned": true,
"usedConstants": [
... | [] | by
ext x
have : Semiconj (↑) (f'.restrict h) f' := fun _ ↦ coe_restrict_apply _ _
simp [pow_apply_eq_iterate, this.iterate_right _ _] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Module.Equiv.Basic | {
"line": 591,
"column": 4
} | {
"line": 592,
"column": 84
} | {
"line": 594,
"column": 0
} | [
{
"pp": "R : Type u_1\nR₂✝ : Type u_2\nK : Type u_3\nS : Type u_4\nM : Type u_5\nM₁✝ : Type u_6\nM₂✝ : Type u_7\nM₃ : Type u_8\nR₁ : Type u_9\nR₂ : Type u_10\nR₁' : Type u_11\nR₂' : Type u_12\nM₁ : Type u_13\nM₂ : Type u_14\nM₁' : Type u_15\nM₂' : Type u_16\ninst✝¹⁹ : Semiring R₁\ninst✝¹⁸ : Semiring R₂\ninst✝¹⁷... | [] | ext x
simp only [map_add, LinearMap.add_apply, Function.comp_apply, coe_comp, coe_coe] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Module.Equiv.Basic | {
"line": 591,
"column": 4
} | {
"line": 592,
"column": 84
} | {
"line": 594,
"column": 0
} | [
{
"pp": "R : Type u_1\nR₂✝ : Type u_2\nK : Type u_3\nS : Type u_4\nM : Type u_5\nM₁✝ : Type u_6\nM₂✝ : Type u_7\nM₃ : Type u_8\nR₁ : Type u_9\nR₂ : Type u_10\nR₁' : Type u_11\nR₂' : Type u_12\nM₁ : Type u_13\nM₂ : Type u_14\nM₁' : Type u_15\nM₂' : Type u_16\ninst✝¹⁹ : Semiring R₁\ninst✝¹⁸ : Semiring R₂\ninst✝¹⁷... | [] | ext x
simp only [map_add, LinearMap.add_apply, Function.comp_apply, coe_comp, coe_coe] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.GroupWithZero.Center | {
"line": 28,
"column": 28
} | {
"line": 28,
"column": 37
} | {
"line": 28,
"column": 38
} | [
{
"pp": "M₀ : Type u_1\ninst✝ : MulZeroClass M₀\nx✝¹ x✝ : M₀\n⊢ x✝¹ * x✝ * 0 = x✝¹ * (x✝ * 0)",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
"id",
"MulZeroClass.mul_zero",
"Zero.toOfNat0",
... | [
"M₀ : Type u_1\ninst✝ : MulZeroClass M₀\nx✝¹ x✝ : M₀\n⊢ 0 = x✝¹ * (x✝ * 0)"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.GroupWithZero.Center | {
"line": 28,
"column": 38
} | {
"line": 28,
"column": 47
} | {
"line": 28,
"column": 48
} | [
{
"pp": "M₀ : Type u_1\ninst✝ : MulZeroClass M₀\nx✝¹ x✝ : M₀\n⊢ 0 = x✝¹ * (x✝ * 0)",
"ppTerm": "?m.49",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
"id",
"MulZeroClass.mul_zero",
"Zero.toOfNat0",
"OfNat... | [
"M₀ : Type u_1\ninst✝ : MulZeroClass M₀\nx✝¹ x✝ : M₀\n⊢ 0 = x✝¹ * 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Centralizer | {
"line": 27,
"column": 57
} | {
"line": 27,
"column": 65
} | {
"line": 27,
"column": 66
} | [
{
"pp": "M : Type u_1\nS : Set M\na b : M\ninst✝ : Distrib M\nha : a ∈ S.centralizer\nhb : b ∈ S.centralizer\nc : M\nhc : c ∈ S\n⊢ c * (a + b) = a * c + b * c",
"ppTerm": "?m.33",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"HMul.hMul",
"congrAr... | [
"M : Type u_1\nS : Set M\na b : M\ninst✝ : Distrib M\nha : a ∈ S.centralizer\nhb : b ∈ S.centralizer\nc : M\nhc : c ∈ S\n⊢ c * a + c * b = a * c + b * c"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 31,
"column": 24
} | {
"line": 31,
"column": 38
} | {
"line": 31,
"column": 39
} | [
{
"pp": "case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : ↑n * (x✝¹ * x✝) = ↑n * x✝¹ * x✝\n⊢ ↑(n + 1) * (x✝¹ * x✝) = ↑(n + 1) * x✝¹ * x✝",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"Nat.... | [
"case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : ↑n * (x✝¹ * x✝) = ↑n * x✝¹ * x✝\n⊢ (↑n + 1) * (x✝¹ * x✝) = (↑n + 1) * x✝¹ * x✝"
] | Nat.cast_succ, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 34,
"column": 33
} | {
"line": 34,
"column": 42
} | {
"line": 34,
"column": 43
} | [
{
"pp": "case zero\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\n⊢ x✝¹ * x✝ * 0 = x✝¹ * (x✝ * 0)",
"ppTerm": "?zero",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
... | [
"case zero\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\n⊢ 0 = x✝¹ * (x✝ * 0)"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 34,
"column": 43
} | {
"line": 34,
"column": 52
} | {
"line": 34,
"column": 53
} | [
{
"pp": "case zero\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\n⊢ 0 = x✝¹ * (x✝ * 0)",
"ppTerm": "?zero",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
"AddMonoid.... | [
"case zero\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\n⊢ 0 = x✝¹ * 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 35,
"column": 24
} | {
"line": 35,
"column": 38
} | {
"line": 35,
"column": 39
} | [
{
"pp": "case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : x✝¹ * x✝ * ↑n = x✝¹ * (x✝ * ↑n)\n⊢ x✝¹ * x✝ * ↑(n + 1) = x✝¹ * (x✝ * ↑(n + 1))",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"Nat.... | [
"case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : x✝¹ * x✝ * ↑n = x✝¹ * (x✝ * ↑n)\n⊢ x✝¹ * x✝ * (↑n + 1) = x✝¹ * (x✝ * (↑n + 1))"
] | Nat.cast_succ, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 35,
"column": 39
} | {
"line": 35,
"column": 47
} | {
"line": 35,
"column": 48
} | [
{
"pp": "case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : x✝¹ * x✝ * ↑n = x✝¹ * (x✝ * ↑n)\n⊢ x✝¹ * x✝ * (↑n + 1) = x✝¹ * (x✝ * (↑n + 1))",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"NonAssocSemiring.to... | [
"case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : x✝¹ * x✝ * ↑n = x✝¹ * (x✝ * ↑n)\n⊢ x✝¹ * x✝ * ↑n + x✝¹ * x✝ * 1 = x✝¹ * (x✝ * (↑n + 1))"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 35,
"column": 53
} | {
"line": 35,
"column": 61
} | {
"line": 35,
"column": 62
} | [
{
"pp": "case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : x✝¹ * x✝ * ↑n = x✝¹ * (x✝ * ↑n)\n⊢ x✝¹ * (x✝ * ↑n) + x✝¹ * x✝ * 1 = x✝¹ * (x✝ * (↑n + 1))",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"NonAssoc... | [
"case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : x✝¹ * x✝ * ↑n = x✝¹ * (x✝ * ↑n)\n⊢ x✝¹ * (x✝ * ↑n) + x✝¹ * x✝ * 1 = x✝¹ * (x✝ * ↑n + x✝ * 1)"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 35,
"column": 62
} | {
"line": 35,
"column": 70
} | {
"line": 35,
"column": 71
} | [
{
"pp": "case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : x✝¹ * x✝ * ↑n = x✝¹ * (x✝ * ↑n)\n⊢ x✝¹ * (x✝ * ↑n) + x✝¹ * x✝ * 1 = x✝¹ * (x✝ * ↑n + x✝ * 1)",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"NonAs... | [
"case succ\nM : Type u_1\ninst✝ : NonAssocSemiring M\nx✝¹ x✝ : M\nn : ℕ\nihn : x✝¹ * x✝ * ↑n = x✝¹ * (x✝ * ↑n)\n⊢ x✝¹ * (x✝ * ↑n) + x✝¹ * x✝ * 1 = x✝¹ * (x✝ * ↑n) + x✝¹ * (x✝ * 1)"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 55,
"column": 12
} | {
"line": 55,
"column": 20
} | {
"line": 55,
"column": 21
} | [
{
"pp": "M : Type u_1\ninst✝ : NonAssocRing M\nn✝ : ℤ\nx✝¹ x✝ : M\nn : ℕ\n⊢ x✝¹ * x✝ * (-1 + -↑n) = x✝¹ * (x✝ * (-1 + -↑n))",
"ppTerm": "?m.192",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"HMul.hMul",
"congrArg",
"AddMonoid.toAddZeroClas... | [
"M : Type u_1\ninst✝ : NonAssocRing M\nn✝ : ℤ\nx✝¹ x✝ : M\nn : ℕ\n⊢ x✝¹ * x✝ * -1 + x✝¹ * x✝ * -↑n = x✝¹ * (x✝ * (-1 + -↑n))"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 55,
"column": 21
} | {
"line": 55,
"column": 29
} | {
"line": 55,
"column": 30
} | [
{
"pp": "M : Type u_1\ninst✝ : NonAssocRing M\nn✝ : ℤ\nx✝¹ x✝ : M\nn : ℕ\n⊢ x✝¹ * x✝ * -1 + x✝¹ * x✝ * -↑n = x✝¹ * (x✝ * (-1 + -↑n))",
"ppTerm": "?m.200",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"HMul.hMul",
"congrArg",
"AddMonoid.toAd... | [
"M : Type u_1\ninst✝ : NonAssocRing M\nn✝ : ℤ\nx✝¹ x✝ : M\nn : ℕ\n⊢ x✝¹ * x✝ * -1 + x✝¹ * x✝ * -↑n = x✝¹ * (x✝ * -1 + x✝ * -↑n)"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 55,
"column": 30
} | {
"line": 55,
"column": 38
} | {
"line": 55,
"column": 39
} | [
{
"pp": "M : Type u_1\ninst✝ : NonAssocRing M\nn✝ : ℤ\nx✝¹ x✝ : M\nn : ℕ\n⊢ x✝¹ * x✝ * -1 + x✝¹ * x✝ * -↑n = x✝¹ * (x✝ * -1 + x✝ * -↑n)",
"ppTerm": "?m.208",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"HMul.hMul",
"congrArg",
"AddMonoid.t... | [
"M : Type u_1\ninst✝ : NonAssocRing M\nn✝ : ℤ\nx✝¹ x✝ : M\nn : ℕ\n⊢ x✝¹ * x✝ * -1 + x✝¹ * x✝ * -↑n = x✝¹ * (x✝ * -1) + x✝¹ * (x✝ * -↑n)"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 63,
"column": 44
} | {
"line": 63,
"column": 52
} | {
"line": 63,
"column": 53
} | [
{
"pp": "M : Type u_1\ninst✝ : Distrib M\na b : M\nha : a ∈ center M\nhb : b ∈ center M\nx✝ : M\n⊢ a * x✝ + b * x✝ = x✝ * (a + b)",
"ppTerm": "?m.43",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"HMul.hMul",
"congrArg",
"id",
"Distri... | [
"M : Type u_1\ninst✝ : Distrib M\na b : M\nha : a ∈ center M\nhb : b ∈ center M\nx✝ : M\n⊢ a * x✝ + b * x✝ = x✝ * a + x✝ * b"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Center | {
"line": 65,
"column": 28
} | {
"line": 65,
"column": 36
} | {
"line": 65,
"column": 37
} | [
{
"pp": "M : Type u_1\ninst✝ : Distrib M\na b : M\nha : a ∈ center M\nhb : b ∈ center M\nx✝¹ x✝ : M\n⊢ x✝¹ * x✝ * (a + b) = x✝¹ * (x✝ * (a + b))",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"HMul.hMul",
"congrArg",
"id"... | [
"M : Type u_1\ninst✝ : Distrib M\na b : M\nha : a ∈ center M\nhb : b ∈ center M\nx✝¹ x✝ : M\n⊢ x✝¹ * x✝ * a + x✝¹ * x✝ * b = x✝¹ * (x✝ * (a + b))"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.NonUnitalSubring.Basic | {
"line": 761,
"column": 39
} | {
"line": 761,
"column": 65
} | {
"line": 761,
"column": 65
} | [
{
"pp": "R : Type u\nS : Type v\ninst✝¹ : NonUnitalNonAssocRing R\ninst✝ : NonUnitalNonAssocRing S\nf : R →ₙ+* S\n⊢ ↑f.range = ↑⊤ ↔ Set.range ⇑f = Set.univ",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"NonUnitalSubring.coe_top",
"NonUnitalSubring.instSetLike",
"Eq.mpr"... | [] | by rw [coe_range, coe_top] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Module.Submodule.Range | {
"line": 286,
"column": 44
} | {
"line": 287,
"column": 59
} | {
"line": 289,
"column": 0
} | [
{
"pp": "K : Type u_4\nV : Type u_8\nV₂ : Type u_9\ninst✝⁴ : Semifield K\ninst✝³ : AddCommMonoid V\ninst✝² : Module K V\ninst✝¹ : AddCommMonoid V₂\ninst✝ : Module K V₂\nf : V →ₗ[K] V₂\na : K\n⊢ (a • f).range = ⨆ (_ : a ≠ 0), f.range",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants": [
"Eq... | [] | by
simpa only [range_eq_map] using Submodule.map_smul' f _ a | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Module.Submodule.Range | {
"line": 455,
"column": 34
} | {
"line": 455,
"column": 59
} | {
"line": 455,
"column": 59
} | [
{
"pp": "R : Type u_1\nM : Type u_5\ninst✝⁴ : Semiring R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\nM' : Type u_10\ninst✝¹ : AddCommMonoid M'\ninst✝ : Module R M'\nO : Submodule R M\nϕ : ↥O →ₗ[R] M'\nN : Submodule R M\nhNO : N ≤ O\n⊢ Submodule.map ϕ (Submodule.comap O.subtype N) = Submodule.map ϕ (Submodul... | [
"R : Type u_1\nM : Type u_5\ninst✝⁴ : Semiring R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\nM' : Type u_10\ninst✝¹ : AddCommMonoid M'\ninst✝ : Module R M'\nO : Submodule R M\nϕ : ↥O →ₗ[R] M'\nN : Submodule R M\nhNO : N ≤ O\n⊢ Submodule.map ϕ (Submodule.comap O.subtype N) = Submodule.map ϕ (Submodule.comap O.su... | Submodule.range_inclusion | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.Subring.Basic | {
"line": 835,
"column": 39
} | {
"line": 835,
"column": 65
} | {
"line": 835,
"column": 65
} | [
{
"pp": "R : Type u\nS : Type v\ninst✝¹ : NonAssocRing R\ninst✝ : NonAssocRing S\nf : R →+* S\n⊢ ↑f.range = ↑⊤ ↔ Set.range ⇑f = Set.univ",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Subring.instSetLike",
"congrArg",
"Set.univ",
"Iff.rfl",
"... | [] | by rw [coe_range, coe_top] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.BigOperators.GroupWithZero.Finset | {
"line": 64,
"column": 10
} | {
"line": 64,
"column": 26
} | {
"line": 64,
"column": 26
} | [
{
"pp": "ι : Type u_1\nM₀ : Type u_4\ninst✝² : CommMonoidWithZero M₀\nf : ι → M₀\ns : Finset ι\ninst✝¹ : Nontrivial M₀\ninst✝ : NoZeroDivisors M₀\n⊢ ¬∏ x ∈ s, f x = 0 ↔ ∀ a ∈ s, f a ≠ 0",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"CommMonoidWithZero.toCommMonoid",
"Eq.mpr",... | [
"ι : Type u_1\nM₀ : Type u_4\ninst✝² : CommMonoidWithZero M₀\nf : ι → M₀\ns : Finset ι\ninst✝¹ : Nontrivial M₀\ninst✝ : NoZeroDivisors M₀\n⊢ (¬∃ a ∈ s, f a = 0) ↔ ∀ a ∈ s, f a ≠ 0"
] | prod_eq_zero_iff | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Notation.Indicator | {
"line": 248,
"column": 37
} | {
"line": 248,
"column": 55
} | {
"line": 248,
"column": 55
} | [
{
"pp": "α : Type u_1\nM : Type u_3\ninst✝ : One M\nt : Set α\ns : Set M\n⊢ (fun x ↦ 1) ⁻¹' s ∈ {univ, ∅}",
"ppTerm": "?m.30",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Set.preimage_const",
"Set.univ",
"Classical.propDecidable",
"Membership.mem",... | [
"α : Type u_1\nM : Type u_3\ninst✝ : One M\nt : Set α\ns : Set M\n⊢ (if 1 ∈ s then univ else ∅) ∈ {univ, ∅}"
] | Set.preimage_const | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Group.Indicator | {
"line": 133,
"column": 6
} | {
"line": 133,
"column": 60
} | {
"line": 133,
"column": 61
} | [
{
"pp": "case pos\nα : Type u_1\nM : Type u_4\ninst✝¹ : MulOneClass M\ns : Set α\ninst✝ : DecidablePred fun x ↦ x ∈ s\nf g : α → M\nx : α\nh : x ∈ s\n⊢ f x * sᶜ.mulIndicator g x = f x",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Eq.mpr",
"MulOne.toOne",
... | [
"case pos\nα : Type u_1\nM : Type u_4\ninst✝¹ : MulOneClass M\ns : Set α\ninst✝ : DecidablePred fun x ↦ x ∈ s\nf g : α → M\nx : α\nh : x ∈ s\n⊢ f x * 1 = f x"
] | Set.mulIndicator_of_notMem (Set.notMem_compl_iff.2 h), | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.BigOperators.Ring.Finset | {
"line": 152,
"column": 25
} | {
"line": 152,
"column": 51
} | {
"line": 152,
"column": 51
} | [
{
"pp": "ι : Type u_1\nR : Type u_4\ninst✝¹ : CommSemiring R\ninst✝ : DecidableEq ι\nκ : ι → Type u_5\nt : (i : ι) → Finset (κ i)\nf : (i : ι) → κ i → R\na : ι\ns : Finset ι\nha : a ∉ s\nih : ∏ a ∈ s, ∑ b ∈ t a, f a b = ∑ p ∈ s.pi t, ∏ x ∈ s.attach, f (↑x) (p ↑x ⋯)\nh₁ : ∀ x ∈ t a, ∀ y ∈ t a, x ≠ y → Disjoint (... | [] | by rintro rfl; exact ha hv | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.BigOperators.Ring.Finset | {
"line": 218,
"column": 41
} | {
"line": 218,
"column": 49
} | {
"line": 218,
"column": 50
} | [
{
"pp": "ι : Type u_1\nR : Type u_4\ninst✝¹ : CommSemiring R\ninst✝ : LinearOrder ι\nf g : ι → R\na : ι\ns : Finset ι\nha : ∀ x ∈ s, x < a\nihs : ∏ i ∈ s, (f i + g i) = ∏ i ∈ s, f i + ∑ i ∈ s, (g i * ∏ j ∈ s with j < i, (f j + g j)) * ∏ j ∈ s with i < j, f j\nha' : a ∉ s\n⊢ f a * (∏ i ∈ s, f i + ∑ i ∈ s, (g i *... | [
"ι : Type u_1\nR : Type u_4\ninst✝¹ : CommSemiring R\ninst✝ : LinearOrder ι\nf g : ι → R\na : ι\ns : Finset ι\nha : ∀ x ∈ s, x < a\nihs : ∏ i ∈ s, (f i + g i) = ∏ i ∈ s, f i + ∑ i ∈ s, (g i * ∏ j ∈ s with j < i, (f j + g j)) * ∏ j ∈ s with i < j, f j\nha' : a ∉ s\n⊢ f a * ∏ i ∈ s, f i + f a * ∑ i ∈ s, (g i * ∏ j ∈ ... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.BigOperators.Ring.Finset | {
"line": 218,
"column": 50
} | {
"line": 218,
"column": 58
} | {
"line": 218,
"column": 59
} | [
{
"pp": "ι : Type u_1\nR : Type u_4\ninst✝¹ : CommSemiring R\ninst✝ : LinearOrder ι\nf g : ι → R\na : ι\ns : Finset ι\nha : ∀ x ∈ s, x < a\nihs : ∏ i ∈ s, (f i + g i) = ∏ i ∈ s, f i + ∑ i ∈ s, (g i * ∏ j ∈ s with j < i, (f j + g j)) * ∏ j ∈ s with i < j, f j\nha' : a ∉ s\n⊢ f a * ∏ i ∈ s, f i + f a * ∑ i ∈ s, (... | [
"ι : Type u_1\nR : Type u_4\ninst✝¹ : CommSemiring R\ninst✝ : LinearOrder ι\nf g : ι → R\na : ι\ns : Finset ι\nha : ∀ x ∈ s, x < a\nihs : ∏ i ∈ s, (f i + g i) = ∏ i ∈ s, f i + ∑ i ∈ s, (g i * ∏ j ∈ s with j < i, (f j + g j)) * ∏ j ∈ s with i < j, f j\nha' : a ∉ s\n⊢ f a * ∏ i ∈ s, f i + f a * ∑ i ∈ s, (g i * ∏ j ∈ ... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.BigOperators.Ring.Finset | {
"line": 243,
"column": 6
} | {
"line": 243,
"column": 17
} | {
"line": 243,
"column": 18
} | [
{
"pp": "ι : Type u_1\nR : Type u_4\ninst✝ : CommSemiring R\na b : R\ns t : Finset ι\nht : t ∈ s.powerset\n⊢ a ^ #t * b ^ (#s - #t) = (∏ i ∈ t, a) * ∏ i ∈ s \\ t, b",
"ppTerm": "?m.63",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"congrArg",
"CommSemiring.toSe... | [
"ι : Type u_1\nR : Type u_4\ninst✝ : CommSemiring R\na b : R\ns t : Finset ι\nht : t ∈ s.powerset\n⊢ a ^ #t * b ^ (#s - #t) = a ^ #t * ∏ i ∈ s \\ t, b"
] | prod_const, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.BigOperators.Ring.Finset | {
"line": 243,
"column": 18
} | {
"line": 243,
"column": 29
} | {
"line": 243,
"column": 30
} | [
{
"pp": "ι : Type u_1\nR : Type u_4\ninst✝ : CommSemiring R\na b : R\ns t : Finset ι\nht : t ∈ s.powerset\n⊢ a ^ #t * b ^ (#s - #t) = a ^ #t * ∏ i ∈ s \\ t, b",
"ppTerm": "?m.70",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"congrArg",
"CommSemiring.toSemiring... | [
"ι : Type u_1\nR : Type u_4\ninst✝ : CommSemiring R\na b : R\ns t : Finset ι\nht : t ∈ s.powerset\n⊢ a ^ #t * b ^ (#s - #t) = a ^ #t * b ^ #(s \\ t)"
] | prod_const, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.BigOperators.Ring.Finset | {
"line": 282,
"column": 77
} | {
"line": 284,
"column": 6
} | {
"line": 286,
"column": 0
} | [
{
"pp": "ι : Type u_1\nR : Type u_4\ninst✝¹ : CommRing R\ninst✝ : LinearOrder ι\ns : Finset ι\nf : ι → R\n⊢ ∏ i ∈ s, (1 - f i) = 1 - ∑ i ∈ s, f i * ∏ j ∈ s with j < i, (1 - f j)",
"ppTerm": "?m.46",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"Preorder.toLT",
... | [] | by
rw [prod_sub_ordered]
simp | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Group.Finsupp | {
"line": 191,
"column": 11
} | {
"line": 197,
"column": 14
} | {
"line": 199,
"column": 0
} | [
{
"pp": "ι : Type u_1\nM : Type u_3\ninst✝¹ : AddZeroClass M\ninst✝ : DecidableEq ι\nf g : ι →₀ M\nh : ∀ x ∈ f.support ∩ g.support, AddCommute (f x) (g x)\n⊢ AddCommute f g",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Finsupp.ext",
"Classical.no... | [] | by
ext x
by_cases hf : x ∈ f.support
· by_cases hg : x ∈ g.support
· exact h _ (mem_inter_of_mem hf hg)
· simp_all
· simp_all | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Finsupp.Option | {
"line": 197,
"column": 75
} | {
"line": 206,
"column": 45
} | {
"line": 208,
"column": 0
} | [
{
"pp": "α : Type u_1\nM : Type u_2\nN : Type u_3\ninst✝¹ : AddZeroClass M\ninst✝ : CommMonoid N\nf : Option α →₀ M\nb : Option α → M → N\nh_zero : ∀ (o : Option α), b o 0 = 1\nh_add : ∀ (o : Option α) (m₁ m₂ : M), b o (m₁ + m₂) = b o m₁ * b o m₂\n⊢ f.prod b = b none (f none) * f.some.prod fun a ↦ b (Option.som... | [] | by
classical
induction f using induction_linear with
| zero => simp [some_zero, h_zero]
| add f₁ f₂ h₁ h₂ =>
rw [Finsupp.prod_add_index, h₁, h₂, some_add, Finsupp.prod_add_index]
· simp only [h_add, Pi.add_apply, Finsupp.coe_add]
rw [mul_mul_mul_comm]
all_goals simp [h_zero, h_ad... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.GroupWithZero.Indicator | {
"line": 50,
"column": 2
} | {
"line": 53,
"column": 17
} | {
"line": 55,
"column": 0
} | [
{
"pp": "ι : Type u_1\nM₀ : Type u_4\ninst✝ : MulZeroClass M₀\ni : ι\ns : Set ι\nf g : ι → M₀\n⊢ s.indicator (fun j ↦ f j * g j) i = f i * s.indicator g i",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
... | [] | simp only [indicator]
split_ifs
· rfl
· rw [mul_zero] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.GroupWithZero.Indicator | {
"line": 50,
"column": 2
} | {
"line": 53,
"column": 17
} | {
"line": 55,
"column": 0
} | [
{
"pp": "ι : Type u_1\nM₀ : Type u_4\ninst✝ : MulZeroClass M₀\ni : ι\ns : Set ι\nf g : ι → M₀\n⊢ s.indicator (fun j ↦ f j * g j) i = f i * s.indicator g i",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
... | [] | simp only [indicator]
split_ifs
· rfl
· rw [mul_zero] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.BigOperators.Finsupp.Basic | {
"line": 557,
"column": 2
} | {
"line": 558,
"column": 25
} | {
"line": 559,
"column": 2
} | [
{
"pp": "α : Type u_1\nM : Type u_8\ninst✝ : AddCommMonoid M\ns : Finset α\nf : (a : α) → a ∈ s → M\n⊢ ∑ x ∈ s.attach, single (↑x) ((indicator s f) ↑x) = ∑ x ∈ s.attach, single (↑x) (f ↑x ⋯)",
"ppTerm": "?m.62",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Finsupp.indicat... | [
"α : Type u_1\nM : Type u_8\ninst✝ : AddCommMonoid M\ns : Finset α\nf : (a : α) → a ∈ s → M\n⊢ ∀ x ∈ s, x ∉ (indicator s f).support → single x ((indicator s f) x) = 0"
] | · refine Finset.sum_congr rfl (fun _ _ => ?_)
rw [indicator_of_mem] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Algebra.Order.AbsoluteValue.Basic | {
"line": 197,
"column": 9
} | {
"line": 197,
"column": 23
} | {
"line": 197,
"column": 24
} | [
{
"pp": "case inr.succ\nR : Type u_4\nS : Type u_5\ninst✝⁴ : Semiring R\ninst✝³ : Semiring S\ninst✝² : PartialOrder S\nabv : AbsoluteValue R S\ninst✝¹ : IsDomain S\ninst✝ : IsOrderedRing S\nh✝ : Nontrivial R\nn : ℕ\nih : abv ↑n ≤ ↑n\n⊢ abv ↑(n + 1) ≤ ↑(n + 1)",
"ppTerm": "?inr.succ",
"assigned": true,
... | [
"case inr.succ\nR : Type u_4\nS : Type u_5\ninst✝⁴ : Semiring R\ninst✝³ : Semiring S\ninst✝² : PartialOrder S\nabv : AbsoluteValue R S\ninst✝¹ : IsDomain S\ninst✝ : IsOrderedRing S\nh✝ : Nontrivial R\nn : ℕ\nih : abv ↑n ≤ ↑n\n⊢ abv (↑n + 1) ≤ ↑(n + 1)"
] | Nat.cast_succ, | Mathlib.Tactic.GRewrite.evalGRewriteSeq | null |
Mathlib.Algebra.Order.AbsoluteValue.Basic | {
"line": 197,
"column": 24
} | {
"line": 197,
"column": 38
} | {
"line": 197,
"column": 39
} | [
{
"pp": "case inr.succ\nR : Type u_4\nS : Type u_5\ninst✝⁴ : Semiring R\ninst✝³ : Semiring S\ninst✝² : PartialOrder S\nabv : AbsoluteValue R S\ninst✝¹ : IsDomain S\ninst✝ : IsOrderedRing S\nh✝ : Nontrivial R\nn : ℕ\nih : abv ↑n ≤ ↑n\n⊢ abv (↑n + 1) ≤ ↑(n + 1)",
"ppTerm": "?inr.succ",
"assigned": true,
... | [
"case inr.succ\nR : Type u_4\nS : Type u_5\ninst✝⁴ : Semiring R\ninst✝³ : Semiring S\ninst✝² : PartialOrder S\nabv : AbsoluteValue R S\ninst✝¹ : IsDomain S\ninst✝ : IsOrderedRing S\nh✝ : Nontrivial R\nn : ℕ\nih : abv ↑n ≤ ↑n\n⊢ abv (↑n + 1) ≤ ↑n + 1"
] | Nat.cast_succ, | Mathlib.Tactic.GRewrite.evalGRewriteSeq | null |
Mathlib.Algebra.Order.BigOperators.Group.Multiset | {
"line": 110,
"column": 7
} | {
"line": 110,
"column": 33
} | {
"line": 110,
"column": 33
} | [
{
"pp": "α : Type u_2\nβ : Type u_3\ninst✝³ : CommMonoid α\ninst✝² : CommMonoid β\ninst✝¹ : Preorder β\ninst✝ : IsOrderedMonoid β\nf : α → β\np : α → Prop\nh_mul : ∀ (a b : α), p a → p b → f (a * b) ≤ f a * f b\nhp_mul : ∀ (a b : α), p a → p b → p (a * b)\nl : List α\nhs_nonempty : ⟦l⟧ ≠ ∅\nhs : ∀ (a : α), a ∈ ... | [] | by simpa using hs_nonempty | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Order.BigOperators.Group.Multiset | {
"line": 116,
"column": 66
} | {
"line": 116,
"column": 92
} | {
"line": 116,
"column": 92
} | [
{
"pp": "α : Type u_2\nβ : Type u_3\ninst✝³ : CommMonoid α\ninst✝² : CommMonoid β\ninst✝¹ : Preorder β\ninst✝ : IsOrderedMonoid β\nf : α → β\nh_mul : ∀ (a b : α), f (a * b) ≤ f a * f b\nl : List α\nhs_nonempty : ⟦l⟧ ≠ ∅\n⊢ l ≠ ∅",
"ppTerm": "?m.47",
"assigned": true,
"usedConstants": [
"congrA... | [] | by simpa using hs_nonempty | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Order.BigOperators.GroupWithZero.Multiset | {
"line": 53,
"column": 26
} | {
"line": 56,
"column": 14
} | {
"line": 58,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝³ : CommMonoidWithZero R\ninst✝² : PartialOrder R\ninst✝¹ : ZeroLEOneClass R\ninst✝ : PosMulMono R\nα : Type u_2\ns : Multiset α\nf : α → R\nh : ∀ (a : α), a ∈ s → 0 ≤ f a\n⊢ 0 ≤ (map f s).prod",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Multiset.map"... | [] | by
refine prod_nonneg fun r hr ↦ ?_
obtain ⟨a, ha, rfl⟩ := mem_map.mp hr
exact h a ha | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Finsupp.Basic | {
"line": 953,
"column": 2
} | {
"line": 953,
"column": 73
} | {
"line": 955,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nM : Type u_5\ninst✝ : Zero M\na : α\nb : β\nm : M\nx : α\ny : β\n⊢ (single a (single b m)).uncurry (x, y) = (single (a, b) m) (x, y)",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"False",
"Finsupp.single_eq_sam... | [] | rcases eq_or_ne a x with rfl | hne <;> classical simp [single_apply, *] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.BigOperators.Group.Finset | {
"line": 437,
"column": 2
} | {
"line": 437,
"column": 63
} | {
"line": 438,
"column": 2
} | [
{
"pp": "α : Type u_2\ninst✝ : DecidableEq α\ns : Finset α\nB : Finset (Finset α)\nn : ℕ\nh : ∀ a ∈ s, #({b ∈ B | a ∈ b}) ≤ n\n⊢ ∑ t ∈ B, #(s ∩ t) ≤ ∑ x ∈ s, #({b ∈ B | x ∈ b})",
"ppTerm": "?m.36",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Finset.card_eq_sum_ones",
"congrArg"... | [
"α : Type u_2\ninst✝ : DecidableEq α\ns : Finset α\nB : Finset (Finset α)\nn : ℕ\nh : ∀ a ∈ s, #({b ∈ B | a ∈ b}) ≤ n\n⊢ (∑ x ∈ B, ∑ a ∈ s, if a ∈ x then 1 else 0) ≤ ∑ x ∈ s, ∑ a ∈ B, if x ∈ a then 1 else 0"
] | simp_rw [← filter_mem_eq_inter, card_eq_sum_ones, sum_filter] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.Data.Finsupp.Basic | {
"line": 1228,
"column": 2
} | {
"line": 1228,
"column": 18
} | {
"line": 1229,
"column": 2
} | [
{
"pp": "α : Type u_1\nM : Type u_12\ninst✝¹ : Zero M\nP : α → Prop\ninst✝ : DecidablePred P\nf : Subtype P →₀ M\na : α\n⊢ f.extendDomain a = (embDomain (Embedding.subtype P) f) a",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Subtype",
"dite",
... | [
"case pos\nα : Type u_1\nM : Type u_12\ninst✝¹ : Zero M\nP : α → Prop\ninst✝ : DecidablePred P\nf : Subtype P →₀ M\na : α\nh : P a\n⊢ f.extendDomain a = (embDomain (Embedding.subtype P) f) a",
"case neg\nα : Type u_1\nM : Type u_12\ninst✝¹ : Zero M\nP : α → Prop\ninst✝ : DecidablePred P\nf : Subtype P →₀ M\na : α... | by_cases h : P a | «_aux_Init_ByCases___macroRules_tacticBy_cases_:__2» | «tacticBy_cases_:_» |
Mathlib.Data.Finsupp.Basic | {
"line": 1243,
"column": 44
} | {
"line": 1246,
"column": 7
} | {
"line": 1248,
"column": 0
} | [
{
"pp": "α : Type u_1\nM : Type u_12\ninst✝¹ : Zero M\nP : α → Prop\ninst✝ : DecidablePred P\nf : α →₀ M\nhf : ∀ a ∈ f.support, P a\n⊢ (subtypeDomain P f).extendDomain = f",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"Finsupp.ext",
... | [] | by
ext
simp only [extendDomain_apply, subtypeDomain_apply, dite_eq_ite, ite_eq_left_iff]
grind | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Order.BigOperators.Group.Finset | {
"line": 451,
"column": 2
} | {
"line": 451,
"column": 63
} | {
"line": 452,
"column": 2
} | [
{
"pp": "α : Type u_2\ninst✝ : DecidableEq α\ns : Finset α\nB : Finset (Finset α)\nn : ℕ\nh : ∀ a ∈ s, n ≤ #({b ∈ B | a ∈ b})\n⊢ ∑ x ∈ s, #({b ∈ B | x ∈ b}) ≤ ∑ t ∈ B, #(s ∩ t)",
"ppTerm": "?m.43",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Finset.card_eq_sum_ones",
"congrArg"... | [
"α : Type u_2\ninst✝ : DecidableEq α\ns : Finset α\nB : Finset (Finset α)\nn : ℕ\nh : ∀ a ∈ s, n ≤ #({b ∈ B | a ∈ b})\n⊢ (∑ x ∈ s, ∑ a ∈ B, if x ∈ a then 1 else 0) ≤ ∑ x ∈ B, ∑ a ∈ s, if a ∈ x then 1 else 0"
] | simp_rw [← filter_mem_eq_inter, card_eq_sum_ones, sum_filter] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.Algebra.Order.BigOperators.Ring.Finset | {
"line": 60,
"column": 4
} | {
"line": 60,
"column": 49
} | {
"line": 61,
"column": 4
} | [
{
"pp": "case refine_2\nι : Type u_1\nR : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : PartialOrder R\ninst✝ : IsOrderedRing R\ns : Finset ι\ni : ι\nf g h : ι → R\nhi : i ∈ s\nh2i : g i + h i ≤ f i\nhgf : ∀ j ∈ s, j ≠ i → g j ≤ f j\nhhf : ∀ j ∈ s, j ≠ i → h j ≤ f j\nhg : ∀ i ∈ s, 0 ≤ g i\nhh : ∀ i ∈ s, 0 ≤ h i\n... | [
"case refine_2\nι : Type u_1\nR : Type u_2\ninst✝² : CommSemiring R\ninst✝¹ : PartialOrder R\ninst✝ : IsOrderedRing R\ns : Finset ι\ni : ι\nf g h : ι → R\nhi : i ∈ s\nh2i : g i + h i ≤ f i\nhgf : ∀ j ∈ s, j ≠ i → g j ≤ f j\nhhf : ∀ j ∈ s, j ≠ i → h j ≤ f j\nhg : ∀ i ∈ s, 0 ≤ g i\nhh : ∀ i ∈ s, 0 ≤ h i\n⊢ ∀ i_1 ∈ s,... | simp only [and_imp, mem_sdiff, mem_singleton] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.LinearAlgebra.Finsupp.LinearCombination | {
"line": 130,
"column": 4
} | {
"line": 130,
"column": 32
} | {
"line": 131,
"column": 4
} | [
{
"pp": "case mp\nα : Type u_1\nM : Type u_2\nR : Type u_3\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nv : α → M\nx : M\nl : α →₀ R\nhl : (linearCombination R v) l = x\n⊢ (linearCombination R v) l ∈ span R (Set.range v)",
"ppTerm": "?mp",
"assigned": true,
"usedConstants": [
... | [
"case mp\nα : Type u_1\nM : Type u_2\nR : Type u_3\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nv : α → M\nx : M\nl : α →₀ R\nhl : (linearCombination R v) l = x\n⊢ (l.sum fun i a ↦ a • v i) ∈ span R (Set.range v)"
] | rw [linearCombination_apply] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.LinearAlgebra.Finsupp.LinearCombination | {
"line": 221,
"column": 2
} | {
"line": 221,
"column": 13
} | {
"line": 221,
"column": 14
} | [
{
"pp": "case single\nM : Type u_2\nR : Type u_3\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nα : Type u_7\nβ : Type u_8\nA : α → M\nB : β → α →₀ R\na✝ : β\nb✝ : R\n⊢ (((single a✝ b✝).sum fun i a ↦ a • B i).sum fun i a ↦ a • A i) =\n (single a✝ b✝).sum fun i a ↦ a • (B i).sum fun i a ↦... | [] | | single => | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | null |
Mathlib.LinearAlgebra.Finsupp.LinearCombination | {
"line": 266,
"column": 2
} | {
"line": 266,
"column": 30
} | {
"line": 266,
"column": 30
} | [
{
"pp": "α : Type u_1\nM : Type u_2\nR : Type u_3\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nα' : Type u_5\nv : α → M\nf : α → α'\nl : α' →₀ R\nhf : InjOn f (f ⁻¹' ↑l.support)\n⊢ (linearCombination R v) (comapDomain f l hf) = ∑ i ∈ l.support.preimage f hf, l (f i) • v i",
"ppTerm": ... | [
"α : Type u_1\nM : Type u_2\nR : Type u_3\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nα' : Type u_5\nv : α → M\nf : α → α'\nl : α' →₀ R\nhf : InjOn f (f ⁻¹' ↑l.support)\n⊢ ((comapDomain f l hf).sum fun i a ↦ a • v i) = ∑ i ∈ l.support.preimage f hf, l (f i) • v i"
] | rw [linearCombination_apply] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.LinearAlgebra.Span.Defs | {
"line": 576,
"column": 6
} | {
"line": 576,
"column": 34
} | {
"line": 576,
"column": 35
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nι : Sort u_6\np : ι → Submodule R M\nm : M\n⊢ m ∈ ⨆ i, p i ↔ ∀ (N : Submodule R M), (∀ (i : ι), p i ≤ N) → m ∈ N",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Su... | [
"R : Type u_1\nM : Type u_2\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nι : Sort u_6\np : ι → Submodule R M\nm : M\n⊢ R ∙ m ≤ ⨆ i, p i ↔ ∀ (N : Submodule R M), (∀ (i : ι), p i ≤ N) → m ∈ N"
] | ← span_singleton_le_iff_mem, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.BigOperators.Finprod | {
"line": 1299,
"column": 2
} | {
"line": 1299,
"column": 30
} | {
"line": 1300,
"column": 2
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nM : Type u_5\ninst✝² : CommMonoid M\ninst✝¹ : DecidableEq α\ninst✝ : DecidableEq β\ns : Finset (α × β)\nf : α × β → M\nthis : ∀ (a : α), ∏ i ∈ Finset.image Prod.snd ({ab ∈ s | ab.1 = a}), f (a, i) = {x ∈ s | x.1 = a}.prod f\n⊢ ∀ i ∈ s, i.1 ∈ Finset.image Prod.fst s",
"pp... | [
"α : Type u_1\nβ : Type u_2\nM : Type u_5\ninst✝² : CommMonoid M\ninst✝¹ : DecidableEq α\ninst✝ : DecidableEq β\ns : Finset (α × β)\nf : α × β → M\nthis : ∀ (a : α), ∏ i ∈ Finset.image Prod.snd ({ab ∈ s | ab.1 = a}), f (a, i) = {x ∈ s | x.1 = a}.prod f\n⊢ ∀ i ∈ s, ∃ a ∈ s, a.1 = i.1"
] | simp only [Finset.mem_image] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Algebra.BigOperators.Finprod | {
"line": 1289,
"column": 2
} | {
"line": 1300,
"column": 32
} | {
"line": 1302,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nM : Type u_5\ninst✝² : CommMonoid M\ninst✝¹ : DecidableEq α\ninst✝ : DecidableEq β\ns : Finset (α × β)\nf : α × β → M\n⊢ ∏ᶠ (ab : α × β) (_ : ab ∈ s), f ab =\n ∏ᶠ (a : α) (b : β) (_ : b ∈ Finset.image Prod.snd ({ab ∈ s | ab.1 = a})), f (a, b)",
"ppTerm": "?m.46",
... | [] | have (a : _) :
∏ i ∈ (s.filter fun ab => Prod.fst ab = a).image Prod.snd, f (a, i) =
(s.filter (Prod.fst · = a)).prod f := by
refine Finset.prod_nbij' (fun b ↦ (a, b)) Prod.snd ?_ ?_ ?_ ?_ ?_ <;> aesop
rw [finprod_mem_finset_eq_prod]
simp_rw [finprod_mem_finset_eq_prod, this]
rw [finprod_eq_prod... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.BigOperators.Finprod | {
"line": 1289,
"column": 2
} | {
"line": 1300,
"column": 32
} | {
"line": 1302,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nM : Type u_5\ninst✝² : CommMonoid M\ninst✝¹ : DecidableEq α\ninst✝ : DecidableEq β\ns : Finset (α × β)\nf : α × β → M\n⊢ ∏ᶠ (ab : α × β) (_ : ab ∈ s), f ab =\n ∏ᶠ (a : α) (b : β) (_ : b ∈ Finset.image Prod.snd ({ab ∈ s | ab.1 = a})), f (a, b)",
"ppTerm": "?m.46",
... | [] | have (a : _) :
∏ i ∈ (s.filter fun ab => Prod.fst ab = a).image Prod.snd, f (a, i) =
(s.filter (Prod.fst · = a)).prod f := by
refine Finset.prod_nbij' (fun b ↦ (a, b)) Prod.snd ?_ ?_ ?_ ?_ ?_ <;> aesop
rw [finprod_mem_finset_eq_prod]
simp_rw [finprod_mem_finset_eq_prod, this]
rw [finprod_eq_prod... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Vector.Basic | {
"line": 70,
"column": 25
} | {
"line": 70,
"column": 40
} | {
"line": 70,
"column": 41
} | [
{
"pp": "α : Type u_1\nf : Fin 0 → α\n⊢ nil.toList = List.ofFn f",
"ppTerm": "?m.43",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"List.ofFn",
"id",
"instOfNatNat",
"List",
"List.ofFn_zero",
"Nat",
"List.Vector.nil",
"OfNat.o... | [
"α : Type u_1\nf : Fin 0 → α\n⊢ nil.toList = []"
] | List.ofFn_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Vector.Basic | {
"line": 276,
"column": 28
} | {
"line": 276,
"column": 46
} | {
"line": 276,
"column": 47
} | [
{
"pp": "α : Type u_1\nn : ℕ\nv : Vector α (n + 1)\n⊢ v.reverse.get 0 = v.get (Fin.last n)",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"List.Vector.get",
"Eq.mpr",
"congrArg",
"List.get",
"List.Vector.get_eq_get_toList",
"id",
"Fin.instOfNat",
... | [
"α : Type u_1\nn : ℕ\nv : Vector α (n + 1)\n⊢ v.reverse.toList.get (Fin.cast ⋯ 0) = v.get (Fin.last n)"
] | get_eq_get_toList, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Sym.Basic | {
"line": 312,
"column": 4
} | {
"line": 314,
"column": 78
} | {
"line": 314,
"column": 78
} | [
{
"pp": "case succ\nα : Type u_1\nβ : Type u_2\nn n' m : ℕ\ns : Sym α n\na b : α\ninst✝ : Subsingleton α\nn✝ : ℕ\n⊢ ∀ (a b : Sym α (n✝ + 1)), a = b",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Sym.replicate",
"Membership.mem",
"Exists... | [] | · intro s s'
obtain ⟨b, -⟩ := exists_mem s
rw [eq_replicate_of_subsingleton b s', eq_replicate_of_subsingleton b s] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Logic.Equiv.Fin.Basic | {
"line": 72,
"column": 46
} | {
"line": 73,
"column": 68
} | {
"line": 75,
"column": 0
} | [
{
"pp": "n : ℕ\ni : Fin (n + 1)\nm : Fin n\nh : m.castSucc < i\n⊢ (finSuccEquiv' i) m.castSucc = some m",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Fin.succAbove",
"Eq.mpr",
"Equiv.instEquivLike",
"congrArg",
"Option.some",
"id",
"Equiv",
... | [] | by
rw [← Fin.succAbove_of_castSucc_lt _ _ h, finSuccEquiv'_succAbove] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Fin.VecNotation | {
"line": 252,
"column": 2
} | {
"line": 252,
"column": 47
} | {
"line": 255,
"column": 0
} | [
{
"pp": "α : Type u\nx : α\nu : Fin 0 → α\n⊢ Set.range (vecCons x u) = {x}",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Matrix.range_cons",
"Eq.mpr",
"Set.instMax",
"Set.union_empty",
"congrArg",
"Set.instSingletonSet",
"id",
"instOfNatNa... | [] | rw [range_cons, range_empty, Set.union_empty] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Data.Fin.VecNotation | {
"line": 252,
"column": 2
} | {
"line": 252,
"column": 47
} | {
"line": 255,
"column": 0
} | [
{
"pp": "α : Type u\nx : α\nu : Fin 0 → α\n⊢ Set.range (vecCons x u) = {x}",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Matrix.range_cons",
"Eq.mpr",
"Set.instMax",
"Set.union_empty",
"congrArg",
"Set.instSingletonSet",
"id",
"instOfNatNa... | [] | rw [range_cons, range_empty, Set.union_empty] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Fin.VecNotation | {
"line": 252,
"column": 2
} | {
"line": 252,
"column": 47
} | {
"line": 255,
"column": 0
} | [
{
"pp": "α : Type u\nx : α\nu : Fin 0 → α\n⊢ Set.range (vecCons x u) = {x}",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Matrix.range_cons",
"Eq.mpr",
"Set.instMax",
"Set.union_empty",
"congrArg",
"Set.instSingletonSet",
"id",
"instOfNatNa... | [] | rw [range_cons, range_empty, Set.union_empty] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Logic.Equiv.Fin.Basic | {
"line": 382,
"column": 4
} | {
"line": 382,
"column": 40
} | {
"line": 383,
"column": 4
} | [
{
"pp": "m n✝ n : ℕ\ninst✝ : NeZero n\nx✝ : ℤ × Fin n\nq : ℤ\nr : ℕ\nhrn : r < n\n⊢ (fun a ↦ (a / ↑n, Fin.ofNat n (a.natMod ↑n))) ((fun p ↦ p.1 * ↑n + ↑↑p.2) (q, ⟨r, hrn⟩)) = (q, ⟨r, hrn⟩)",
"ppTerm": "?m.65",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Int.instDiv",
"instHDiv"... | [
"m n✝ n : ℕ\ninst✝ : NeZero n\nx✝ : ℤ × Fin n\nq : ℤ\nr : ℕ\nhrn : r < n\n⊢ (q * ↑n + ↑r) / ↑n = q ∧ ↑(Fin.ofNat n ((q * ↑n + ↑r).natMod ↑n)) = r"
] | simp only [Prod.mk_inj, Fin.ext_iff] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Data.Fin.VecNotation | {
"line": 257,
"column": 36
} | {
"line": 257,
"column": 55
} | {
"line": 257,
"column": 55
} | [
{
"pp": "α : Type u\nx y : α\nu : Fin 0 → α\n⊢ {x} ∪ {y} = {x, y}",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.instMax",
"congrArg",
"Set.singleton_union",
"Set.instSingletonSet",
"id",
"Insert.insert",
"Set.instInsert",
... | [
"α : Type u\nx y : α\nu : Fin 0 → α\n⊢ {x, y} = {x, y}"
] | Set.singleton_union | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Order.Interval.Set.Fin | {
"line": 561,
"column": 59
} | {
"line": 563,
"column": 82
} | {
"line": 565,
"column": 0
} | [
{
"pp": "n m : ℕ\ni j : Fin n\n⊢ natAdd m '' Icc i j = Icc (natAdd m i) (natAdd m j)",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Fin.natAdd",
"Set.Ici",
"Fin.preimage_natAdd_Icc_natAdd",
"congrArg",
"Fin.image_natAdd_Ici",
"PartialOr... | [] | by
rw [← preimage_natAdd_Icc_natAdd, image_preimage_eq_of_subset]
exact Icc_subset_Ici_self.trans <| image_natAdd_Ici m i ▸ image_subset_range _ _ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Order.Interval.Set.Fin | {
"line": 819,
"column": 78
} | {
"line": 820,
"column": 46
} | {
"line": 822,
"column": 0
} | [
{
"pp": "n : ℕ\ni j : Fin n\n⊢ rev ⁻¹' Icc i j = Icc j.rev i.rev",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Set.ext",
"congrArg",
"PartialOrder.toPreorder",
"Preorder.toLE",
"Membership.mem",
"LE.le",
"Set.mem_preimage._simp_1",
"instLE... | [] | by
ext; simp [le_rev_iff, rev_le_iff, and_comm] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Prime.Lemmas | {
"line": 124,
"column": 4
} | {
"line": 124,
"column": 57
} | {
"line": 125,
"column": 4
} | [
{
"pp": "M : Type u_1\ninst✝¹ : CommMonoidWithZero M\ninst✝ : IsCancelMulZero M\np a : M\nn : ℕ\nhp : Prime p\nx : M\nhb : ¬p ^ 2 ∣ p * x\nhbdiv : p ∣ (p * x) ^ n\ny : M\nhy : a ^ n.succ * (p * x) ^ n = p ^ n.succ * y\n⊢ a ^ n.succ * x ^ n = p * y",
"ppTerm": "?m.119",
"assigned": true,
"usedConstan... | [
"M : Type u_1\ninst✝¹ : CommMonoidWithZero M\ninst✝ : IsCancelMulZero M\np a : M\nn : ℕ\nhp : Prime p\nx : M\nhb : ¬p ^ 2 ∣ p * x\nhbdiv : p ∣ (p * x) ^ n\ny : M\nhy : a ^ n.succ * (p * x) ^ n = p ^ n.succ * y\n⊢ p ^ n * (a ^ n.succ * x ^ n) = p ^ n * (p * y)"
] | refine mul_left_cancel₀ (pow_ne_zero n hp.ne_zero) ?_ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Algebra.Prime.Lemmas | {
"line": 130,
"column": 2
} | {
"line": 130,
"column": 27
} | {
"line": 131,
"column": 2
} | [
{
"pp": "case inr\nM : Type u_1\ninst✝¹ : CommMonoidWithZero M\ninst✝ : IsCancelMulZero M\np a : M\nn : ℕ\nhp : Prime p\ny z : M\nhb : ¬p ^ 2 ∣ p * (p * z)\nhbdiv : p ∣ (p * (p * z)) ^ n\nhy : a ^ n.succ * (p * (p * z)) ^ n = p ^ n.succ * y\nthis : a ^ n.succ * (p * z) ^ n = p * y\nhdvdx : p ∣ (p * z) ^ n\n⊢ p ... | [
"case inr\nM : Type u_1\ninst✝¹ : CommMonoidWithZero M\ninst✝ : IsCancelMulZero M\np a : M\nn : ℕ\nhp : Prime p\ny z : M\nhb : ¬p ^ 2 ∣ p * (p * z)\nhbdiv : p ∣ (p * (p * z)) ^ n\nhy : a ^ n.succ * (p * (p * z)) ^ n = p ^ n.succ * y\nthis : a ^ n.succ * (p * z) ^ n = p * y\nhdvdx : p ∣ (p * z) ^ n\n⊢ p * p ∣ p * p ... | rw [pow_two, ← mul_assoc] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.