module
stringlengths
16
90
startPos
dict
endPos
dict
nextStartPos
dict
goals
listlengths
0
96
goalsAfter
listlengths
0
96
ppTac
stringlengths
1
14.5k
elaborator
stringclasses
371 values
kind
stringclasses
375 values
Mathlib.Algebra.Ring.Center
{ "line": 64, "column": 44 }
{ "line": 64, "column": 52 }
{ "line": 64, "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": 66, "column": 28 }
{ "line": 66, "column": 36 }
{ "line": 66, "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": 756, "column": 39 }
{ "line": 756, "column": 65 }
{ "line": 756, "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.Prime.Lemmas
{ "line": 105, "column": 4 }
{ "line": 105, "column": 57 }
{ "line": 106, "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": 111, "column": 2 }
{ "line": 111, "column": 27 }
{ "line": 112, "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
Mathlib.Algebra.Ring.Subring.Basic
{ "line": 832, "column": 39 }
{ "line": 832, "column": 65 }
{ "line": 832, "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.GroupWithZero.Associated
{ "line": 763, "column": 6 }
{ "line": 763, "column": 37 }
{ "line": 764, "column": 6 }
[ { "pp": "case succ.inr\nM : Type u_1\ninst✝¹ : CommMonoidWithZero M\ninst✝ : IsCancelMulZero M\np : M\nhp : Prime p\nn : ℕ\nih : ∀ {q : M}, q ∣ p ^ n ↔ ∃ i, i ≤ n ∧ q ~ᵤ p ^ i\nq : M\nh : q ∣ p * p ^ n\nhno : q ∣ p ^ n\n⊢ ∃ i, i ≤ n + 1 ∧ q ~ᵤ p ^ i", "ppTerm": "?succ.inr", "assigned": true, "usedCo...
[ "case succ.inr\nM : Type u_1\ninst✝¹ : CommMonoidWithZero M\ninst✝ : IsCancelMulZero M\np : M\nhp : Prime p\nn : ℕ\nih : ∀ {q : M}, q ∣ p ^ n ↔ ∃ i, i ≤ n ∧ q ~ᵤ p ^ i\nq : M\nh : q ∣ p * p ^ n\nhno : q ∣ p ^ n\ni : ℕ\nhi : i ≤ n\nhq : q ~ᵤ p ^ i\n⊢ ∃ i, i ≤ n + 1 ∧ q ~ᵤ p ^ i" ]
obtain ⟨i, hi, hq⟩ := ih.mp hno
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain
Lean.Parser.Tactic.obtain
Mathlib.Algebra.Module.Submodule.Range
{ "line": 285, "column": 44 }
{ "line": 286, "column": 59 }
{ "line": 288, "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": 444, "column": 34 }
{ "line": 444, "column": 59 }
{ "line": 444, "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.Order.ModularLattice
{ "line": 342, "column": 2 }
{ "line": 344, "column": 39 }
{ "line": 346, "column": 0 }
[ { "pp": "α : Type u_1\na b c : α\ninst✝² : Lattice α\ninst✝¹ : OrderBot α\ninst✝ : IsModularLattice α\nh : Disjoint b c\nhsup : Disjoint a (b ⊔ c)\n⊢ Disjoint (a ⊔ b) c", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "congrArg", ...
[]
rw [disjoint_comm, sup_comm] apply Disjoint.disjoint_sup_right_of_disjoint_sup_left h.symm rwa [sup_comm, disjoint_comm] at hsup
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.ModularLattice
{ "line": 342, "column": 2 }
{ "line": 344, "column": 39 }
{ "line": 346, "column": 0 }
[ { "pp": "α : Type u_1\na b c : α\ninst✝² : Lattice α\ninst✝¹ : OrderBot α\ninst✝ : IsModularLattice α\nh : Disjoint b c\nhsup : Disjoint a (b ⊔ c)\n⊢ Disjoint (a ⊔ b) c", "ppTerm": "?m.16", "assigned": true, "usedConstants": [ "Eq.mpr", "Lattice.toSemilatticeSup", "congrArg", ...
[]
rw [disjoint_comm, sup_comm] apply Disjoint.disjoint_sup_right_of_disjoint_sup_left h.symm rwa [sup_comm, disjoint_comm] at hsup
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Module.Submodule.Pointwise
{ "line": 427, "column": 6 }
{ "line": 428, "column": 46 }
{ "line": 429, "column": 4 }
[ { "pp": "case mp.smul₁\nR : Type u_2\nM : Type u_3\ninst✝⁵ : Semiring R\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\nS : Type u_4\ninst✝² : Monoid S\ninst✝¹ : DistribMulAction S M\nN : Submodule R M\ninst✝ : SMulCommClass R S M\nr : S\nx : M\nt : R\nn : M\nmem : n ∈ {r} • N\nh : ∃ m ∈ N, n = r • m\n⊢ ∃ m ∈ N...
[]
rcases h with ⟨n, hn, rfl⟩ exact ⟨t • n, by aesop, smul_comm _ _ _⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Module.Submodule.Pointwise
{ "line": 427, "column": 6 }
{ "line": 428, "column": 46 }
{ "line": 429, "column": 4 }
[ { "pp": "case mp.smul₁\nR : Type u_2\nM : Type u_3\ninst✝⁵ : Semiring R\ninst✝⁴ : AddCommMonoid M\ninst✝³ : Module R M\nS : Type u_4\ninst✝² : Monoid S\ninst✝¹ : DistribMulAction S M\nN : Submodule R M\ninst✝ : SMulCommClass R S M\nr : S\nx : M\nt : R\nn : M\nmem : n ∈ {r} • N\nh : ∃ m ∈ N, n = r • m\n⊢ ∃ m ∈ N...
[]
rcases h with ⟨n, hn, rfl⟩ exact ⟨t • n, by aesop, smul_comm _ _ _⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.Atoms
{ "line": 276, "column": 70 }
{ "line": 279, "column": 96 }
{ "line": 281, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝ : PartialOrder α\nb : α\na : ↑(Iic b)\n⊢ IsCoatom a ↔ ↑a ⋖ b", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Eq.mpr", "Preorder.toLT", "Set.ordConnected_Iic", "congrArg", "CovBy", "PartialOrder.toPreorder", "setOf", ...
[]
by rw [← covBy_top_iff] refine (Set.OrdConnected.apply_covBy_apply_iff (OrderEmbedding.subtype fun c => c ≤ b) ?_).symm simpa only [OrderEmbedding.coe_subtype, Subtype.range_coe_subtype] using! Set.ordConnected_Iic
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.LinearAlgebra.Span.Defs
{ "line": 576, "column": 6 }
{ "line": 576, "column": 34 }
{ "line": 576, "column": 35 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nι : Sort u_9\np : ι → Submodule R M\nm : M\n⊢ m ∈ ⨆ i, p i ↔ ∀ (N : Submodule R M), (∀ (i : ι), p i ≤ N) → m ∈ N", "ppTerm": "?m.39", "assigned": true, "usedConstants": [ "Eq.mpr", "Su...
[ "R : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nι : Sort u_9\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.Order.Atoms
{ "line": 909, "column": 10 }
{ "line": 911, "column": 49 }
{ "line": 912, "column": 8 }
[ { "pp": "case refine_2.inl\nι : Sort u_1\nα : Type u_2\nβ : Type u_3\ninst✝² : Lattice α\ninst✝¹ : BoundedOrder α\ninst✝ : IsSimpleOrder α\ns : Set α\nh : ⊥ ∈ upperBounds s\n⊢ (if ⊤ ∈ s then ⊤ else ⊥) ≤ ⊥", "ppTerm": "?refine_2.inl", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mp...
[]
rw [if_neg] intro con exact bot_ne_top (eq_top_iff.2 (h con))
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Atoms
{ "line": 909, "column": 10 }
{ "line": 911, "column": 49 }
{ "line": 912, "column": 8 }
[ { "pp": "case refine_2.inl\nι : Sort u_1\nα : Type u_2\nβ : Type u_3\ninst✝² : Lattice α\ninst✝¹ : BoundedOrder α\ninst✝ : IsSimpleOrder α\ns : Set α\nh : ⊥ ∈ upperBounds s\n⊢ (if ⊤ ∈ s then ⊤ else ⊥) ≤ ⊥", "ppTerm": "?refine_2.inl", "assigned": true, "usedConstants": [ "Iff.mpr", "Eq.mp...
[]
rw [if_neg] intro con exact bot_ne_top (eq_top_iff.2 (h con))
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.Atoms
{ "line": 1299, "column": 2 }
{ "line": 1299, "column": 52 }
{ "line": 1300, "column": 2 }
[ { "pp": "α : Type u_2\ns : Set α\n⊢ IsCoatom s ↔ ∃ x, s = {x}ᶜ", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Eq.mpr", "CompleteBooleanAlgebra.toCompleteDistribLattice", "congrArg", "Compl.compl", "PartialOrder.toPreorder", "Preorder.toLE", "Exis...
[ "α : Type u_2\ns : Set α\n⊢ (∃ x, sᶜ = {x}) ↔ ∃ x, s = {x}ᶜ" ]
rw [isCompl_compl.isCoatom_iff_isAtom, isAtom_iff]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Order.SupIndep
{ "line": 451, "column": 4 }
{ "line": 451, "column": 19 }
{ "line": 452, "column": 2 }
[ { "pp": "case refine_2\nα : Type u_5\ninst✝ : CompleteLattice α\nf : Fin 3 → α\nh : ∀ (i : Fin 3), Disjoint (f i) (⨆ j, ⨆ (_ : j ≠ i), f j)\n⊢ Disjoint (f 1) (f 0 ⊔ f 2)", "ppTerm": "?refine_2", "assigned": true, "usedConstants": [ "False", "Lattice.toSemilatticeSup", "CompleteLatt...
[]
simpa using h 1
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Order.SupIndep
{ "line": 451, "column": 4 }
{ "line": 451, "column": 19 }
{ "line": 452, "column": 2 }
[ { "pp": "case refine_2\nα : Type u_5\ninst✝ : CompleteLattice α\nf : Fin 3 → α\nh : ∀ (i : Fin 3), Disjoint (f i) (⨆ j, ⨆ (_ : j ≠ i), f j)\n⊢ Disjoint (f 1) (f 0 ⊔ f 2)", "ppTerm": "?refine_2", "assigned": true, "usedConstants": [ "False", "Lattice.toSemilatticeSup", "CompleteLatt...
[]
simpa using h 1
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.SupIndep
{ "line": 451, "column": 4 }
{ "line": 451, "column": 19 }
{ "line": 452, "column": 2 }
[ { "pp": "case refine_2\nα : Type u_5\ninst✝ : CompleteLattice α\nf : Fin 3 → α\nh : ∀ (i : Fin 3), Disjoint (f i) (⨆ j, ⨆ (_ : j ≠ i), f j)\n⊢ Disjoint (f 1) (f 0 ⊔ f 2)", "ppTerm": "?refine_2", "assigned": true, "usedConstants": [ "False", "Lattice.toSemilatticeSup", "CompleteLatt...
[]
simpa using h 1
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.Algebra.Tower
{ "line": 95, "column": 38 }
{ "line": 95, "column": 49 }
{ "line": 95, "column": 50 }
[ { "pp": "R : Type u\nA : Type w\nM : Type v₁\ninst✝⁵ : CommSemiring R\ninst✝⁴ : Semiring A\ninst✝³ : Algebra R A\ninst✝² : MulAction A M\ninst✝¹ : SMul R M\ninst✝ : IsScalarTower R A M\nr : R\nx : M\n⊢ (r • 1) • x = r • x", "ppTerm": "?m.27", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "R : Type u\nA : Type w\nM : Type v₁\ninst✝⁵ : CommSemiring R\ninst✝⁴ : Semiring A\ninst✝³ : Algebra R A\ninst✝² : MulAction A M\ninst✝¹ : SMul R M\ninst✝ : IsScalarTower R A M\nr : R\nx : M\n⊢ r • 1 • x = r • x" ]
smul_assoc,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Algebra.Tower
{ "line": 129, "column": 65 }
{ "line": 129, "column": 76 }
{ "line": 129, "column": 77 }
[ { "pp": "R : Type u\nS : Type v\nA : Type w\ninst✝⁶ : CommSemiring R\ninst✝⁵ : CommSemiring S\ninst✝⁴ : Semiring A\ninst✝³ : Algebra R S\ninst✝² : Algebra S A\ninst✝¹ : Algebra R A\ninst✝ : IsScalarTower R S A\nx : R\n⊢ x • 1 = (x • 1) • 1", "ppTerm": "?m.43", "assigned": true, "usedConstants": [ ...
[ "R : Type u\nS : Type v\nA : Type w\ninst✝⁶ : CommSemiring R\ninst✝⁵ : CommSemiring S\ninst✝⁴ : Semiring A\ninst✝³ : Algebra R S\ninst✝² : Algebra S A\ninst✝¹ : Algebra R A\ninst✝ : IsScalarTower R S A\nx : R\n⊢ x • 1 = x • 1 • 1" ]
smul_assoc,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.Algebra.Algebra.Tower
{ "line": 213, "column": 18 }
{ "line": 213, "column": 67 }
{ "line": 215, "column": 0 }
[ { "pp": "R : Type u\nS : Type v\nA : Type w\nB : Type u₁\nM : Type v₁\ninst✝¹⁰ : CommSemiring R\ninst✝⁹ : CommSemiring S\ninst✝⁸ : Semiring A\ninst✝⁷ : Semiring B\ninst✝⁶ : Algebra R S\ninst✝⁵ : Algebra S A\ninst✝⁴ : Algebra S B\ninst✝³ : Algebra R A\ninst✝² : Algebra R B\ninst✝¹ : IsScalarTower R S A\ninst✝ : ...
[]
simp [h.forall, ← IsScalarTower.algebraMap_apply]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.Algebra.Tower
{ "line": 213, "column": 18 }
{ "line": 213, "column": 67 }
{ "line": 215, "column": 0 }
[ { "pp": "R : Type u\nS : Type v\nA : Type w\nB : Type u₁\nM : Type v₁\ninst✝¹⁰ : CommSemiring R\ninst✝⁹ : CommSemiring S\ninst✝⁸ : Semiring A\ninst✝⁷ : Semiring B\ninst✝⁶ : Algebra R S\ninst✝⁵ : Algebra S A\ninst✝⁴ : Algebra S B\ninst✝³ : Algebra R A\ninst✝² : Algebra R B\ninst✝¹ : IsScalarTower R S A\ninst✝ : ...
[]
simp [h.forall, ← IsScalarTower.algebraMap_apply]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.Algebra.Tower
{ "line": 213, "column": 18 }
{ "line": 213, "column": 67 }
{ "line": 215, "column": 0 }
[ { "pp": "R : Type u\nS : Type v\nA : Type w\nB : Type u₁\nM : Type v₁\ninst✝¹⁰ : CommSemiring R\ninst✝⁹ : CommSemiring S\ninst✝⁸ : Semiring A\ninst✝⁷ : Semiring B\ninst✝⁶ : Algebra R S\ninst✝⁵ : Algebra S A\ninst✝⁴ : Algebra S B\ninst✝³ : Algebra R A\ninst✝² : Algebra R B\ninst✝¹ : IsScalarTower R S A\ninst✝ : ...
[]
simp [h.forall, ← IsScalarTower.algebraMap_apply]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.BigOperators.GroupWithZero.Finset
{ "line": 61, "column": 10 }
{ "line": 61, "column": 26 }
{ "line": 61, "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": 241, "column": 37 }
{ "line": 241, "column": 55 }
{ "line": 241, "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.Order.CompactlyGenerated.Basic
{ "line": 446, "column": 8 }
{ "line": 446, "column": 53 }
{ "line": 447, "column": 8 }
[ { "pp": "case refine_1\nα : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\ns : Set α\nh : ∀ (t : Finset α), ↑t ⊆ s → sSupIndep ↑t\na : α\nha : a ∈ s\nt : Finset α\nht : ↑t ⊆ s \\ {a}\n⊢ ↑(insert a t) ⊆ s", "ppTerm": "?refine_1", "assigned": true, "usedConstants": [ "Eq.m...
[ "case refine_1\nα : Type u_2\ninst✝¹ : CompleteLattice α\ninst✝ : IsCompactlyGenerated α\ns : Set α\nh : ∀ (t : Finset α), ↑t ⊆ s → sSupIndep ↑t\na : α\nha : a ∈ s\nt : Finset α\nht : ↑t ⊆ s \\ {a}\n⊢ a ∈ s ∧ ↑t ⊆ s" ]
rw [Finset.coe_insert, Set.insert_subset_iff]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.LinearAlgebra.Span.Basic
{ "line": 314, "column": 2 }
{ "line": 322, "column": 40 }
{ "line": 324, "column": 0 }
[ { "pp": "case refine_4\nR : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nι : Sort u_8\np : ι → Submodule R M\nx✝¹ : M\nhx✝ : x✝¹ ∈ span R (⋃ i, ↑(p i))\nr : R\nx : M\nx✝ : x ∈ span R (⋃ i, ↑(p i))\nhx : x ∈ AddSubmonoid.closure (⋃ i, ↑(p i))\n⊢ r • x ∈ AddSubmonoid....
[]
· refine AddSubmonoid.closure_induction ?_ ?_ ?_ hx · rintro x ⟨_, ⟨i, rfl⟩, hix : x ∈ p i⟩ apply AddSubmonoid.subset_closure (Set.mem_iUnion.mpr ⟨i, _⟩) exact smul_mem _ r hix · rw [smul_zero] exact AddSubmonoid.zero_mem _ · intro x y _ _ hx hy rw [smul_add] exact AddSubmonoid...
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.LinearAlgebra.Span.Basic
{ "line": 384, "column": 46 }
{ "line": 384, "column": 86 }
{ "line": 384, "column": 87 }
[ { "pp": "R : Type u_1\nR₂ : Type u_2\nK : Type u_3\nM : Type u_4\nM₂ : Type u_5\nV : Type u_6\nS : Type u_7\ninst✝⁷ : Semiring R\ninst✝⁶ : AddCommMonoid M\ninst✝⁵ : Module R M\nx✝ : M\np p' : Submodule R M\ninst✝⁴ : Semiring R₂\nσ₁₂ : R →+* R₂\ninst✝³ : AddCommMonoid M₂\ninst✝² : Module R₂ M₂\ns t : Set M\nM' :...
[]
exact ⟨smul_mem _ a hx, smul_mem _ a hy⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 695, "column": 2 }
{ "line": 698, "column": 19 }
{ "line": 700, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝² : CompleteLattice α\ninst✝¹ : IsModularLattice α\ninst✝ : IsCompactlyGenerated α\nb c : α\nhbc : b ≤ c\nh : sSup {a | a ≤ c ∧ IsAtom a} = c\ns : Set α\ns_max : ∀ ⦃t : Set α⦄, t ∈ {s | sSupIndep s ∧ Disjoint b (sSup s) ∧ ∀ a ∈ s, IsAtom a ∧ a ≤ c} → s ⊆ t → s = t\ns_ind : sSupIndep ...
[]
· rw [Set.mem_union, Set.mem_singleton_iff] at hx obtain hx | rfl := hx · exact s_atoms x hx · exact ha.symm
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 728, "column": 2 }
{ "line": 730, "column": 44 }
{ "line": 732, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝² : CompleteLattice α\ninst✝¹ : IsModularLattice α\ninst✝ : IsCompactlyGenerated α\n⊢ ComplementedLattice α ↔ IsAtomistic α", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "PartialOrder.toPreorder", "Preorder.toLE", "CompleteLattice.toConditiona...
[]
constructor <;> intros · exact isAtomistic_of_complementedLattice · exact complementedLattice_of_isAtomistic
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.CompactlyGenerated.Basic
{ "line": 728, "column": 2 }
{ "line": 730, "column": 44 }
{ "line": 732, "column": 0 }
[ { "pp": "α : Type u_2\ninst✝² : CompleteLattice α\ninst✝¹ : IsModularLattice α\ninst✝ : IsCompactlyGenerated α\n⊢ ComplementedLattice α ↔ IsAtomistic α", "ppTerm": "?m.7", "assigned": true, "usedConstants": [ "PartialOrder.toPreorder", "Preorder.toLE", "CompleteLattice.toConditiona...
[]
constructor <;> intros · exact isAtomistic_of_complementedLattice · exact complementedLattice_of_isAtomistic
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
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.LinearAlgebra.Span.Basic
{ "line": 540, "column": 36 }
{ "line": 540, "column": 68 }
{ "line": 540, "column": 68 }
[ { "pp": "R : Type u_1\nR₂ : Type u_2\nM : Type u_4\nM₂ : Type u_5\ninst✝⁶ : Semiring R\ninst✝⁵ : Semiring R₂\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : AddCommGroup M₂\ninst✝¹ : Module R₂ M₂\nτ₁₂ : R →+* R₂\ninst✝ : RingHomSurjective τ₁₂\nf : M →ₛₗ[τ₁₂] M₂\np : Submodule R M\nx y : M\nhy : y ∈ ↑p\n...
[]
simpa using sub_eq_zero.2 e.symm
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.LinearAlgebra.Span.Basic
{ "line": 540, "column": 36 }
{ "line": 540, "column": 68 }
{ "line": 540, "column": 68 }
[ { "pp": "R : Type u_1\nR₂ : Type u_2\nM : Type u_4\nM₂ : Type u_5\ninst✝⁶ : Semiring R\ninst✝⁵ : Semiring R₂\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : AddCommGroup M₂\ninst✝¹ : Module R₂ M₂\nτ₁₂ : R →+* R₂\ninst✝ : RingHomSurjective τ₁₂\nf : M →ₛₗ[τ₁₂] M₂\np : Submodule R M\nx y : M\nhy : y ∈ ↑p\n...
[]
simpa using sub_eq_zero.2 e.symm
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.Span.Basic
{ "line": 540, "column": 36 }
{ "line": 540, "column": 68 }
{ "line": 540, "column": 68 }
[ { "pp": "R : Type u_1\nR₂ : Type u_2\nM : Type u_4\nM₂ : Type u_5\ninst✝⁶ : Semiring R\ninst✝⁵ : Semiring R₂\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : AddCommGroup M₂\ninst✝¹ : Module R₂ M₂\nτ₁₂ : R →+* R₂\ninst✝ : RingHomSurjective τ₁₂\nf : M →ₛₗ[τ₁₂] M₂\np : Submodule R M\nx y : M\nhy : y ∈ ↑p\n...
[]
simpa using sub_eq_zero.2 e.symm
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.BigOperators.Ring.Finset
{ "line": 149, "column": 25 }
{ "line": 149, "column": 51 }
{ "line": 149, "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.LinearAlgebra.Span.Basic
{ "line": 620, "column": 6 }
{ "line": 620, "column": 19 }
{ "line": 620, "column": 19 }
[ { "pp": "R : Type u_1\nR₂ : Type u_2\nM : Type u_4\nM₂ : Type u_5\ninst✝⁶ : Semiring R\ninst✝⁵ : Semiring R₂\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : AddCommGroup M₂\ninst✝¹ : Module R₂ M₂\nτ₁₂ : R →+* R₂\ninst✝ : RingHomSurjective τ₁₂\nι : Type u_8\ns : Set ι\np : ι → Submodule R₂ M₂\nhp : ⨆ i ∈...
[ "R : Type u_1\nR₂ : Type u_2\nM : Type u_4\nM₂ : Type u_5\ninst✝⁶ : Semiring R\ninst✝⁵ : Semiring R₂\ninst✝⁴ : AddCommGroup M\ninst✝³ : Module R M\ninst✝² : AddCommGroup M₂\ninst✝¹ : Module R₂ M₂\nτ₁₂ : R →+* R₂\ninst✝ : RingHomSurjective τ₁₂\nι : Type u_8\ns : Set ι\np : ι → Submodule R₂ M₂\nhp : ⨆ x, p ↑x = ⊤\nf ...
iSup_subtype'
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.Group.Finsupp
{ "line": 186, "column": 11 }
{ "line": 192, "column": 14 }
{ "line": 194, "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.Algebra.BigOperators.Ring.Finset
{ "line": 214, "column": 41 }
{ "line": 214, "column": 49 }
{ "line": 214, "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": 214, "column": 50 }
{ "line": 214, "column": 58 }
{ "line": 214, "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.LinearAlgebra.Span.Basic
{ "line": 749, "column": 18 }
{ "line": 749, "column": 42 }
{ "line": 751, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nx✝¹ x✝ : M\neq : toSpanSingleton R M x✝¹ = toSpanSingleton R M x✝\n⊢ x✝¹ = x✝", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "NonAssocSemiring.toAddCommMonoidWithOne", "inst...
[]
simpa using congr($eq 1)
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.LinearAlgebra.Span.Basic
{ "line": 749, "column": 18 }
{ "line": 749, "column": 42 }
{ "line": 751, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nx✝¹ x✝ : M\neq : toSpanSingleton R M x✝¹ = toSpanSingleton R M x✝\n⊢ x✝¹ = x✝", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "NonAssocSemiring.toAddCommMonoidWithOne", "inst...
[]
simpa using congr($eq 1)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.Span.Basic
{ "line": 749, "column": 18 }
{ "line": 749, "column": 42 }
{ "line": 751, "column": 0 }
[ { "pp": "R : Type u_1\nM : Type u_4\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nx✝¹ x✝ : M\neq : toSpanSingleton R M x✝¹ = toSpanSingleton R M x✝\n⊢ x✝¹ = x✝", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "NonAssocSemiring.toAddCommMonoidWithOne", "inst...
[]
simpa using congr($eq 1)
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Algebra.BigOperators.Ring.Finset
{ "line": 238, "column": 6 }
{ "line": 238, "column": 17 }
{ "line": 238, "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": 238, "column": 18 }
{ "line": 238, "column": 29 }
{ "line": 238, "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": 275, "column": 77 }
{ "line": 277, "column": 6 }
{ "line": 279, "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.Data.Finsupp.Option
{ "line": 198, "column": 75 }
{ "line": 207, "column": 45 }
{ "line": 209, "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": 46, "column": 2 }
{ "line": 49, "column": 17 }
{ "line": 51, "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": 46, "column": 2 }
{ "line": 49, "column": 17 }
{ "line": 51, "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": 569, "column": 2 }
{ "line": 570, "column": 25 }
{ "line": 571, "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.BigOperators.Group.Multiset
{ "line": 107, "column": 7 }
{ "line": 107, "column": 33 }
{ "line": 107, "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": 113, "column": 66 }
{ "line": 113, "column": 92 }
{ "line": 113, "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.AbsoluteValue.Basic
{ "line": 192, "column": 9 }
{ "line": 192, "column": 23 }
{ "line": 192, "column": 24 }
[ { "pp": "case inr.succ\nR : Type u_5\nS : Type u_6\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_5\nS : Type u_6\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": 192, "column": 24 }
{ "line": 192, "column": 38 }
{ "line": 192, "column": 39 }
[ { "pp": "case inr.succ\nR : Type u_5\nS : Type u_6\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_5\nS : Type u_6\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.GroupWithZero.Multiset
{ "line": 50, "column": 26 }
{ "line": 53, "column": 14 }
{ "line": 55, "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": 406, "column": 91 }
{ "line": 411, "column": 68 }
{ "line": 413, "column": 0 }
[ { "pp": "α : Type u_1\nβ : Type u_2\nM : Type u_5\ninst✝ : AddCommMonoid M\nf : α ↪ β\nv : α →₀ M\n⊢ embDomain f v = mapDomain (⇑f) v", "ppTerm": "?m.15", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Eq.mpr", "Finsupp.ext", "congrArg", "Finsupp.mapDomain...
[]
by ext a by_cases h : a ∈ Set.range f · rcases h with ⟨a, rfl⟩ rw [mapDomain_apply f.injective, embDomain_apply_self] · rw [mapDomain_notin_range, embDomain_notin_range] <;> assumption
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Algebra.Order.BigOperators.Group.Finset
{ "line": 348, "column": 2 }
{ "line": 348, "column": 63 }
{ "line": 349, "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.Algebra.Order.BigOperators.Group.Finset
{ "line": 362, "column": 2 }
{ "line": 362, "column": 63 }
{ "line": 363, "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.Data.Finsupp.Basic
{ "line": 934, "column": 2 }
{ "line": 934, "column": 73 }
{ "line": 936, "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.Data.Finsupp.Basic
{ "line": 1211, "column": 2 }
{ "line": 1211, "column": 18 }
{ "line": 1212, "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": 1226, "column": 44 }
{ "line": 1229, "column": 7 }
{ "line": 1231, "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", "dite_congr", ...
[]
by ext simp only [extendDomain_apply, subtypeDomain_apply, dite_eq_ite, ite_eq_left_iff] grind
[anonymous]
Lean.Parser.Term.byTactic
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_5\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_5\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.Order.Interval.Set.Fin
{ "line": 551, "column": 59 }
{ "line": 553, "column": 82 }
{ "line": 555, "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.Algebra.BigOperators.Finprod
{ "line": 400, "column": 21 }
{ "line": 404, "column": 17 }
{ "line": 406, "column": 0 }
[ { "pp": "α : Type u_1\nM : Type u_5\ninst✝ : CommMonoid M\nf : α → M\nhf : (mulSupport f).Infinite\n⊢ ∏ᶠ (i : α), f i = 1", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "MulOne.toOne", "Monoid.toMulOneClass", "congrArg", "Classical.propDecidable", ...
[]
by classical rw [finprod_def] simp only [HasFiniteMulSupport] rw [dif_neg hf]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Order.Interval.Set.Fin
{ "line": 809, "column": 78 }
{ "line": 810, "column": 46 }
{ "line": 812, "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.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_5\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nα : Type u_9\nβ : Type u_10\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_5\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nα' : Type u_7\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_5\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nα' : Type u_7\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.Logic.Equiv.Fin.Basic
{ "line": 74, "column": 46 }
{ "line": 75, "column": 68 }
{ "line": 77, "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": 251, "column": 2 }
{ "line": 251, "column": 47 }
{ "line": 254, "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.union_empty", "congrArg", "Set.instUnion", "Set.instSingletonSet", "id", "instOfNat...
[]
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": 251, "column": 2 }
{ "line": 251, "column": 47 }
{ "line": 254, "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.union_empty", "congrArg", "Set.instUnion", "Set.instSingletonSet", "id", "instOfNat...
[]
rw [range_cons, range_empty, Set.union_empty]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Fin.VecNotation
{ "line": 251, "column": 2 }
{ "line": 251, "column": 47 }
{ "line": 254, "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.union_empty", "congrArg", "Set.instUnion", "Set.instSingletonSet", "id", "instOfNat...
[]
rw [range_cons, range_empty, Set.union_empty]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Fin.VecNotation
{ "line": 256, "column": 36 }
{ "line": 256, "column": 55 }
{ "line": 256, "column": 55 }
[ { "pp": "α : Type u\nx y : α\nu : Fin 0 → α\n⊢ {x} ∪ {y} = {x, y}", "ppTerm": "?m.27", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "Set.singleton_union", "Set.instUnion", "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.Logic.Equiv.Fin.Basic
{ "line": 381, "column": 4 }
{ "line": 381, "column": 40 }
{ "line": 382, "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.Algebra.BigOperators.Finprod
{ "line": 1318, "column": 2 }
{ "line": 1318, "column": 30 }
{ "line": 1319, "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": 1308, "column": 2 }
{ "line": 1319, "column": 32 }
{ "line": 1321, "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": 1308, "column": 2 }
{ "line": 1319, "column": 32 }
{ "line": 1321, "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.Algebra.Group.ModEq
{ "line": 343, "column": 14 }
{ "line": 343, "column": 35 }
{ "line": 343, "column": 35 }
[ { "pp": "case mp.refine_2\nG : Type u_1\ninst✝ : AddCommGroup G\np a b : G\nn : ℕ\nhn : n ≠ 0\nk : ℤ\nhk : a - b = k • p\n⊢ k • p = (k / ↑n * ↑n + k % ↑n) • p", "ppTerm": "?mp.refine_2", "assigned": true, "usedConstants": [ "Eq.mpr", "Int.instDiv", "instHSMul", "instHDiv", ...
[ "case mp.refine_2\nG : Type u_1\ninst✝ : AddCommGroup G\np a b : G\nn : ℕ\nhn : n ≠ 0\nk : ℤ\nhk : a - b = k • p\n⊢ k • p = k • p" ]
Int.ediv_mul_add_emod
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Nat.GCD.Basic
{ "line": 57, "column": 8 }
{ "line": 57, "column": 17 }
{ "line": 57, "column": 18 }
[ { "pp": "a b c : ℕ\nha0 : a > 0\nha1 : succ 0 < a\nhb0 : b > 0\nh : b ≤ c\nthis : a ^ (c - b + b) - 1 = a ^ (c - b) * (a ^ b - 1) + (a ^ (c - b) - 1)\n⊢ (a ^ (c - b) % (a ^ b - 1) * 0 % (a ^ b - 1) + (a ^ (c - b) - 1) % (a ^ b - 1)) % (a ^ b - 1) = a ^ ((c - b) % b) - 1", "ppTerm": "?m.299", "assigned":...
[ "a b c : ℕ\nha0 : a > 0\nha1 : succ 0 < a\nhb0 : b > 0\nh : b ≤ c\nthis : a ^ (c - b + b) - 1 = a ^ (c - b) * (a ^ b - 1) + (a ^ (c - b) - 1)\n⊢ (0 % (a ^ b - 1) + (a ^ (c - b) - 1) % (a ^ b - 1)) % (a ^ b - 1) = a ^ ((c - b) % b) - 1" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Algebra.BigOperators.Fin
{ "line": 273, "column": 2 }
{ "line": 273, "column": 28 }
{ "line": 275, "column": 0 }
[ { "pp": "M : Type u_2\ninst✝ : CommMonoid M\nn m : ℕ\nh : n ≤ m\nf : Fin m → M\na b : Fin n\n⊢ ∏ i ∈ Ioo (castLE h a) (castLE h b), f i = ∏ i ∈ Ioo a b, f (castLE h i)", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "congrArg", "Fin.castLE", "Finset", "PartialOrder....
[]
simp [← map_castLEEmb_Ioo]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Algebra.BigOperators.Fin
{ "line": 273, "column": 2 }
{ "line": 273, "column": 28 }
{ "line": 275, "column": 0 }
[ { "pp": "M : Type u_2\ninst✝ : CommMonoid M\nn m : ℕ\nh : n ≤ m\nf : Fin m → M\na b : Fin n\n⊢ ∏ i ∈ Ioo (castLE h a) (castLE h b), f i = ∏ i ∈ Ioo a b, f (castLE h i)", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "congrArg", "Fin.castLE", "Finset", "PartialOrder....
[]
simp [← map_castLEEmb_Ioo]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Algebra.BigOperators.Fin
{ "line": 273, "column": 2 }
{ "line": 273, "column": 28 }
{ "line": 275, "column": 0 }
[ { "pp": "M : Type u_2\ninst✝ : CommMonoid M\nn m : ℕ\nh : n ≤ m\nf : Fin m → M\na b : Fin n\n⊢ ∏ i ∈ Ioo (castLE h a) (castLE h b), f i = ∏ i ∈ Ioo a b, f (castLE h i)", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "congrArg", "Fin.castLE", "Finset", "PartialOrder....
[]
simp [← map_castLEEmb_Ioo]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.LinearAlgebra.LinearIndependent.Defs
{ "line": 480, "column": 70 }
{ "line": 481, "column": 48 }
{ "line": 483, "column": 0 }
[ { "pp": "ι : Type u'\nR : Type u_2\nM : Type u_4\nv : ι → M\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nhv : LinearIndependent R v\n⊢ hv.repr.range = ⊤", "ppTerm": "?m.32", "assigned": true, "usedConstants": [ "Eq.mpr", "Submodule", "RingHomSurjective.ids", ...
[]
by rw [LinearIndependent.repr, LinearEquiv.range]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Nat.ModEq
{ "line": 571, "column": 8 }
{ "line": 571, "column": 16 }
{ "line": 571, "column": 17 }
[ { "pp": "m n : ℕ\nhm1 : m % 2 = 1\nhn1 : n % 2 = 1\nhn0 : 0 < n\n⊢ 2 * (m * n / 2) = 2 * (m * (n / 2) + m / 2)", "ppTerm": "?m.73", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "instHDiv", "HMul.hMul", "congrArg", "id", "HDiv.hD...
[ "m n : ℕ\nhm1 : m % 2 = 1\nhn1 : n % 2 = 1\nhn0 : 0 < n\n⊢ 2 * (m * n / 2) = 2 * (m * (n / 2)) + 2 * (m / 2)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Set.Card
{ "line": 307, "column": 35 }
{ "line": 307, "column": 74 }
{ "line": 309, "column": 0 }
[ { "pp": "α : Type u_1\ns t : Set α\n⊢ s.encard ≤ (s \\ t).encard + t.encard", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "Set.encard_le_encard_sdiff_add_encard" ], "usedFVars": [ "α", "s", "t" ], "usedGoals": [] } ]
[]
apply encard_le_encard_sdiff_add_encard
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.LinearAlgebra.LinearIndependent.Defs
{ "line": 846, "column": 2 }
{ "line": 847, "column": 82 }
{ "line": 848, "column": 2 }
[ { "pp": "case refine_2\nι : Type u'\nR : Type u_2\ns : Set ι\nM : Type u_4\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nv : ι → M\nh : ∀ (t : Finset ι) (g : ι → R), ↑t ⊆ s → ∑ i ∈ t, g i • v i = 0 → ∀ i ∈ t, g i = 0\nt : Finset ↑s\ng : ↑s → R\nh0 : ∑ i ∈ t, g i • v ↑i = 0\ni : ↑s\nhit : i ∈ t\...
[ "case refine_2\nι : Type u'\nR : Type u_2\ns : Set ι\nM : Type u_4\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nv : ι → M\nt : Finset ↑s\ng : ↑s → R\nh0 : ∑ i ∈ t, g i • v ↑i = 0\ni : ↑s\nhit : i ∈ t\nh : ∀ (i : ι) (hi : i ∈ s), ⟨i, hi⟩ ∈ t → ∀ (h : i ∈ s), g ⟨i, h⟩ = 0\n⊢ g i = 0" ]
replace h : ∀ i (hi : i ∈ s), ⟨i, hi⟩ ∈ t → ∀ (h : i ∈ s), g ⟨i, h⟩ = 0 := by simpa [h0] using h (t.image (↑)) (fun i ↦ if hi : i ∈ s then g ⟨i, hi⟩ else 0)
Lean.Elab.Tactic.evalReplace
Lean.Parser.Tactic.replace
Mathlib.LinearAlgebra.LinearIndependent.Defs
{ "line": 854, "column": 2 }
{ "line": 856, "column": 79 }
{ "line": 858, "column": 0 }
[ { "pp": "ι : Type u'\nR : Type u_2\ns : Set ι\nM : Type u_4\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nv : ι → M\n⊢ LinearIndepOn R v s ↔\n ∀ (t : Finset ι) (g : ι → R), ↑t ⊆ s → (∀ i ∉ t, g i = 0) → ∑ i ∈ t, g i • v i = 0 → ∀ i ∈ t, g i = 0", "ppTerm": "?m.38", "assigned": true, ...
[]
classical exact linearIndepOn_iff'.trans ⟨fun h t g hts htg h0 ↦ h _ _ hts h0, fun h t g hts h0 ↦ by simpa +contextual [h0] using h t (fun i ↦ if i ∈ t then g i else 0) hts⟩
Lean.Elab.Tactic.evalClassical
Lean.Parser.Tactic.classical
Mathlib.LinearAlgebra.LinearIndependent.Defs
{ "line": 854, "column": 2 }
{ "line": 856, "column": 79 }
{ "line": 858, "column": 0 }
[ { "pp": "ι : Type u'\nR : Type u_2\ns : Set ι\nM : Type u_4\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nv : ι → M\n⊢ LinearIndepOn R v s ↔\n ∀ (t : Finset ι) (g : ι → R), ↑t ⊆ s → (∀ i ∉ t, g i = 0) → ∑ i ∈ t, g i • v i = 0 → ∀ i ∈ t, g i = 0", "ppTerm": "?m.38", "assigned": true, ...
[]
classical exact linearIndepOn_iff'.trans ⟨fun h t g hts htg h0 ↦ h _ _ hts h0, fun h t g hts h0 ↦ by simpa +contextual [h0] using h t (fun i ↦ if i ∈ t then g i else 0) hts⟩
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.LinearIndependent.Defs
{ "line": 854, "column": 2 }
{ "line": 856, "column": 79 }
{ "line": 858, "column": 0 }
[ { "pp": "ι : Type u'\nR : Type u_2\ns : Set ι\nM : Type u_4\ninst✝² : Ring R\ninst✝¹ : AddCommGroup M\ninst✝ : Module R M\nv : ι → M\n⊢ LinearIndepOn R v s ↔\n ∀ (t : Finset ι) (g : ι → R), ↑t ⊆ s → (∀ i ∉ t, g i = 0) → ∑ i ∈ t, g i • v i = 0 → ∀ i ∈ t, g i = 0", "ppTerm": "?m.38", "assigned": true, ...
[]
classical exact linearIndepOn_iff'.trans ⟨fun h t g hts htg h0 ↦ h _ _ hts h0, fun h t g hts h0 ↦ by simpa +contextual [h0] using h t (fun i ↦ if i ∈ t then g i else 0) hts⟩
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Set.Card
{ "line": 575, "column": 2 }
{ "line": 575, "column": 28 }
{ "line": 576, "column": 2 }
[ { "pp": "case inr.inr\nα : Type u_1\nβ : Type u_2\ninst✝ : Nonempty β\ns : Set α\nt : Set β\nhs : s.Finite\nhle : s.encard ≤ t.encard\na : α\nhas : a ∈ s\nb : β\nhbt : b ∈ t\nhle' : (s \\ {a}).encard ≤ (t \\ {b}).encard\nf₀ : α → β\nhinj : InjOn f₀ (s \\ {a})\nhf₀s : ∀ x ∈ s, ¬x = a → f₀ x ∈ t ∧ ¬f₀ x = b\n⊢ ∃ ...
[ "case h\nα : Type u_1\nβ : Type u_2\ninst✝ : Nonempty β\ns : Set α\nt : Set β\nhs : s.Finite\nhle : s.encard ≤ t.encard\na : α\nhas : a ∈ s\nb : β\nhbt : b ∈ t\nhle' : (s \\ {a}).encard ≤ (t \\ {b}).encard\nf₀ : α → β\nhinj : InjOn f₀ (s \\ {a})\nhf₀s : ∀ x ∈ s, ¬x = a → f₀ x ∈ t ∧ ¬f₀ x = b\n⊢ s ⊆ Function.update ...
use Function.update f₀ a b
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.Data.Set.Card
{ "line": 782, "column": 2 }
{ "line": 782, "column": 43 }
{ "line": 782, "column": 43 }
[ { "pp": "α : Type u_1\ns : Set α\na : α\nh : a ∈ s\nhs : s.Finite\n⊢ (s \\ {a}).ncard < s.ncard", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.ncard_sdiff_singleton_add_one", "congrArg", "Set.instSingletonSet", "id", "instOfNatNat", ...
[ "α : Type u_1\ns : Set α\na : α\nh : a ∈ s\nhs : s.Finite\n⊢ (s \\ {a}).ncard < (s \\ {a}).ncard + 1" ]
rw [← ncard_sdiff_singleton_add_one h hs]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Set.Card
{ "line": 1090, "column": 2 }
{ "line": 1090, "column": 76 }
{ "line": 1092, "column": 0 }
[ { "pp": "α : Type u_1\ns t : Set α\nR : Type u_3\ninst✝ : AddGroupWithOne R\nhst : s ⊆ t\nht : t.Finite\n⊢ ↑(t \\ s).ncard = ↑t.ncard - ↑s.ncard", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Eq.mpr", "AddGroupWithOne.toAddGroup", "congrArg", "Nat.cast_sub", ...
[]
rw [ncard_sdiff hst (ht.subset hst), Nat.cast_sub (ncard_le_ncard hst ht)]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Set.Card
{ "line": 1090, "column": 2 }
{ "line": 1090, "column": 76 }
{ "line": 1092, "column": 0 }
[ { "pp": "α : Type u_1\ns t : Set α\nR : Type u_3\ninst✝ : AddGroupWithOne R\nhst : s ⊆ t\nht : t.Finite\n⊢ ↑(t \\ s).ncard = ↑t.ncard - ↑s.ncard", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Eq.mpr", "AddGroupWithOne.toAddGroup", "congrArg", "Nat.cast_sub", ...
[]
rw [ncard_sdiff hst (ht.subset hst), Nat.cast_sub (ncard_le_ncard hst ht)]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Set.Card
{ "line": 1090, "column": 2 }
{ "line": 1090, "column": 76 }
{ "line": 1092, "column": 0 }
[ { "pp": "α : Type u_1\ns t : Set α\nR : Type u_3\ninst✝ : AddGroupWithOne R\nhst : s ⊆ t\nht : t.Finite\n⊢ ↑(t \\ s).ncard = ↑t.ncard - ↑s.ncard", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Eq.mpr", "AddGroupWithOne.toAddGroup", "congrArg", "Nat.cast_sub", ...
[]
rw [ncard_sdiff hst (ht.subset hst), Nat.cast_sub (ncard_le_ncard hst ht)]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Set.Card
{ "line": 1097, "column": 4 }
{ "line": 1097, "column": 43 }
{ "line": 1098, "column": 2 }
[ { "pp": "case inl\nα : Type u_1\ns t : Set α\nht : t.Finite\nhs : s.Finite\n⊢ s.encard ≤ (s \\ t).encard + t.encard", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "Set.encard_le_encard_sdiff_add_encard" ], "usedFVars": [ "α", "s", "t" ], "usedGoals":...
[]
apply encard_le_encard_sdiff_add_encard
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.Data.Set.Card
{ "line": 1222, "column": 2 }
{ "line": 1222, "column": 69 }
{ "line": 1224, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\nn : ℕ\nhns : n ≤ s.ncard\n⊢ ∃ t ⊆ s, t.ncard = n", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Nat.instMulZeroClass", "LinearOrderedCommMonoidWithZero.toIsBotZeroClass", "congrArg", "Set.exists_subsuperset_card_eq", "zero_l...
[]
simpa using exists_subsuperset_card_eq s.empty_subset (by simp) hns
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Data.Set.Card
{ "line": 1222, "column": 2 }
{ "line": 1222, "column": 69 }
{ "line": 1224, "column": 0 }
[ { "pp": "α : Type u_1\ns : Set α\nn : ℕ\nhns : n ≤ s.ncard\n⊢ ∃ t ⊆ s, t.ncard = n", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Nat.instMulZeroClass", "LinearOrderedCommMonoidWithZero.toIsBotZeroClass", "congrArg", "Set.exists_subsuperset_card_eq", "zero_l...
[]
simpa using exists_subsuperset_card_eq s.empty_subset (by simp) hns
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented