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.Tactic.Inclusion.Extension.Interval.Basic | {
"line": 407,
"column": 8
} | {
"line": 408,
"column": 62
} | {
"line": 409,
"column": 6
} | [
{
"pp": "case pos.inr.left\nα : Type u_1\nβ : Type u_2\ninst✝⁷ : Pow α ℕ\ninst✝⁶ : Zero α\ninst✝⁵ : One α\ninst✝⁴ : Neg α\ninst✝³ : LinearOrder α\ninst✝² : Ring β\ninst✝¹ : LinearOrder β\ninst✝ : IsStrictOrderedRing β\nf : α ↪o β\nmap_zero : f 0 = 0\nmap_one : f 1 = 1\nmap_neg : ∀ (a : α), f (-a) = -f a\nmap_po... | [] | apply pow_le_pow_left₀ _ (hl _ ha) n
simpa [ha, map_zero] using f.monotone.withBot_map hpos | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.List.Sigma | {
"line": 689,
"column": 56
} | {
"line": 689,
"column": 68
} | {
"line": 689,
"column": 68
} | [
{
"pp": "case neg\nα : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\na : α\ns : Sigma β\nl₁ : List (Sigma β)\nih : ∀ {l₂ : List (Sigma β)}, a ∈ (l₁.kunion l₂).keys ↔ a ∈ l₁.keys ∨ a ∈ l₂.keys\nl₂ : List (Sigma β)\nh : ¬a = s.fst\n⊢ a ∈ ((s :: l₁).kunion l₂).keys ↔ a ∈ (s :: l₁).keys ∨ a ∈ l₂.keys",
"ppTerm... | [] | simp [h, ih] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Tactic.Inclusion.Extension.Interval.Basic | {
"line": 407,
"column": 8
} | {
"line": 408,
"column": 62
} | {
"line": 409,
"column": 6
} | [
{
"pp": "case pos.inr.left\nα : Type u_1\nβ : Type u_2\ninst✝⁷ : Pow α ℕ\ninst✝⁶ : Zero α\ninst✝⁵ : One α\ninst✝⁴ : Neg α\ninst✝³ : LinearOrder α\ninst✝² : Ring β\ninst✝¹ : LinearOrder β\ninst✝ : IsStrictOrderedRing β\nf : α ↪o β\nmap_zero : f 0 = 0\nmap_one : f 1 = 1\nmap_neg : ∀ (a : α), f (-a) = -f a\nmap_po... | [] | apply pow_le_pow_left₀ _ (hl _ ha) n
simpa [ha, map_zero] using f.monotone.withBot_map hpos | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Holor | {
"line": 80,
"column": 28
} | {
"line": 80,
"column": 81
} | {
"line": 80,
"column": 81
} | [
{
"pp": "ds₁ ds₂ ds₃ is : List ℕ\nh : Forall₂ (fun x1 x2 ↦ x1 < x2) is (ds₁ ++ ds₂ ++ ds₃)\n⊢ ↑(assocRight ⟨is, h⟩).drop.drop = ↑(drop ⟨is, h⟩)",
"ppTerm": "?m.28",
"assigned": true,
"usedConstants": [
"Subtype.mk.congr_simp",
"List.drop_drop",
"List.append_assoc",
"congrArg"... | [] | by simp [assocRight, drop, cast_type, List.drop_drop] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Int.Bitwise | {
"line": 209,
"column": 4
} | {
"line": 209,
"column": 20
} | {
"line": 209,
"column": 20
} | [
{
"pp": "b : Bool\nn : ℕ\n⊢ (bit b -[n+1]).testBit 0 = b",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"Nat.bit",
"Int.testBit",
"Eq.mpr",
"Bool.not",
"congrArg",
"Int.bit_negSucc",
"id",
"instOfNatNat",
"Int",
"Nat",
"Boo... | [
"b : Bool\nn : ℕ\n⊢ -[Nat.bit (!b) n+1].testBit 0 = b"
] | rw [bit_negSucc] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Data.Int.Bitwise | {
"line": 226,
"column": 50
} | {
"line": 226,
"column": 59
} | {
"line": 227,
"column": 4
} | [
{
"pp": "case ofNat.ofNat\nm n : ℕ\n⊢ bitwise or (ofNat m) (ofNat n) = (ofNat m).lor (ofNat n)",
"ppTerm": "?ofNat.ofNat",
"assigned": true,
"usedConstants": [
"Int.bitwise",
"Int.ofNat",
"Int",
"Bool.or",
"Eq.refl"
],
"usedFVars": [
"m",
"n"
],
... | [] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 226,
"column": 50
} | {
"line": 226,
"column": 59
} | {
"line": 227,
"column": 4
} | [
{
"pp": "case ofNat.negSucc\nm n : ℕ\n⊢ bitwise or (ofNat m) -[n+1] = (ofNat m).lor -[n+1]",
"ppTerm": "?ofNat.negSucc",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case ofNat.negSucc\nm n : ℕ\n⊢ bitwise or (ofNat m) -[n+1] = (ofNat m).lor -[n+1]"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 226,
"column": 50
} | {
"line": 226,
"column": 59
} | {
"line": 227,
"column": 4
} | [
{
"pp": "case negSucc.ofNat\nm n : ℕ\n⊢ bitwise or -[m+1] (ofNat n) = -[m+1].lor (ofNat n)",
"ppTerm": "?negSucc.ofNat",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case negSucc.ofNat\nm n : ℕ\n⊢ bitwise or -[m+1] (ofNat n) = -[m+1].lor (ofNat n)"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 226,
"column": 50
} | {
"line": 226,
"column": 59
} | {
"line": 227,
"column": 4
} | [
{
"pp": "case negSucc.negSucc\nm n : ℕ\n⊢ bitwise or -[m+1] -[n+1] = -[m+1].lor -[n+1]",
"ppTerm": "?negSucc.negSucc",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case negSucc.negSucc\nm n : ℕ\n⊢ bitwise or -[m+1] -[n+1] = -[m+1].lor -[n+1]"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.CardIntervalMod | {
"line": 71,
"column": 42
} | {
"line": 71,
"column": 51
} | {
"line": 71,
"column": 52
} | [
{
"pp": "a b r : ℤ\nhr : 0 < r\n⊢ ↑(#(Ioc ⌊↑a / ↑r⌋ ⌊↑b / ↑r⌋)) = max (⌊↑b / ↑r⌋ - ⌊↑a / ↑r⌋) 0",
"ppTerm": "?m.48",
"assigned": true,
"usedConstants": [
"Int.cast",
"Eq.mpr",
"instHDiv",
"Int.floor",
"congrArg",
"Int.instMax",
"Rat",
"Rat.instFloorRin... | [
"a b r : ℤ\nhr : 0 < r\n⊢ ↑(⌊↑b / ↑r⌋ - ⌊↑a / ↑r⌋).toNat = max (⌊↑b / ↑r⌋ - ⌊↑a / ↑r⌋) 0"
] | card_Ioc, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Int.Bitwise | {
"line": 240,
"column": 50
} | {
"line": 240,
"column": 59
} | {
"line": 241,
"column": 4
} | [
{
"pp": "case ofNat.ofNat\nm n : ℕ\n⊢ bitwise and (ofNat m) (ofNat n) = (ofNat m).land (ofNat n)",
"ppTerm": "?ofNat.ofNat",
"assigned": true,
"usedConstants": [
"Int.bitwise",
"Bool.and",
"Int.ofNat",
"Int",
"Eq.refl"
],
"usedFVars": [
"m",
"n"
... | [] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 240,
"column": 50
} | {
"line": 240,
"column": 59
} | {
"line": 241,
"column": 4
} | [
{
"pp": "case ofNat.negSucc\nm n : ℕ\n⊢ bitwise and (ofNat m) -[n+1] = (ofNat m).land -[n+1]",
"ppTerm": "?ofNat.negSucc",
"assigned": true,
"usedConstants": [
"Int.bitwise",
"Bool.and",
"Int.ofNat",
"Int",
"Eq.refl",
"Int.negSucc"
],
"usedFVars": [
... | [] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 240,
"column": 50
} | {
"line": 240,
"column": 59
} | {
"line": 241,
"column": 4
} | [
{
"pp": "case negSucc.ofNat\nm n : ℕ\n⊢ bitwise and -[m+1] (ofNat n) = -[m+1].land (ofNat n)",
"ppTerm": "?negSucc.ofNat",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case negSucc.ofNat\nm n : ℕ\n⊢ bitwise and -[m+1] (ofNat n) = -[m+1].land (ofNat n)"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 240,
"column": 50
} | {
"line": 240,
"column": 59
} | {
"line": 241,
"column": 4
} | [
{
"pp": "case negSucc.negSucc\nm n : ℕ\n⊢ bitwise and -[m+1] -[n+1] = -[m+1].land -[n+1]",
"ppTerm": "?negSucc.negSucc",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case negSucc.negSucc\nm n : ℕ\n⊢ bitwise and -[m+1] -[n+1] = -[m+1].land -[n+1]"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Fib.Lemmas | {
"line": 37,
"column": 13
} | {
"line": 37,
"column": 54
} | {
"line": 37,
"column": 55
} | [
{
"pp": "i : ℕ\nhn : ¬i + 1 = 0\n⊢ fib (-↑(i + 1) + 1) * fib (-↑(i + 1) - 1) - fib (-↑(i + 1)) ^ 2 = (-1) ^ (-↑(i + 1)).natAbs",
"ppTerm": "?m.104",
"assigned": true,
"usedConstants": [
"neg_add_rev",
"Int.instAddCommGroup",
"Eq.mpr",
"HMul.hMul",
"AddMonoid.toAddSemigr... | [
"i : ℕ\nhn : ¬i + 1 = 0\n⊢ fib (-↑i) * fib (-↑(i + 1) - 1) - fib (-↑(i + 1)) ^ 2 = (-1) ^ (-↑(i + 1)).natAbs"
] | show -((i + 1 : ℕ) : ℤ) + 1 = -i by simp, | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Data.Int.Bitwise | {
"line": 254,
"column": 50
} | {
"line": 254,
"column": 59
} | {
"line": 255,
"column": 4
} | [
{
"pp": "case ofNat.ofNat\nm n : ℕ\n⊢ bitwise (fun a b ↦ a && !b) (ofNat m) (ofNat n) = (ofNat m).ldiff (ofNat n)",
"ppTerm": "?ofNat.ofNat",
"assigned": true,
"usedConstants": [
"Bool.not",
"Int.bitwise",
"Bool.and",
"Int.ofNat",
"Int",
"Bool",
"Eq.refl"
... | [] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 254,
"column": 50
} | {
"line": 254,
"column": 59
} | {
"line": 255,
"column": 4
} | [
{
"pp": "case ofNat.negSucc\nm n : ℕ\n⊢ bitwise (fun a b ↦ a && !b) (ofNat m) -[n+1] = (ofNat m).ldiff -[n+1]",
"ppTerm": "?ofNat.negSucc",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case ofNat.negSucc\nm n : ℕ\n⊢ bitwise (fun a b ↦ a && !b) (ofNat m) -[n+1] = (ofNat m).ldiff -[n+1]"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 254,
"column": 50
} | {
"line": 254,
"column": 59
} | {
"line": 255,
"column": 4
} | [
{
"pp": "case negSucc.ofNat\nm n : ℕ\n⊢ bitwise (fun a b ↦ a && !b) -[m+1] (ofNat n) = -[m+1].ldiff (ofNat n)",
"ppTerm": "?negSucc.ofNat",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case negSucc.ofNat\nm n : ℕ\n⊢ bitwise (fun a b ↦ a && !b) -[m+1] (ofNat n) = -[m+1].ldiff (ofNat n)"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 254,
"column": 50
} | {
"line": 254,
"column": 59
} | {
"line": 255,
"column": 4
} | [
{
"pp": "case negSucc.negSucc\nm n : ℕ\n⊢ bitwise (fun a b ↦ a && !b) -[m+1] -[n+1] = -[m+1].ldiff -[n+1]",
"ppTerm": "?negSucc.negSucc",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case negSucc.negSucc\nm n : ℕ\n⊢ bitwise (fun a b ↦ a && !b) -[m+1] -[n+1] = -[m+1].ldiff -[n+1]"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 270,
"column": 50
} | {
"line": 270,
"column": 59
} | {
"line": 271,
"column": 4
} | [
{
"pp": "case ofNat.ofNat\nm n : ℕ\n⊢ bitwise xor (ofNat m) (ofNat n) = (ofNat m).xor (ofNat n)",
"ppTerm": "?ofNat.ofNat",
"assigned": true,
"usedConstants": [
"Int.bitwise",
"Int.ofNat",
"Int",
"Bool.xor",
"Eq.refl"
],
"usedFVars": [
"m",
"n"
]... | [] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 270,
"column": 50
} | {
"line": 270,
"column": 59
} | {
"line": 271,
"column": 4
} | [
{
"pp": "case ofNat.negSucc\nm n : ℕ\n⊢ bitwise xor (ofNat m) -[n+1] = (ofNat m).xor -[n+1]",
"ppTerm": "?ofNat.negSucc",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case ofNat.negSucc\nm n : ℕ\n⊢ bitwise xor (ofNat m) -[n+1] = (ofNat m).xor -[n+1]"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 270,
"column": 50
} | {
"line": 270,
"column": 59
} | {
"line": 271,
"column": 4
} | [
{
"pp": "case negSucc.ofNat\nm n : ℕ\n⊢ bitwise xor -[m+1] (ofNat n) = -[m+1].xor (ofNat n)",
"ppTerm": "?negSucc.ofNat",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case negSucc.ofNat\nm n : ℕ\n⊢ bitwise xor -[m+1] (ofNat n) = -[m+1].xor (ofNat n)"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.Bitwise | {
"line": 270,
"column": 50
} | {
"line": 270,
"column": 59
} | {
"line": 271,
"column": 4
} | [
{
"pp": "case negSucc.negSucc\nm n : ℕ\n⊢ bitwise xor -[m+1] -[n+1] = -[m+1].xor -[n+1]",
"ppTerm": "?negSucc.negSucc",
"assigned": false,
"usedConstants": [],
"usedFVars": [],
"usedGoals": []
}
] | [
"case negSucc.negSucc\nm n : ℕ\n⊢ bitwise xor -[m+1] -[n+1] = -[m+1].xor -[n+1]"
] | try {rfl} | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticTry__1 | Lean.Parser.Tactic.tacticTry_ |
Mathlib.Data.Int.CardIntervalMod | {
"line": 117,
"column": 52
} | {
"line": 117,
"column": 68
} | {
"line": 117,
"column": 68
} | [
{
"pp": "a b r : ℕ\nhr : 0 < r\nv : ℕ\n⊢ max (⌈(↑↑b - ↑↑v) / ↑↑r⌉ - ⌈(↑↑a - ↑↑v) / ↑↑r⌉) 0 = max (⌈(↑b - ↑v) / ↑r⌉ - ⌈(↑a - ↑v) / ↑r⌉) 0",
"ppTerm": "?m.47",
"assigned": true,
"usedConstants": [
"Int.cast",
"Rat.instSub",
"Int.cast_natCast",
"instHDiv",
"congrArg",
... | [] | Int.cast_natCast | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Data.Int.CardIntervalMod | {
"line": 124,
"column": 52
} | {
"line": 124,
"column": 68
} | {
"line": 124,
"column": 68
} | [
{
"pp": "a b r : ℕ\nhr : 0 < r\nv : ℕ\n⊢ max (⌊(↑↑b - ↑↑v) / ↑↑r⌋ - ⌊(↑↑a - ↑↑v) / ↑↑r⌋) 0 = max (⌊(↑b - ↑v) / ↑r⌋ - ⌊(↑a - ↑v) / ↑r⌋) 0",
"ppTerm": "?m.47",
"assigned": true,
"usedConstants": [
"Int.cast",
"Rat.instSub",
"Int.cast_natCast",
"instHDiv",
"Int.floor",
... | [] | Int.cast_natCast | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | null |
Mathlib.Data.NNRat.Floor | {
"line": 82,
"column": 58
} | {
"line": 87,
"column": 23
} | {
"line": 89,
"column": 0
} | [
{
"pp": "K : Type u_1\ninst✝³ : Field K\ninst✝² : LinearOrder K\ninst✝¹ : IsStrictOrderedRing K\ninst✝ : FloorRing K\nx : ℚ≥0\n⊢ ⌈↑x⌉ = ⌈↑x⌉",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStrictMono_of_addRightMono",
"zero_le",
"NNRat.cast_stric... | [] | by
rw [Int.ceil_eq_iff, ← coe_ceil, sub_lt_iff_lt_add]
constructor
· exact mod_cast NNRat.cast_strictMono <| Nat.ceil_lt_add_one zero_le
· rw [Int.cast_natCast, NNRat.cast_le_natCast]
exact Nat.le_ceil _ | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Nat.Choose.Lucas | {
"line": 49,
"column": 4
} | {
"line": 49,
"column": 89
} | {
"line": 50,
"column": 2
} | [
{
"pp": "n k✝ p : ℕ\ninst✝ : Fact (Nat.Prime p)\ndecompose : (X + 1) ^ n = (X + 1) ^ (n % p) * (X ^ p + 1) ^ (n / p)\nk k' : ℕ\n| X ^ k * ↑((n % p).choose k) * (X ^ (p * k') * ↑((n / p).choose k'))",
"ppTerm": "?m.136",
"assigned": true,
"usedConstants": [
"NonAssocSemiring.toAddCommMonoidWith... | [
"n k✝ p : ℕ\ninst✝ : Fact (Nat.Prime p)\ndecompose : (X + 1) ^ n = (X + 1) ^ (n % p) * (X ^ p + 1) ^ (n / p)\nk k' : ℕ\n| X ^ (k + p * k') * ↑((n % p).choose k * (n / p).choose k')"
] | rw [← mul_assoc, mul_right_comm _ _ (X ^ (p * k')), ← pow_add, mul_assoc, ← cast_mul] | Lean.Parser.Tactic.Conv._aux_Init_Conv___macroRules_Lean_Parser_Tactic_Conv_convRw___1 | Lean.Parser.Tactic.Conv.convRw__ |
Mathlib.Data.Nat.Factorization.Divisors | {
"line": 58,
"column": 4
} | {
"line": 58,
"column": 53
} | {
"line": 59,
"column": 4
} | [
{
"pp": "case neg.refine_1\nn : ℕ\nhn : ¬n = 0\nk : ℕ\nh : k ∈ ↑n.properDivisors\nhdvd : k ∣ n\nhlt : k < n\nhk : k ≠ 0\n⊢ k ∈ {x | ∃ f < n.factorization, (f.prod fun x1 x2 ↦ x1 ^ x2) = x}",
"ppTerm": "?neg.refine_1✝",
"assigned": true,
"usedConstants": [
"Nat.instMulZeroClass",
"Preorde... | [
"case neg.refine_1\nn : ℕ\nhn : ¬n = 0\nk : ℕ\nh : k ∈ ↑n.properDivisors\nhdvd : k ∣ n\nhlt : k < n\nhk : k ≠ 0\n⊢ k.factorization < n.factorization"
] | refine ⟨_, ?_, prod_factorization_pow_eq_self hk⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Data.Nat.Factorization.Root | {
"line": 81,
"column": 2
} | {
"line": 81,
"column": 34
} | {
"line": 82,
"column": 2
} | [
{
"pp": "case pos\nn a : ℕ\nh : n = 0 ∨ a = 0\n⊢ factorization 0 = a.factorization ⌊/⌋ n",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"floorDiv_of_nonpos",
"Finsupp.smulZeroClass",
"Finsupp.instFloorDiv",
"Nat.instMulZeroClass",
"Finsupp.partialorder",
... | [
"case neg\nn a : ℕ\nh : ¬(n = 0 ∨ a = 0)\n⊢ ((a.factorization ⌊/⌋ n).prod fun x1 x2 ↦ x1 ^ x2).factorization = a.factorization ⌊/⌋ n"
] | · obtain rfl | rfl := h <;> simp | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Data.Nat.Factorization.Root | {
"line": 142,
"column": 2
} | {
"line": 142,
"column": 34
} | {
"line": 143,
"column": 2
} | [
{
"pp": "case pos\nn a : ℕ\nh : n = 0 ∨ a = 0\n⊢ factorization 0 = a.factorization ⌈/⌉ n",
"ppTerm": "?pos✝",
"assigned": true,
"usedConstants": [
"Finsupp.smulZeroClass",
"Nat.instMulZeroClass",
"Finsupp.partialorder",
"instReflLe",
"congrArg",
"instDistribSMul",... | [
"case neg\nn a : ℕ\nh : ¬(n = 0 ∨ a = 0)\n⊢ ((a.factorization ⌈/⌉ n).prod fun x1 x2 ↦ x1 ^ x2).factorization = a.factorization ⌈/⌉ n"
] | · obtain rfl | rfl := h <;> simp | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Data.Nat.Choose.Lucas | {
"line": 149,
"column": 2
} | {
"line": 149,
"column": 56
} | {
"line": 151,
"column": 0
} | [
{
"pp": "case hf\nn p : ℕ\nhp : Fact (Nat.Prime p)\nhn : 0 < n\nhn₀ : n ≠ p ^ multiplicity p n\nm : ℕ\nh : ↑m ≡ 0 [ZMOD ↑p]\nhm : n = p ^ multiplicity p n * m\n⊢ FiniteMultiplicity p n",
"ppTerm": "?hf",
"assigned": true,
"usedConstants": [
"Iff.mpr",
"Nat.Prime",
"Nat.instMonoid",... | [] | · exact finiteMultiplicity_iff.mpr ⟨hp.out.ne_one, hn⟩ | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Data.Ordmap.Ordnode | {
"line": 250,
"column": 2
} | {
"line": 277,
"column": 49
} | {
"line": 279,
"column": 0
} | [
{
"pp": "α : Type u_1\nl : Ordnode α\nx : α\nr : Ordnode α\n⊢ Ordnode α",
"ppTerm": "?m.1",
"assigned": true,
"usedConstants": [
"HMul.hMul",
"Ordnode",
"id",
"instMulNat",
"instOfNatNat",
"Ordnode.size",
"Ordnode.node",
"GT.gt",
"instHAdd",
... | [] | rcases id l with _ | ls
· rcases id r with _ | ⟨rs, rl, rx, rr⟩
· exact ι x
· rcases id rr with _ | rrs
· rcases rl with _ | ⟨_, _, rlx⟩
· exact node 2 nil x r
· exact node 3 (ι x) rlx ι rx
· rcases id rl with _ | ⟨rls, rll, rlx, rlr⟩
· exact node 3 (ι x) rx rr
· ex... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Ordmap.Ordnode | {
"line": 250,
"column": 2
} | {
"line": 277,
"column": 49
} | {
"line": 279,
"column": 0
} | [
{
"pp": "α : Type u_1\nl : Ordnode α\nx : α\nr : Ordnode α\n⊢ Ordnode α",
"ppTerm": "?m.1",
"assigned": true,
"usedConstants": [
"HMul.hMul",
"Ordnode",
"id",
"instMulNat",
"instOfNatNat",
"Ordnode.size",
"Ordnode.node",
"GT.gt",
"instHAdd",
... | [] | rcases id l with _ | ls
· rcases id r with _ | ⟨rs, rl, rx, rr⟩
· exact ι x
· rcases id rr with _ | rrs
· rcases rl with _ | ⟨_, _, rlx⟩
· exact node 2 nil x r
· exact node 3 (ι x) rlx ι rx
· rcases id rl with _ | ⟨rls, rll, rlx, rlr⟩
· exact node 3 (ι x) rx rr
· ex... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Nat.Nth | {
"line": 464,
"column": 7
} | {
"line": 464,
"column": 16
} | {
"line": 464,
"column": 16
} | [
{
"pp": "p : ℕ → Prop\ninst✝ : DecidablePred p\nn k : ℕ\nh : k < count p n\n⊢ count p (nth p k) < count p n",
"ppTerm": "?m.16",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Preorder.toLT",
"congrArg",
"id",
"Nat.instPreorder",
"Nat.count_nth",
"Nat",
... | [
"p : ℕ → Prop\ninst✝ : DecidablePred p\nn k : ℕ\nh : k < count p n\n⊢ k < count p n",
"p : ℕ → Prop\ninst✝ : DecidablePred p\nn k : ℕ\nh : k < count p n\n⊢ ∀ (hf : (Set.ofPred p).Finite), k < #hf.toFinset"
] | count_nth | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Num.ZNum | {
"line": 504,
"column": 38
} | {
"line": 504,
"column": 54
} | {
"line": 504,
"column": 54
} | [
{
"pp": "α : Type u_1\ninst✝ : AddGroupWithOne α\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_1\ninst✝ : AddGroupWithOne α\nn : ℕ\n⊢ ↑n = ↑n"
] | Int.cast_natCast | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Num.ZNum | {
"line": 689,
"column": 35
} | {
"line": 689,
"column": 57
} | {
"line": 689,
"column": 57
} | [
{
"pp": "a b : ZNum\n⊢ (↑a.abs).gcd ↑b.abs = (↑a).gcd ↑b",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"Nat.gcd",
"Int.gcd",
"Eq.mpr",
"castZNum",
"Nat.instMulZeroClass",
"Nat.instOne",
"congrArg",
"AddGroupWithOne.toAddMonoidWithOne",
... | [
"a b : ZNum\n⊢ (↑a).natAbs.gcd (↑b).natAbs = (↑a).gcd ↑b"
] | simp only [abs_to_nat] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Data.PFunctor.Univariate.M | {
"line": 255,
"column": 2
} | {
"line": 269,
"column": 5
} | {
"line": 271,
"column": 0
} | [
{
"pp": "F : PFunctor.{uA, uB}\nx : F.M\n⊢ M.mk x.dest = x",
"ppTerm": "?m.5",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"PFunctor.M.children._proof_4",
"Nat.recAux",
"PFunctor.A",
"PFunctor.MIntl.mk",
"congrArg",
"PFunctor.M.children._proof_1",
"... | [] | apply ext'
intro n
dsimp only [M.mk]
induction n with | zero => apply @Subsingleton.elim _ CofixA.instSubsingleton | succ n ih
unfold Approx.sMk dest head
dsimp only [Obj.fst_mk, Obj.snd_mk]
cases h : x.approx (n + 1) with | intro hd ch
obtain rfl : hd = head' (x.approx 1) := by
rw [← head_succ' n 0 x... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.PFunctor.Univariate.M | {
"line": 255,
"column": 2
} | {
"line": 269,
"column": 5
} | {
"line": 271,
"column": 0
} | [
{
"pp": "F : PFunctor.{uA, uB}\nx : F.M\n⊢ M.mk x.dest = x",
"ppTerm": "?m.5",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"PFunctor.M.children._proof_4",
"Nat.recAux",
"PFunctor.A",
"PFunctor.MIntl.mk",
"congrArg",
"PFunctor.M.children._proof_1",
"... | [] | apply ext'
intro n
dsimp only [M.mk]
induction n with | zero => apply @Subsingleton.elim _ CofixA.instSubsingleton | succ n ih
unfold Approx.sMk dest head
dsimp only [Obj.fst_mk, Obj.snd_mk]
cases h : x.approx (n + 1) with | intro hd ch
obtain rfl : hd = head' (x.approx 1) := by
rw [← head_succ' n 0 x... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Ordmap.Ordset | {
"line": 244,
"column": 2
} | {
"line": 244,
"column": 63
} | {
"line": 245,
"column": 2
} | [
{
"pp": "case node\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx : α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nrs : ℕ\nrl : Ordnode α\nrx : α\nrr : Ordnode α\nhr : Valid' (↑x) (Ordnode.node rs rl rx rr) o₂\nH1 : ¬l.size + (Ordnode.node rs rl rx rr).size ≤ 1\nH2 : delta * l.size ≤ rl.size + rr.... | [
"case node\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx : α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nrs : ℕ\nrl : Ordnode α\nrx : α\nrr : Ordnode α\nhr : Valid' (↑x) (Ordnode.node rs rl rx rr) o₂\nH1 : ¬l.size + (Ordnode.node rs rl rx rr).size ≤ 1\nH2 : delta * l.size ≤ rl.size + rr.size\nH3 : 2... | have H3_0 (l0 : size l = 0) : size rl + size rr ≤ 2 := by lia | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Mathlib.Data.PFunctor.Multivariate.M | {
"line": 267,
"column": 2
} | {
"line": 267,
"column": 29
} | {
"line": 268,
"column": 2
} | [
{
"pp": "n : ℕ\nP : MvPFunctor.{u} (n + 1)\nα : TypeVec.{u} n\nR : P.M α → P.M α → Prop\nh₀ : Equivalence R\nx y : P.M α\nax : P.A\nfx fy : P.B ax ⟹ α ::: P.M α\nh₁ : (TypeVec.id ::: Quot.mk R) ⊚ fx ≍ (TypeVec.id ::: Quot.mk R) ⊚ fy\n⊢ ∃ a f f₁ f₂, ⟨ax, fx⟩ = ⟨a, splitFun f f₁⟩ ∧ ⟨ax, fy⟩ = ⟨a, splitFun f f₂⟩ ∧... | [
"n : ℕ\nP : MvPFunctor.{u} (n + 1)\nα : TypeVec.{u} n\nR : P.M α → P.M α → Prop\nh₀ : Equivalence R\nx y : P.M α\nax : P.A\nfx fy : P.B ax ⟹ α ::: P.M α\nh₁ : (TypeVec.id ::: Quot.mk R) ⊚ fx = (TypeVec.id ::: Quot.mk R) ⊚ fy\n⊢ ∃ a f f₁ f₂, ⟨ax, fx⟩ = ⟨a, splitFun f f₁⟩ ∧ ⟨ax, fy⟩ = ⟨a, splitFun f f₂⟩ ∧ ∀ (i : (P.B... | simp only [heq_eq_eq] at h₁ | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Data.PFunctor.Multivariate.M | {
"line": 272,
"column": 6
} | {
"line": 272,
"column": 28
} | {
"line": 272,
"column": 29
} | [
{
"pp": "n : ℕ\nP : MvPFunctor.{u} (n + 1)\nα : TypeVec.{u} n\nR : P.M α → P.M α → Prop\nh₀ : Equivalence R\nx y : P.M α\nax : P.A\nfx fy : P.B ax ⟹ α ::: P.M α\nh₁ : (TypeVec.id ::: Quot.mk R) ⊚ fx = (TypeVec.id ::: Quot.mk R) ⊚ fy\nHdrop : dropFun fx = dropFun fy\n⊢ ⟨ax, fx⟩ = ⟨ax, splitFun (dropFun fx) (last... | [
"n : ℕ\nP : MvPFunctor.{u} (n + 1)\nα : TypeVec.{u} n\nR : P.M α → P.M α → Prop\nh₀ : Equivalence R\nx y : P.M α\nax : P.A\nfx fy : P.B ax ⟹ α ::: P.M α\nh₁ : (TypeVec.id ::: Quot.mk R) ⊚ fx = (TypeVec.id ::: Quot.mk R) ⊚ fy\nHdrop : dropFun fx = dropFun fy\n⊢ ⟨ax, fx⟩ = ⟨ax, fx⟩ ∧\n ⟨ax, fy⟩ = ⟨ax, splitFun (dr... | split_dropFun_lastFun, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.PNat.Interval | {
"line": 71,
"column": 41
} | {
"line": 72,
"column": 60
} | {
"line": 74,
"column": 0
} | [
{
"pp": "a b : ℕ+\n⊢ #(Ioc a b) = ↑b - ↑a",
"ppTerm": "?m.10",
"assigned": true,
"usedConstants": [
"PNat.val",
"Eq.mpr",
"instLinearOrderPNat",
"congrArg",
"Finset",
"PartialOrder.toPreorder",
"Finset.card_map",
"HSub.hSub",
"Nat.instLocallyFini... | [] | by
rw [← Nat.card_Ioc, ← map_subtype_embedding_Ioc, card_map] | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.PNat.Interval | {
"line": 94,
"column": 6
} | {
"line": 94,
"column": 17
} | {
"line": 94,
"column": 18
} | [
{
"pp": "a b : ℕ+\n⊢ Fintype.card ↑(Set.Ioo a b) = ↑b - ↑a - 1",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"PNat.val",
"Eq.mpr",
"instLinearOrderPNat",
"congrArg",
"PartialOrder.toPreorder",
"HSub.hSub",
"SemilatticeInf.toPartialOrder",
"... | [
"a b : ℕ+\n⊢ Fintype.card ↑(Set.Ioo a b) = #(Ioo a b)"
] | ← card_Ioo, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Order.PSigma | {
"line": 79,
"column": 8
} | {
"line": 79,
"column": 31
} | {
"line": 80,
"column": 8
} | [
{
"pp": "case refine_1.left.right\nι : Type u_1\nα : ι → Type u_2\ninst✝¹ : Preorder ι\ninst✝ : (i : ι) → Preorder (α i)\na₁✝ : ι\ni a : α a₁✝\nhji : a₁✝ < a₁✝\nhab : a < i\n⊢ False",
"ppTerm": "?refine_1.left.right",
"assigned": true,
"usedConstants": [
"lt_irrefl"
],
"usedFVars": [
... | [
"case refine_1.right.left\nι : Type u_1\nα : ι → Type u_2\ninst✝¹ : Preorder ι\ninst✝ : (i : ι) → Preorder (α i)\ni : ι\nb₁✝ b₂✝ : α i\nhba : b₁✝ ≤ b₂✝\nhij : i < i\n⊢ False",
"case refine_1.right.right\nι : Type u_1\nα : ι → Type u_2\ninst✝¹ : Preorder ι\ninst✝ : (i : ι) → Preorder (α i)\ni : ι\nb₁✝ b₂✝ : α i\nh... | · exact lt_irrefl _ hji | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Order.PSigma | {
"line": 137,
"column": 6
} | {
"line": 139,
"column": 46
} | {
"line": 140,
"column": 4
} | [
{
"pp": "case left\nι : Type u_1\nα : ι → Type u_2\ninst✝⁴ : Preorder ι\ninst✝³ : DenselyOrdered ι\ninst✝² : ∀ (i : ι), Nonempty (α i)\ninst✝¹ : (i : ι) → Preorder (α i)\ninst✝ : ∀ (i : ι), DenselyOrdered (α i)\ni : ι\na : α i\nj : ι\nb : α j\nh : i < j\n⊢ ∃ a_1, ⟨i, a⟩ < a_1 ∧ a_1 < ⟨j, b⟩",
"ppTerm": "?le... | [] | obtain ⟨k, hi, hj⟩ := exists_between h
obtain ⟨c⟩ : Nonempty (α k) := inferInstance
exact ⟨⟨k, c⟩, left _ _ hi, left _ _ hj⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.PSigma | {
"line": 137,
"column": 6
} | {
"line": 139,
"column": 46
} | {
"line": 140,
"column": 4
} | [
{
"pp": "case left\nι : Type u_1\nα : ι → Type u_2\ninst✝⁴ : Preorder ι\ninst✝³ : DenselyOrdered ι\ninst✝² : ∀ (i : ι), Nonempty (α i)\ninst✝¹ : (i : ι) → Preorder (α i)\ninst✝ : ∀ (i : ι), DenselyOrdered (α i)\ni : ι\na : α i\nj : ι\nb : α j\nh : i < j\n⊢ ∃ a_1, ⟨i, a⟩ < a_1 ∧ a_1 < ⟨j, b⟩",
"ppTerm": "?le... | [] | obtain ⟨k, hi, hj⟩ := exists_between h
obtain ⟨c⟩ : Nonempty (α k) := inferInstance
exact ⟨⟨k, c⟩, left _ _ hi, left _ _ hj⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Pi.Interval | {
"line": 72,
"column": 4
} | {
"line": 72,
"column": 43
} | {
"line": 74,
"column": 0
} | [
{
"pp": "ι : Type u_1\nα : ι → Type u_2\ninst✝⁴ : Fintype ι\ninst✝³ : DecidableEq ι\ninst✝² : (i : ι) → DecidableEq (α i)\ninst✝¹ : (i : ι) → PartialOrder (α i)\ninst✝ : (i : ι) → LocallyFiniteOrderTop (α i)\na✝ a x : (i : ι) → α i\n⊢ (x ∈ piFinset fun i ↦ Ici (a i)) ↔ a ≤ x",
"ppTerm": "?m.24",
"assign... | [] | simp_rw [mem_piFinset, mem_Ici, le_def] | Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1 | Mathlib.Tactic.tacticSimp_rw___ |
Mathlib.Data.Pi.Interval | {
"line": 72,
"column": 4
} | {
"line": 72,
"column": 43
} | {
"line": 74,
"column": 0
} | [
{
"pp": "ι : Type u_1\nα : ι → Type u_2\ninst✝⁴ : Fintype ι\ninst✝³ : DecidableEq ι\ninst✝² : (i : ι) → DecidableEq (α i)\ninst✝¹ : (i : ι) → PartialOrder (α i)\ninst✝ : (i : ι) → LocallyFiniteOrderTop (α i)\na✝ a x : (i : ι) → α i\n⊢ (x ∈ piFinset fun i ↦ Ici (a i)) ↔ a ≤ x",
"ppTerm": "?m.24",
"assign... | [] | simp_rw [mem_piFinset, mem_Ici, le_def] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Pi.Interval | {
"line": 72,
"column": 4
} | {
"line": 72,
"column": 43
} | {
"line": 74,
"column": 0
} | [
{
"pp": "ι : Type u_1\nα : ι → Type u_2\ninst✝⁴ : Fintype ι\ninst✝³ : DecidableEq ι\ninst✝² : (i : ι) → DecidableEq (α i)\ninst✝¹ : (i : ι) → PartialOrder (α i)\ninst✝ : (i : ι) → LocallyFiniteOrderTop (α i)\na✝ a x : (i : ι) → α i\n⊢ (x ∈ piFinset fun i ↦ Ici (a i)) ↔ a ≤ x",
"ppTerm": "?m.24",
"assign... | [] | simp_rw [mem_piFinset, mem_Ici, le_def] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.PNat.Xgcd | {
"line": 218,
"column": 2
} | {
"line": 218,
"column": 23
} | {
"line": 219,
"column": 2
} | [
{
"pp": "u : XgcdType\nhr : u.r = 0\n⊢ u.q = u.qp + 1",
"ppTerm": "?m.11",
"assigned": true,
"usedConstants": [
"instOfNatNat",
"dite",
"PNat.XgcdType.qp",
"instHAdd",
"HAdd.hAdd",
"Nat",
"instAddNat",
"instDecidableEqNat",
"OfNat.ofNat",
"... | [
"case pos\nu : XgcdType\nhr : u.r = 0\nhq : u.q = 0\n⊢ u.q = u.qp + 1",
"case neg\nu : XgcdType\nhr : u.r = 0\nhq : ¬u.q = 0\n⊢ u.q = u.qp + 1"
] | by_cases hq : u.q = 0 | «_aux_Init_ByCases___macroRules_tacticBy_cases_:__2» | «tacticBy_cases_:_» |
Mathlib.Data.Ordmap.Ordset | {
"line": 538,
"column": 55
} | {
"line": 539,
"column": 72
} | {
"line": 541,
"column": 0
} | [
{
"pp": "α : Type u_1\ninst✝² : Preorder α\ninst✝¹ : Std.Total fun x1 x2 ↦ x1 ≤ x2\ninst✝ : DecidableLE α\nx : α\nt : Ordnode α\nh : t.Valid\n⊢ (insert' x t).Valid",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Ordnode.insertWith",
"Eq.mpr",
"Ordnode",
"Ordnode.in... | [] | by
rw [insert'_eq_insertWith]; exact insertWith.valid _ _ (fun _ => id) h | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.Data.Ordmap.Ordset | {
"line": 634,
"column": 6
} | {
"line": 634,
"column": 33
} | {
"line": 635,
"column": 4
} | [
{
"pp": "case node.lt.succ\nα : Type u_1\ninst✝¹ : Preorder α\ninst✝ : DecidableLE α\nx : α\nsize✝ : ℕ\nt_l : Ordnode α\nt_x : α\nt_r : Ordnode α\na₁ : WithBot α\na₂ : WithTop α\nh : Valid' a₁ (node size✝ t_l t_x t_r) a₂\nh_mem : mem x t_l = true\nt_ih_l : (erase x t_l).size = t_l.size - 1\nt_l_valid : Valid' a... | [] | · simp [Nat.add_right_comm] | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Data.WSeq.Basic | {
"line": 508,
"column": 4
} | {
"line": 508,
"column": 12
} | {
"line": 509,
"column": 4
} | [
{
"pp": "case h2\nα : Type u\ns : WSeq α\na : α\nh✝ : a ∈ s\ns' : WSeq α\nn : ℕ\nh : some a ∈ s'.get? n\n⊢ ∃ n, some a ∈ s'.think.get? n",
"ppTerm": "?h2",
"assigned": true,
"usedConstants": [
"Option.some",
"Membership.mem",
"Stream'.WSeq.get?",
"Computation",
"Nat",
... | [
"case h2\nα : Type u\ns : WSeq α\na : α\nh✝ : a ∈ s\ns' : WSeq α\nn : ℕ\nh : some a ∈ s'.get? n\n⊢ some a ∈ s'.think.get? n"
] | exists n | Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticExists_,,_1» | Lean.Parser.Tactic.«tacticExists_,,» |
Mathlib.Order.Sigma | {
"line": 152,
"column": 8
} | {
"line": 152,
"column": 31
} | {
"line": 153,
"column": 8
} | [
{
"pp": "case refine_1.left.right\nι : Type u_1\nα : ι → Type u_2\ninst✝¹ : Preorder ι\ninst✝ : (i : ι) → Preorder (α i)\ni✝ : ι\nb a : α i✝\nhji : i✝ < i✝\nhab : a < b\n⊢ False",
"ppTerm": "?refine_1.left.right",
"assigned": true,
"usedConstants": [
"lt_irrefl"
],
"usedFVars": [
... | [
"case refine_1.right.left\nι : Type u_1\nα : ι → Type u_2\ninst✝¹ : Preorder ι\ninst✝ : (i : ι) → Preorder (α i)\ni✝ : ι\nb a : α i✝\nhba : b ≤ a\nhij : i✝ < i✝\n⊢ False",
"case refine_1.right.right\nι : Type u_1\nα : ι → Type u_2\ninst✝¹ : Preorder ι\ninst✝ : (i : ι) → Preorder (α i)\ni✝ : ι\nb a : α i✝\nhba : b... | · exact lt_irrefl _ hji | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.Order.Sigma | {
"line": 203,
"column": 6
} | {
"line": 205,
"column": 46
} | {
"line": 206,
"column": 4
} | [
{
"pp": "case left\nι : Type u_1\nα : ι → Type u_2\ninst✝⁴ : Preorder ι\ninst✝³ : DenselyOrdered ι\ninst✝² : ∀ (i : ι), Nonempty (α i)\ninst✝¹ : (i : ι) → Preorder (α i)\ninst✝ : ∀ (i : ι), DenselyOrdered (α i)\ni : ι\na : α i\nj : ι\nb : α j\nh : i < j\n⊢ ∃ a_1, ⟨i, a⟩ < a_1 ∧ a_1 < ⟨j, b⟩",
"ppTerm": "?le... | [] | obtain ⟨k, hi, hj⟩ := exists_between h
obtain ⟨c⟩ : Nonempty (α k) := inferInstance
exact ⟨⟨k, c⟩, left _ _ hi, left _ _ hj⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.Sigma | {
"line": 203,
"column": 6
} | {
"line": 205,
"column": 46
} | {
"line": 206,
"column": 4
} | [
{
"pp": "case left\nι : Type u_1\nα : ι → Type u_2\ninst✝⁴ : Preorder ι\ninst✝³ : DenselyOrdered ι\ninst✝² : ∀ (i : ι), Nonempty (α i)\ninst✝¹ : (i : ι) → Preorder (α i)\ninst✝ : ∀ (i : ι), DenselyOrdered (α i)\ni : ι\na : α i\nj : ι\nb : α j\nh : i < j\n⊢ ∃ a_1, ⟨i, a⟩ < a_1 ∧ a_1 < ⟨j, b⟩",
"ppTerm": "?le... | [] | obtain ⟨k, hi, hj⟩ := exists_between h
obtain ⟨c⟩ : Nonempty (α k) := inferInstance
exact ⟨⟨k, c⟩, left _ _ hi, left _ _ hj⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Order.Sigma | {
"line": 224,
"column": 6
} | {
"line": 225,
"column": 46
} | {
"line": 226,
"column": 4
} | [
{
"pp": "case left\nι : Type u_1\nα : ι → Type u_2\ninst✝³ : Preorder ι\ninst✝² : (i : ι) → Preorder (α i)\ninst✝¹ : ∀ (i : ι), DenselyOrdered (α i)\ninst✝ : ∀ (i : ι), NoMinOrder (α i)\ni : ι\na : α i\nj : ι\nb : α j\nh : i < j\n⊢ ∃ a_1, ⟨i, a⟩ < a_1 ∧ a_1 < ⟨j, b⟩",
"ppTerm": "?left",
"assigned": true... | [] | obtain ⟨c, hb⟩ := exists_lt b
exact ⟨⟨j, c⟩, left _ _ h, right _ _ hb⟩ | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Order.Sigma | {
"line": 224,
"column": 6
} | {
"line": 225,
"column": 46
} | {
"line": 226,
"column": 4
} | [
{
"pp": "case left\nι : Type u_1\nα : ι → Type u_2\ninst✝³ : Preorder ι\ninst✝² : (i : ι) → Preorder (α i)\ninst✝¹ : ∀ (i : ι), DenselyOrdered (α i)\ninst✝ : ∀ (i : ι), NoMinOrder (α i)\ni : ι\na : α i\nj : ι\nb : α j\nh : i < j\n⊢ ∃ a_1, ⟨i, a⟩ < a_1 ∧ a_1 < ⟨j, b⟩",
"ppTerm": "?left",
"assigned": true... | [] | obtain ⟨c, hb⟩ := exists_lt b
exact ⟨⟨j, c⟩, left _ _ h, right _ _ hb⟩ | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.String.Basic | {
"line": 101,
"column": 6
} | {
"line": 101,
"column": 55
} | {
"line": 102,
"column": 4
} | [
{
"pp": "case nil.cons.ha\nc₂ : Char\ncs₂ : List Char\n⊢ (if { s := ofList (c₂ :: cs₂), i := 0 }.hasNext = true then\n if { s := ofList [], i := 0 }.hasNext = true then\n if { s := ofList [], i := 0 }.curr = { s := ofList (c₂ :: cs₂), i := 0 }.curr then\n ltb { s := ofList [], i := 0 }.next... | [] | simp [Legacy.Iterator.hasNext, Char.utf8Size_pos] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Data.Sum.Interval | {
"line": 174,
"column": 2
} | {
"line": 176,
"column": 31
} | {
"line": 178,
"column": 0
} | [
{
"pp": "α₁ : Type u_1\nα₂ : Type u_2\nβ₁ : Type u_3\nβ₂ : Type u_4\nγ₁ : Type u_5\nγ₂ : Type u_6\nf₁ f₁' : α₁ → β₁ → Finset γ₁\nf₂ f₂' : α₂ → β₂ → Finset γ₂\ng₁ g₁' : α₁ → β₂ → Finset γ₁\ng₂ g₂' : α₁ → β₂ → Finset γ₂\nhf₁ : ∀ (a : α₁) (b : β₁), f₁ a b ⊆ f₁' a b\nhf₂ : ∀ (a : α₂) (b : β₂), f₂ a b ⊆ f₂' a b\nhg₁... | [] | cases a <;> cases b
exacts [map_subset_map.2 (hf₁ _ _), disjSum_mono (hg₁ _ _) (hg₂ _ _), Subset.rfl,
map_subset_map.2 (hf₂ _ _)] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Sum.Interval | {
"line": 174,
"column": 2
} | {
"line": 176,
"column": 31
} | {
"line": 178,
"column": 0
} | [
{
"pp": "α₁ : Type u_1\nα₂ : Type u_2\nβ₁ : Type u_3\nβ₂ : Type u_4\nγ₁ : Type u_5\nγ₂ : Type u_6\nf₁ f₁' : α₁ → β₁ → Finset γ₁\nf₂ f₂' : α₂ → β₂ → Finset γ₂\ng₁ g₁' : α₁ → β₂ → Finset γ₁\ng₂ g₂' : α₁ → β₂ → Finset γ₂\nhf₁ : ∀ (a : α₁) (b : β₁), f₁ a b ⊆ f₁' a b\nhf₂ : ∀ (a : α₂) (b : β₂), f₂ a b ⊆ f₂' a b\nhg₁... | [] | cases a <;> cases b
exacts [map_subset_map.2 (hf₁ _ _), disjSum_mono (hg₁ _ _) (hg₂ _ _), Subset.rfl,
map_subset_map.2 (hf₂ _ _)] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Sum.Interval | {
"line": 185,
"column": 4
} | {
"line": 185,
"column": 50
} | {
"line": 186,
"column": 2
} | [
{
"pp": "case refine_2\nα₁ : Type u_1\nα₂ : Type u_2\nβ₁ : Type u_3\nβ₂ : Type u_4\nγ₁ : Type u_5\nγ₂ : Type u_6\nf₁ : α₁ → β₁ → Finset γ₁\nf₂ : α₂ → β₂ → Finset γ₂\ng₁ : α₁ → β₂ → Finset γ₁\ng₂ : α₁ → β₂ → Finset γ₂\na : α₁ ⊕ α₂\nb : β₁ ⊕ β₂\nh : sumLexLift f₁ f₂ g₁ g₂ a b = ∅\n⊢ ∀ (a₁ : α₁) (b₂ : β₂), a = inl... | [] | rintro a b rfl rfl; exact disjSum_eq_empty.1 h | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Sum.Interval | {
"line": 185,
"column": 4
} | {
"line": 185,
"column": 50
} | {
"line": 186,
"column": 2
} | [
{
"pp": "case refine_2\nα₁ : Type u_1\nα₂ : Type u_2\nβ₁ : Type u_3\nβ₂ : Type u_4\nγ₁ : Type u_5\nγ₂ : Type u_6\nf₁ : α₁ → β₁ → Finset γ₁\nf₂ : α₂ → β₂ → Finset γ₂\ng₁ : α₁ → β₂ → Finset γ₁\ng₂ : α₁ → β₂ → Finset γ₂\na : α₁ ⊕ α₂\nb : β₁ ⊕ β₂\nh : sumLexLift f₁ f₂ g₁ g₂ a b = ∅\n⊢ ∀ (a₁ : α₁) (b₂ : β₂), a = inl... | [] | rintro a b rfl rfl; exact disjSum_eq_empty.1 h | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Sum.Interval | {
"line": 190,
"column": 4
} | {
"line": 190,
"column": 44
} | {
"line": 192,
"column": 0
} | [
{
"pp": "case refine_4.inr.inr\nα₁ : Type u_1\nα₂ : Type u_2\nβ₁ : Type u_3\nβ₂ : Type u_4\nγ₁ : Type u_5\nγ₂ : Type u_6\nf₁ : α₁ → β₁ → Finset γ₁\nf₂ : α₂ → β₂ → Finset γ₂\ng₁ : α₁ → β₂ → Finset γ₁\ng₂ : α₁ → β₂ → Finset γ₂\nval✝¹ : α₂\nval✝ : β₂\nh :\n (∀ (a₁ : α₁) (b₁ : β₁), inr val✝¹ = inl a₁ → inr val✝ = ... | [] | exact map_eq_empty.2 (h.2.2 _ _ rfl rfl) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.Data.Sum.Interval | {
"line": 190,
"column": 4
} | {
"line": 190,
"column": 44
} | {
"line": 192,
"column": 0
} | [
{
"pp": "case refine_4.inr.inr\nα₁ : Type u_1\nα₂ : Type u_2\nβ₁ : Type u_3\nβ₂ : Type u_4\nγ₁ : Type u_5\nγ₂ : Type u_6\nf₁ : α₁ → β₁ → Finset γ₁\nf₂ : α₂ → β₂ → Finset γ₂\ng₁ : α₁ → β₂ → Finset γ₁\ng₂ : α₁ → β₂ → Finset γ₂\nval✝¹ : α₂\nval✝ : β₂\nh :\n (∀ (a₁ : α₁) (b₁ : β₁), inr val✝¹ = inl a₁ → inr val✝ = ... | [] | exact map_eq_empty.2 (h.2.2 _ _ rfl rfl) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Data.Sum.Interval | {
"line": 190,
"column": 4
} | {
"line": 190,
"column": 44
} | {
"line": 192,
"column": 0
} | [
{
"pp": "case refine_4.inr.inr\nα₁ : Type u_1\nα₂ : Type u_2\nβ₁ : Type u_3\nβ₂ : Type u_4\nγ₁ : Type u_5\nγ₂ : Type u_6\nf₁ : α₁ → β₁ → Finset γ₁\nf₂ : α₂ → β₂ → Finset γ₂\ng₁ : α₁ → β₂ → Finset γ₁\ng₂ : α₁ → β₂ → Finset γ₂\nval✝¹ : α₂\nval✝ : β₂\nh :\n (∀ (a₁ : α₁) (b₁ : β₁), inr val✝¹ = inl a₁ → inr val✝ = ... | [] | exact map_eq_empty.2 (h.2.2 _ _ rfl rfl) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Data.Vector.Snoc | {
"line": 130,
"column": 2
} | {
"line": 130,
"column": 14
} | {
"line": 130,
"column": 15
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nn : ℕ\nx : α\nxs : Vector α n\nf : α → β\n⊢ map f (xs.snoc x) = (map f xs).snoc (f x)",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"List.Vector.map",
"List.Vector",
"instOfNatNat",
"instHAdd",
"HAdd.hAdd",
"Nat",
... | [
"case nil\nα : Type u_1\nβ : Type u_2\nn : ℕ\nx : α\nxs : Vector α n\nf : α → β\n⊢ map f (nil.snoc x) = (map f nil).snoc (f x)",
"case cons\nα : Type u_1\nβ : Type u_2\nn : ℕ\nx : α\nxs : Vector α n\nf : α → β\nn✝ : ℕ\nx✝ : α\nw✝ : Vector α n✝\na✝ : map f (w✝.snoc x) = (map f w✝).snoc (f x)\n⊢ map f ((x✝ ::ᵥ w✝).... | induction xs | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | Lean.Parser.Tactic.induction |
Mathlib.Data.Vector.Snoc | {
"line": 142,
"column": 2
} | {
"line": 142,
"column": 14
} | {
"line": 143,
"column": 2
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nσ : Type u_3\nn : ℕ\nx : α\nxs : Vector α n\nf : α → σ → σ × β\ns : σ\n⊢ mapAccumr f (xs.snoc x) s =\n let q := f x s;\n let r := mapAccumr f xs q.fst;\n (r.fst, r.snd.snoc q.snd)",
"ppTerm": "?m.26",
"assigned": true,
"usedConstants": [
"List.Vect... | [
"case nil\nα : Type u_1\nβ : Type u_2\nσ : Type u_3\nn : ℕ\nx : α\nxs : Vector α n\nf : α → σ → σ × β\ns : σ\n⊢ mapAccumr f (nil.snoc x) s =\n let q := f x s;\n let r := mapAccumr f nil q.fst;\n (r.fst, r.snd.snoc q.snd)",
"case cons\nα : Type u_1\nβ : Type u_2\nσ : Type u_3\nn : ℕ\nx : α\nxs : Vector α ... | induction xs | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | Lean.Parser.Tactic.induction |
Mathlib.Data.Vector.MapLemmas | {
"line": 57,
"column": 2
} | {
"line": 57,
"column": 14
} | {
"line": 57,
"column": 15
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nn : ℕ\nxs : Vector α n\nf₁ : β → γ\nf₂ : α → β\n⊢ map f₁ (map f₂ xs) = map (fun x ↦ f₁ (f₂ x)) xs",
"ppTerm": "?m.12",
"assigned": true,
"usedConstants": [
"List.Vector.map",
"List.Vector",
"Nat",
"Eq",
"List.Vector.ind... | [
"case nil\nα : Type u_1\nβ : Type u_2\nγ : Type u_3\nn : ℕ\nxs : Vector α n\nf₁ : β → γ\nf₂ : α → β\n⊢ map f₁ (map f₂ nil) = map (fun x ↦ f₁ (f₂ x)) nil",
"case cons\nα : Type u_1\nβ : Type u_2\nγ : Type u_3\nn : ℕ\nxs : Vector α n\nf₁ : β → γ\nf₂ : α → β\nn✝ : ℕ\nx✝ : α\nw✝ : Vector α n✝\na✝ : map f₁ (map f₂ w✝)... | induction xs | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | Lean.Parser.Tactic.induction |
Mathlib.Data.Vector.Mem | {
"line": 44,
"column": 6
} | {
"line": 44,
"column": 25
} | {
"line": 44,
"column": 26
} | [
{
"pp": "α : Type u_1\nn : ℕ\na a' : α\nv : Vector α n\n⊢ a' ∈ (a ::ᵥ v).toList ↔ a' = a ∨ a' ∈ v.toList",
"ppTerm": "?m.14",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"congrArg",
"Membership.mem",
"id",
"List.Vector.toList_cons",
"List.cons",
"List",
... | [
"α : Type u_1\nn : ℕ\na a' : α\nv : Vector α n\n⊢ a' ∈ a :: v.toList ↔ a' = a ∨ a' ∈ v.toList"
] | Vector.toList_cons, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.Data.Vector.MapLemmas | {
"line": 61,
"column": 2
} | {
"line": 61,
"column": 14
} | {
"line": 61,
"column": 15
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nn : ℕ\nxs : Vector α n\np : α → Prop\nf₁ : β → γ\nf₂ : (a : α) → p a → β\nH : ∀ (x : α), x ∈ xs.toList → p x\n⊢ map f₁ (pmap f₂ xs H) = pmap (fun x hx ↦ f₁ (f₂ x hx)) xs H",
"ppTerm": "?m.21",
"assigned": true,
"usedConstants": [
"List.Vector.... | [
"case nil\nα : Type u_1\nβ : Type u_2\nγ : Type u_3\nn : ℕ\nxs : Vector α n\np : α → Prop\nf₁ : β → γ\nf₂ : (a : α) → p a → β\nH : ∀ (x : α), x ∈ nil.toList → p x\n⊢ map f₁ (pmap f₂ nil H) = pmap (fun x hx ↦ f₁ (f₂ x hx)) nil H",
"case cons\nα : Type u_1\nβ : Type u_2\nγ : Type u_3\nn : ℕ\nxs : Vector α n\np : α ... | induction xs | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | Lean.Parser.Tactic.induction |
Mathlib.Data.Vector.MapLemmas | {
"line": 66,
"column": 2
} | {
"line": 66,
"column": 14
} | {
"line": 66,
"column": 15
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nγ : Type u_3\nn : ℕ\nxs : Vector α n\np : β → Prop\nf₁ : (b : β) → p b → γ\nf₂ : α → β\nH : ∀ (x : β), x ∈ (map f₂ xs).toList → p x\n⊢ pmap f₁ (map f₂ xs) H = pmap (fun x hx ↦ f₁ (f₂ x) hx) xs ⋯",
"ppTerm": "?m.35",
"assigned": true,
"usedConstants": [
"Lis... | [
"case nil\nα : Type u_1\nβ : Type u_2\nγ : Type u_3\nn : ℕ\nxs : Vector α n\np : β → Prop\nf₁ : (b : β) → p b → γ\nf₂ : α → β\nH : ∀ (x : β), x ∈ (map f₂ nil).toList → p x\n⊢ pmap f₁ (map f₂ nil) H = pmap (fun x hx ↦ f₁ (f₂ x) hx) nil ⋯",
"case cons\nα : Type u_1\nβ : Type u_2\nγ : Type u_3\nn : ℕ\nxs : Vector α ... | induction xs | _private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction | Lean.Parser.Tactic.induction |
Mathlib.Dynamics.BirkhoffSum.Maximal | {
"line": 199,
"column": 6
} | {
"line": 199,
"column": 52
} | {
"line": 201,
"column": 0
} | [
{
"pp": "α : Type u_1\nf : α → α\nn : ℕ\nx : α\ng : α → ℝ\na : ℝ\nha : 0 ≤ a\nhn : n ≠ 0\n⊢ birkhoffAverage ℝ f (fun x ↦ a) n x < birkhoffAverage ℝ f g n x ↔ 0 < birkhoffSum f (g - fun x ↦ a) n x",
"ppTerm": "?m.84",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStrictMono_of_... | [] | simp [birkhoffAverage, birkhoffSum_sub, field] | Lean.Elab.Tactic.evalSimp | Lean.Parser.Tactic.simp |
Mathlib.Dynamics.BirkhoffSum.Maximal | {
"line": 199,
"column": 6
} | {
"line": 199,
"column": 52
} | {
"line": 201,
"column": 0
} | [
{
"pp": "α : Type u_1\nf : α → α\nn : ℕ\nx : α\ng : α → ℝ\na : ℝ\nha : 0 ≤ a\nhn : n ≠ 0\n⊢ birkhoffAverage ℝ f (fun x ↦ a) n x < birkhoffAverage ℝ f g n x ↔ 0 < birkhoffSum f (g - fun x ↦ a) n x",
"ppTerm": "?m.84",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStrictMono_of_... | [] | simp [birkhoffAverage, birkhoffSum_sub, field] | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Dynamics.BirkhoffSum.Maximal | {
"line": 199,
"column": 6
} | {
"line": 199,
"column": 52
} | {
"line": 201,
"column": 0
} | [
{
"pp": "α : Type u_1\nf : α → α\nn : ℕ\nx : α\ng : α → ℝ\na : ℝ\nha : 0 ≤ a\nhn : n ≠ 0\n⊢ birkhoffAverage ℝ f (fun x ↦ a) n x < birkhoffAverage ℝ f g n x ↔ 0 < birkhoffSum f (g - fun x ↦ a) n x",
"ppTerm": "?m.84",
"assigned": true,
"usedConstants": [
"IsRightCancelAdd.addRightStrictMono_of_... | [] | simp [birkhoffAverage, birkhoffSum_sub, field] | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Dynamics.Circle.RotationNumber.TranslationNumber | {
"line": 569,
"column": 4
} | {
"line": 570,
"column": 59
} | {
"line": 572,
"column": 0
} | [
{
"pp": "f : CircleDeg1Lift\nτ' : ℝ\nh : Tendsto (fun n ↦ (⇑f)^[n] 0 / ↑n) atTop (𝓝 τ')\n⊢ Tendsto f.transnumAuxSeq atTop (𝓝 τ')",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.instCanonicallyOrderedAdd",
"NonAssocSemiring.toAddCommMonoidWithOne",
"... | [] | simpa [Function.comp_def, transnumAuxSeq_def, coe_pow] using
h.comp (tendsto_pow_atTop_atTop_of_one_lt one_lt_two) | Lean.Elab.Tactic.Simpa.evalSimpa | Lean.Parser.Tactic.simpa |
Mathlib.Dynamics.Circle.RotationNumber.TranslationNumber | {
"line": 569,
"column": 4
} | {
"line": 570,
"column": 59
} | {
"line": 572,
"column": 0
} | [
{
"pp": "f : CircleDeg1Lift\nτ' : ℝ\nh : Tendsto (fun n ↦ (⇑f)^[n] 0 / ↑n) atTop (𝓝 τ')\n⊢ Tendsto f.transnumAuxSeq atTop (𝓝 τ')",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.instCanonicallyOrderedAdd",
"NonAssocSemiring.toAddCommMonoidWithOne",
"... | [] | simpa [Function.comp_def, transnumAuxSeq_def, coe_pow] using
h.comp (tendsto_pow_atTop_atTop_of_one_lt one_lt_two) | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Dynamics.Circle.RotationNumber.TranslationNumber | {
"line": 569,
"column": 4
} | {
"line": 570,
"column": 59
} | {
"line": 572,
"column": 0
} | [
{
"pp": "f : CircleDeg1Lift\nτ' : ℝ\nh : Tendsto (fun n ↦ (⇑f)^[n] 0 / ↑n) atTop (𝓝 τ')\n⊢ Tendsto f.transnumAuxSeq atTop (𝓝 τ')",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Nat.instCanonicallyOrderedAdd",
"NonAssocSemiring.toAddCommMonoidWithOne",
"... | [] | simpa [Function.comp_def, transnumAuxSeq_def, coe_pow] using
h.comp (tendsto_pow_atTop_atTop_of_one_lt one_lt_two) | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.MeasureTheory.Measure.ProbabilityMeasure | {
"line": 598,
"column": 2
} | {
"line": 598,
"column": 47
} | {
"line": 599,
"column": 2
} | [
{
"pp": "Ω : Type u_1\ninst✝² : Nonempty Ω\nm0 : MeasurableSpace Ω\nμ : FiniteMeasure Ω\ninst✝¹ : TopologicalSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nγ : Type u_2\nF : Filter γ\nμs : γ → FiniteMeasure Ω\nμs_lim : Tendsto (fun i ↦ (μs i).normalize) F (𝓝 μ.normalize)\nmass_lim : Tendsto (fun i ↦ (μs i).mass) F (... | [
"Ω : Type u_1\ninst✝² : Nonempty Ω\nm0 : MeasurableSpace Ω\nμ : FiniteMeasure Ω\ninst✝¹ : TopologicalSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nγ : Type u_2\nF : Filter γ\nμs : γ → FiniteMeasure Ω\nμs_lim : Tendsto (fun i ↦ (μs i).normalize) F (𝓝 μ.normalize)\nmass_lim : Tendsto (fun i ↦ (μs i).mass) F (𝓝 μ.mass)\n... | rw [tendsto_iff_forall_testAgainstNN_tendsto] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.MeasureTheory.Measure.FiniteMeasure | {
"line": 564,
"column": 2
} | {
"line": 564,
"column": 47
} | {
"line": 565,
"column": 2
} | [
{
"pp": "Ω : Type u_1\ninst✝² : MeasurableSpace Ω\ninst✝¹ : TopologicalSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nγ : Type u_3\nF : Filter γ\nμs : γ → FiniteMeasure Ω\nmass_lim : Tendsto (fun i ↦ (μs i).mass) F (𝓝 0)\n⊢ Tendsto μs F (𝓝 0)",
"ppTerm": "?m.25",
"assigned": true,
"usedConstants": [
... | [
"Ω : Type u_1\ninst✝² : MeasurableSpace Ω\ninst✝¹ : TopologicalSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nγ : Type u_3\nF : Filter γ\nμs : γ → FiniteMeasure Ω\nmass_lim : Tendsto (fun i ↦ (μs i).mass) F (𝓝 0)\n⊢ ∀ (f : Ω →ᵇ ℝ≥0), Tendsto (fun i ↦ (μs i).testAgainstNN f) F (𝓝 (testAgainstNN 0 f))"
] | rw [tendsto_iff_forall_testAgainstNN_tendsto] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Topology.Separation.CompletelyRegular | {
"line": 183,
"column": 53
} | {
"line": 183,
"column": 57
} | {
"line": 183,
"column": 58
} | [
{
"pp": "case a\nX : Type u\ninst✝¹ : TopologicalSpace X\ninst✝ : CompletelyRegularSpace X\nx : X\nU : Set X\nhxU : x ∈ U\nhU : IsOpen[inst✝¹] U\nf : X → ↑I\nhf : Continuous[inst✝¹, _] f\nefx : f x = 0\nhfU : stoneCechUnit ⁻¹' stoneCechExtend hf ⁻¹' {1}ᶜ ⊆ U\n⊢ f x ∈ {1}ᶜ",
"ppTerm": "?a✝",
"assigned": ... | [
"case a\nX : Type u\ninst✝¹ : TopologicalSpace X\ninst✝ : CompletelyRegularSpace X\nx : X\nU : Set X\nhxU : x ∈ U\nhU : IsOpen[inst✝¹] U\nf : X → ↑I\nhf : Continuous[inst✝¹, _] f\nefx : f x = 0\nhfU : stoneCechUnit ⁻¹' stoneCechExtend hf ⁻¹' {1}ᶜ ⊆ U\n⊢ 0 ∈ {1}ᶜ"
] | efx, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.MeasureTheory.Measure.LevyProkhorovMetric | {
"line": 481,
"column": 4
} | {
"line": 487,
"column": 25
} | {
"line": 488,
"column": 4
} | [
{
"pp": "case refine_4\nΩ : Type u_1\ninst✝² : MeasurableSpace Ω\ninst✝¹ : PseudoMetricSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nμs : ℕ → LevyProkhorov (ProbabilityMeasure Ω)\nν : LevyProkhorov (ProbabilityMeasure Ω)\nhμs : Tendsto μs atTop (𝓝 ν)\nP : ProbabilityMeasure Ω := ν.toMeasure\nPs : ℕ → ProbabilityMea... | [
"case refine_1\nΩ : Type u_1\ninst✝² : MeasurableSpace Ω\ninst✝¹ : PseudoMetricSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nμs : ℕ → LevyProkhorov (ProbabilityMeasure Ω)\nν : LevyProkhorov (ProbabilityMeasure Ω)\nhμs : Tendsto μs atTop (𝓝 ν)\nP : ProbabilityMeasure Ω := ν.toMeasure\nPs : ℕ → ProbabilityMeasure Ω := to... | · grw [bound, hn, BoundedContinuousFunction.integral_eq_integral_meas_le _ _ <| .of_forall f_nn,
add_assoc, mul_comm]
gcongr
calc
δ / 2 + ‖f‖ * (dist (μs n) ν + εs n)
_ ≤ δ / 2 + ‖f‖ * (‖f‖⁻¹ * δ / 2) := by gcongr
_ = δ := by field | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.MeasureTheory.Measure.LevyProkhorovMetric | {
"line": 493,
"column": 8
} | {
"line": 493,
"column": 53
} | {
"line": 493,
"column": 53
} | [
{
"pp": "Ω : Type u_1\ninst✝² : MeasurableSpace Ω\ninst✝¹ : PseudoMetricSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nμs : ℕ → LevyProkhorov (ProbabilityMeasure Ω)\nν : LevyProkhorov (ProbabilityMeasure Ω)\nhμs : Tendsto μs atTop (𝓝 ν)\nP : ProbabilityMeasure Ω := ν.toMeasure\nPs : ℕ → ProbabilityMeasure Ω := toMea... | [
"Ω : Type u_1\ninst✝² : MeasurableSpace Ω\ninst✝¹ : PseudoMetricSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nμs : ℕ → LevyProkhorov (ProbabilityMeasure Ω)\nν : LevyProkhorov (ProbabilityMeasure Ω)\nhμs : Tendsto μs atTop (𝓝 ν)\nP : ProbabilityMeasure Ω := ν.toMeasure\nPs : ℕ → ProbabilityMeasure Ω := toMeasure ∘ μs\nf... | ofReal_toReal (levyProkhorovEDist_ne_top _ _) | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.MeasureTheory.Measure.LevyProkhorovMetric | {
"line": 496,
"column": 2
} | {
"line": 498,
"column": 76
} | {
"line": 500,
"column": 0
} | [
{
"pp": "Ω : Type u_1\ninst✝² : MeasurableSpace Ω\ninst✝¹ : PseudoMetricSpace Ω\ninst✝ : OpensMeasurableSpace Ω\nμs : ℕ → LevyProkhorov (ProbabilityMeasure Ω)\nν : LevyProkhorov (ProbabilityMeasure Ω)\nhμs : Tendsto μs atTop (𝓝 ν)\nP : ProbabilityMeasure Ω := ν.toMeasure\nPs : ℕ → ProbabilityMeasure Ω := toMea... | [] | · simp only [IsCoboundedUnder, IsCobounded, eventually_map, eventually_atTop,
forall_exists_index]
refine ⟨0, fun a i hia ↦ le_trans (integral_nonneg f_nn) (hia i le_rfl)⟩ | Lean.Elab.Tactic.evalTacticCDot | Lean.cdot |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 95,
"column": 2
} | {
"line": 100,
"column": 100
} | {
"line": 102,
"column": 0
} | [
{
"pp": "α : Type u_1\nm : MeasurableSpace α\nf : α → ℝ≥0∞\nμ ν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SigmaFinite ν\nhf_ne_top : ∀ᵐ (x : α) ∂μ, f x ≠ ∞\n⊢ ((ν.withDensity (μ.rnDeriv ν)).withDensity f).rnDeriv ν =ᵐ[ν] (μ.withDensity f).rnDeriv ν",
"ppTerm": "?m.37",
"assigned": true,
"usedCons... | [] | conv_rhs => rw [μ.haveLebesgueDecomposition_add ν, add_comm, withDensity_add_measure]
have : SigmaFinite ((μ.singularPart ν).withDensity f) :=
SigmaFinite.withDensity_of_ne_top (ae_mono (Measure.singularPart_le _ _) hf_ne_top)
have : SigmaFinite ((ν.withDensity (μ.rnDeriv ν)).withDensity f) :=
SigmaFinite.w... | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 95,
"column": 2
} | {
"line": 100,
"column": 100
} | {
"line": 102,
"column": 0
} | [
{
"pp": "α : Type u_1\nm : MeasurableSpace α\nf : α → ℝ≥0∞\nμ ν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SigmaFinite ν\nhf_ne_top : ∀ᵐ (x : α) ∂μ, f x ≠ ∞\n⊢ ((ν.withDensity (μ.rnDeriv ν)).withDensity f).rnDeriv ν =ᵐ[ν] (μ.withDensity f).rnDeriv ν",
"ppTerm": "?m.37",
"assigned": true,
"usedCons... | [] | conv_rhs => rw [μ.haveLebesgueDecomposition_add ν, add_comm, withDensity_add_measure]
have : SigmaFinite ((μ.singularPart ν).withDensity f) :=
SigmaFinite.withDensity_of_ne_top (ae_mono (Measure.singularPart_le _ _) hf_ne_top)
have : SigmaFinite ((ν.withDensity (μ.rnDeriv ν)).withDensity f) :=
SigmaFinite.w... | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.MeasureTheory.Measure.LevyProkhorovMetric | {
"line": 625,
"column": 2
} | {
"line": 625,
"column": 49
} | {
"line": 626,
"column": 2
} | [
{
"pp": "Ω : Type u_1\ninst✝³ : PseudoMetricSpace Ω\ninst✝² : MeasurableSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\ninst✝ : SeparableSpace Ω\nP : ProbabilityMeasure Ω\nε : ℝ\nε_pos : ε > 0\nthird_ε_pos : 0 < ε / 3\nthird_ε_pos' : 0 < ENNReal.ofReal (ε / 3)\nEs : ℕ → Set Ω\nEs_mble : ∀ (n : ℕ), MeasurableSet (Es n... | [
"Ω : Type u_1\ninst✝³ : PseudoMetricSpace Ω\ninst✝² : MeasurableSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\ninst✝ : SeparableSpace Ω\nP : ProbabilityMeasure Ω\nε : ℝ\nε_pos : ε > 0\nthird_ε_pos : 0 < ε / 3\nthird_ε_pos' : 0 < ENNReal.ofReal (ε / 3)\nEs : ℕ → Set Ω\nEs_mble : ∀ (n : ℕ), MeasurableSet (Es n)\nEs_bdd : ... | set JB := {i | (B ∩ Es i).Nonempty ∧ i ∈ Iio N} | Mathlib.Tactic._aux_Mathlib_Tactic_Set___elabRules_Mathlib_Tactic_setTactic_1 | Mathlib.Tactic.setTactic |
Mathlib.MeasureTheory.Integral.RieszMarkovKakutani.Real | {
"line": 444,
"column": 2
} | {
"line": 447,
"column": 18
} | {
"line": 449,
"column": 0
} | [
{
"pp": "X : Type u_1\ninst✝⁴ : TopologicalSpace X\ninst✝³ : T2Space X\ninst✝² : MeasurableSpace X\ninst✝¹ : BorelSpace X\nΛ✝ : (X →C_c ℝ) →ₚ[ℝ] ℝ\ninst✝ : CompactSpace X\nΛ : (X →C_c ℝ) →ₚ[ℝ] ℝ\no : X →C_c ℝ := { toContinuousMap := 1, hasCompactSupport' := ⋯ }\n⊢ (rieszMeasure Λ) univ < ∞",
"ppTerm": "?m.5... | [] | calc rieszMeasure Λ univ
_ ≤ ENNReal.ofReal (Λ o) :=
rieszMeasure_le_of_eq_one _ (fun x ↦ zero_le_one) isCompact_univ (fun x hx ↦ rfl)
_ < ⊤ := by simp | Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1 | Lean.calcTactic |
Mathlib.MeasureTheory.Integral.RieszMarkovKakutani.Real | {
"line": 460,
"column": 2
} | {
"line": 460,
"column": 83
} | {
"line": 461,
"column": 2
} | [
{
"pp": "X : Type u_1\ninst✝⁵ : TopologicalSpace X\ninst✝⁴ : T2Space X\ninst✝³ : MeasurableSpace X\ninst✝² : BorelSpace X\ninst✝¹ : CompactSpace X\nμ : Measure X\ninst✝ : IsFiniteMeasure μ\nΛ : (X →C_c ℝ) →ₚ[ℝ] ℝ := { toFun := fun g ↦ ∫ (x : X), g x ∂μ, map_add' := ⋯, map_smul' := ⋯, monotone' := ⋯ }\n⊢ ∃ ν, ν.... | [
"X : Type u_1\ninst✝⁵ : TopologicalSpace X\ninst✝⁴ : T2Space X\ninst✝³ : MeasurableSpace X\ninst✝² : BorelSpace X\ninst✝¹ : CompactSpace X\nμ : Measure X\ninst✝ : IsFiniteMeasure μ\nΛ : (X →C_c ℝ) →ₚ[ℝ] ℝ := { toFun := fun g ↦ ∫ (x : X), g x ∂μ, map_add' := ⋯, map_smul' := ⋯, monotone' := ⋯ }\ng : X →ᵇ ℝ\n⊢ ∫ (x : ... | refine ⟨RealRMK.rieszMeasure Λ, by infer_instance, by infer_instance, fun g ↦ ?_⟩ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Topology.Order.CountableSeparating | {
"line": 44,
"column": 6
} | {
"line": 44,
"column": 65
} | {
"line": 45,
"column": 6
} | [
{
"pp": "case refine_3.isFalse\nX : Type u_1\ninst✝³ : TopologicalSpace X\ninst✝² : LinearOrder X\ninst✝¹ : OrderTopology X\ninst✝ : SecondCountableTopology X\ns✝ s : Set X\nhsc : s.Countable\nhsd : Dense s\nt : Set X := s ∪ {x | ∃ y, y ⋖ x}\nx y : X\nh : ∀ s ∈ Iio '' t, x ∈ s ↔ y ∈ s\nhne : x ≠ y\nthis : ∀ (x ... | [
"case refine_3.isFalse\nX : Type u_1\ninst✝³ : TopologicalSpace X\ninst✝² : LinearOrder X\ninst✝¹ : OrderTopology X\ninst✝ : SecondCountableTopology X\ns✝ s : Set X\nhsc : s.Countable\nhsd : Dense s\nt : Set X := s ∪ {x | ∃ y, y ⋖ x}\nx y : X\nh : ∀ s ∈ Iio '' t, x ∈ s ↔ y ∈ s\nhne : x ≠ y\nthis : ∀ (x y : X), (∀ s... | refine this y x ?_ hne.symm (hne.lt_or_gt.resolve_left hlt) | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Dynamics.FixedPoints.Support | {
"line": 70,
"column": 31
} | {
"line": 70,
"column": 44
} | {
"line": 70,
"column": 45
} | [
{
"pp": "X : Type u_1\ninst✝ : TopologicalSpace X\nf : X ≃ X\nhf : HasCompactFixedSupport ⇑f\n⊢ IsCompact (fixedSupport ⇑f.symm)",
"ppTerm": "?m.13",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"Equiv.instEquivLike",
"congrArg",
"Compl.compl",
"Function.fixedPoints",... | [
"X : Type u_1\ninst✝ : TopologicalSpace X\nf : X ≃ X\nhf : HasCompactFixedSupport ⇑f\n⊢ IsCompact (closure (fixedPoints ⇑f.symm)ᶜ)"
] | fixedSupport, | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 356,
"column": 4
} | {
"line": 356,
"column": 63
} | {
"line": 357,
"column": 4
} | [
{
"pp": "α : Type u_1\nm : MeasurableSpace α\nμ ν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SFinite ν\ns : Set α\n⊢ (∫⁻ (a : α) in s, μ.rnDeriv ν a ∂ν).toReal = ((ν.withDensity (μ.rnDeriv ν)) s).toReal",
"ppTerm": "?m.45",
"assigned": true,
"usedConstants": [
"Eq.mpr",
"MeasureTheory.... | [
"α : Type u_1\nm : MeasurableSpace α\nμ ν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SFinite ν\ns : Set α\n⊢ (ν.withDensity (μ.rnDeriv ν)) s = (ν.withDensity (μ.rnDeriv ν)) s ∨\n (ν.withDensity (μ.rnDeriv ν)) s = 0 ∧ (ν.withDensity (μ.rnDeriv ν)) s = ∞ ∨\n (ν.withDensity (μ.rnDeriv ν)) s = ∞ ∧ (ν.withDens... | rw [ENNReal.toReal_eq_toReal_iff, ← withDensity_apply' _ s] | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1 | Lean.Parser.Tactic.rwSeq |
Mathlib.Dynamics.TopologicalEntropy.DynamicalEntourage | {
"line": 75,
"column": 4
} | {
"line": 75,
"column": 29
} | {
"line": 76,
"column": 4
} | [
{
"pp": "case succ\nX : Type u_1\nT : X → X\nU : SetRel X X\ninst✝ : UniformSpace X\nh : UniformContinuous T\nU_uni : U ∈ 𝓤 X\nn : ℕ\nih : ⋂ i, ⋂ (_ : i < n), (Prod.map T T)^[i] ⁻¹' U ∈ 𝓤 X\n⊢ (⋂ k, ⋂ (_ : k < n), (Prod.map T T)^[k] ⁻¹' U) ∩ (Prod.map T T)^[n] ⁻¹' U ∈ 𝓤 X",
"ppTerm": "?succ",
"assign... | [
"case succ\nX : Type u_1\nT : X → X\nU : SetRel X X\ninst✝ : UniformSpace X\nh : UniformContinuous T\nU_uni : U ∈ 𝓤 X\nn : ℕ\nih : ⋂ i, ⋂ (_ : i < n), (Prod.map T T)^[i] ⁻¹' U ∈ 𝓤 X\n⊢ (Prod.map T T)^[n] ⁻¹' U ∈ 𝓤 X"
] | apply Filter.inter_mem ih | Lean.Elab.Tactic.evalApply | Lean.Parser.Tactic.apply |
Mathlib.Dynamics.TopologicalEntropy.DynamicalEntourage | {
"line": 81,
"column": 41
} | {
"line": 89,
"column": 91
} | {
"line": 91,
"column": 0
} | [
{
"pp": "X : Type u_1\nT : X → X\nU : SetRel X X\ninst✝ : UniformSpace X\nh : Continuous[inst✝.toTopologicalSpace, inst✝.toTopologicalSpace] T\nU_uni : U ∈ 𝓤 X\nn : ℕ\nx : X\n⊢ (dynEntourage T U n).ball x ∈ 𝓝 x",
"ppTerm": "?m.17",
"assigned": true,
"usedConstants": [
"Filter.instMembership"... | [] | by
have : (dynEntourage T U n).ball x
= ⋂ k : Ico 0 n, T^[(k : ℕ)] ⁻¹' U.ball (T^[(k : ℕ)] x) := by
ext y
simp only [mem_ball_dynEntourage, mem_iInter, Subtype.forall, mem_Ico, Nat.zero_le, true_and,
mem_preimage]
rw [this, Filter.iInter_mem, Subtype.forall]
intro k _
exact (h.iterate k).con... | [anonymous] | Lean.Parser.Term.byTactic |
Mathlib.MeasureTheory.Measure.Prokhorov | {
"line": 493,
"column": 6
} | {
"line": 493,
"column": 49
} | {
"line": 494,
"column": 4
} | [
{
"pp": "E : Type u_1\ninst✝³ : MeasurableSpace E\ninst✝² : TopologicalSpace E\ninst✝¹ : T2Space E\ninst✝ : BorelSpace E\nu : ℕ → ℝ≥0\nK : ℕ → Set E\nC : ℝ≥0\nhu : Tendsto u atTop (𝓝 0)\nhK : ∀ (n : ℕ), IsCompact (K n)\nI :\n ∀ (μ : FiniteMeasure E) (n : ℕ),\n ∑ i ∈ Finset.range (n + 1), μ.restrict (disjoi... | [] | exact tendsto_finsetSum _ (fun i hi ↦ hν i) | Lean.Elab.Tactic.evalExact | Lean.Parser.Tactic.exact |
Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym | {
"line": 525,
"column": 2
} | {
"line": 525,
"column": 38
} | {
"line": 526,
"column": 2
} | [
{
"pp": "α : Type u_1\nβ : Type u_2\nm : MeasurableSpace α\nmβ : MeasurableSpace β\nf : α → β\nhf : MeasurableEmbedding f\nμ ν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SigmaFinite ν\nthis✝¹ : SigmaFinite (map f ν)\nthis✝ : SigmaFinite (map f (μ.singularPart ν))\nthis : SigmaFinite (map f (ν.withDensity (μ.r... | [
"case refine_1\nα : Type u_1\nβ : Type u_2\nm : MeasurableSpace α\nmβ : MeasurableSpace β\nf : α → β\nhf : MeasurableEmbedding f\nμ ν : Measure α\ninst✝¹ : SigmaFinite μ\ninst✝ : SigmaFinite ν\nthis✝¹ : SigmaFinite (map f ν)\nthis✝ : SigmaFinite (map f (μ.singularPart ν))\nthis : SigmaFinite (map f (ν.withDensity (... | refine Filter.EventuallyEq.add ?_ ?_ | Lean.Elab.Tactic.evalRefine | Lean.Parser.Tactic.refine |
Mathlib.Dynamics.TopologicalEntropy.CoverEntropy | {
"line": 409,
"column": 2
} | {
"line": 411,
"column": 39
} | {
"line": 413,
"column": 0
} | [
{
"pp": "X : Type u_1\nT : X → X\nU : SetRel X X\nF : Set X\nn : ℕ\nF_inv : MapsTo T F F\ninst✝ : U.IsSymm\nn_pos : n ≠ 0\ns : Finset X\nh : IsDynCoverOf T F U n ↑s\n⊢ coverEntropyEntourage T F (U ○ U) ≤ (↑(#s)).log / ↑n",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"instAddCommMon... | [] | apply (coverEntropyEntourage_le_log_coverMincard_div F_inv n_pos).trans
apply monotone_div_right_of_nonneg n.cast_nonneg' (log_monotone _)
exact mod_cast coverMincard_le_card h | Lean.Elab.Tactic.evalTacticSeq1Indented | Lean.Parser.Tactic.tacticSeq1Indented |
Mathlib.Dynamics.TopologicalEntropy.CoverEntropy | {
"line": 409,
"column": 2
} | {
"line": 411,
"column": 39
} | {
"line": 413,
"column": 0
} | [
{
"pp": "X : Type u_1\nT : X → X\nU : SetRel X X\nF : Set X\nn : ℕ\nF_inv : MapsTo T F F\ninst✝ : U.IsSymm\nn_pos : n ≠ 0\ns : Finset X\nh : IsDynCoverOf T F U n ↑s\n⊢ coverEntropyEntourage T F (U ○ U) ≤ (↑(#s)).log / ↑n",
"ppTerm": "?m.19",
"assigned": true,
"usedConstants": [
"instAddCommMon... | [] | apply (coverEntropyEntourage_le_log_coverMincard_div F_inv n_pos).trans
apply monotone_div_right_of_nonneg n.cast_nonneg' (log_monotone _)
exact mod_cast coverMincard_le_card h | Lean.Elab.Tactic.evalTacticSeq | Lean.Parser.Tactic.tacticSeq |
Mathlib.Dynamics.TopologicalEntropy.NetEntropy | {
"line": 362,
"column": 6
} | {
"line": 362,
"column": 56
} | {
"line": 362,
"column": 56
} | [
{
"pp": "X : Type u_1\ninst✝ : UniformSpace X\nι : Sort u_2\np : ι → Prop\ns : ι → SetRel X X\nh : (𝓤 X).HasBasis p s\nT : X → X\nF : Set X\n⊢ coverEntropyInf T F = ⨆ i, ⨆ (_ : p i), netEntropyInfEntourage T F (s i)",
"ppTerm": "?m.15",
"assigned": true,
"usedConstants": [
"Filter.instMembers... | [
"X : Type u_1\ninst✝ : UniformSpace X\nι : Sort u_2\np : ι → Prop\ns : ι → SetRel X X\nh : (𝓤 X).HasBasis p s\nT : X → X\nF : Set X\n⊢ ⨆ U ∈ 𝓤 X, netEntropyInfEntourage T F U = ⨆ i, ⨆ (_ : p i), netEntropyInfEntourage T F (s i)"
] | coverEntropyInf_eq_iSup_netEntropyInfEntourage T F | Lean.Elab.Tactic.evalRewriteSeq | null |
Mathlib.MeasureTheory.Measure.Prokhorov | {
"line": 567,
"column": 2
} | {
"line": 572,
"column": 79
} | {
"line": 573,
"column": 2
} | [
{
"pp": "E : Type u_1\ninst✝³ : MeasurableSpace E\ninst✝² : TopologicalSpace E\ninst✝¹ : T2Space E\ninst✝ : BorelSpace E\nS : Set (ProbabilityMeasure E)\nhS : IsTightMeasureSet {x | ∃ μ ∈ S, ↑μ = x}\nu : ℕ → ℝ≥0\nu_pos : ∀ (n : ℕ), 0 < u n\nu_lim : Tendsto u atTop (𝓝 0)\nK : ℕ → Set E\nK_comp : ∀ (n : ℕ), IsCo... | [
"E : Type u_1\ninst✝³ : MeasurableSpace E\ninst✝² : TopologicalSpace E\ninst✝¹ : T2Space E\ninst✝ : BorelSpace E\nS : Set (ProbabilityMeasure E)\nhS : IsTightMeasureSet {x | ∃ μ ∈ S, ↑μ = x}\nu : ℕ → ℝ≥0\nu_pos : ∀ (n : ℕ), 0 < u n\nu_lim : Tendsto u atTop (𝓝 0)\nK : ℕ → Set E\nK_comp : ∀ (n : ℕ), IsCompact (K n)\... | have h'K : IsCompact {μ : ProbabilityMeasure E | ∀ n, μ (K' n)ᶜ ≤ u n} := by
apply isCompact_setOfPred_probabilityMeasure_mass_eq_compl_isCompact_le u_lim
· exact fun n ↦ (finite_Iic n).isCompact_biUnion (fun i hi ↦ K_comp i)
· right
simp only [Monotone, mem_Iic, iUnion_subset_iff, K']
exact fun... | Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1 | Lean.Parser.Tactic.tacticHave__ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.