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.GroupWithZero.Units.Basic | {
"line": 217,
"column": 59
} | {
"line": 219,
"column": 5
} | {
"line": 221,
"column": 0
} | [
{
"pp": "G₀ : Type u_3\ninst✝ : GroupWithZero G₀\nh : 1 ≠ 0\n⊢ mk0 1 h = 1",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Units.val",
"GroupWithZero.toMonoidWithZero",
"GroupWithZero.toDivisionMonoid",
"InvOneClass.toOne",
"DivInvOneMonoid.toInvOneClass",
... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Int.Cast.Lemmas | {
"line": 59,
"column": 28
} | {
"line": 59,
"column": 44
} | {
"line": 59,
"column": 44
} | [
{
"pp": "case ofNat\nα : Type u_2\ninst✝¹ : AddGroupWithOne α\ninst✝ : CharZero α\na✝ : ℕ\nh : ↑↑a✝ = 0\n⊢ ofNat a✝ = 0",
"ppTerm": "?ofNat",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"Int.cast",
"Int.cast_natCast",
"AddGroupWithOne.toAddGroup",
... | [
"case ofNat\nα : Type u_2\ninst✝¹ : AddGroupWithOne α\ninst✝ : CharZero α\na✝ : ℕ\nh : ↑a✝ = 0\n⊢ ofNat a✝ = 0"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Int.Cast.Lemmas | {
"line": 94,
"column": 21
} | {
"line": 94,
"column": 49
} | {
"line": 95,
"column": 2
} | [
{
"pp": "α : Type u_2\ninst✝ : NonAssocRing α\nn : ℕ\nx : α\n⊢ Commute (↑↑n) x",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"congrArg",
"AddGroupWithOne.toAddMonoidWithOne",
"Commute",
"id",
"NonUni... | [] | simpa using n.cast_commute x | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Data.Int.Cast.Lemmas | {
"line": 94,
"column": 21
} | {
"line": 94,
"column": 49
} | {
"line": 95,
"column": 2
} | [
{
"pp": "α : Type u_2\ninst✝ : NonAssocRing α\nn : ℕ\nx : α\n⊢ Commute (↑↑n) x",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"congrArg",
"AddGroupWithOne.toAddMonoidWithOne",
"Commute",
"id",
"NonUni... | [] | simpa using n.cast_commute x | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Int.Cast.Lemmas | {
"line": 94,
"column": 21
} | {
"line": 94,
"column": 49
} | {
"line": 95,
"column": 2
} | [
{
"pp": "α : Type u_2\ninst✝ : NonAssocRing α\nn : ℕ\nx : α\n⊢ Commute (↑↑n) x",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"congrArg",
"AddGroupWithOne.toAddMonoidWithOne",
"Commute",
"id",
"NonUni... | [] | simpa using n.cast_commute x | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Int.Cast.Lemmas | {
"line": 104,
"column": 51
} | {
"line": 104,
"column": 67
} | {
"line": 104,
"column": 67
} | [
{
"pp": "α : Type u_2\ninst✝ : NonAssocRing α\na : α\nn : ℕ\n⊢ ↑n * a = ↑↑n * a",
"ppTerm": "?m.39",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"NonAssocSemiring.toAddCommMonoidWithOne",
"Int.cast_natCast",
"HMul.hMul",
"congrArg",
"AddGroupW... | [
"α : Type u_2\ninst✝ : NonAssocRing α\na : α\nn : ℕ\n⊢ ↑n * a = ↑n * a"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Ring.InjSurj | {
"line": 101,
"column": 59
} | {
"line": 101,
"column": 75
} | {
"line": 101,
"column": 75
} | [
{
"pp": "R : Type u_1\nS✝ : Type u_2\nf✝ : S✝ → R\nhf✝ : Injective f✝\ninst✝²⁰ : Add S✝\ninst✝¹⁹ : Mul S✝\ninst✝¹⁸ : Zero S✝\ninst✝¹⁷ : One S✝\ninst✝¹⁶ : Neg S✝\ninst✝¹⁵ : Sub S✝\ninst✝¹⁴ : SMul ℕ S✝\ninst✝¹³ : SMul ℤ S✝\ninst✝¹² : Pow S✝ ℕ\ninst✝¹¹ : NatCast S✝\ninst✝¹⁰ : IntCast S✝\nS : Type ?u.36\ninst✝⁹ : Z... | [
"R : Type u_1\nS✝ : Type u_2\nf✝ : S✝ → R\nhf✝ : Injective f✝\ninst✝²⁰ : Add S✝\ninst✝¹⁹ : Mul S✝\ninst✝¹⁸ : Zero S✝\ninst✝¹⁷ : One S✝\ninst✝¹⁶ : Neg S✝\ninst✝¹⁵ : Sub S✝\ninst✝¹⁴ : SMul ℕ S✝\ninst✝¹³ : SMul ℤ S✝\ninst✝¹² : Pow S✝ ℕ\ninst✝¹¹ : NatCast S✝\ninst✝¹⁰ : IntCast S✝\nS : Type ?u.36\ninst✝⁹ : Zero S\ninst✝... | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Group.Action.Units | {
"line": 96,
"column": 25
} | {
"line": 98,
"column": 5
} | {
"line": 100,
"column": 0
} | [
{
"pp": "M : Type u_6\ninst✝ : CommMonoid M\nu₁ u₂ : Mˣ\n⊢ u₁ • u₂ = u₁ * u₂",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Units.val",
"instHSMul",
"instSMulOfMul",
"HMul.hMul",
"Units",
"Units.ext",
"CommMonoid.toMonoid",
"Eq.refl",
... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Regular.SMul | {
"line": 97,
"column": 26
} | {
"line": 97,
"column": 44
} | {
"line": 97,
"column": 44
} | [
{
"pp": "M : Type u_3\ninst✝ : SubtractionMonoid M\nn : ℤ\n⊢ (Function.Injective fun x ↦ n.natAbs • x) ↔ Function.Injective fun x ↦ n • x",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"instHSMul",
"AddMonoid.toNSMul",
"id",
"Int",
"SubtractionMonoid.toSubNegM... | [
"M : Type u_3\ninst✝ : SubtractionMonoid M\nn : ℤ\n⊢ (∀ ⦃a₁ a₂ : M⦄, n.natAbs • a₁ = n.natAbs • a₂ → a₁ = a₂) ↔ ∀ ⦃a₁ a₂ : M⦄, n • a₁ = n • a₂ → a₁ = a₂"
] | Function.Injective | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.Group.Pi.Lemmas | {
"line": 191,
"column": 2
} | {
"line": 192,
"column": 29
} | {
"line": 194,
"column": 0
} | [
{
"pp": "I : Type u\nf : I → Type v\ninst✝¹ : DecidableEq I\ninst✝ : (i : I) → MulOneClass (f i)\n⊢ Pairwise fun i j ↦ ∀ (x : f i) (y : f j), Commute (mulSingle i x) (mulSingle j y)",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"MulOne.toOne",
"False",
"HMul.hMul",
... | [] | intro i j hij x y; ext k
by_cases i = k <;> simp_all | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Group.Pi.Lemmas | {
"line": 191,
"column": 2
} | {
"line": 192,
"column": 29
} | {
"line": 194,
"column": 0
} | [
{
"pp": "I : Type u\nf : I → Type v\ninst✝¹ : DecidableEq I\ninst✝ : (i : I) → MulOneClass (f i)\n⊢ Pairwise fun i j ↦ ∀ (x : f i) (y : f j), Commute (mulSingle i x) (mulSingle j y)",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"MulOne.toOne",
"False",
"HMul.hMul",
... | [] | intro i j hij x y; ext k
by_cases i = k <;> simp_all | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Ring.Opposite | {
"line": 74,
"column": 63
} | {
"line": 74,
"column": 79
} | {
"line": 74,
"column": 79
} | [
{
"pp": "R : Type u_1\ninst✝ : AddGroupWithOne R\nn : ℕ\n⊢ op ↑↑n = op ↑n",
"ppTerm": "?m.37",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"congrArg",
"MulOpposite",
"AddGroupWithOne.toAddMonoidWithOne",
"id",
"AddMon... | [
"R : Type u_1\ninst✝ : AddGroupWithOne R\nn : ℕ\n⊢ op ↑n = op ↑n"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Group.Defs | {
"line": 120,
"column": 45
} | {
"line": 120,
"column": 82
} | {
"line": 122,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝² : CommGroup α\ninst✝¹ : LinearOrder α\ninst✝ : IsOrderedMonoid α\na : α\n⊢ a < a⁻¹ ↔ a < 1",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Preorder.toLT",
"InvOneClass.toOne",
"Mathlib.Tactic.Contrapose.contrapose_iff₁",
... | [] | by contrapose!; exact inv_le_self_iff | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Order.Monoid.Defs | {
"line": 29,
"column": 33
} | {
"line": 29,
"column": 62
} | {
"line": 31,
"column": 0
} | [
{
"pp": "α✝ : Type u_1\nα : Type u_2\ninst✝¹ : AddCommMonoid α\ninst✝ : Preorder α\nadd_le_add_left : ∀ (a b : α), a ≤ b → ∀ (c : α), a + c ≤ b + c\na b : α\nh : a ≤ b\nc : α\n⊢ a + c ≤ b + c",
"ppTerm": "?m.40",
"assigned": true,
"usedConstants": [],
"usedFVars": [
"add_le_add_left",
... | [] | exact add_le_add_left a b h c | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Order.Monoid.Unbundled.Basic | {
"line": 261,
"column": 4
} | {
"line": 261,
"column": 52
} | {
"line": 262,
"column": 2
} | [
{
"pp": "case inl\nα : Type u_1\na b c : α\ninst✝² : Mul α\ninst✝¹ : PartialOrder α\ninst✝ : MulLeftStrictMono α\nh' : ¬c = b\nh : b ≤ c\n⊢ ¬a * c = a * b",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Preorder.toLT",
"HMul.hMul",
"PartialOrder.toPreorder",
"mul_lt... | [] | exact mul_lt_mul_right (h.lt_of_ne' h') a |>.ne' | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Order.Monoid.Unbundled.Basic | {
"line": 261,
"column": 4
} | {
"line": 261,
"column": 52
} | {
"line": 262,
"column": 2
} | [
{
"pp": "case inl\nα : Type u_1\na b c : α\ninst✝² : Mul α\ninst✝¹ : PartialOrder α\ninst✝ : MulLeftStrictMono α\nh' : ¬c = b\nh : b ≤ c\n⊢ ¬a * c = a * b",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Preorder.toLT",
"HMul.hMul",
"PartialOrder.toPreorder",
"mul_lt... | [] | exact mul_lt_mul_right (h.lt_of_ne' h') a |>.ne' | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Monoid.Unbundled.Basic | {
"line": 261,
"column": 4
} | {
"line": 261,
"column": 52
} | {
"line": 262,
"column": 2
} | [
{
"pp": "case inl\nα : Type u_1\na b c : α\ninst✝² : Mul α\ninst✝¹ : PartialOrder α\ninst✝ : MulLeftStrictMono α\nh' : ¬c = b\nh : b ≤ c\n⊢ ¬a * c = a * b",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Preorder.toLT",
"HMul.hMul",
"PartialOrder.toPreorder",
"mul_lt... | [] | exact mul_lt_mul_right (h.lt_of_ne' h') a |>.ne' | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.Group.Unbundled.Basic | {
"line": 360,
"column": 6
} | {
"line": 360,
"column": 30
} | {
"line": 360,
"column": 31
} | [
{
"pp": "α : Type u\ninst✝² : CommGroup α\ninst✝¹ : LE α\ninst✝ : MulLeftMono α\na b c : α\n⊢ a * b⁻¹ ≤ c ↔ a ≤ b * c",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"DivisionCommMonoid.toDivisionMonoid",
"DivInvOneMonoid.toInvOneClass",
... | [
"α : Type u\ninst✝² : CommGroup α\ninst✝¹ : LE α\ninst✝ : MulLeftMono α\na b c : α\n⊢ a * b⁻¹ ≤ c ↔ b⁻¹ * a ≤ c"
] | ← inv_mul_le_iff_le_mul, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Order.RelIso.Basic | {
"line": 629,
"column": 78
} | {
"line": 629,
"column": 98
} | {
"line": 629,
"column": 98
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nδ : Type u_4\nr : α → α → Prop\ns : β → β → Prop\nt : γ → γ → Prop\nu : δ → δ → Prop\nf : r ≃r s\na b : β\n⊢ s a (f (f.symm b)) ↔ s a b",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Equiv.apply_symm_apply",
"... | [
"α : Type u_1\nβ : Type u_2\nγ : Type u_3\nδ : Type u_4\nr : α → α → Prop\ns : β → β → Prop\nt : γ → γ → Prop\nu : δ → δ → Prop\nf : r ≃r s\na b : β\n⊢ s a b ↔ s a b"
] | f.1.apply_symm_apply | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Ring.Unbundled.Basic | {
"line": 740,
"column": 2
} | {
"line": 740,
"column": 60
} | {
"line": 740,
"column": 60
} | [
{
"pp": "R : Type u\ninst✝⁴ : Ring R\ninst✝³ : LinearOrder R\na b : R\ninst✝² : PosMulStrictMono R\ninst✝¹ : MulPosStrictMono R\ninst✝ : AddLeftMono R\n⊢ 0 ≤ a * b ↔ (a < 0 → b ≤ 0) ∧ (b < 0 → a ≤ 0)",
"ppTerm": "?m.33",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Preorder.toLT",
... | [
"R : Type u\ninst✝⁴ : Ring R\ninst✝³ : LinearOrder R\na b : R\ninst✝² : PosMulStrictMono R\ninst✝¹ : MulPosStrictMono R\ninst✝ : AddLeftMono R\n⊢ (0 < -a → 0 ≤ -b) ∧ (0 < -b → 0 ≤ -a) ↔ (a < 0 → b ≤ 0) ∧ (b < 0 → a ≤ 0)"
] | rw [← neg_mul_neg, mul_nonneg_iff_pos_imp_nonneg (R := R)] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Order.Hom.Basic | {
"line": 357,
"column": 48
} | {
"line": 359,
"column": 5
} | {
"line": 361,
"column": 0
} | [
{
"pp": "α : Type u_2\nβ : Type u_3\ninst✝¹ : Preorder α\ninst✝ : Preorder β\nf : α →o β\n⊢ f.comp id = f",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"OrderHom.id",
"OrderHom.comp",
"funext",
"OrderHom.ext",
"OrderHom.instFunLike",
"Eq.refl",
"... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Order.Hom.Basic | {
"line": 362,
"column": 48
} | {
"line": 364,
"column": 5
} | {
"line": 366,
"column": 0
} | [
{
"pp": "α : Type u_2\nβ : Type u_3\ninst✝¹ : Preorder α\ninst✝ : Preorder β\nf : α →o β\n⊢ id.comp f = f",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"OrderHom.id",
"OrderHom.comp",
"funext",
"OrderHom.ext",
"OrderHom.instFunLike",
"Eq.refl",
"... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Order.Hom.Basic | {
"line": 604,
"column": 52
} | {
"line": 606,
"column": 5
} | {
"line": 608,
"column": 0
} | [
{
"pp": "α : Type u_2\nβ : Type u_3\ninst✝¹ : LE α\ninst✝ : LE β\nf : α ↪o β\n⊢ (id α).comp f = f",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"OrderEmbedding.comp",
"OrderEmbedding.id",
"RelEmbedding.ext",
"LE.le",
"RelEmbedding",
"Eq.refl",
"D... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Order.Hom.Basic | {
"line": 609,
"column": 52
} | {
"line": 611,
"column": 5
} | {
"line": 613,
"column": 0
} | [
{
"pp": "α : Type u_2\nβ : Type u_3\ninst✝¹ : LE α\ninst✝ : LE β\nf : α ↪o β\n⊢ f.comp (id β) = f",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"OrderEmbedding.comp",
"OrderEmbedding.id",
"RelEmbedding.ext",
"LE.le",
"RelEmbedding",
"Eq.refl",
"D... | [] | by
ext
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Order.Archimedean.Defs | {
"line": 96,
"column": 14
} | {
"line": 96,
"column": 30
} | {
"line": 96,
"column": 30
} | [
{
"pp": "R : Type u_1\ninst✝³ : Ring R\ninst✝² : PartialOrder R\ninst✝¹ : IsStrictOrderedRing R\ninst✝ : Archimedean R\nx : R\nn : ℕ\nh : x < ↑n\n⊢ x < ↑↑n",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"Preorder.toLT",
... | [
"R : Type u_1\ninst✝³ : Ring R\ninst✝² : PartialOrder R\ninst✝¹ : IsStrictOrderedRing R\ninst✝ : Archimedean R\nx : R\nn : ℕ\nh : x < ↑n\n⊢ x < ↑n"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Order.Hom.Basic | {
"line": 1413,
"column": 6
} | {
"line": 1413,
"column": 28
} | {
"line": 1413,
"column": 29
} | [
{
"pp": "α : Type u_2\nβ : Type u_3\ninst✝³ : SemilatticeSup α\ninst✝² : OrderTop α\ninst✝¹ : SemilatticeSup β\ninst✝ : OrderTop β\na b : α\nf : α ≃o β\nha : Codisjoint a b\n⊢ Codisjoint (f a) (f b)",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Codisjoint",
"... | [
"α : Type u_2\nβ : Type u_3\ninst✝³ : SemilatticeSup α\ninst✝² : OrderTop α\ninst✝¹ : SemilatticeSup β\ninst✝ : OrderTop β\na b : α\nf : α ≃o β\nha : Codisjoint a b\n⊢ ⊤ ≤ f a ⊔ f b"
] | codisjoint_iff_le_sup, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 107,
"column": 59
} | {
"line": 107,
"column": 99
} | {
"line": 109,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithTop α\n⊢ x + y = ⊤ ↔ x = ⊤ ∨ y = ⊤",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"congrArg",
"WithTop.coe_ne_top._simp_1",
"WithTop.add_top",
"WithTop.some",
"iff_self",
"instHAdd",
"If... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 107,
"column": 59
} | {
"line": 107,
"column": 99
} | {
"line": 109,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithTop α\n⊢ x + y = ⊤ ↔ x = ⊤ ∨ y = ⊤",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"congrArg",
"WithTop.coe_ne_top._simp_1",
"WithTop.add_top",
"WithTop.some",
"iff_self",
"instHAdd",
"If... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 107,
"column": 59
} | {
"line": 107,
"column": 99
} | {
"line": 109,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithTop α\n⊢ x + y = ⊤ ↔ x = ⊤ ∨ y = ⊤",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"congrArg",
"WithTop.coe_ne_top._simp_1",
"WithTop.add_top",
"WithTop.some",
"iff_self",
"instHAdd",
"If... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 109,
"column": 51
} | {
"line": 109,
"column": 91
} | {
"line": 111,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithTop α\n⊢ x + y ≠ ⊤ ↔ x ≠ ⊤ ∧ y ≠ ⊤",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"and_true",
"congrArg",
"and_self",
"WithTop.coe_ne_top._simp_1",
"not_true_eq_false",
"Ne",
"WithTop.ad... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 109,
"column": 51
} | {
"line": 109,
"column": 91
} | {
"line": 111,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithTop α\n⊢ x + y ≠ ⊤ ↔ x ≠ ⊤ ∧ y ≠ ⊤",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"and_true",
"congrArg",
"and_self",
"WithTop.coe_ne_top._simp_1",
"not_true_eq_false",
"Ne",
"WithTop.ad... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 109,
"column": 51
} | {
"line": 109,
"column": 91
} | {
"line": 111,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithTop α\n⊢ x + y ≠ ⊤ ↔ x ≠ ⊤ ∧ y ≠ ⊤",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"and_true",
"congrArg",
"and_self",
"WithTop.coe_ne_top._simp_1",
"not_true_eq_false",
"Ne",
"WithTop.ad... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 175,
"column": 24
} | {
"line": 175,
"column": 64
} | {
"line": 175,
"column": 64
} | [
{
"pp": "α : Type u\ninst✝² : Add α\nx y : WithTop α\ninst✝¹ : LE α\ninst✝ : AddRightReflectLE α\nz : α\n⊢ x + ↑z ≤ y + ↑z → x ≤ y",
"ppTerm": "?m.41",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"False",
"WithTop.coe_le_coe._simp_1",
"le_top._simp_2",
"WithTop.coe_n... | [
"case coe.coe\nα : Type u\ninst✝² : Add α\ninst✝¹ : LE α\ninst✝ : AddRightReflectLE α\nz a✝¹ a✝ : α\n⊢ a✝¹ + z ≤ a✝ + z → a✝¹ ≤ a✝"
] | cases x <;> cases y <;> simp [← coe_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 183,
"column": 24
} | {
"line": 183,
"column": 64
} | {
"line": 183,
"column": 64
} | [
{
"pp": "α : Type u\ninst✝² : Add α\nx y : WithTop α\ninst✝¹ : LT α\ninst✝ : AddRightStrictMono α\nz : α\n⊢ x < y → x + ↑z < y + ↑z",
"ppTerm": "?m.41",
"assigned": true,
"usedConstants": [
"WithTop.not_top_lt._simp_1",
"Eq.mpr",
"False",
"id",
"WithTop.coe_lt_top._simp... | [
"case coe.coe\nα : Type u\ninst✝² : Add α\ninst✝¹ : LT α\ninst✝ : AddRightStrictMono α\nz a✝¹ a✝ : α\n⊢ a✝¹ < a✝ → a✝¹ + z < a✝ + z"
] | cases x <;> cases y <;> simp [← coe_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 226,
"column": 8
} | {
"line": 226,
"column": 91
} | {
"line": 227,
"column": 2
} | [
{
"pp": "α : Type u\ninst✝³ : Add α\nx : WithTop α\ninst✝² : Nonempty α\ninst✝¹ : Preorder α\ninst✝ : AddLeftReflectLE α\n⊢ AddLECancellable x → x ≠ ⊤",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"False",
"Preorder.toLT",
"WithTop.coe_lt_top",
"instReflLe",
... | [] | by rintro h rfl; exact (coe_lt_top <| Classical.arbitrary _).not_ge <| h <| by simp | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 472,
"column": 59
} | {
"line": 472,
"column": 99
} | {
"line": 474,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithBot α\n⊢ x + y = ⊥ ↔ x = ⊥ ∨ y = ⊥",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"WithBot.some",
"WithBot",
"congrArg",
"WithBot.coe_ne_bot._simp_3",
"WithBot.add_bot",
"Bot.bot",
"iff_... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 472,
"column": 59
} | {
"line": 472,
"column": 99
} | {
"line": 474,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithBot α\n⊢ x + y = ⊥ ↔ x = ⊥ ∨ y = ⊥",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"WithBot.some",
"WithBot",
"congrArg",
"WithBot.coe_ne_bot._simp_3",
"WithBot.add_bot",
"Bot.bot",
"iff_... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 472,
"column": 59
} | {
"line": 472,
"column": 99
} | {
"line": 474,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithBot α\n⊢ x + y = ⊥ ↔ x = ⊥ ∨ y = ⊥",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"WithBot.some",
"WithBot",
"congrArg",
"WithBot.coe_ne_bot._simp_3",
"WithBot.add_bot",
"Bot.bot",
"iff_... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 474,
"column": 51
} | {
"line": 474,
"column": 91
} | {
"line": 476,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithBot α\n⊢ x + y ≠ ⊥ ↔ x ≠ ⊥ ∧ y ≠ ⊥",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"WithBot.some",
"WithBot",
"and_true",
"congrArg",
"and_self",
"WithBot.coe_ne_bot._simp_3",
"WithBot.ad... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 474,
"column": 51
} | {
"line": 474,
"column": 91
} | {
"line": 476,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithBot α\n⊢ x + y ≠ ⊥ ↔ x ≠ ⊥ ∧ y ≠ ⊥",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"WithBot.some",
"WithBot",
"and_true",
"congrArg",
"and_self",
"WithBot.coe_ne_bot._simp_3",
"WithBot.ad... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 474,
"column": 51
} | {
"line": 474,
"column": 91
} | {
"line": 476,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝ : Add α\nx y : WithBot α\n⊢ x + y ≠ ⊥ ↔ x ≠ ⊥ ∧ y ≠ ⊥",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"False",
"WithBot.some",
"WithBot",
"and_true",
"congrArg",
"and_self",
"WithBot.coe_ne_bot._simp_3",
"WithBot.ad... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 507,
"column": 24
} | {
"line": 507,
"column": 64
} | {
"line": 509,
"column": 0
} | [
{
"pp": "α : Type u\ninst✝¹ : Add α\nx y : WithBot α\ninst✝ : IsRightCancelAdd α\nz : α\n⊢ x + ↑z = y + ↑z ↔ x = y",
"ppTerm": "?m.38",
"assigned": true,
"usedConstants": [
"False",
"WithBot.some",
"WithBot",
"congrArg",
"WithBot.coe_ne_bot._simp_3",
"Bot.bot",
... | [] | cases x <;> cases y <;> simp [← coe_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.Sub.Basic | {
"line": 173,
"column": 28
} | {
"line": 173,
"column": 68
} | {
"line": 173,
"column": 68
} | [
{
"pp": "α : Type u_1\ninst✝⁵ : AddCommMonoid α\ninst✝⁴ : LinearOrder α\ninst✝³ : CanonicallyOrderedAdd α\ninst✝² : Sub α\ninst✝¹ : OrderedSub α\ninst✝ : AddLeftReflectLE α\na b : α\n⊢ a - (a - min a b) = min a b",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMon... | [
"α : Type u_1\ninst✝⁵ : AddCommMonoid α\ninst✝⁴ : LinearOrder α\ninst✝³ : CanonicallyOrderedAdd α\ninst✝² : Sub α\ninst✝¹ : OrderedSub α\ninst✝ : AddLeftReflectLE α\na b : α\n⊢ min a b = min a b"
] | tsub_tsub_cancel_of_le (min_le_left a _) | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Sub.Basic | {
"line": 182,
"column": 4
} | {
"line": 182,
"column": 55
} | {
"line": 183,
"column": 2
} | [
{
"pp": "case inl\nα : Type u_1\ninst✝⁴ : AddCommMonoid α\ninst✝³ : LinearOrder α\ninst✝² : CanonicallyOrderedAdd α\ninst✝¹ : Sub α\ninst✝ : OrderedSub α\na b : α\nh : a ≤ b\n⊢ a - b + b = max a b",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Lattice.toSemilatticeSu... | [] | rw [max_eq_right h, tsub_eq_zero_of_le h, zero_add] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Order.Sub.Basic | {
"line": 182,
"column": 4
} | {
"line": 182,
"column": 55
} | {
"line": 183,
"column": 2
} | [
{
"pp": "case inl\nα : Type u_1\ninst✝⁴ : AddCommMonoid α\ninst✝³ : LinearOrder α\ninst✝² : CanonicallyOrderedAdd α\ninst✝¹ : Sub α\ninst✝ : OrderedSub α\na b : α\nh : a ≤ b\n⊢ a - b + b = max a b",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Lattice.toSemilatticeSu... | [] | rw [max_eq_right h, tsub_eq_zero_of_le h, zero_add] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Sub.Basic | {
"line": 182,
"column": 4
} | {
"line": 182,
"column": 55
} | {
"line": 183,
"column": 2
} | [
{
"pp": "case inl\nα : Type u_1\ninst✝⁴ : AddCommMonoid α\ninst✝³ : LinearOrder α\ninst✝² : CanonicallyOrderedAdd α\ninst✝¹ : Sub α\ninst✝ : OrderedSub α\na b : α\nh : a ≤ b\n⊢ a - b + b = max a b",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Lattice.toSemilatticeSu... | [] | rw [max_eq_right h, tsub_eq_zero_of_le h, zero_add] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 540,
"column": 24
} | {
"line": 540,
"column": 64
} | {
"line": 540,
"column": 64
} | [
{
"pp": "α : Type u\ninst✝² : Add α\nx y : WithBot α\ninst✝¹ : LE α\ninst✝ : AddRightReflectLE α\nz : α\n⊢ x + ↑z ≤ y + ↑z → x ≤ y",
"ppTerm": "?m.41",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"False",
"WithBot.some",
"WithBot",
"WithBot.coe_le_coe._simp_2",
... | [
"case coe.coe\nα : Type u\ninst✝² : Add α\ninst✝¹ : LE α\ninst✝ : AddRightReflectLE α\nz a✝¹ a✝ : α\n⊢ a✝¹ + z ≤ a✝ + z → a✝¹ ≤ a✝"
] | cases x <;> cases y <;> simp [← coe_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.Monoid.Unbundled.WithTop | {
"line": 548,
"column": 24
} | {
"line": 548,
"column": 64
} | {
"line": 548,
"column": 64
} | [
{
"pp": "α : Type u\ninst✝² : Add α\nx y : WithBot α\ninst✝¹ : LT α\ninst✝ : AddRightStrictMono α\nz : α\n⊢ x < y → x + ↑z < y + ↑z",
"ppTerm": "?m.41",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"False",
"WithBot.some",
"WithBot",
"WithBot.instLT",
"id",
... | [
"case coe.coe\nα : Type u\ninst✝² : Add α\ninst✝¹ : LT α\ninst✝ : AddRightStrictMono α\nz a✝¹ a✝ : α\n⊢ a✝¹ < a✝ → a✝¹ + z < a✝ + z"
] | cases x <;> cases y <;> simp [← coe_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Order.GroupWithZero.Canonical | {
"line": 300,
"column": 6
} | {
"line": 300,
"column": 20
} | {
"line": 300,
"column": 21
} | [
{
"pp": "case coe.coe\nα : Type u_1\nβ : Type u_2\ninst✝³ : Preorder α\ninst✝² : Preorder β\nx y : WithZero α\na b : α\ninst✝¹ : Mul α\ninst✝ : MulLeftMono α\na✝¹ a✝ c : α\nhbc' : a✝ ≤ c\nhbc : ↑a✝ ≤ ↑c\n⊢ ↑a✝¹ * ↑a✝ ≤ ↑a✝¹ * ↑c",
"ppTerm": "?coe.coe",
"assigned": true,
"usedConstants": [
"Eq.... | [
"case coe.coe\nα : Type u_1\nβ : Type u_2\ninst✝³ : Preorder α\ninst✝² : Preorder β\nx y : WithZero α\na b : α\ninst✝¹ : Mul α\ninst✝ : MulLeftMono α\na✝¹ a✝ c : α\nhbc' : a✝ ≤ c\nhbc : ↑a✝ ≤ ↑c\n⊢ ↑a✝¹ * ↑a✝ ≤ ↑(a✝¹ * c)"
] | ← coe_mul _ c, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.GroupWithZero.Canonical | {
"line": 332,
"column": 30
} | {
"line": 332,
"column": 65
} | {
"line": 334,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ninst✝³ : Preorder α\ninst✝² : Preorder β\ninst✝¹ : MulOneClass α\ninst✝ : MulOneClass β\nf : α →* β\nhf : StrictMono ⇑f\n⊢ StrictMono ⇑(map' f)",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"not_lt_zero._simp_1",
"Eq.mpr",
"False",
... | [] | simpa [StrictMono, WithZero.forall] | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Algebra.Order.GroupWithZero.Canonical | {
"line": 332,
"column": 30
} | {
"line": 332,
"column": 65
} | {
"line": 334,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ninst✝³ : Preorder α\ninst✝² : Preorder β\ninst✝¹ : MulOneClass α\ninst✝ : MulOneClass β\nf : α →* β\nhf : StrictMono ⇑f\n⊢ StrictMono ⇑(map' f)",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"not_lt_zero._simp_1",
"Eq.mpr",
"False",
... | [] | simpa [StrictMono, WithZero.forall] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.GroupWithZero.Canonical | {
"line": 332,
"column": 30
} | {
"line": 332,
"column": 65
} | {
"line": 334,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ninst✝³ : Preorder α\ninst✝² : Preorder β\ninst✝¹ : MulOneClass α\ninst✝ : MulOneClass β\nf : α →* β\nhf : StrictMono ⇑f\n⊢ StrictMono ⇑(map' f)",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"not_lt_zero._simp_1",
"Eq.mpr",
"False",
... | [] | simpa [StrictMono, WithZero.forall] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.GroupWithZero.Canonical | {
"line": 347,
"column": 36
} | {
"line": 347,
"column": 47
} | {
"line": 347,
"column": 48
} | [
{
"pp": "α : Type u_1\ninst✝ : Preorder α\na : WithZero (Multiplicative α)\nb : α\nha : a ≠ 0\nh : unzero ha < ofAdd b\n⊢ toAdd (unzero ha) < b",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"Preorder.toLT",
"Equiv.instEquivLike",
"congrArg",
"Eq.mp",
"Equiv"... | [
"α : Type u_1\ninst✝ : Preorder α\na : WithZero (Multiplicative α)\nb : α\nha : a ≠ 0\nh : toAdd (unzero ha) < toAdd (ofAdd b)\n⊢ toAdd (unzero ha) < b"
] | ← toAdd_lt, | Lean.Elab.Tactic.evalRwaAt | null |
Mathlib.Order.Interval.Set.Basic | {
"line": 419,
"column": 14
} | {
"line": 419,
"column": 63
} | {
"line": 421,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝ : Preorder α\na b : α\nh : ¬a ≤ b\n⊢ Icc a b = Ioc a b",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.Ioc",
"Preorder.toLT",
"congrArg",
"Set.Icc_eq_empty",
"le_of_lt",
"Preorder.toLE",
"mt",
... | [] | rw [Icc_eq_empty h, Ioc_eq_empty (mt le_of_lt h)] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Order.Interval.Set.Basic | {
"line": 419,
"column": 14
} | {
"line": 419,
"column": 63
} | {
"line": 421,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝ : Preorder α\na b : α\nh : ¬a ≤ b\n⊢ Icc a b = Ioc a b",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.Ioc",
"Preorder.toLT",
"congrArg",
"Set.Icc_eq_empty",
"le_of_lt",
"Preorder.toLE",
"mt",
... | [] | rw [Icc_eq_empty h, Ioc_eq_empty (mt le_of_lt h)] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.Interval.Set.Basic | {
"line": 419,
"column": 14
} | {
"line": 419,
"column": 63
} | {
"line": 421,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝ : Preorder α\na b : α\nh : ¬a ≤ b\n⊢ Icc a b = Ioc a b",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.Ioc",
"Preorder.toLT",
"congrArg",
"Set.Icc_eq_empty",
"le_of_lt",
"Preorder.toLE",
"mt",
... | [] | rw [Icc_eq_empty h, Ioc_eq_empty (mt le_of_lt h)] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Order.Interval.Set.Basic | {
"line": 437,
"column": 14
} | {
"line": 437,
"column": 49
} | {
"line": 439,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝ : Preorder α\na b : α\nh : ¬a < b\n⊢ Ioo a b = Ioc a b",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.Ioc",
"congrArg",
"id",
"Set.Ioc_eq_empty",
"Set.instEmptyCollection",
"Eq.refl",
"EmptyCollect... | [] | rw [Ioo_eq_empty h, Ioc_eq_empty h] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Order.Interval.Set.Basic | {
"line": 437,
"column": 14
} | {
"line": 437,
"column": 49
} | {
"line": 439,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝ : Preorder α\na b : α\nh : ¬a < b\n⊢ Ioo a b = Ioc a b",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.Ioc",
"congrArg",
"id",
"Set.Ioc_eq_empty",
"Set.instEmptyCollection",
"Eq.refl",
"EmptyCollect... | [] | rw [Ioo_eq_empty h, Ioc_eq_empty h] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.Interval.Set.Basic | {
"line": 437,
"column": 14
} | {
"line": 437,
"column": 49
} | {
"line": 439,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝ : Preorder α\na b : α\nh : ¬a < b\n⊢ Ioo a b = Ioc a b",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.Ioc",
"congrArg",
"id",
"Set.Ioc_eq_empty",
"Set.instEmptyCollection",
"Eq.refl",
"EmptyCollect... | [] | rw [Ioo_eq_empty h, Ioc_eq_empty h] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Order.Hom.Set | {
"line": 194,
"column": 2
} | {
"line": 194,
"column": 39
} | {
"line": 196,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ninst✝² : LinearOrder α\ninst✝¹ : Preorder β\ninst✝ : Subsingleton (α ≃o α)\nf g : α → β\nhf : StrictMono f\nhg : StrictMono g\nh : range f = range g\nthis✝ : range ⇑(OrderEmbedding.ofStrictMono f hf) = range f\nthis : range ⇑(OrderEmbedding.ofStrictMono g hg) = range g\n⊢ f ... | [] | grind [OrderEmbedding.eq_of_range_eq] | Lean.Elab.Tactic.evalGrind | Lean.Parser.Tactic.grind |
Mathlib.Order.CompleteLattice.Basic | {
"line": 479,
"column": 37
} | {
"line": 482,
"column": 74
} | {
"line": 484,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝¹ : CompleteLattice α\nι : Type u_8\ninst✝ : Preorder ι\nf : ι → α\n⊢ ⨆ i, ⨆ j, ⨆ (_ : j ≤ i), f j = ⨆ i, f i",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"iSup₂_le",
"le_rfl",
"iSup",
"PartialOrder.toPreorder",
"Preorder.toLE",
... | [] | by
apply le_antisymm
· exact iSup_le fun _ ↦ iSup₂_le fun _ _ ↦ le_iSup _ _
· exact iSup_le fun j ↦ le_iSup_of_le j (le_iSup₂_of_le j le_rfl le_rfl) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Order.CompleteLattice.Basic | {
"line": 494,
"column": 95
} | {
"line": 497,
"column": 74
} | {
"line": 499,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝¹ : CompleteLattice α\nι : Type u_8\ninst✝ : Preorder ι\nf : ι → α\n⊢ ⨆ i, ⨆ j, ⨆ (_ : j ≥ i), f j = ⨆ i, f i",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
"iSup₂_le",
"le_rfl",
"iSup",
"PartialOrder.toPreorder",
"Preorder.toLE",
... | [] | by
apply le_antisymm
· exact iSup_le fun _ ↦ iSup₂_le fun _ _ ↦ le_iSup _ _
· exact iSup_le fun j ↦ le_iSup_of_le j (le_iSup₂_of_le j le_rfl le_rfl) | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Set.Lattice.Indexed | {
"line": 380,
"column": 93
} | {
"line": 381,
"column": 43
} | {
"line": 383,
"column": 0
} | [
{
"pp": "β : Type u_2\nι : Sort u_4\nx : β\nt : ι → Set β\n⊢ insert x (⋂ i, t i) = ⋂ i, insert x (t i)",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Set.instMax",
"congrArg",
"Set.iInter",
"_private.Mathlib.Data.Set.Lattice.Indexed.0.Set.insert_iI... | [] | by
simp_rw [← union_singleton, iInter_union] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Set.Pairwise.Basic | {
"line": 201,
"column": 76
} | {
"line": 201,
"column": 98
} | {
"line": 203,
"column": 0
} | [
{
"pp": "α : Type u_1\nr : α → α → Prop\na b : α\n⊢ {a, b}.Pairwise r ↔ a ≠ b → r a b ∧ r b a",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"congrArg",
"Membership.mem",
"Set.instSingletonSet",
"Insert.insert",
"Ne",
"Set.Pairwise",
"iff_self",
... | [] | simp [pairwise_insert] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Data.Set.Pairwise.Basic | {
"line": 201,
"column": 76
} | {
"line": 201,
"column": 98
} | {
"line": 203,
"column": 0
} | [
{
"pp": "α : Type u_1\nr : α → α → Prop\na b : α\n⊢ {a, b}.Pairwise r ↔ a ≠ b → r a b ∧ r b a",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"congrArg",
"Membership.mem",
"Set.instSingletonSet",
"Insert.insert",
"Ne",
"Set.Pairwise",
"iff_self",
... | [] | simp [pairwise_insert] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Set.Pairwise.Basic | {
"line": 201,
"column": 76
} | {
"line": 201,
"column": 98
} | {
"line": 203,
"column": 0
} | [
{
"pp": "α : Type u_1\nr : α → α → Prop\na b : α\n⊢ {a, b}.Pairwise r ↔ a ≠ b → r a b ∧ r b a",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"congrArg",
"Membership.mem",
"Set.instSingletonSet",
"Insert.insert",
"Ne",
"Set.Pairwise",
"iff_self",
... | [] | simp [pairwise_insert] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Order.LatticeIntervals | {
"line": 193,
"column": 47
} | {
"line": 194,
"column": 63
} | {
"line": 196,
"column": 0
} | [
{
"pp": "α : Type u_1\na b : α\ninst✝¹ : Lattice α\ninst✝ : Fact (a ≤ b)\nx y : ↑(Icc a b)\n⊢ IsCompl x y ↔ ↑x ⊓ ↑y = a ∧ ↑x ⊔ ↑y = b",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Codisjoint",
"Lattice.toSemilatticeSup",
"congrArg",
"Set.Icc.disjo... | [] | by
rw [_root_.isCompl_iff, Icc.disjoint_iff, Icc.codisjoint_iff] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Order.Interval.Set.UnorderedInterval | {
"line": 344,
"column": 34
} | {
"line": 344,
"column": 48
} | {
"line": 346,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝ : LinearOrder α\na : α\n⊢ uIoo a a = ∅",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"False",
"Preorder.toLT",
"Lattice.toSemilatticeSup",
"congrArg",
"PartialOrder.toPreorder",
"lt_self_iff_false._simp_1",
"min_self",... | [] | by simp [uIoo] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Order.Group.Lattice | {
"line": 125,
"column": 68
} | {
"line": 125,
"column": 92
} | {
"line": 126,
"column": 6
} | [
{
"pp": "α✝ : Type u_1\ninst✝⁴ : Lattice α✝\ninst✝³ : CommGroup α✝\nα : Type u_2\ninst✝² : Lattice α\ninst✝¹ : CommGroup α\ninst✝ : MulLeftMono α\nx y z : α\n⊢ (x ⊓ (y ⊓ z)) * ((x ⊔ y) ⊓ (x ⊔ z)) ≤ x * (y ⊓ z)",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Lattice.t... | [
"α✝ : Type u_1\ninst✝⁴ : Lattice α✝\ninst✝³ : CommGroup α✝\nα : Type u_2\ninst✝² : Lattice α\ninst✝¹ : CommGroup α\ninst✝ : MulLeftMono α\nx y z : α\n⊢ x⁻¹ * ((x ⊓ (y ⊓ z)) * ((x ⊔ y) ⊓ (x ⊔ z))) ≤ y ⊓ z"
] | ← inv_mul_le_iff_le_mul, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Group.Unbundled.Abs | {
"line": 108,
"column": 2
} | {
"line": 110,
"column": 20
} | {
"line": 112,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : Lattice α\ninst✝² : Group α\ninst✝¹ : MulLeftMono α\ninst✝ : MulRightMono α\na : α\n⊢ 1 ≤ |a|ₘ",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"DivInvMonoid.toInv",
"Lattice.toSemilatticeSup",
"inv_mul_... | [] | apply pow_two_semiclosed _
rw [mabs, pow_two, mul_sup, sup_mul, ← pow_two, inv_mul_cancel, sup_comm, ← sup_assoc]
apply le_sup_right | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Group.Unbundled.Abs | {
"line": 108,
"column": 2
} | {
"line": 110,
"column": 20
} | {
"line": 112,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : Lattice α\ninst✝² : Group α\ninst✝¹ : MulLeftMono α\ninst✝ : MulRightMono α\na : α\n⊢ 1 ≤ |a|ₘ",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"DivInvMonoid.toInv",
"Lattice.toSemilatticeSup",
"inv_mul_... | [] | apply pow_two_semiclosed _
rw [mabs, pow_two, mul_sup, sup_mul, ← pow_two, inv_mul_cancel, sup_comm, ← sup_assoc]
apply le_sup_right | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.NNRat.Defs | {
"line": 340,
"column": 2
} | {
"line": 340,
"column": 73
} | {
"line": 341,
"column": 0
} | [
{
"pp": "q : ℚ≥0\n⊢ 0 < q.num ↔ 0 < q",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"NNRat.coe_eq_zero._simp_1",
"Rat.instOfNat",
"Eq.mpr",
"Rat.num",
"Preorder.toLT",
"ne_iff_gt_iff_ge._simp_1",
"Rat.num_eq_zero._simp_1",
"congrArg",
... | [] | simpa [num, -nonpos_iff_eq_zero] using nonpos_iff_eq_zero _ |>.not.symm | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Data.NNRat.Defs | {
"line": 340,
"column": 2
} | {
"line": 340,
"column": 73
} | {
"line": 341,
"column": 0
} | [
{
"pp": "q : ℚ≥0\n⊢ 0 < q.num ↔ 0 < q",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"NNRat.coe_eq_zero._simp_1",
"Rat.instOfNat",
"Eq.mpr",
"Rat.num",
"Preorder.toLT",
"ne_iff_gt_iff_ge._simp_1",
"Rat.num_eq_zero._simp_1",
"congrArg",
... | [] | simpa [num, -nonpos_iff_eq_zero] using nonpos_iff_eq_zero _ |>.not.symm | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.NNRat.Defs | {
"line": 340,
"column": 2
} | {
"line": 340,
"column": 73
} | {
"line": 341,
"column": 0
} | [
{
"pp": "q : ℚ≥0\n⊢ 0 < q.num ↔ 0 < q",
"ppTerm": "?m.9",
"assigned": true,
"usedConstants": [
"NNRat.coe_eq_zero._simp_1",
"Rat.instOfNat",
"Eq.mpr",
"Rat.num",
"Preorder.toLT",
"ne_iff_gt_iff_ge._simp_1",
"Rat.num_eq_zero._simp_1",
"congrArg",
... | [] | simpa [num, -nonpos_iff_eq_zero] using nonpos_iff_eq_zero _ |>.not.symm | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Order.Ring.Unbundled.Rat | {
"line": 81,
"column": 2
} | {
"line": 81,
"column": 45
} | {
"line": 83,
"column": 0
} | [
{
"pp": "a : ℤ\nb : ℕ\nhb : b ≠ 0\n⊢ 0 < mkRat a b ↔ 0 < a",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"_private.Mathlib.Algebra.Order.Ring.Unbundled.Rat.0.Rat.mkRat_pos_iff._proof_1_1"
],
"usedFVars": [
"a",
"b",
"hb"
],
"usedGoals": []
}
] | [] | grind [mkRat_nonneg_iff, Rat.mkRat_eq_zero] | Lean.Elab.Tactic.evalGrind | Lean.Parser.Tactic.grind |
Mathlib.Algebra.Order.Ring.Unbundled.Rat | {
"line": 81,
"column": 2
} | {
"line": 81,
"column": 45
} | {
"line": 83,
"column": 0
} | [
{
"pp": "a : ℤ\nb : ℕ\nhb : b ≠ 0\n⊢ 0 < mkRat a b ↔ 0 < a",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"_private.Mathlib.Algebra.Order.Ring.Unbundled.Rat.0.Rat.mkRat_pos_iff._proof_1_1"
],
"usedFVars": [
"a",
"b",
"hb"
],
"usedGoals": []
}
] | [] | grind [mkRat_nonneg_iff, Rat.mkRat_eq_zero] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Order.Ring.Unbundled.Rat | {
"line": 81,
"column": 2
} | {
"line": 81,
"column": 45
} | {
"line": 83,
"column": 0
} | [
{
"pp": "a : ℤ\nb : ℕ\nhb : b ≠ 0\n⊢ 0 < mkRat a b ↔ 0 < a",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"_private.Mathlib.Algebra.Order.Ring.Unbundled.Rat.0.Rat.mkRat_pos_iff._proof_1_1"
],
"usedFVars": [
"a",
"b",
"hb"
],
"usedGoals": []
}
] | [] | grind [mkRat_nonneg_iff, Rat.mkRat_eq_zero] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Nat.Find | {
"line": 205,
"column": 2
} | {
"line": 205,
"column": 28
} | {
"line": 207,
"column": 0
} | [
{
"pp": "k : ℕ\nP : ℕ → Prop\ninst✝ : DecidablePred P\n⊢ findGreatest P k = 0 ↔ ∀ ⦃n : ℕ⦄, 0 < n → n ≤ k → ¬P n",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"False",
"_private.Mathlib.Data.Nat.Find.0.Nat.findGreatest_eq_zero_iff._simp_1_1",
"congrArg",
"not_true_... | [] | simp [findGreatest_eq_iff] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Data.Nat.Find | {
"line": 205,
"column": 2
} | {
"line": 205,
"column": 28
} | {
"line": 207,
"column": 0
} | [
{
"pp": "k : ℕ\nP : ℕ → Prop\ninst✝ : DecidablePred P\n⊢ findGreatest P k = 0 ↔ ∀ ⦃n : ℕ⦄, 0 < n → n ≤ k → ¬P n",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"False",
"_private.Mathlib.Data.Nat.Find.0.Nat.findGreatest_eq_zero_iff._simp_1_1",
"congrArg",
"not_true_... | [] | simp [findGreatest_eq_iff] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Nat.Find | {
"line": 205,
"column": 2
} | {
"line": 205,
"column": 28
} | {
"line": 207,
"column": 0
} | [
{
"pp": "k : ℕ\nP : ℕ → Prop\ninst✝ : DecidablePred P\n⊢ findGreatest P k = 0 ↔ ∀ ⦃n : ℕ⦄, 0 < n → n ≤ k → ¬P n",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"False",
"_private.Mathlib.Data.Nat.Find.0.Nat.findGreatest_eq_zero_iff._simp_1_1",
"congrArg",
"not_true_... | [] | simp [findGreatest_eq_iff] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Rat.Cast.Defs | {
"line": 119,
"column": 40
} | {
"line": 119,
"column": 56
} | {
"line": 119,
"column": 56
} | [
{
"pp": "α : Type u_2\ninst✝ : DivisionRing α\nn : ℕ\n⊢ ↑↑n = ↑n",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"congrArg",
"AddGroupWithOne.toAddMonoidWithOne",
"id",
"AddMonoidWithOne.toNatCast",
"... | [
"α : Type u_2\ninst✝ : DivisionRing α\nn : ℕ\n⊢ ↑n = ↑n"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Rat.Cast.Defs | {
"line": 153,
"column": 67
} | {
"line": 153,
"column": 83
} | {
"line": 153,
"column": 83
} | [
{
"pp": "α : Type u_2\ninst✝ : DivisionRing α\na b : ℤ\nb0 : ↑b ≠ 0\nb0' : b ≠ 0\nn : ℤ\nd : ℕ\nh : d ≠ 0\nc : n.natAbs.Coprime d\ne : a /. b = { num := n, den := d, den_nz := h, reduced := c }\nd0 : ↑d = 0\ndd : ↑(a /. b).den ∣ b\nk : ℤ\nke : b = ↑d * k\n⊢ ↑↑d * ↑k = ↑d * ↑k",
"ppTerm": "?m.73",
"assig... | [
"α : Type u_2\ninst✝ : DivisionRing α\na b : ℤ\nb0 : ↑b ≠ 0\nb0' : b ≠ 0\nn : ℤ\nd : ℕ\nh : d ≠ 0\nc : n.natAbs.Coprime d\ne : a /. b = { num := n, den := d, den_nz := h, reduced := c }\nd0 : ↑d = 0\ndd : ↑(a /. b).den ∣ b\nk : ℤ\nke : b = ↑d * k\n⊢ ↑d * ↑k = ↑d * ↑k"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Rat.Cast.Defs | {
"line": 158,
"column": 34
} | {
"line": 158,
"column": 50
} | {
"line": 158,
"column": 50
} | [
{
"pp": "α : Type u_2\ninst✝ : DivisionRing α\na b : ℤ\nb0 : ↑b ≠ 0\nb0' : b ≠ 0\nn : ℤ\nd : ℕ\nh : d ≠ 0\nc : n.natAbs.Coprime d\ne : a /. b = n /. ↑d\nd0 : ↑d ≠ 0\nthis : ↑a * ↑↑d = ↑n * ↑b\n⊢ ↑{ num := n, den := d, den_nz := h, reduced := c } = ↑a / ↑b",
"ppTerm": "?m.154",
"assigned": true,
"use... | [
"α : Type u_2\ninst✝ : DivisionRing α\na b : ℤ\nb0 : ↑b ≠ 0\nb0' : b ≠ 0\nn : ℤ\nd : ℕ\nh : d ≠ 0\nc : n.natAbs.Coprime d\ne : a /. b = n /. ↑d\nd0 : ↑d ≠ 0\nthis : ↑a * ↑d = ↑n * ↑b\n⊢ ↑{ num := n, den := d, den_nz := h, reduced := c } = ↑a / ↑b"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Rat.Cast.Defs | {
"line": 164,
"column": 51
} | {
"line": 164,
"column": 67
} | {
"line": 164,
"column": 67
} | [
{
"pp": "α : Type u_2\ninst✝ : DivisionRing α\na : ℤ\nb : ℕ\nhb : ↑b ≠ 0\n⊢ ↑a / ↑↑b = ↑a / ↑b",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"instHDiv",
"congrArg",
"AddGroupWithOne.toAddMonoidWithOne",
"... | [
"α : Type u_2\ninst✝ : DivisionRing α\na : ℤ\nb : ℕ\nhb : ↑b ≠ 0\n⊢ ↑a / ↑b = ↑a / ↑b",
"case b0\nα : Type u_2\ninst✝ : DivisionRing α\na : ℤ\nb : ℕ\nhb : ↑b ≠ 0\n⊢ ↑↑b ≠ 0"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Rat.Cast.Defs | {
"line": 164,
"column": 75
} | {
"line": 164,
"column": 91
} | {
"line": 164,
"column": 91
} | [
{
"pp": "case b0\nα : Type u_2\ninst✝ : DivisionRing α\na : ℤ\nb : ℕ\nhb : ↑b ≠ 0\n⊢ ↑↑b ≠ 0",
"ppTerm": "?b0",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"congrArg",
"AddGroupWithOne.toAddMonoidWithOne",
"id",
"AddMonoidW... | [
"case b0\nα : Type u_2\ninst✝ : DivisionRing α\na : ℤ\nb : ℕ\nhb : ↑b ≠ 0\n⊢ ↑b ≠ 0"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Rat.Cast.Defs | {
"line": 192,
"column": 63
} | {
"line": 192,
"column": 79
} | {
"line": 192,
"column": 79
} | [
{
"pp": "α : Type u_2\ninst✝ : DivisionRing α\nq : ℚ\nhq : ↑q.num ≠ 0\n⊢ ↑↑q.den / ↑q.num = ↑q.den / ↑q.num",
"ppTerm": "?m.27",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"Rat.num",
"instHDiv",
"GroupWithZero.toDivisionMonoid",... | [
"α : Type u_2\ninst✝ : DivisionRing α\nq : ℚ\nhq : ↑q.num ≠ 0\n⊢ ↑q.den / ↑q.num = ↑q.den / ↑q.num"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Order.Ring.Basic | {
"line": 26,
"column": 40
} | {
"line": 28,
"column": 25
} | {
"line": 30,
"column": 0
} | [
{
"pp": "R : Type u_3\ninst✝⁴ : Semiring R\ninst✝³ : LinearOrder R\ninst✝² : ExistsAddOfLE R\ninst✝¹ : PosMulMono R\ninst✝ : AddLeftMono R\nx : R\nh : IsSquare x\n⊢ 0 ≤ x",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"mul_self_nonneg",
"HMul.hMul",
"PartialOrder.toPreor... | [] | by
rcases h with ⟨y, rfl⟩
exact mul_self_nonneg y | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Notation.Support | {
"line": 186,
"column": 25
} | {
"line": 186,
"column": 39
} | {
"line": 186,
"column": 39
} | [
{
"pp": "ι : Type u_1\nκ : Type u_2\nM : Type u_3\ninst✝ : One M\nf : ι × κ → M\ni : ι\nj : κ\nhj : j ∈ mulSupport fun j ↦ f (i, j)\n⊢ (i, j) ∈ mulSupport f ∧ (i, j).2 = j",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Function.mem_mulSupport._simp_2",
"and_tr... | [] | simpa using hj | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Algebra.Notation.Support | {
"line": 186,
"column": 25
} | {
"line": 186,
"column": 39
} | {
"line": 186,
"column": 39
} | [
{
"pp": "ι : Type u_1\nκ : Type u_2\nM : Type u_3\ninst✝ : One M\nf : ι × κ → M\ni : ι\nj : κ\nhj : j ∈ mulSupport fun j ↦ f (i, j)\n⊢ (i, j) ∈ mulSupport f ∧ (i, j).2 = j",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Function.mem_mulSupport._simp_2",
"and_tr... | [] | simpa using hj | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Algebra.Notation.Support | {
"line": 186,
"column": 25
} | {
"line": 186,
"column": 39
} | {
"line": 186,
"column": 39
} | [
{
"pp": "ι : Type u_1\nκ : Type u_2\nM : Type u_3\ninst✝ : One M\nf : ι × κ → M\ni : ι\nj : κ\nhj : j ∈ mulSupport fun j ↦ f (i, j)\n⊢ (i, j) ∈ mulSupport f ∧ (i, j).2 = j",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Function.mem_mulSupport._simp_2",
"and_tr... | [] | simpa using hj | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Nat.Factorial.Basic | {
"line": 121,
"column": 4
} | {
"line": 121,
"column": 53
} | {
"line": 122,
"column": 4
} | [
{
"pp": "case inl\nm n : ℕ\nhn : 1 < n\nh : n ! = m !\nhnm : n < m\n⊢ n = m",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"congrArg",
"Eq.mp",
"instOfNatNat",
"Nat.factorial",
"Nat",
"LT.lt",
"propext",
"instLTNat",
"Nat.lt_of_succ_lt"... | [
"case inl\nm n : ℕ\nhn : 1 < n\nh : n ! = m !\nhnm : m ! < m !\n⊢ n = m"
] | rw [← factorial_lt <| lt_of_succ_lt hn, h] at hnm | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Data.Nat.Factorial.Basic | {
"line": 125,
"column": 2
} | {
"line": 125,
"column": 51
} | {
"line": 126,
"column": 2
} | [
{
"pp": "case inr.inr\nm n : ℕ\nhn : 1 < m\nh : n ! = m !\nhnm : m < n\n⊢ n = m",
"ppTerm": "?inr.inr",
"assigned": true,
"usedConstants": [
"congrArg",
"Eq.mp",
"instOfNatNat",
"Nat.factorial",
"Nat",
"LT.lt",
"propext",
"instLTNat",
"Nat.lt_of_... | [
"case inr.inr\nm n : ℕ\nhn : 1 < m\nh : n ! = m !\nhnm : m ! < m !\n⊢ n = m"
] | rw [← factorial_lt <| lt_of_succ_lt hn, h] at hnm | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Algebra.Order.Ring.Int | {
"line": 51,
"column": 24
} | {
"line": 51,
"column": 40
} | {
"line": 51,
"column": 40
} | [
{
"pp": "α : Type u_1\ninst✝ : AddGroupWithOne α\nn : ℤ\n⊢ ↑n.natAbs = ↑↑n.natAbs",
"ppTerm": "?m.7",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"Int.cast_natCast",
"congrArg",
"AddGroupWithOne.toAddMonoidWithOne",
"id",
"AddMonoidWithOne.toN... | [
"α : Type u_1\ninst✝ : AddGroupWithOne α\nn : ℤ\n⊢ ↑n.natAbs = ↑n.natAbs"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Factorial.Basic | {
"line": 226,
"column": 20
} | {
"line": 226,
"column": 33
} | {
"line": 226,
"column": 34
} | [
{
"pp": "n k : ℕ\n⊢ n * n.succ.ascFactorial (k + 1) = (n + (k + 1)) * n.ascFactorial (k + 1)",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"congrArg",
"Nat.ascFactorial",
"id",
"instMulNat",
"instOfNatNat",
"instHAdd"... | [
"n k : ℕ\n⊢ n * ((n.succ + k) * n.succ.ascFactorial k) = (n + (k + 1)) * n.ascFactorial (k + 1)"
] | ascFactorial, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Factorial.Basic | {
"line": 226,
"column": 76
} | {
"line": 226,
"column": 89
} | {
"line": 226,
"column": 90
} | [
{
"pp": "n k : ℕ\n⊢ (n.succ + k) * ((n + k) * n.ascFactorial k) = (n + (k + 1)) * n.ascFactorial (k + 1)",
"ppTerm": "?m.52",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"congrArg",
"Nat.ascFactorial",
"id",
"instMulNat",
"instOfNatNat",
... | [
"n k : ℕ\n⊢ (n.succ + k) * ((n + k) * n.ascFactorial k) = (n + (k + 1)) * ((n + k) * n.ascFactorial k)"
] | ascFactorial, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Factorial.Basic | {
"line": 286,
"column": 20
} | {
"line": 286,
"column": 33
} | {
"line": 286,
"column": 34
} | [
{
"pp": "n k : ℕ\n⊢ (n + 1) ^ (k + 1) * (n + 1) < (n + 1).ascFactorial (k + 2)",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants": [
"instPowNat",
"Eq.mpr",
"HMul.hMul",
"congrArg",
"Nat.ascFactorial",
"id",
"instMulNat",
"instOfNatNat",
"ins... | [
"n k : ℕ\n⊢ (n + 1) ^ (k + 1) * (n + 1) < (n + 1 + (k + 1)) * (n + 1).ascFactorial (k + 1)"
] | ascFactorial, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Factorial.Basic | {
"line": 383,
"column": 2
} | {
"line": 383,
"column": 32
} | {
"line": 385,
"column": 0
} | [
{
"pp": "case inr\nn j : ℕ\nh : n < j\n⊢ n.descFactorial j * n = n.descFactorial (j + 1) + j * n.descFactorial j",
"ppTerm": "?inr",
"assigned": true,
"usedConstants": [
"HMul.hMul",
"Nat.descFactorial_of_lt",
"congrArg",
"HSub.hSub",
"instSubNat",
"instMulNat",
... | [] | · simp [descFactorial_of_lt h] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Data.Nat.Factorial.Basic | {
"line": 414,
"column": 2
} | {
"line": 417,
"column": 53
} | {
"line": 418,
"column": 2
} | [
{
"pp": "case pos\nk m n : ℕ\nhkm : k ≤ m\nhmn : m ≤ n\n⊢ (n - k).descFactorial (m - k) * n.descFactorial k = n.descFactorial m",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"congrArg",
"HSub.hSub",
"Nat.mul_left_cancel",
"id",
... | [
"case neg\nk m n : ℕ\nhkm : k ≤ m\nhmn : ¬m ≤ n\n⊢ (n - k).descFactorial (m - k) * n.descFactorial k = n.descFactorial m"
] | · apply Nat.mul_left_cancel (n - m).factorial_pos
rw [factorial_mul_descFactorial hmn, show n - m = (n - k) - (m - k) by lia, ← Nat.mul_assoc,
factorial_mul_descFactorial (show m - k ≤ n - k by lia),
factorial_mul_descFactorial (le_trans hkm hmn)] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Data.Int.GCD | {
"line": 201,
"column": 15
} | {
"line": 201,
"column": 24
} | {
"line": 201,
"column": 25
} | [
{
"pp": "x y : ℤ\nhc : x = 0 ∧ y = 0\n⊢ gcd 0 y = 0",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Int.gcd",
"Eq.mpr",
"congrArg",
"id",
"instOfNatNat",
"Int",
"And.right",
"instOfNat",
"Nat",
"OfNat.ofNat",
"Eq"
],
... | [
"x y : ℤ\nhc : x = 0 ∧ y = 0\n⊢ gcd 0 0 = 0"
] | hc.right, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Tactic.NormNum.Result | {
"line": 189,
"column": 27
} | {
"line": 189,
"column": 63
} | {
"line": 191,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝ : Ring α\nn : ℕ\n⊢ ↑(Int.negOfNat n) = -↑n",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"Int.cast_neg",
"Int.cast",
"NegZeroClass.toNeg",
"Int.cast_natCast",
"AddGroupWithOne.toAddGroup",
... | [] | simp [Int.negOfNat_eq, Int.cast_neg] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.