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.Data.ZMod.Basic | {
"line": 1089,
"column": 8
} | {
"line": 1089,
"column": 17
} | {
"line": 1089,
"column": 18
} | [
{
"pp": "case inl\nn : ℕ\nx : ℤ\nhl : x.natAbs ≤ n / 2\n⊢ x.natAbs ≤ (↑n * 0 + x).natAbs",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
"AddMonoid.toAddZeroClass",
"AddZeroClass.toAddZero",
"... | [
"case inl\nn : ℕ\nx : ℤ\nhl : x.natAbs ≤ n / 2\n⊢ x.natAbs ≤ (0 + x).natAbs"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Digits.Defs | {
"line": 383,
"column": 90
} | {
"line": 385,
"column": 32
} | {
"line": 387,
"column": 0
} | [
{
"pp": "b m : ℕ\n⊢ m < (b + 2) ^ ((b + 2).digits m).length",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.ofDigits_lt_base_pow_length'",
"congrArg",
"HEq.refl",
"Nat.instMonoid",
"Nat.ofDigits",
"Eq.casesOn",
"id",
"ins... | [] | by
convert @ofDigits_lt_base_pow_length' b (digits (b + 2) m) fun _ => digits_lt_base'
rw [ofDigits_digits (b + 2) m] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Nat.Digits.Defs | {
"line": 388,
"column": 90
} | {
"line": 389,
"column": 69
} | {
"line": 391,
"column": 0
} | [
{
"pp": "b m : ℕ\nhb : 1 < b\n⊢ m < b ^ (b.digits m).length",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"not_lt_zero._simp_1",
"False",
"Nat.instMulZeroClass",
"LinearOrderedCommMonoidWithZero.toIsBotZeroClass",
"congrArg",
"Nat.instMonoid",
"F... | [] | by
rcases b with (_ | _ | b) <;> simp_all [lt_base_pow_length_digits'] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.GroupTheory.OrderOfElement | {
"line": 275,
"column": 19
} | {
"line": 275,
"column": 37
} | {
"line": 275,
"column": 38
} | [
{
"pp": "G : Type u_1\ninst✝ : Monoid G\nx : G\nn : ℕ\nh : orderOf x ∣ n\n⊢ x ^ n = 1",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MulOne.toOne",
"Monoid.toMulOneClass",
"congrArg",
"pow_mod_orderOf",
"id",
"Nat.instMod",
"instH... | [
"G : Type u_1\ninst✝ : Monoid G\nx : G\nn : ℕ\nh : orderOf x ∣ n\n⊢ x ^ (n % orderOf x) = 1"
] | ← pow_mod_orderOf, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Digits.Lemmas | {
"line": 188,
"column": 31
} | {
"line": 188,
"column": 39
} | {
"line": 188,
"column": 40
} | [
{
"pp": "case inl.cons.inr\np : ℕ\nh : 1 < p\nhd : ℕ\ntl : List ℕ\nih✝ :\n ∀ {h_nonempty : tl ≠ []},\n tl.getLast h_nonempty ≠ 0 →\n (∀ l ∈ tl, l < p) → (p - 1) * ∑ i ∈ range tl.length, ofDigits p tl / p ^ i.succ = ofDigits p tl - tl.sum\nh_nonempty : hd :: tl ≠ []\nh_ne_zero : (hd :: tl).getLast h_non... | [
"case inl.cons.inr\np : ℕ\nh : 1 < p\nhd : ℕ\ntl : List ℕ\nih✝ :\n ∀ {h_nonempty : tl ≠ []},\n tl.getLast h_nonempty ≠ 0 →\n (∀ l ∈ tl, l < p) → (p - 1) * ∑ i ∈ range tl.length, ofDigits p tl / p ^ i.succ = ofDigits p tl - tl.sum\nh_nonempty : hd :: tl ≠ []\nh_ne_zero : (hd :: tl).getLast h_nonempty ≠ 0\nh... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Digits.Lemmas | {
"line": 188,
"column": 40
} | {
"line": 188,
"column": 48
} | {
"line": 188,
"column": 49
} | [
{
"pp": "case inl.cons.inr\np : ℕ\nh : 1 < p\nhd : ℕ\ntl : List ℕ\nih✝ :\n ∀ {h_nonempty : tl ≠ []},\n tl.getLast h_nonempty ≠ 0 →\n (∀ l ∈ tl, l < p) → (p - 1) * ∑ i ∈ range tl.length, ofDigits p tl / p ^ i.succ = ofDigits p tl - tl.sum\nh_nonempty : hd :: tl ≠ []\nh_ne_zero : (hd :: tl).getLast h_non... | [
"case inl.cons.inr\np : ℕ\nh : 1 < p\nhd : ℕ\ntl : List ℕ\nih✝ :\n ∀ {h_nonempty : tl ≠ []},\n tl.getLast h_nonempty ≠ 0 →\n (∀ l ∈ tl, l < p) → (p - 1) * ∑ i ∈ range tl.length, ofDigits p tl / p ^ i.succ = ofDigits p tl - tl.sum\nh_nonempty : hd :: tl ≠ []\nh_ne_zero : (hd :: tl).getLast h_nonempty ≠ 0\nh... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.OrderOfElement | {
"line": 335,
"column": 30
} | {
"line": 335,
"column": 48
} | {
"line": 335,
"column": 49
} | [
{
"pp": "G : Type u_1\ninst✝ : Monoid G\nx : G\nn : ℕ\nh✝ : n.Coprime (orderOf x)\nh0 : ¬orderOf x = 0\nh1 : ¬orderOf x = 1\nm : ℕ\nh : n * m % orderOf x = 1\n⊢ x ^ (n * m) = x",
"ppTerm": "?m.120",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"congrArg",
"pow_... | [
"G : Type u_1\ninst✝ : Monoid G\nx : G\nn : ℕ\nh✝ : n.Coprime (orderOf x)\nh0 : ¬orderOf x = 0\nh1 : ¬orderOf x = 1\nm : ℕ\nh : n * m % orderOf x = 1\n⊢ x ^ (n * m % orderOf x) = x"
] | ← pow_mod_orderOf, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Factorization.Defs | {
"line": 108,
"column": 5
} | {
"line": 108,
"column": 75
} | {
"line": 108,
"column": 75
} | [
{
"pp": "a b : ℕ\nha : a ≠ 0\nhb : b ≠ 0\nh : ∀ (p : ℕ), a.factorization p = b.factorization p\n⊢ a.primeFactorsList ~ b.primeFactorsList",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"Nat.instMulZeroClass",
"congrArg",
"_pri... | [] | by simpa only [List.perm_iff_count, primeFactorsList_count_eq] using h | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Nat.Digits.Lemmas | {
"line": 189,
"column": 12
} | {
"line": 189,
"column": 21
} | {
"line": 189,
"column": 22
} | [
{
"pp": "case inl.cons.inr\np : ℕ\nh : 1 < p\nhd : ℕ\ntl : List ℕ\nih✝ :\n ∀ {h_nonempty : tl ≠ []},\n tl.getLast h_nonempty ≠ 0 →\n (∀ l ∈ tl, l < p) → (p - 1) * ∑ i ∈ range tl.length, ofDigits p tl / p ^ i.succ = ofDigits p tl - tl.sum\nh_nonempty : hd :: tl ≠ []\nh_ne_zero : (hd :: tl).getLast h_non... | [
"case inl.cons.inr\np : ℕ\nh : 1 < p\nhd : ℕ\ntl : List ℕ\nih✝ :\n ∀ {h_nonempty : tl ≠ []},\n tl.getLast h_nonempty ≠ 0 →\n (∀ l ∈ tl, l < p) → (p - 1) * ∑ i ∈ range tl.length, ofDigits p tl / p ^ i.succ = ofDigits p tl - tl.sum\nh_nonempty : hd :: tl ≠ []\nh_ne_zero : (hd :: tl).getLast h_nonempty ≠ 0\nh... | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.OrderOfElement | {
"line": 577,
"column": 67
} | {
"line": 577,
"column": 85
} | {
"line": 577,
"column": 86
} | [
{
"pp": "G : Type u_1\ninst✝ : Monoid G\nx : G\nhx : IsOfFinOrder x\nn : ℕ\n⊢ x ^ n = x ^ ↑⟨n % orderOf x, ⋯⟩",
"ppTerm": "?m.54",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"IsOfFinOrder.orderOf_pos",
"congrArg",
"pow_mod_orderOf",
"Fin.mk",
"id",
"Nat.... | [
"G : Type u_1\ninst✝ : Monoid G\nx : G\nhx : IsOfFinOrder x\nn : ℕ\n⊢ x ^ (n % orderOf x) = x ^ ↑⟨n % orderOf x, ⋯⟩"
] | ← pow_mod_orderOf, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Factorization.Defs | {
"line": 321,
"column": 6
} | {
"line": 321,
"column": 24
} | {
"line": 321,
"column": 25
} | [
{
"pp": "a b : ℕ\nhab : a.Coprime b\nq : ℕ\n⊢ (a * b).factorization q = (a.factorization + b.factorization) q",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"Nat.instMulZeroClass",
"HMul.hMul",
"congrArg",
"AddMonoid.toA... | [
"a b : ℕ\nhab : a.Coprime b\nq : ℕ\n⊢ (a * b).factorization q = a.factorization q + b.factorization q"
] | Finsupp.add_apply, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Nat.Factorization.Defs | {
"line": 345,
"column": 2
} | {
"line": 347,
"column": 63
} | {
"line": 349,
"column": 0
} | [
{
"pp": "a b : ℕ\nha : a ≠ 0\nhb : b ≠ 0\n⊢ (∀ (p : ℕ), p ^ a.factorization p ∣ p ^ b.factorization p) ↔ a ∣ b",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStrictMono_of_addRightMono",
"Finsupp.instFunLike",
"Eq.mpr",
"Finsupp.instLE",
... | [] | rw [← factorization_le_iff_dvd ha hb, Finsupp.le_def]
congr! 1 with p
obtain _ | _ | p := p <;> simp [Nat.pow_dvd_pow_iff_le_right] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Nat.Factorization.Defs | {
"line": 345,
"column": 2
} | {
"line": 347,
"column": 63
} | {
"line": 349,
"column": 0
} | [
{
"pp": "a b : ℕ\nha : a ≠ 0\nhb : b ≠ 0\n⊢ (∀ (p : ℕ), p ^ a.factorization p ∣ p ^ b.factorization p) ↔ a ∣ b",
"ppTerm": "?m.22",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStrictMono_of_addRightMono",
"Finsupp.instFunLike",
"Eq.mpr",
"Finsupp.instLE",
... | [] | rw [← factorization_le_iff_dvd ha hb, Finsupp.le_def]
congr! 1 with p
obtain _ | _ | p := p <;> simp [Nat.pow_dvd_pow_iff_le_right] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.GroupTheory.OrderOfElement | {
"line": 915,
"column": 4
} | {
"line": 915,
"column": 52
} | {
"line": 916,
"column": 4
} | [
{
"pp": "G : Type u_1\ninst✝ : Group G\nhG : ∀ ⦃a : G⦄, a ≠ 1 → ¬IsOfFinOrder a\n⊢ IsMulTorsionFree G",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"Monoid.toMulOneClass",
"IsMulTorsionFree.mk",
"Commute",
"MulOne.toMul",
"DivInvMonoid.toMonoid",
"Ne",... | [
"G : Type u_1\ninst✝ : Group G\nhG : ∀ ⦃a : G⦄, a ≠ 1 → ¬IsOfFinOrder a\nn : ℕ\nhn : n ≠ 0\na b : G\nh : Commute a b\nhab : a ^ n = b ^ n\n⊢ a = b"
] | refine ⟨fun n hn a b (h : Commute a b) hab ↦ ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Data.Nat.Factorization.Basic | {
"line": 296,
"column": 32
} | {
"line": 296,
"column": 50
} | {
"line": 296,
"column": 51
} | [
{
"pp": "case inr\nd n : ℕ\nhd : d ≠ 0\nhdn : d ≤ n\nhd_lt_n : d < n\nh1 : n / d ≠ 0\nh : (n / d).factorization = n.factorization - d.factorization\nh2 : ¬n ≤ n / d * d\np : ℕ\nhp : ((n / d).factorization + d.factorization) p < n.factorization p\n⊢ False",
"ppTerm": "?inr",
"assigned": true,
"usedCo... | [
"case inr\nd n : ℕ\nhd : d ≠ 0\nhdn : d ≤ n\nhd_lt_n : d < n\nh1 : n / d ≠ 0\nh : (n / d).factorization = n.factorization - d.factorization\nh2 : ¬n ≤ n / d * d\np : ℕ\nhp : (n / d).factorization p + d.factorization p < n.factorization p\n⊢ False"
] | Finsupp.add_apply, | Lean.Elab.Tactic.evalRwaAt | null |
Mathlib.GroupTheory.OrderOfElement | {
"line": 1092,
"column": 2
} | {
"line": 1092,
"column": 36
} | {
"line": 1093,
"column": 2
} | [
{
"pp": "G : Type u_1\ninst✝ : Group G\nx : G\nhx : ¬IsOfFinOrder x\nk : ℤ\nh : zpowers x = zpowers (x ^ k)\nhx_mem : x ∈ zpowers (x ^ k)\nhy_mem : x ^ k ∈ zpowers x\nl : ℤ\nhl : x ^ (k * l) = x\n⊢ x = x ^ k ∨ x⁻¹ = x ^ k",
"ppTerm": "?m.108",
"assigned": true,
"usedConstants": [
"HMul.hMul",
... | [
"G : Type u_1\ninst✝ : Group G\nx : G\nhx : ¬IsOfFinOrder x\nk : ℤ\nh : zpowers x = zpowers (x ^ k)\nhx_mem : x ∈ zpowers (x ^ k)\nhy_mem : x ^ k ∈ zpowers x\nl : ℤ\nhl : x ^ (k * l) = x ^ 1\n⊢ x = x ^ k ∨ x⁻¹ = x ^ k"
] | nth_rewrite 2 [← zpow_one x] at hl | Mathlib.Tactic._aux_Mathlib_Tactic_NthRewrite___macroRules_Mathlib_Tactic_tacticNth_rewrite______1 | Mathlib.Tactic.tacticNth_rewrite_____ |
Mathlib.GroupTheory.OrderOfElement | {
"line": 1226,
"column": 15
} | {
"line": 1226,
"column": 33
} | {
"line": 1226,
"column": 34
} | [
{
"pp": "G : Type u_1\ninst✝¹ : Group G\ninst✝ : Fintype G\na : G\nn : ℕ\n⊢ a ^ n = a ^ (n % card G)",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"pow_mod_orderOf",
"Fintype.card",
"id",
"Nat.instMod",
"instHMod",
"Di... | [
"G : Type u_1\ninst✝¹ : Group G\ninst✝ : Fintype G\na : G\nn : ℕ\n⊢ a ^ (n % orderOf a) = a ^ (n % card G)"
] | ← pow_mod_orderOf, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.GroupTheory.OrderOfElement | {
"line": 1235,
"column": 15
} | {
"line": 1235,
"column": 33
} | {
"line": 1235,
"column": 34
} | [
{
"pp": "G : Type u_6\ninst✝ : Group G\na : G\nn : ℕ\n⊢ a ^ n = a ^ (n % Nat.card G)",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"pow_mod_orderOf",
"id",
"Nat.instMod",
"Nat.card",
"instHMod",
"DivInvMonoid.toMonoid"... | [
"G : Type u_6\ninst✝ : Group G\na : G\nn : ℕ\n⊢ a ^ (n % orderOf a) = a ^ (n % Nat.card G)"
] | ← pow_mod_orderOf, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.MonoidAlgebra.Division | {
"line": 165,
"column": 71
} | {
"line": 165,
"column": 82
} | {
"line": 165,
"column": 82
} | [
{
"pp": "case inl\nk : Type u_1\nG : Type u_2\ninst✝² : Semiring k\ninst✝¹ : AddCommMonoid G\ninst✝ : IsCancelAdd G\nx : k[G]\ng d : G\n⊢ (x /ᵒᶠ g).coeff d = x.coeff (g + d)",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"AddMonoidAlgebra.... | [
"case inl\nk : Type u_1\nG : Type u_2\ninst✝² : Semiring k\ninst✝¹ : AddCommMonoid G\ninst✝ : IsCancelAdd G\nx : k[G]\ng d : G\n⊢ x.coeff (g + d) = x.coeff (g + d)"
] | coeff_divOf | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Tactic.ComputeDegree | {
"line": 130,
"column": 4
} | {
"line": 130,
"column": 39
} | {
"line": 131,
"column": 2
} | [
{
"pp": "case pos\nR : Type u_1\ninst✝ : Semiring R\nm n : ℕ\np : R[X]\nh_pow : p.natDegree ≤ n\nh_exp : m * n ≤ m * n\n⊢ (p ^ m).coeff (m * n) = p.coeff n ^ m",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Polynomial.coeff_pow_of_natDegree_le"
],
"usedFVars": [
"R",
... | [] | exact coeff_pow_of_natDegree_le ‹_› | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Polynomial.Derivative | {
"line": 68,
"column": 25
} | {
"line": 68,
"column": 34
} | {
"line": 68,
"column": 35
} | [
{
"pp": "case h₀.zero\nR : Type u\ninst✝ : Semiring R\np : R[X]\nn : ℕ\na✝¹ : 0 ∈ p.support\na✝ : 0 ≠ n + 1\n⊢ (p.coeff 0 * 0 * if n = 0 - 1 then 1 else 0) = 0",
"ppTerm": "?h₀.zero",
"assigned": true,
"usedConstants": [
"Finsupp.instFunLike",
"Eq.mpr",
"NonAssocSemiring.toAddCommM... | [
"case h₀.zero\nR : Type u\ninst✝ : Semiring R\np : R[X]\nn : ℕ\na✝¹ : 0 ∈ p.support\na✝ : 0 ≠ n + 1\n⊢ (0 * if n = 0 - 1 then 1 else 0) = 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.RingDivision | {
"line": 111,
"column": 12
} | {
"line": 111,
"column": 21
} | {
"line": 111,
"column": 22
} | [
{
"pp": "case pos\nR : Type u\ninst✝¹ : Semiring R\ninst✝ : NoZeroDivisors R\np q : R[X]\nhp : ¬p = 0\nhq : q = 0\n⊢ (p * 0).trailingDegree = p.trailingDegree + trailingDegree 0",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"HMul.h... | [
"case pos\nR : Type u\ninst✝¹ : Semiring R\ninst✝ : NoZeroDivisors R\np q : R[X]\nhp : ¬p = 0\nhq : q = 0\n⊢ trailingDegree 0 = p.trailingDegree + trailingDegree 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Inductions | {
"line": 192,
"column": 33
} | {
"line": 192,
"column": 44
} | {
"line": 192,
"column": 44
} | [
{
"pp": "R : Type u\ninst✝ : Semiring R\nP : R[X] → Prop\np : R[X]\nh0 : 0 < p.degree\nhC : ∀ {a : R}, a ≠ 0 → P (C a * X)\nhX : ∀ {p : R[X]}, 0 < p.degree → P p → P (p * X)\nhadd : ∀ {p : R[X]} {a : R}, 0 < p.degree → P p → P (p + C a)\nh : 0 < degree 0\n⊢ P 0",
"ppTerm": "?m.88",
"assigned": true,
... | [
"R : Type u\ninst✝ : Semiring R\nP : R[X] → Prop\np : R[X]\nh0 : 0 < p.degree\nhC : ∀ {a : R}, a ≠ 0 → P (C a * X)\nhX : ∀ {p : R[X]}, 0 < p.degree → P p → P (p * X)\nhadd : ∀ {p : R[X]} {a : R}, 0 < p.degree → P p → P (p + C a)\nh : 0 < ⊥\n⊢ P 0"
] | degree_zero | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 185,
"column": 51
} | {
"line": 186,
"column": 38
} | {
"line": 188,
"column": 0
} | [
{
"pp": "R : Type u\ninst✝ : Ring R\np : R[X]\n⊢ 0 %ₘ p = 0",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"_private.Mathlib.Algebra.Polynomial.Div.0.Polynomial.zero_modByMonic._proof_1_4"
],
"usedFVars": [
"R",
"inst✝",
"p"
],
"usedGoals": []
}
] | [] | by
grind [modByMonic, divModByMonicAux] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Polynomial.Expand | {
"line": 67,
"column": 24
} | {
"line": 67,
"column": 54
} | {
"line": 67,
"column": 54
} | [
{
"pp": "R : Type u\ninst✝ : CommSemiring R\np q : ℕ\nf✝ f g : R[X]\nihf : (expand R p) ((expand R q) f) = (expand R (p * q)) f\nihg : (expand R p) ((expand R q) g) = (expand R (p * q)) g\n⊢ (expand R p) ((expand R q) (f + g)) = (expand R (p * q)) (f + g)",
"ppTerm": "?m.26",
"assigned": true,
"used... | [] | by simp_rw [map_add, ihf, ihg] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Polynomial.Derivative | {
"line": 325,
"column": 17
} | {
"line": 325,
"column": 25
} | {
"line": 325,
"column": 26
} | [
{
"pp": "R : Type u\ninst✝ : Semiring R\np q : R[X]\nn : ℕ\nIH : (⇑derivative)^[n] (p * q) = ∑ k ∈ range n.succ, n.choose k • ((⇑derivative)^[n - k] p * (⇑derivative)^[k] q)\n⊢ ∑ x ∈ range (n + 1),\n ↑(n.choose x) *\n (derivative ((⇑derivative)^[n - x] p) * (⇑derivative)^[x] q +\n (⇑derivat... | [
"R : Type u\ninst✝ : Semiring R\np q : R[X]\nn : ℕ\nIH : (⇑derivative)^[n] (p * q) = ∑ k ∈ range n.succ, n.choose k • ((⇑derivative)^[n - k] p * (⇑derivative)^[k] q)\n⊢ ∑ x ∈ range (n + 1),\n (↑(n.choose x) * (derivative ((⇑derivative)^[n - x] p) * (⇑derivative)^[x] q) +\n ↑(n.choose x) * ((⇑derivative)... | mul_add, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 229,
"column": 4
} | {
"line": 229,
"column": 49
} | {
"line": 230,
"column": 2
} | [
{
"pp": "case pos.inr\nR : Type u\ninst✝ : Ring R\np q : R[X]\na✝ : Nontrivial R\nhq : q.Monic\nh✝ : q.degree ≤ p.degree\n⊢ (p %ₘ q).degree ≤ p.degree",
"ppTerm": "?pos.inr✝",
"assigned": true,
"usedConstants": [
"WithBot.instPreorder",
"WithBot",
"Polynomial.degree_modByMonic_le",... | [] | · exact (degree_modByMonic_le p hq).trans ‹_› | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Algebra.Polynomial.Expand | {
"line": 100,
"column": 10
} | {
"line": 100,
"column": 16
} | {
"line": 100,
"column": 17
} | [
{
"pp": "case pos.h₀.hnc\nR : Type u\ninst✝ : CommSemiring R\np : ℕ\nhp : 0 < p\nf : R[X]\nn : ℕ\nh : p ∣ n\nb : ℕ\na✝ : b ∈ f.support\nhb2 : b ≠ n / p\nhb3 : p * b = n\n⊢ b = n / p",
"ppTerm": "?pos.h₀.hnc✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instHDiv",
"HMul.hMul",
... | [
"case pos.h₀.hnc\nR : Type u\ninst✝ : CommSemiring R\np : ℕ\nhp : 0 < p\nf : R[X]\nn : ℕ\nh : p ∣ n\nb : ℕ\na✝ : b ∈ f.support\nhb2 : b ≠ n / p\nhb3 : p * b = n\n⊢ b = p * b / p"
] | ← hb3, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Expand | {
"line": 103,
"column": 6
} | {
"line": 103,
"column": 23
} | {
"line": 104,
"column": 2
} | [
{
"pp": "case pos.h₁\nR : Type u\ninst✝ : CommSemiring R\np : ℕ\nhp : 0 < p\nf : R[X]\nn : ℕ\nh : p ∣ n\nhn : n / p ∉ f.support\n⊢ (if p * (n / p) = n then 0 else 0) = 0",
"ppTerm": "?pos.h₁✝",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"instHDiv",
"HMul.hMul",
"congrArg"... | [] | split_ifs <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Algebra.Polynomial.Expand | {
"line": 136,
"column": 34
} | {
"line": 136,
"column": 43
} | {
"line": 136,
"column": 44
} | [
{
"pp": "case inl\nR : Type u\ninst✝ : CommSemiring R\np : ℕ\nf : R[X]\nhp : p = 0\n⊢ (eval₂ C 1 f).natDegree = f.natDegree * 0",
"ppTerm": "?inl",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.C",
"MulOne.toOne",
"Nat.instMulZeroClass",
"AddMonoidAlgebra.s... | [
"case inl\nR : Type u\ninst✝ : CommSemiring R\np : ℕ\nf : R[X]\nhp : p = 0\n⊢ (eval₂ C 1 f).natDegree = 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 255,
"column": 74
} | {
"line": 255,
"column": 82
} | {
"line": 256,
"column": 10
} | [
{
"pp": "R : Type u\ninst✝ : Ring R\np q : R[X]\nthis : DecidableEq R := Classical.decEq R\nhq : q.Monic\nh : q.degree ≤ p.degree ∧ p ≠ 0\n_wf : (p - q * (C p.leadingCoeff * X ^ (p.natDegree - q.natDegree))).degree < p.degree\nih :\n ((p - q * (C p.leadingCoeff * X ^ (p.natDegree - q.natDegree))).divModByMonic... | [
"R : Type u\ninst✝ : Ring R\np q : R[X]\nthis : DecidableEq R := Classical.decEq R\nhq : q.Monic\nh : q.degree ≤ p.degree ∧ p ≠ 0\n_wf : (p - q * (C p.leadingCoeff * X ^ (p.natDegree - q.natDegree))).degree < p.degree\nih :\n ((p - q * (C p.leadingCoeff * X ^ (p.natDegree - q.natDegree))).divModByMonicAux hq).2 =\... | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 260,
"column": 78
} | {
"line": 260,
"column": 87
} | {
"line": 260,
"column": 88
} | [
{
"pp": "R : Type u\ninst✝ : Ring R\np q : R[X]\nthis : DecidableEq R := Classical.decEq R\nhq : q.Monic\nh : ¬(q.degree ≤ p.degree ∧ p ≠ 0)\n⊢ (0, p).2 = p - q * (0, p).1",
"ppTerm": "?m.203",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"HMul.hMul",... | [
"R : Type u\ninst✝ : Ring R\np q : R[X]\nthis : DecidableEq R := Classical.decEq R\nhq : q.Monic\nh : ¬(q.degree ≤ p.degree ∧ p ≠ 0)\n⊢ (0, p).2 = p - 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 262,
"column": 76
} | {
"line": 262,
"column": 85
} | {
"line": 262,
"column": 86
} | [
{
"pp": "R : Type u\ninst✝ : Ring R\np q : R[X]\nthis : DecidableEq R := Classical.decEq R\nhq : ¬q.Monic\n⊢ p = p - q * 0",
"ppTerm": "?m.221",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"HMul.hMul",
"MulZeroClass.toMul",
"AddGroupWithO... | [
"R : Type u\ninst✝ : Ring R\np q : R[X]\nthis : DecidableEq R := Classical.decEq R\nhq : ¬q.Monic\n⊢ p = p - 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 279,
"column": 12
} | {
"line": 279,
"column": 21
} | {
"line": 279,
"column": 22
} | [
{
"pp": "R : Type u\ninst✝¹ : Ring R\np q : R[X]\ninst✝ : Nontrivial R\nhq : q.Monic\nh : p /ₘ q = 0\nthis : p %ₘ q + q * 0 = p\n⊢ p.degree < q.degree",
"ppTerm": "?m.32",
"assigned": true,
"usedConstants": [
"AddMonoidAlgebra.semiring",
"HMul.hMul",
"MulZeroClass.toMul",
"co... | [
"R : Type u\ninst✝¹ : Ring R\np q : R[X]\ninst✝ : Nontrivial R\nhq : q.Monic\nh : p /ₘ q = 0\nthis : p %ₘ q + 0 = p\n⊢ p.degree < q.degree"
] | mul_zero, | Lean.Elab.Tactic.evalRwaAt | null |
Mathlib.Algebra.Polynomial.Expand | {
"line": 221,
"column": 36
} | {
"line": 221,
"column": 52
} | {
"line": 221,
"column": 52
} | [
{
"pp": "case h\nR : Type u\ninst✝ : CommSemiring R\np : ℕ\nhp : p ≠ 0\nf g : R[X]\nn : ℕ\n⊢ ∀ ⦃x : ℕ × ℕ⦄, (∃ a ∈ antidiagonal n, (a.1 * p, a.2 * p) = x) → x ∈ antidiagonal (n * p)",
"ppTerm": "?h",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"HMul.hMul",
"_private.Mathlib.Alge... | [
"case h\nR : Type u\ninst✝ : CommSemiring R\np : ℕ\nhp : p ≠ 0\nf g : R[X]\nn : ℕ\n⊢ ∀ ⦃x : ℕ × ℕ⦄, (∃ a, a.1 + a.2 = n ∧ (a.1 * p, a.2 * p) = x) → x.1 + x.2 = n * p"
] | mem_antidiagonal | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.Polynomial.Expand | {
"line": 222,
"column": 22
} | {
"line": 222,
"column": 38
} | {
"line": 222,
"column": 38
} | [
{
"pp": "case hf\nR : Type u\ninst✝ : CommSemiring R\np : ℕ\nhp : p ≠ 0\nf g : R[X]\nn : ℕ\n⊢ ∀ x ∈ antidiagonal (n * p),\n (¬∃ a ∈ antidiagonal n, (a.1 * p, a.2 * p) = x) → f.coeff x.1 * ((expand R p) g).coeff x.2 = 0",
"ppTerm": "?hf",
"assigned": true,
"usedConstants": [
"Finsupp.instFun... | [
"case hf\nR : Type u\ninst✝ : CommSemiring R\np : ℕ\nhp : p ≠ 0\nf g : R[X]\nn : ℕ\n⊢ ∀ (x : ℕ × ℕ),\n x.1 + x.2 = n * p → (¬∃ a, a.1 + a.2 = n ∧ (a.1 * p, a.2 * p) = x) → f.coeff x.1 * ((expand R p) g).coeff x.2 = 0"
] | mem_antidiagonal | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 414,
"column": 50
} | {
"line": 414,
"column": 59
} | {
"line": 414,
"column": 60
} | [
{
"pp": "R : Type u\ninst✝ : Ring R\np q : R[X]\nhq : q.Monic\nh✝ : q ∣ p\na✝ : Nontrivial R\nr : R[X]\nhr : p = q * r\nhpq0 : ¬p %ₘ q = 0\nhmod : p %ₘ q = q * (r - p /ₘ q)\nthis : (q * (r - p /ₘ q)).degree < q.degree\nh : (r - p /ₘ q).leadingCoeff = 0\n⊢ (q * 0).leadingCoeff = 0",
"ppTerm": "?m.134",
"... | [
"R : Type u\ninst✝ : Ring R\np q : R[X]\nhq : q.Monic\nh✝ : q ∣ p\na✝ : Nontrivial R\nr : R[X]\nhr : p = q * r\nhpq0 : ¬p %ₘ q = 0\nhmod : p %ₘ q = q * (r - p /ₘ q)\nthis : (q * (r - p /ₘ q)).degree < q.degree\nh : (r - p /ₘ q).leadingCoeff = 0\n⊢ leadingCoeff 0 = 0"
] | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Expand | {
"line": 259,
"column": 20
} | {
"line": 259,
"column": 32
} | {
"line": 259,
"column": 32
} | [
{
"pp": "case zero\nR : Type u\ninst✝³ : CommSemiring R\ninst✝² : NoZeroDivisors R\nf : R[X]\nhf : derivative f = 0\ninst✝¹ : CharZero R\ninst✝ : ExpChar R 1\n⊢ contract 1 f = f",
"ppTerm": "?zero",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"CommSemiring.toSemiring... | [
"case zero\nR : Type u\ninst✝³ : CommSemiring R\ninst✝² : NoZeroDivisors R\nf : R[X]\nhf : derivative f = 0\ninst✝¹ : CharZero R\ninst✝ : ExpChar R 1\n⊢ f = f"
] | contract_one | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Eval.SMul | {
"line": 76,
"column": 70
} | {
"line": 76,
"column": 81
} | {
"line": 76,
"column": 82
} | [
{
"pp": "R : Type u\nS : Type v\ninst✝² : Semiring R\ninst✝¹ : SMulZeroClass S R\ninst✝ : IsScalarTower S R R\ns : S\np q : R[X]\n⊢ (s • 1) • eval₂ C q p = s • eval₂ C q p",
"ppTerm": "?m.55",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Polynomial.C",
"NonAssocSemiring.toAddCom... | [
"R : Type u\nS : Type v\ninst✝² : Semiring R\ninst✝¹ : SMulZeroClass S R\ninst✝ : IsScalarTower S R R\ns : S\np q : R[X]\n⊢ s • 1 • eval₂ C q p = s • eval₂ C q p"
] | smul_assoc, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 457,
"column": 6
} | {
"line": 457,
"column": 17
} | {
"line": 457,
"column": 17
} | [
{
"pp": "R : Type u\ninst✝ : Ring R\np q : R[X]\nhmo : q.Monic\na✝ : Nontrivial R\n⊢ degree 0 < q.degree",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"WithBot.instPreorder",
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"WithBot",
"Preorder.toLT",
"congrArg"... | [
"R : Type u\ninst✝ : Ring R\np q : R[X]\nhmo : q.Monic\na✝ : Nontrivial R\n⊢ ⊥ < q.degree"
] | degree_zero | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 697,
"column": 35
} | {
"line": 697,
"column": 43
} | {
"line": 697,
"column": 44
} | [
{
"pp": "R : Type u\ninst✝ : CommRing R\np₁ p₂ q : R[X]\nhq : q.Monic\na✝ : Nontrivial R\nf : R[X]\nsub_eq : p₁ - p₂ = q * f\n⊢ p₂ %ₘ q + q * (p₂ /ₘ q + f) = q * f + p₂",
"ppTerm": "?m.61",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"AddMonoidAlgebra... | [
"R : Type u\ninst✝ : CommRing R\np₁ p₂ q : R[X]\nhq : q.Monic\na✝ : Nontrivial R\nf : R[X]\nsub_eq : p₁ - p₂ = q * f\n⊢ p₂ %ₘ q + (q * (p₂ /ₘ q) + q * f) = q * f + p₂"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Div | {
"line": 707,
"column": 14
} | {
"line": 707,
"column": 22
} | {
"line": 707,
"column": 23
} | [
{
"pp": "R : Type u\ninst✝ : CommRing R\nq p₁ p₂ : R[X]\nhq : q.Monic\nhR : Nontrivial R\n⊢ p₁ %ₘ q + p₂ %ₘ q + q * (p₁ /ₘ q + p₂ /ₘ q) = p₁ + p₂",
"ppTerm": "?m.85",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"AddMonoidAlgebra.semiring",
"HMul... | [
"R : Type u\ninst✝ : CommRing R\nq p₁ p₂ : R[X]\nhq : q.Monic\nhR : Nontrivial R\n⊢ p₁ %ₘ q + p₂ %ₘ q + (q * (p₁ /ₘ q) + q * (p₂ /ₘ q)) = p₁ + p₂"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Order.Filter.CountablyGenerated | {
"line": 166,
"column": 2
} | {
"line": 168,
"column": 82
} | {
"line": 170,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nι : Type u_3\nι' : Sort u_4\nf g : Filter α\ninst✝¹ : f.IsCountablyGenerated\ninst✝ : g.IsCountablyGenerated\n⊢ (f ⊔ g).IsCountablyGenerated",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"Set.instMax",
"Filter.HasCountableBasis.mk",
"... | [] | rcases f.exists_antitone_basis with ⟨s, hs⟩
rcases g.exists_antitone_basis with ⟨t, ht⟩
exact HasCountableBasis.isCountablyGenerated ⟨hs.1.sup ht.1, Set.to_countable _⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.Filter.CountablyGenerated | {
"line": 166,
"column": 2
} | {
"line": 168,
"column": 82
} | {
"line": 170,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nι : Type u_3\nι' : Sort u_4\nf g : Filter α\ninst✝¹ : f.IsCountablyGenerated\ninst✝ : g.IsCountablyGenerated\n⊢ (f ⊔ g).IsCountablyGenerated",
"ppTerm": "?m.6",
"assigned": true,
"usedConstants": [
"Set.instMax",
"Filter.HasCountableBasis.mk",
"... | [] | rcases f.exists_antitone_basis with ⟨s, hs⟩
rcases g.exists_antitone_basis with ⟨t, ht⟩
exact HasCountableBasis.isCountablyGenerated ⟨hs.1.sup ht.1, Set.to_countable _⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Algebra.Polynomial.Div | {
"line": 793,
"column": 6
} | {
"line": 793,
"column": 56
} | {
"line": 794,
"column": 6
} | [
{
"pp": "R : Type u\ninst✝¹ : CommRing R\np : R[X]\ninst✝ : IsDomain R\nhi : Irreducible p\nx : R\nhx : p.IsRoot x\ng : R[X]\nhg : p = (X - C x) * g\nthis : IsUnit (X - C x) ∨ IsUnit g\nh : IsUnit (X - C x)\n⊢ p.degree = 1",
"ppTerm": "?m.50",
"assigned": true,
"usedConstants": [
"Polynomial.C... | [
"R : Type u\ninst✝¹ : CommRing R\np : R[X]\ninst✝ : IsDomain R\nhi : Irreducible p\nx : R\nhx : p.IsRoot x\ng : R[X]\nhg : p = (X - C x) * g\nthis : IsUnit (X - C x) ∨ IsUnit g\nh : IsUnit (X - C x)\nh₁ : (X - C x).degree = 1\n⊢ p.degree = 1"
] | have h₁ : degree (X - C x) = 1 := degree_X_sub_C x | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Data.Finsupp.Weight | {
"line": 321,
"column": 2
} | {
"line": 321,
"column": 60
} | {
"line": 323,
"column": 0
} | [
{
"pp": "case succ\nσ : Type u_5\ns : Set ℕ\nn : ℕ\nhn : n + 1 ≠ 0\n⊢ ⇑degree ⁻¹' ((n + 1) • s) = (n + 1) • ⇑degree ⁻¹' s",
"ppTerm": "?succ",
"assigned": true,
"usedConstants": [
"Finsupp.instAddZeroClass",
"False",
"Nat.instMulZeroClass",
"Nat.recAux",
"instHSMul",
... | [] | induction n <;> simp_all [succ_nsmul, degree_preimage_add] | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Order.Filter.Pi | {
"line": 323,
"column": 2
} | {
"line": 323,
"column": 55
} | {
"line": 325,
"column": 0
} | [
{
"pp": "ι : Type u_1\nα : ι → Type u_2\nf : (i : ι) → Filter (α i)\nβ : ι → Type u_3\nm : (i : ι) → α i → β i\ns : Set ((i : ι) → β i)\nh : ∀ (i : ι), ∃ t₁, m i ⁻¹' t₁ ∈ f i ∧ eval i ⁻¹' t₁ ⊆ s\ni : ι\nt : Set (β i)\nH : m i ⁻¹' t ∈ f i\nhH : eval i ⁻¹' t ⊆ s\n⊢ ∃ t₁ ∈ f i, eval i ⁻¹' t₁ ⊆ (fun k i ↦ m i (k i)... | [] | exact ⟨{ x : α i | m i x ∈ t }, H, fun x hx => hH hx⟩ | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Order.Filter.Prod | {
"line": 304,
"column": 72
} | {
"line": 306,
"column": 45
} | {
"line": 308,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nf : Filter α\ng : Filter β\nh : Filter γ\n⊢ map (⇑(Equiv.prodAssoc α β γ).symm) (f ×ˢ g ×ˢ h) = (f ×ˢ g) ×ˢ h",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Equiv.instEquivLike",
"CompleteLattice.toLattice",
... | [] | by
simp_rw [map_equiv_symm, prod_eq_inf, comap_inf, comap_comap, inf_assoc,
Function.comp_def, Equiv.prodAssoc_apply] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Order.Filter.Cofinite | {
"line": 331,
"column": 4
} | {
"line": 332,
"column": 33
} | {
"line": 334,
"column": 0
} | [
{
"pp": "case refine_4.refine_3\nα : Type u_2\nf : Filter α\nq : Set α × Filter α\nhq : (fun p ↦ p.2 ≤ cofinite ∧ Disjoint (𝓟 p.1) p.2 ∧ f = 𝓟 p.1 ⊔ p.2) q\nhqk : f.ker = q.1\n⊢ Coheyting.boundary f ≤ q.2",
"ppTerm": "?refine_4.refine_3",
"assigned": true,
"usedConstants": [
"Eq.mpr",
... | [] | · grw [hq.2.2, Coheyting.boundary_sup_le, boundary_principal, bot_sup_eq]
exact Coheyting.boundary_le | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Data.Multiset.Fintype | {
"line": 201,
"column": 26
} | {
"line": 201,
"column": 47
} | {
"line": 201,
"column": 47
} | [
{
"pp": "α : Type u_1\ninst✝ : DecidableEq α\nβ : Type u_3\nm : Multiset α\nf : α → β\n⊢ map f (map (fun x ↦ x.fst) Finset.univ.val) = map f m",
"ppTerm": "?m.20",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Finset.univ",
"Multiset.map",
"congrArg",
"Multiset.fintyp... | [
"α : Type u_1\ninst✝ : DecidableEq α\nβ : Type u_3\nm : Multiset α\nf : α → β\n⊢ map f m = map f m"
] | Multiset.map_univ_coe | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.Polynomial.Roots | {
"line": 80,
"column": 2
} | {
"line": 80,
"column": 94
} | {
"line": 82,
"column": 0
} | [
{
"pp": "case neg\nR : Type u\ninst✝¹ : CommRing R\ninst✝ : IsDomain R\np : R[X]\nhp0 : ¬p = 0\n⊢ p.roots.card ≤ p.natDegree",
"ppTerm": "?neg✝",
"assigned": true,
"usedConstants": [
"WithBot.instPreorder",
"WithBot.some",
"WithBot",
"Polynomial.roots",
"Polynomial.degr... | [] | exact WithBot.coe_le_coe.1 (le_trans (card_roots hp0) (le_of_eq <| degree_eq_natDegree hp0)) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.RingTheory.UniqueFactorizationDomain.Basic | {
"line": 171,
"column": 10
} | {
"line": 171,
"column": 97
} | {
"line": 172,
"column": 10
} | [
{
"pp": "case a\nα : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : IsCancelMulZero α\neif : ∀ (a : α), a ≠ 0 → ∃ f, (∀ b ∈ f, Irreducible b) ∧ f.prod ~ᵤ a\nuif :\n ∀ (f g : Multiset α),\n (∀ x ∈ f, Irreducible x) → (∀ x ∈ g, Irreducible x) → f.prod ~ᵤ g.prod → Multiset.Rel Associated f g\np : α\nthis : D... | [
"case a\nα : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : IsCancelMulZero α\neif : ∀ (a : α), a ≠ 0 → ∃ f, (∀ b ∈ f, Irreducible b) ∧ f.prod ~ᵤ a\nuif :\n ∀ (f g : Multiset α),\n (∀ x ∈ f, Irreducible x) → (∀ x ∈ g, Irreducible x) → f.prod ~ᵤ g.prod → Multiset.Rel Associated f g\np : α\nthis : DecidableEq α... | · exact fun i hi => (Multiset.mem_cons.1 hi).elim (fun hip => hip.symm ▸ hpi) (hfx.1 _) | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.RingTheory.UniqueFactorizationDomain.FactorSet | {
"line": 268,
"column": 21
} | {
"line": 268,
"column": 81
} | {
"line": 270,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝¹ : CommMonoidWithZero α\ninst✝ : UniqueFactorizationMonoid α\ns t : Associates α\nd : Associates α\neq : t = s * d\n⊢ s.factors ≤ t.factors",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"CommMonoidWithZero.toCommMonoid",
"Eq.mpr",
"Associate... | [] | by rw [eq, factors_mul]; exact le_add_of_nonneg_right bot_le | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.Polynomial.UniqueFactorization | {
"line": 63,
"column": 4
} | {
"line": 63,
"column": 57
} | {
"line": 65,
"column": 0
} | [
{
"pp": "case neg\nR : Type u_1\ninst✝² : CommSemiring R\ninst✝¹ : NoZeroDivisors R\ninst✝ : WfDvdMonoid R\nf a : R[X]\nane0 : a ≠ 0\nc : R[X]\nnot_unit_c : ¬IsUnit c\nhac : ¬a * c = 0\ncne0 : c ≠ 0\nhdeg : ¬c.natDegree = 0\n⊢ a.natDegree < a.natDegree + c.natDegree",
"ppTerm": "?neg✝",
"assigned": true... | [] | exact lt_add_of_pos_right _ (Nat.pos_of_ne_zero hdeg) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Algebra.Polynomial.FieldDivision | {
"line": 379,
"column": 12
} | {
"line": 379,
"column": 21
} | {
"line": 379,
"column": 22
} | [
{
"pp": "R : Type u\ninst✝ : Field R\np q : R[X]\nhq0 : q ≠ 0\nh : p / q = 0\nthis : q * 0 + p % q = p\n⊢ p.degree < q.degree",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"AddMonoidAlgebra.semiring",
"HMul.hMul",
"MulZeroClass.toMul",
"congrArg",
"CommSemir... | [
"R : Type u\ninst✝ : Field R\np q : R[X]\nhq0 : q ≠ 0\nh : p / q = 0\nthis : 0 + p % q = p\n⊢ p.degree < q.degree"
] | mul_zero, | Lean.Elab.Tactic.evalRwaAt | null |
Mathlib.RingTheory.UniqueFactorizationDomain.FactorSet | {
"line": 463,
"column": 2
} | {
"line": 469,
"column": 12
} | {
"line": 471,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : UniqueFactorizationMonoid α\ninst✝¹ : DecidableEq (Associates α)\ninst✝ : (p : Associates α) → Decidable (Irreducible p)\nm p : Associates α\nhp : Irreducible p\n⊢ p.count m.factors ≠ 0 → p ≤ m",
"ppTerm": "?m.22",
"assigned": true,
"use... | [] | rcases eq_or_ne m 0 with rfl | h0
· simp
rw [← pos_iff_ne_zero]
intro h
rw [← pow_one p]
apply (prime_pow_dvd_iff_le h0 hp).2
simpa only | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.UniqueFactorizationDomain.FactorSet | {
"line": 463,
"column": 2
} | {
"line": 469,
"column": 12
} | {
"line": 471,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : UniqueFactorizationMonoid α\ninst✝¹ : DecidableEq (Associates α)\ninst✝ : (p : Associates α) → Decidable (Irreducible p)\nm p : Associates α\nhp : Irreducible p\n⊢ p.count m.factors ≠ 0 → p ≤ m",
"ppTerm": "?m.22",
"assigned": true,
"use... | [] | rcases eq_or_ne m 0 with rfl | h0
· simp
rw [← pos_iff_ne_zero]
intro h
rw [← pow_one p]
apply (prime_pow_dvd_iff_le h0 hp).2
simpa only | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.UniqueFactorizationDomain.FactorSet | {
"line": 502,
"column": 2
} | {
"line": 506,
"column": 58
} | {
"line": 508,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : UniqueFactorizationMonoid α\ninst✝¹ : DecidableEq (Associates α)\ninst✝ : (p : Associates α) → Decidable (Irreducible p)\na b : Associates α\nhab : ∀ (d : Associates α), d ∣ a → d ∣ b → ¬Prime d\np : Associates α\nhp : Irreducible p\n⊢ p.count a.fac... | [] | rw [or_iff_not_imp_left, ← Ne]
intro hca
contrapose! hab with hcb
exact ⟨p, le_of_count_ne_zero hp hca, le_of_count_ne_zero hp hcb,
UniqueFactorizationMonoid.irreducible_iff_prime.mp hp⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.UniqueFactorizationDomain.FactorSet | {
"line": 502,
"column": 2
} | {
"line": 506,
"column": 58
} | {
"line": 508,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : UniqueFactorizationMonoid α\ninst✝¹ : DecidableEq (Associates α)\ninst✝ : (p : Associates α) → Decidable (Irreducible p)\na b : Associates α\nhab : ∀ (d : Associates α), d ∣ a → d ∣ b → ¬Prime d\np : Associates α\nhp : Irreducible p\n⊢ p.count a.fac... | [] | rw [or_iff_not_imp_left, ← Ne]
intro hca
contrapose! hab with hcb
exact ⟨p, le_of_count_ne_zero hp hca, le_of_count_ne_zero hp hcb,
UniqueFactorizationMonoid.irreducible_iff_prime.mp hp⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.UniqueFactorizationDomain.FactorSet | {
"line": 588,
"column": 37
} | {
"line": 588,
"column": 46
} | {
"line": 588,
"column": 47
} | [
{
"pp": "case neg\nα : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : UniqueFactorizationMonoid α\ninst✝¹ : DecidableEq (Associates α)\ninst✝ : (p : Associates α) → Decidable (Irreducible p)\np a : Associates α\nhp : Irreducible p\nn : ℕ\nh✝ : a ∣ p ^ n\na✝ : Nontrivial α\nhph : p ^ n ≠ 0\nha : a ≠ 0\neq_zer... | [
"case neg\nα : Type u_1\ninst✝³ : CommMonoidWithZero α\ninst✝² : UniqueFactorizationMonoid α\ninst✝¹ : DecidableEq (Associates α)\ninst✝ : (p : Associates α) → Decidable (Irreducible p)\np a : Associates α\nhp : Irreducible p\nn : ℕ\nh✝ : a ∣ p ^ n\na✝ : Nontrivial α\nhph : p ^ n ≠ 0\nha : a ≠ 0\neq_zero_of_ne : ∀ ... | mul_zero, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Algebraic.Basic | {
"line": 41,
"column": 2
} | {
"line": 41,
"column": 41
} | {
"line": 43,
"column": 0
} | [
{
"pp": "R : Type u\nA : Type v\ninst✝² : CommRing R\ninst✝¹ : Ring A\ninst✝ : Algebra R A\na : A\nh : Subsingleton R\n⊢ ¬IsAlgebraic R a",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"is_transcendental_of_subsingleton"
],
"usedFVars": [
"R",
"A",
"inst✝²"... | [] | apply is_transcendental_of_subsingleton | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.RingTheory.Algebraic.Basic | {
"line": 638,
"column": 4
} | {
"line": 638,
"column": 36
} | {
"line": 639,
"column": 2
} | [
{
"pp": "case e'_3\nK : Type u_1\nL : Type u_2\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nx : L\np : K[X]\naeval_eq : (aeval x) p = 0\ncoeff_zero_ne : p.coeff 0 ≠ 0\n⊢ -((aeval x) p.divX / (algebraMap K L) (p.coeff 0)) = (aeval x) p.divX / ((aeval x) p - (algebraMap K L) (p.coeff 0))",
"ppTer... | [] | rw [aeval_eq, zero_sub, div_neg] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.RingTheory.Algebraic.Basic | {
"line": 638,
"column": 4
} | {
"line": 638,
"column": 36
} | {
"line": 639,
"column": 2
} | [
{
"pp": "case e'_3\nK : Type u_1\nL : Type u_2\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nx : L\np : K[X]\naeval_eq : (aeval x) p = 0\ncoeff_zero_ne : p.coeff 0 ≠ 0\n⊢ -((aeval x) p.divX / (algebraMap K L) (p.coeff 0)) = (aeval x) p.divX / ((aeval x) p - (algebraMap K L) (p.coeff 0))",
"ppTer... | [] | rw [aeval_eq, zero_sub, div_neg] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.RingTheory.Algebraic.Basic | {
"line": 638,
"column": 4
} | {
"line": 638,
"column": 36
} | {
"line": 639,
"column": 2
} | [
{
"pp": "case e'_3\nK : Type u_1\nL : Type u_2\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nx : L\np : K[X]\naeval_eq : (aeval x) p = 0\ncoeff_zero_ne : p.coeff 0 ≠ 0\n⊢ -((aeval x) p.divX / (algebraMap K L) (p.coeff 0)) = (aeval x) p.divX / ((aeval x) p - (algebraMap K L) (p.coeff 0))",
"ppTer... | [] | rw [aeval_eq, zero_sub, div_neg] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.RingTheory.Algebraic.Basic | {
"line": 664,
"column": 4
} | {
"line": 664,
"column": 35
} | {
"line": 665,
"column": 4
} | [
{
"pp": "case refine_3\nK : Type u_1\nL : Type u_2\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nA : Subalgebra K L\nx : ↥A\np : K[X]\n⊢ ∀ (p : K[X]), p ≠ 0 → (p ≠ 0 → (aeval x) p = 0 → (↑x)⁻¹ ∈ A) → p * X ≠ 0 → (aeval x) (p * X) = 0 → (↑x)⁻¹ ∈ A",
"ppTerm": "?refine_3",
"assigned": true,
... | [
"case refine_3\nK : Type u_1\nL : Type u_2\ninst✝² : Field K\ninst✝¹ : Field L\ninst✝ : Algebra K L\nA : Subalgebra K L\nx : ↥A\np✝ p : K[X]\nhp : p ≠ 0\nih : p ≠ 0 → (aeval x) p = 0 → (↑x)⁻¹ ∈ A\n_ne_zero : p * X ≠ 0\naeval_eq : (aeval x) (p * X) = 0\n⊢ (↑x)⁻¹ ∈ A"
] | intro p hp ih _ne_zero aeval_eq | Lean.Elab.Tactic.evalIntro | Lean.Parser.Tactic.intro |
Mathlib.Order.DirectedInverseSystem | {
"line": 315,
"column": 54
} | {
"line": 317,
"column": 5
} | {
"line": 319,
"column": 0
} | [
{
"pp": "ι : Type u_6\ninst✝ : LinearOrder ι\nX : ι → Type u_7\ni : ι\nhi : IsSuccPrelimit i\nf : ↑(limit piLTProj i)\nk l : ↑(Iio i)\nhl : ↑l < ↑k\n⊢ (piLTLim hi).symm f l = ↑f k ⟨↑l, hl⟩",
"ppTerm": "?m.31",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Equiv.instEquivLike",
"E... | [] | by
conv_rhs => rw [← (piLTLim hi).right_inv f]
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.LinearAlgebra.TensorProduct.RightExactness | {
"line": 124,
"column": 4
} | {
"line": 126,
"column": 32
} | {
"line": 128,
"column": 0
} | [
{
"pp": "case add\nR : Type u_1\ninst✝⁶ : CommSemiring R\nN : Type u_3\nP : Type u_4\nQ : Type u_5\ninst✝⁵ : AddCommMonoid N\ninst✝⁴ : AddCommMonoid P\ninst✝³ : AddCommMonoid Q\ninst✝² : Module R N\ninst✝¹ : Module R P\ninst✝ : Module R Q\ng : N →ₗ[R] P\nhg : Function.Surjective ⇑g\nx y : Q ⊗[R] P\nhx : ∃ a, (l... | [] | obtain ⟨x, rfl⟩ := hx
obtain ⟨y, rfl⟩ := hy
exact ⟨x + y, map_add _ _ _⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.TensorProduct.RightExactness | {
"line": 124,
"column": 4
} | {
"line": 126,
"column": 32
} | {
"line": 128,
"column": 0
} | [
{
"pp": "case add\nR : Type u_1\ninst✝⁶ : CommSemiring R\nN : Type u_3\nP : Type u_4\nQ : Type u_5\ninst✝⁵ : AddCommMonoid N\ninst✝⁴ : AddCommMonoid P\ninst✝³ : AddCommMonoid Q\ninst✝² : Module R N\ninst✝¹ : Module R P\ninst✝ : Module R Q\ng : N →ₗ[R] P\nhg : Function.Surjective ⇑g\nx y : Q ⊗[R] P\nhx : ∃ a, (l... | [] | obtain ⟨x, rfl⟩ := hx
obtain ⟨y, rfl⟩ := hy
exact ⟨x + y, map_add _ _ _⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.TensorProduct.RightExactness | {
"line": 154,
"column": 4
} | {
"line": 156,
"column": 32
} | {
"line": 158,
"column": 0
} | [
{
"pp": "case add\nR : Type u_1\ninst✝⁶ : CommSemiring R\nN : Type u_3\nP : Type u_4\nQ : Type u_5\ninst✝⁵ : AddCommMonoid N\ninst✝⁴ : AddCommMonoid P\ninst✝³ : AddCommMonoid Q\ninst✝² : Module R N\ninst✝¹ : Module R P\ninst✝ : Module R Q\ng : N →ₗ[R] P\nhg : Function.Surjective ⇑g\nx y : P ⊗[R] Q\nhx : ∃ a, (r... | [] | obtain ⟨x, rfl⟩ := hx
obtain ⟨y, rfl⟩ := hy
exact ⟨x + y, map_add _ _ _⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.LinearAlgebra.TensorProduct.RightExactness | {
"line": 154,
"column": 4
} | {
"line": 156,
"column": 32
} | {
"line": 158,
"column": 0
} | [
{
"pp": "case add\nR : Type u_1\ninst✝⁶ : CommSemiring R\nN : Type u_3\nP : Type u_4\nQ : Type u_5\ninst✝⁵ : AddCommMonoid N\ninst✝⁴ : AddCommMonoid P\ninst✝³ : AddCommMonoid Q\ninst✝² : Module R N\ninst✝¹ : Module R P\ninst✝ : Module R Q\ng : N →ₗ[R] P\nhg : Function.Surjective ⇑g\nx y : P ⊗[R] Q\nhx : ∃ a, (r... | [] | obtain ⟨x, rfl⟩ := hx
obtain ⟨y, rfl⟩ := hy
exact ⟨x + y, map_add _ _ _⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.LinearAlgebra.TensorProduct.RightExactness | {
"line": 147,
"column": 41
} | {
"line": 156,
"column": 32
} | {
"line": 158,
"column": 0
} | [
{
"pp": "R : Type u_1\ninst✝⁶ : CommSemiring R\nN : Type u_3\nP : Type u_4\nQ : Type u_5\ninst✝⁵ : AddCommMonoid N\ninst✝⁴ : AddCommMonoid P\ninst✝³ : AddCommMonoid Q\ninst✝² : Module R N\ninst✝¹ : Module R P\ninst✝ : Module R Q\ng : N →ₗ[R] P\nhg : Function.Surjective ⇑g\n⊢ Function.Surjective ⇑(rTensor Q g)",... | [] | by
intro z
induction z with
| tmul p q =>
obtain ⟨n, rfl⟩ := hg p
exact ⟨n ⊗ₜ[R] q, rfl⟩
| add x y hx hy =>
obtain ⟨x, rfl⟩ := hx
obtain ⟨y, rfl⟩ := hy
exact ⟨x + y, map_add _ _ _⟩ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.MvPolynomial.Basic | {
"line": 175,
"column": 57
} | {
"line": 177,
"column": 5
} | {
"line": 179,
"column": 0
} | [
{
"pp": "σ : Type u\nR : Type v\ninst✝ : CommSemiring R\nm : ℕ\np : MvPolynomial σ R\n⊢ p ∈ restrictTotalDegree σ R m ↔ p.totalDegree ≤ m",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"Nat.instMulZeroClass",
"Nat.instLattice",
"Lattice... | [] | by
rw [totalDegree, Finset.sup_le_iff]
rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.RingTheory.Finiteness.Small | {
"line": 23,
"column": 2
} | {
"line": 23,
"column": 29
} | {
"line": 24,
"column": 2
} | [
{
"pp": "R : Type u_1\nM : Type u_2\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nP Q : Submodule R M\nsmallP : Small.{u, u_2} ↥P\nsmallQ : Small.{u, u_2} ↥Q\n⊢ Small.{u, u_2} ↥(P ⊔ Q)",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
... | [
"R : Type u_1\nM : Type u_2\ninst✝² : Semiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\nP Q : Submodule R M\nsmallP : Small.{u, u_2} ↥P\nsmallQ : Small.{u, u_2} ↥Q\n⊢ Small.{u, u_2} ↥(P.subtype.coprod Q.subtype).range"
] | rw [Submodule.sup_eq_range] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.LinearAlgebra.TensorProduct.RightExactness | {
"line": 613,
"column": 6
} | {
"line": 613,
"column": 25
} | {
"line": 613,
"column": 25
} | [
{
"pp": "R : Type u_4\nS : Type u_5\ninst✝¹⁴ : CommRing R\ninst✝¹³ : CommRing S\ninst✝¹² : Algebra R S\nA : Type u_6\nB : Type u_7\nC : Type u_8\nD : Type u_9\ninst✝¹¹ : Ring A\ninst✝¹⁰ : Ring B\ninst✝⁹ : Ring C\ninst✝⁸ : Ring D\ninst✝⁷ : Algebra R A\ninst✝⁶ : Algebra R B\ninst✝⁵ : Algebra R C\ninst✝⁴ : Algebra... | [
"R : Type u_4\nS : Type u_5\ninst✝¹⁴ : CommRing R\ninst✝¹³ : CommRing S\ninst✝¹² : Algebra R S\nA : Type u_6\nB : Type u_7\nC : Type u_8\nD : Type u_9\ninst✝¹¹ : Ring A\ninst✝¹⁰ : Ring B\ninst✝⁹ : Ring C\ninst✝⁸ : Ring D\ninst✝⁷ : Algebra R A\ninst✝⁶ : Algebra R B\ninst✝⁵ : Algebra R C\ninst✝⁴ : Algebra R D\ninst✝³... | ← RingHom.comap_ker | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Flat.Basic | {
"line": 161,
"column": 11
} | {
"line": 161,
"column": 34
} | {
"line": 161,
"column": 35
} | [
{
"pp": "R : Type u\nM : Type v\ninst✝² : CommSemiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\n⊢ Flat R M ↔\n ∀ ⦃P : Type u⦄ [inst : AddCommMonoid P] [inst_1 : Module R P] (N : Submodule R P), Injective ⇑(lTensor M N.subtype)",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
... | [
"R : Type u\nM : Type v\ninst✝² : CommSemiring R\ninst✝¹ : AddCommMonoid M\ninst✝ : Module R M\n⊢ (∀ ⦃P : Type u⦄ [inst : AddCommMonoid P] [inst_1 : Module R P] (N : Submodule R P),\n Injective ⇑(rTensor M N.subtype)) ↔\n ∀ ⦃P : Type u⦄ [inst : AddCommMonoid P] [inst_1 : Module R P] (N : Submodule R P), Inj... | iff_rTensor_injectiveₛ, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.RingTheory.Flat.Basic | {
"line": 177,
"column": 18
} | {
"line": 177,
"column": 39
} | {
"line": 177,
"column": 40
} | [
{
"pp": "R : Type u\nM : Type v\nN : Type u_1\ninst✝⁴ : CommSemiring R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : AddCommMonoid N\ninst✝ : Module R N\nf : ∀ ⦃P : Type u⦄ [inst : AddCommMonoid P] [inst_1 : Module R P] (N : Submodule R P), Injective ⇑(rTensor M N.subtype)\ni : N →ₗ[R] M\nr : M →ₗ[R]... | [
"R : Type u\nM : Type v\nN : Type u_1\ninst✝⁴ : CommSemiring R\ninst✝³ : AddCommMonoid M\ninst✝² : Module R M\ninst✝¹ : AddCommMonoid N\ninst✝ : Module R N\nf : ∀ ⦃P : Type u⦄ [inst : AddCommMonoid P] [inst_1 : Module R P] (N : Submodule R P), Injective ⇑(rTensor M N.subtype)\ni : N →ₗ[R] M\nr : M →ₗ[R] N\nh : r ∘ₗ... | lTensor_comp_rTensor, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.RingTheory.Flat.Basic | {
"line": 210,
"column": 11
} | {
"line": 210,
"column": 34
} | {
"line": 210,
"column": 35
} | [
{
"pp": "R : Type u\ninst✝² : CommSemiring R\nι : Type v\nM : ι → Type w\ninst✝¹ : (i : ι) → AddCommMonoid (M i)\ninst✝ : (i : ι) → Module R (M i)\n⊢ Flat R (⨁ (i : ι), M i) ↔ ∀ (i : ι), Flat R (M i)",
"ppTerm": "?m.23",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Submodule",
"... | [
"R : Type u\ninst✝² : CommSemiring R\nι : Type v\nM : ι → Type w\ninst✝¹ : (i : ι) → AddCommMonoid (M i)\ninst✝ : (i : ι) → Module R (M i)\n⊢ (∀ ⦃P : Type u⦄ [inst : AddCommMonoid P] [inst_1 : Module R P] (N : Submodule R P),\n Injective ⇑(rTensor (⨁ (i : ι), M i) N.subtype)) ↔\n ∀ (i : ι) ⦃P : Type u⦄ [ins... | iff_rTensor_injectiveₛ, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.Colimit.DirectLimit | {
"line": 397,
"column": 53
} | {
"line": 397,
"column": 67
} | {
"line": 397,
"column": 68
} | [
{
"pp": "R : Type u_1\nι : Type u_2\ninst✝⁷ : Preorder ι\nG : ι → Type u_3\nH : ι → Type u_4\nC : Type u_5\nT : ⦃i j : ι⦄ → i ≤ j → Type u_6\nf : (x x_1 : ι) → (h : x ≤ x_1) → T h\ninst✝⁶ : (i j : ι) → (h : i ≤ j) → FunLike (T h) (G i) (G j)\ninst✝⁵ : (i : ι) → FunLike (H i) (G i) C\ninst✝⁴ : DirectedSystem G f... | [
"R : Type u_1\nι : Type u_2\ninst✝⁷ : Preorder ι\nG : ι → Type u_3\nH : ι → Type u_4\nC : Type u_5\nT : ⦃i j : ι⦄ → i ≤ j → Type u_6\nf : (x x_1 : ι) → (h : x ≤ x_1) → T h\ninst✝⁶ : (i j : ι) → (h : i ≤ j) → FunLike (T h) (G i) (G j)\ninst✝⁵ : (i : ι) → FunLike (H i) (G i) C\ninst✝⁴ : DirectedSystem G fun x1 x2 x3 ... | Nat.cast_succ, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Algebra.BigOperators.Expect | {
"line": 284,
"column": 43
} | {
"line": 284,
"column": 83
} | {
"line": 286,
"column": 0
} | [
{
"pp": "ι : Type u_1\nM : Type u_4\nN : Type u_5\ninst✝⁵ : AddCommMonoid M\ninst✝⁴ : Module ℚ≥0 M\ninst✝³ : AddCommMonoid N\ninst✝² : Module ℚ≥0 N\nF : Type u_6\ninst✝¹ : FunLike F M N\ninst✝ : LinearMapClass F ℚ≥0 M N\ng : F\nf : ι → M\ns : Finset ι\n⊢ g (𝔼 i ∈ s, f i) = 𝔼 i ∈ s, g (f i)",
"ppTerm": "?m... | [] | by simp only [expect, map_smul, map_sum] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.Group.EvenFunction | {
"line": 152,
"column": 36
} | {
"line": 152,
"column": 41
} | {
"line": 152,
"column": 42
} | [
{
"pp": "α : Type u_3\nβ : Type u_4\ninst✝² : AddCommGroup β\ninst✝¹ : HasUniqueDiv β\nf : α → β\ninst✝ : Neg α\nhe : Function.Even f\nho : Function.Odd f\nr : α\n⊢ -f r = f r",
"ppTerm": "?m.29",
"assigned": true,
"usedConstants": [
"AddGroup.toSubtractionMonoid",
"Eq.mpr",
"NegZe... | [
"α : Type u_3\nβ : Type u_4\ninst✝² : AddCommGroup β\ninst✝¹ : HasUniqueDiv β\nf : α → β\ninst✝ : Neg α\nhe : Function.Even f\nho : Function.Odd f\nr : α\n⊢ f (-r) = f r"
] | ← ho, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Int.Interval | {
"line": 163,
"column": 28
} | {
"line": 163,
"column": 36
} | {
"line": 163,
"column": 37
} | [
{
"pp": "n a : ℤ\nh : 0 ≤ a\nha : 0 < a\ni : ℤ\nhi₀ : 0 ≤ i\nhia : i < a\nhn : n % a + a * (n / a) = n\nhi : i < n % a\n⊢ n % a + a * (n / a + 1) = n + a",
"ppTerm": "?m.303",
"assigned": true,
"usedConstants": [
"Distrib.leftDistribClass",
"Eq.mpr",
"Int.instDiv",
"instHDiv"... | [
"n a : ℤ\nh : 0 ≤ a\nha : 0 < a\ni : ℤ\nhi₀ : 0 ≤ i\nhia : i < a\nhn : n % a + a * (n / a) = n\nhi : i < n % a\n⊢ n % a + (a * (n / a) + a * 1) = n + a"
] | mul_add, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Algebra.BigOperators.Group.Finset.Powerset | {
"line": 36,
"column": 2
} | {
"line": 36,
"column": 55
} | {
"line": 38,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\ns : Finset α\na : α\ninst✝¹ : CommMonoid β\ninst✝ : DecidableEq α\nha : a ∉ s\nf : Finset α → β\n⊢ Disjoint s.powerset (image (insert a) s.powerset)",
"ppTerm": "?m.46",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"not_exists._simp_1",
"False... | [] | · aesop (add simp [disjoint_left, insert_subset_iff]) | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Algebra.BigOperators.ModEq | {
"line": 61,
"column": 95
} | {
"line": 62,
"column": 36
} | {
"line": 64,
"column": 0
} | [
{
"pp": "n : ℕ\ns : Multiset ℕ\nh : ∀ x ∈ s, x ≡ 1 [MOD n]\n⊢ s.prod ≡ 1 [MOD n]",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Multiset.map",
"congrArg",
"Multiset.prod",
"Multiset",
"Eq.mp",
"instOfNatNat",
"Nat.ModEq.multisetProd_map_one",
... | [] | by
simpa using multisetProd_map_one h | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Algebra.BigOperators.ModEq | {
"line": 154,
"column": 97
} | {
"line": 155,
"column": 36
} | {
"line": 157,
"column": 0
} | [
{
"pp": "n : ℤ\ns : Multiset ℤ\nh : ∀ x ∈ s, x ≡ 1 [ZMOD n]\n⊢ s.prod ≡ 1 [ZMOD n]",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Int.instCommMonoid",
"Multiset.map",
"congrArg",
"Multiset.prod",
"Multiset",
"Eq.mp",
"Int",
"instOfNat",
... | [] | by
simpa using multisetProd_map_one h | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Sym.Sym2 | {
"line": 283,
"column": 18
} | {
"line": 285,
"column": 40
} | {
"line": 287,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\na b₁✝ b₁ : α\nh : (fun b ↦ s(a, b)) b₁✝ = (fun b ↦ s(a, b)) b₁\n⊢ b₁✝ = b₁",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Sym2.Rel",
"Sym2.eq._simp_1",
"Sym2.mk",
"congrArg",
"Eq.mp",
"Prod.mk",
... | [] | by
simp only [Sym2.eq, Sym2.rel_iff', Prod.mk.injEq, true_and, Prod.swap_prod_mk] at h
obtain rfl | ⟨rfl, rfl⟩ := h <;> rfl | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Sym.Sym2 | {
"line": 420,
"column": 2
} | {
"line": 422,
"column": 36
} | {
"line": 424,
"column": 0
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nf g : α → β\ns : Sym2 α\nh : ∀ x ∈ s, f x = g x\ny : β\n⊢ (∃ a ∈ s, f a = y) ↔ ∃ a ∈ s, g a = y",
"ppTerm": "?m.18",
"assigned": true,
"usedConstants": [
"congrArg",
"Membership.mem",
"Exists",
"And.casesOn",
"And",
"Exists.cas... | [] | constructor <;>
· rintro ⟨w, hw, rfl⟩
exact ⟨w, hw, by simp [hw, h]⟩ | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Data.Sym.Sym2 | {
"line": 579,
"column": 67
} | {
"line": 580,
"column": 34
} | {
"line": 582,
"column": 0
} | [
{
"pp": "α : Type u_1\n⊢ Set.range diag = diagSet",
"ppTerm": "?m.8",
"assigned": true,
"usedConstants": [
"Set.ext",
"Sym2.Rel",
"Sym2.eq._simp_1",
"Sym2.mk",
"congrArg",
"Quot.ind",
"Membership.mem",
"Exists",
"_private.Mathlib.Data.Sym.Sym2.0.... | [] | by
ext ⟨a, b⟩; simp [diag, eq_comm] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Basic.Opposite | {
"line": 108,
"column": 2
} | {
"line": 108,
"column": 47
} | {
"line": 109,
"column": 2
} | [
{
"pp": "α : Sort u\nX : Type v\ninst✝ : Small.{u, v} X\n⊢ Small.{u, v} Xᵒᵖ",
"ppTerm": "?m.1",
"assigned": true,
"usedConstants": [
"Opposite",
"Small.equiv_small",
"Exists",
"Equiv",
"Exists.casesOn",
"Nonempty.casesOn",
"Nonempty",
"Small"
],
... | [
"α : Sort u\nX : Type v\ninst✝ : Small.{u, v} X\nS : Type u\ne : X ≃ S\n⊢ Small.{u, v} Xᵒᵖ"
] | obtain ⟨S, ⟨e⟩⟩ := Small.equiv_small (α := X) | _private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalObtain | Lean.Parser.Tactic.obtain |
Mathlib.RingTheory.IsTensorProduct | {
"line": 700,
"column": 62
} | {
"line": 701,
"column": 34
} | {
"line": 703,
"column": 0
} | [
{
"pp": "R : Type u_1\nS : Type v₃\ninst✝¹³ : CommSemiring R\ninst✝¹² : CommSemiring S\ninst✝¹¹ : Algebra R S\nR' : Type u_6\nS' : Type u_7\ninst✝¹⁰ : CommSemiring R'\ninst✝⁹ : CommSemiring S'\ninst✝⁸ : Algebra R R'\ninst✝⁷ : Algebra S S'\ninst✝⁶ : Algebra R' S'\ninst✝⁵ : Algebra R S'\ninst✝⁴ : IsScalarTower R ... | [] | by
simp [Algebra.pushoutDesc_apply] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.CategoryTheory.ObjectProperty.Basic | {
"line": 104,
"column": 39
} | {
"line": 104,
"column": 62
} | {
"line": 104,
"column": 62
} | [
{
"pp": "C : Type u\ninst✝ : CategoryStruct.{v, u} C\nι : Type u'\nX : ι → C\nP : ObjectProperty C\nh : ∀ (i : ι), P (X i)\n⊢ ofObj X ≤ P",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"CategoryTheory.ObjectProperty.ofObj.casesOn",
"CategoryTheory.ObjectProperty.ofObj",
... | [] | rintro _ ⟨i⟩; exact h i | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.ObjectProperty.Basic | {
"line": 104,
"column": 39
} | {
"line": 104,
"column": 62
} | {
"line": 104,
"column": 62
} | [
{
"pp": "C : Type u\ninst✝ : CategoryStruct.{v, u} C\nι : Type u'\nX : ι → C\nP : ObjectProperty C\nh : ∀ (i : ι), P (X i)\n⊢ ofObj X ≤ P",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"CategoryTheory.ObjectProperty.ofObj.casesOn",
"CategoryTheory.ObjectProperty.ofObj",
... | [] | rintro _ ⟨i⟩; exact h i | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.ConcreteCategory.Basic | {
"line": 147,
"column": 2
} | {
"line": 148,
"column": 36
} | {
"line": 150,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\nFC : C → C → Type u_1\nCC : C → Type w\ninst✝¹ : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)\ninst✝ : ConcreteCategory C FC\nX Y Z : C\nf : X ⟶ Y\ng : Y ⟶ Z\n⊢ ⇑(hom (f ≫ g)) = ⇑(hom g) ∘ ⇑(hom f)",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants":... | [] | ext
simp [ConcreteCategory.comp_apply] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.CategoryTheory.ConcreteCategory.Basic | {
"line": 147,
"column": 2
} | {
"line": 148,
"column": 36
} | {
"line": 150,
"column": 0
} | [
{
"pp": "C : Type u\ninst✝² : Category.{v, u} C\nFC : C → C → Type u_1\nCC : C → Type w\ninst✝¹ : (X Y : C) → FunLike (FC X Y) (CC X) (CC Y)\ninst✝ : ConcreteCategory C FC\nX Y Z : C\nf : X ⟶ Y\ng : Y ⟶ Z\n⊢ ⇑(hom (f ≫ g)) = ⇑(hom g) ∘ ⇑(hom f)",
"ppTerm": "?m.34",
"assigned": true,
"usedConstants":... | [] | ext
simp [ConcreteCategory.comp_apply] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.CategoryTheory.Equivalence | {
"line": 484,
"column": 32
} | {
"line": 484,
"column": 76
} | {
"line": 486,
"column": 0
} | [
{
"pp": "C : Type u₁\ninst✝¹ : Category.{v₁, u₁} C\nD : Type u₂\ninst✝ : Category.{v₂, u₂} D\ne : C ≌ D\nW X X' Y Y' Z : D\nf : W ⟶ X\ng : X ⟶ Y\nh : Y ⟶ Z\nf' : W ⟶ X'\ng' : X' ⟶ Y'\nh' : Y' ⟶ Z\n⊢ f ≫ g ≫ h ≫ e.counitInv.app Z = f' ≫ g' ≫ h' ≫ e.counitInv.app Z ↔ f ≫ g ≫ h = f' ≫ g' ≫ h'",
"ppTerm": "?m.8... | [] | by simp only [← Category.assoc, cancel_mono] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Basic.Logic.Lemmas | {
"line": 41,
"column": 2
} | {
"line": 41,
"column": 19
} | {
"line": 43,
"column": 0
} | [
{
"pp": "α : Sort u_1\np q : Prop\ninst✝¹ : Decidable p\ninst✝ : Decidable q\na : p → α\nb : ¬p → q → α\nc : ¬p → ¬q → α\n⊢ (dite p a fun hp ↦ dite q (b hp) (c hp)) = if hq : q then dite p a fun hp ↦ b hp hq else dite p a fun hp ↦ c hp hq",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
... | [] | split_ifs <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Basic.Logic.Lemmas | {
"line": 41,
"column": 2
} | {
"line": 41,
"column": 19
} | {
"line": 43,
"column": 0
} | [
{
"pp": "α : Sort u_1\np q : Prop\ninst✝¹ : Decidable p\ninst✝ : Decidable q\na : p → α\nb : ¬p → q → α\nc : ¬p → ¬q → α\n⊢ (dite p a fun hp ↦ dite q (b hp) (c hp)) = if hq : q then dite p a fun hp ↦ b hp hq else dite p a fun hp ↦ c hp hq",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
... | [] | split_ifs <;> rfl | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Basic.Logic.Lemmas | {
"line": 41,
"column": 2
} | {
"line": 41,
"column": 19
} | {
"line": 43,
"column": 0
} | [
{
"pp": "α : Sort u_1\np q : Prop\ninst✝¹ : Decidable p\ninst✝ : Decidable q\na : p → α\nb : ¬p → q → α\nc : ¬p → ¬q → α\n⊢ (dite p a fun hp ↦ dite q (b hp) (c hp)) = if hq : q then dite p a fun hp ↦ b hp hq else dite p a fun hp ↦ c hp hq",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
... | [] | split_ifs <;> rfl | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Basic.Logic.Lemmas | {
"line": 46,
"column": 2
} | {
"line": 46,
"column": 19
} | {
"line": 48,
"column": 0
} | [
{
"pp": "α : Sort u_1\np q : Prop\ninst✝¹ : Decidable p\ninst✝ : Decidable q\na : p → q → α\nb : p → ¬q → α\nc : ¬p → α\n⊢ dite p (fun hp ↦ dite q (a hp) (b hp)) c = if hq : q then dite p (fun hp ↦ a hp hq) c else dite p (fun hp ↦ b hp hq) c",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
... | [] | split_ifs <;> rfl | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1» | Lean.Parser.Tactic.«tactic_<;>_» |
Mathlib.Basic.Logic.Lemmas | {
"line": 46,
"column": 2
} | {
"line": 46,
"column": 19
} | {
"line": 48,
"column": 0
} | [
{
"pp": "α : Sort u_1\np q : Prop\ninst✝¹ : Decidable p\ninst✝ : Decidable q\na : p → q → α\nb : p → ¬q → α\nc : ¬p → α\n⊢ dite p (fun hp ↦ dite q (a hp) (b hp)) c = if hq : q then dite p (fun hp ↦ a hp hq) c else dite p (fun hp ↦ b hp hq) c",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
... | [] | split_ifs <;> rfl | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Basic.Logic.Lemmas | {
"line": 46,
"column": 2
} | {
"line": 46,
"column": 19
} | {
"line": 48,
"column": 0
} | [
{
"pp": "α : Sort u_1\np q : Prop\ninst✝¹ : Decidable p\ninst✝ : Decidable q\na : p → q → α\nb : p → ¬q → α\nc : ¬p → α\n⊢ dite p (fun hp ↦ dite q (a hp) (b hp)) c = if hq : q then dite p (fun hp ↦ a hp hq) c else dite p (fun hp ↦ b hp hq) c",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
... | [] | split_ifs <;> rfl | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.