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.List.Sigma
{ "line": 194, "column": 2 }
{ "line": 196, "column": 46 }
{ "line": 198, "column": 0 }
[ { "pp": "α : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\na : α\nl : List (Sigma β)\n⊢ Option.map (Sigma.mk a) (dlookup a l) = find? (fun s ↦ decide (a = s.fst)) l", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "_private.Mathlib.Data.List.Sigma.0.List.map_dlookup_eq_find._proof_1_...
[]
induction l with | nil => grind | cons s _ _ => by_cases s.fst = a <;> grind
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Finset.Functor
{ "line": 98, "column": 6 }
{ "line": 109, "column": 16 }
{ "line": 110, "column": 4 }
[ { "pp": "α β : Type u\ninst✝ : (P : Prop) → Decidable P\nα✝ β✝ : Type u_1\ns : Finset α✝\nt : Finset β✝\n⊢ s <* t = const β✝ <$> s <*> t", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Applicative.toSeqLeft", "Iff.mpr", "Eq.mpr", "Finset.functor", "Lattice.toS...
[]
rw [seq_def, fmap_def, seqLeft_def] obtain rfl | ht := t.eq_empty_or_nonempty · simp_rw [image_empty, ite_true] exact (sup_bot _).symm · ext a rw [ite_eq_right ht.ne_empty, mem_sup] refine ⟨fun ha => ⟨const _ a, mem_image_of_mem _ ha, mem_image_const_self.2 ht⟩, ?_⟩ rin...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Finset.Functor
{ "line": 98, "column": 6 }
{ "line": 109, "column": 16 }
{ "line": 110, "column": 4 }
[ { "pp": "α β : Type u\ninst✝ : (P : Prop) → Decidable P\nα✝ β✝ : Type u_1\ns : Finset α✝\nt : Finset β✝\n⊢ s <* t = const β✝ <$> s <*> t", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "Applicative.toSeqLeft", "Iff.mpr", "Eq.mpr", "Finset.functor", "Lattice.toS...
[]
rw [seq_def, fmap_def, seqLeft_def] obtain rfl | ht := t.eq_empty_or_nonempty · simp_rw [image_empty, ite_true] exact (sup_bot _).symm · ext a rw [ite_eq_right ht.ne_empty, mem_sup] refine ⟨fun ha => ⟨const _ a, mem_image_of_mem _ ha, mem_image_const_self.2 ht⟩, ?_⟩ rin...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.List.Sigma
{ "line": 436, "column": 2 }
{ "line": 447, "column": 25 }
{ "line": 449, "column": 0 }
[ { "pp": "α : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\na : α\nl : List (Sigma β)\nh : a ∈ l.keys\n⊢ ∃ b l₁ l₂, ¬a ∈ l₁.keys ∧ l = l₁ ++ ⟨a, b⟩ :: l₂ ∧ kerase a l = l₁ ++ l₂", "ppTerm": "?m.37", "assigned": true, "usedConstants": [ "Eq.mpr", "False", "eq_false", "congrArg...
[]
induction l with | nil => cases h | cons hd tl ih => by_cases e : a = hd.1 · subst e exact ⟨hd.2, [], tl, by simp, by cases hd; rfl, by simp⟩ · simp only [keys_cons, mem_cons] at h rcases h with h | h · exact absurd h e rcases ih h with ⟨b, tl₁, tl₂, h₁, h₂, h₃⟩ exact ⟨b, h...
_private.Lean.Elab.Tactic.Induction.0.Lean.Elab.Tactic.evalInduction
Lean.Parser.Tactic.induction
Mathlib.Data.List.Sigma
{ "line": 436, "column": 2 }
{ "line": 447, "column": 25 }
{ "line": 449, "column": 0 }
[ { "pp": "α : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\na : α\nl : List (Sigma β)\nh : a ∈ l.keys\n⊢ ∃ b l₁ l₂, ¬a ∈ l₁.keys ∧ l = l₁ ++ ⟨a, b⟩ :: l₂ ∧ kerase a l = l₁ ++ l₂", "ppTerm": "?m.37", "assigned": true, "usedConstants": [ "Eq.mpr", "False", "eq_false", "congrArg...
[]
induction l with | nil => cases h | cons hd tl ih => by_cases e : a = hd.1 · subst e exact ⟨hd.2, [], tl, by simp, by cases hd; rfl, by simp⟩ · simp only [keys_cons, mem_cons] at h rcases h with h | h · exact absurd h e rcases ih h with ⟨b, tl₁, tl₂, h₁, h₂, h₃⟩ exact ⟨b, h...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.List.Sigma
{ "line": 436, "column": 2 }
{ "line": 447, "column": 25 }
{ "line": 449, "column": 0 }
[ { "pp": "α : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\na : α\nl : List (Sigma β)\nh : a ∈ l.keys\n⊢ ∃ b l₁ l₂, ¬a ∈ l₁.keys ∧ l = l₁ ++ ⟨a, b⟩ :: l₂ ∧ kerase a l = l₁ ++ l₂", "ppTerm": "?m.37", "assigned": true, "usedConstants": [ "Eq.mpr", "False", "eq_false", "congrArg...
[]
induction l with | nil => cases h | cons hd tl ih => by_cases e : a = hd.1 · subst e exact ⟨hd.2, [], tl, by simp, by cases hd; rfl, by simp⟩ · simp only [keys_cons, mem_cons] at h rcases h with h | h · exact absurd h e rcases ih h with ⟨b, tl₁, tl₂, h₁, h₂, h₃⟩ exact ⟨b, h...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Finmap
{ "line": 565, "column": 6 }
{ "line": 565, "column": 71 }
{ "line": 566, "column": 4 }
[ { "pp": "case pos\nα : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\ns : Finmap β\nx : α\nb : β x\nh : lookup x s = some b\n⊢ lookup x (erase x s ∪ singleton x b) = lookup x s", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Finmap.lookup_singleton_eq", "Finmap.erase", "...
[]
rw [lookup_union_right notMem_erase_self, lookup_singleton_eq, h]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.List.Sigma
{ "line": 750, "column": 4 }
{ "line": 750, "column": 24 }
{ "line": 751, "column": 4 }
[ { "pp": "case cons\nα : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\na : α\nb : β a\ntail✝ : List (Sigma β)\nih : ∀ {l₂ : List (Sigma β)}, b ∈ dlookup a (tail✝.kunion l₂) ↔ b ∈ dlookup a tail✝ ∨ ¬a ∈ tail✝.keys ∧ b ∈ dlookup a l₂\nl₂ : List (Sigma β)\na' : α\nsnd✝ : β a'\n⊢ b ∈ dlookup a ((⟨a', snd✝⟩ :: tail✝...
[ "case pos\nα : Type u\nβ : α → Type v\ninst✝ : DecidableEq α\na : α\nb : β a\ntail✝ : List (Sigma β)\nih : ∀ {l₂ : List (Sigma β)}, b ∈ dlookup a (tail✝.kunion l₂) ↔ b ∈ dlookup a tail✝ ∨ ¬a ∈ tail✝.keys ∧ b ∈ dlookup a l₂\nl₂ : List (Sigma β)\na' : α\nsnd✝ : β a'\nh₁ : a = a'\n⊢ b ∈ dlookup a ((⟨a', snd✝⟩ :: tail✝...
by_cases h₁ : a = a'
«_aux_Init_ByCases___macroRules_tacticBy_cases_:__2»
«tacticBy_cases_:_»
Mathlib.Data.Finset.NatDivisors
{ "line": 60, "column": 15 }
{ "line": 60, "column": 52 }
{ "line": 60, "column": 52 }
[ { "pp": "m n : ℕ\nhmn : m.Coprime n\ndm₁ dn₁ dm₂ dn₂ : ℕ\nhd : dm₂ * dn₁ = dm₂ * dn₂\nh₁ : (dm₁ ∣ m ∧ m ≠ 0) ∧ dn₁ ∣ n ∧ n ≠ 0\nh₂ : (dm₂ ∣ m ∧ m ≠ 0) ∧ dn₂ ∣ n ∧ n ≠ 0\nthis : dm₁ = dm₂\n⊢ (dm₁, dn₁).2 = (dm₂, dn₂).2", "ppTerm": "?m.60", "assigned": true, "usedConstants": [ "False", "Dv...
[ "m n : ℕ\nhmn : m.Coprime n\ndm₁ dn₁ dm₂ dn₂ : ℕ\nhd : dn₁ = dn₂\nh₁ : (dm₁ ∣ m ∧ m ≠ 0) ∧ dn₁ ∣ n ∧ n ≠ 0\nh₂ : (dm₂ ∣ m ∧ m ≠ 0) ∧ dn₂ ∣ n ∧ n ≠ 0\nthis : dm₁ = dm₂\n⊢ (dm₁, dn₁).2 = (dm₂, dn₂).2" ]
Nat.mul_right_inj (by simp [·] at h₂)
Lean.Elab.Tactic.evalRwaAt
null
Mathlib.Data.Finset.PiInduction
{ "line": 59, "column": 6 }
{ "line": 59, "column": 26 }
{ "line": 60, "column": 6 }
[ { "pp": "ι : Type u_1\nα : ι → Type u_2\ninst✝² : Finite ι\ninst✝¹ : DecidableEq ι\ninst✝ : (i : ι) → DecidableEq (α i)\nr : (i : ι) → α i → Finset (α i) → Prop\nH_ex : ∀ (i : ι) (s : Finset (α i)), s.Nonempty → ∃ x ∈ s, r i x (s.erase x)\np : ((i : ι) → Finset (α i)) → Prop\nh0 : p fun x ↦ ∅\nstep : ∀ (g : (i ...
[ "ι : Type u_1\nα : ι → Type u_2\ninst✝² : Finite ι\ninst✝¹ : DecidableEq ι\ninst✝ : (i : ι) → DecidableEq (α i)\nr : (i : ι) → α i → Finset (α i) → Prop\nH_ex : ∀ (i : ι) (s : Finset (α i)), s.Nonempty → ∃ x ∈ s, r i x (s.erase x)\np : ((i : ι) → Finset (α i)) → Prop\nh0 : p fun x ↦ ∅\nstep : ∀ (g : (i : ι) → Finse...
rw [hg, update_self]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Finsupp.BigOperators
{ "line": 103, "column": 2 }
{ "line": 106, "column": 42 }
{ "line": 107, "column": 2 }
[ { "pp": "case h\nι : Type u_1\nM : Type u_2\ninst✝¹ : DecidableEq ι\ninst✝ : AddCommMonoid M\na l : List (ι →₀ M)\nhl : Quot.mk (⇑(List.isSetoid (ι →₀ M))) a = ↑l\nhd : List.Pairwise (Disjoint on Finsupp.support) l\n⊢ (sum (Quot.mk (⇑(List.isSetoid (ι →₀ M))) a)).support =\n (map Finsupp.support (Quot.mk (⇑(...
[ "case h\nι : Type u_1\nM : Type u_2\ninst✝¹ : DecidableEq ι\ninst✝ : AddCommMonoid M\na l : List (ι →₀ M)\nhl : Quot.mk (⇑(List.isSetoid (ι →₀ M))) a = ↑l\nhd : List.Pairwise (Disjoint on Finsupp.support) l\n⊢ List.Pairwise (Disjoint on Finsupp.support) a" ]
suffices a.Pairwise (_root_.Disjoint on Finsupp.support) by convert! List.support_sum_eq a this simp only [quot_mk_to_coe'', map_coe, sup_coe, Finset.bot_eq_empty, List.foldr_map]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticSuffices__1
Lean.Parser.Tactic.tacticSuffices_
Mathlib.Data.Int.Bitwise
{ "line": 145, "column": 2 }
{ "line": 145, "column": 28 }
{ "line": 147, "column": 0 }
[ { "pp": "case ofNat.ofNat\nm n : ℕ\n⊢ (↑(m + n)).bodd = ((↑m).bodd ^^ (↑n).bodd)", "ppTerm": "?ofNat.ofNat", "assigned": true, "usedConstants": [ "congrArg", "AddGroupWithOne.toAddMonoidWithOne", "Int.bodd", "AddMonoidWithOne.toNatCast", "Int", "Nat.cast", "...
[]
simp [bodd, Bool.xor_comm]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.Int.Bitwise
{ "line": 145, "column": 2 }
{ "line": 145, "column": 28 }
{ "line": 147, "column": 0 }
[ { "pp": "case ofNat.negSucc\nm n : ℕ\n⊢ (m.bodd ^^ n.succ.bodd) = ((↑m).bodd ^^ -[n+1].bodd)", "ppTerm": "?ofNat.negSucc", "assigned": true, "usedConstants": [ "bne", "Bool.not", "congrArg", "Int.bodd", "instDecidableEqBool", "Int", "instBEqOfDecidableEq", ...
[]
simp [bodd, Bool.xor_comm]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.Int.Bitwise
{ "line": 145, "column": 2 }
{ "line": 145, "column": 28 }
{ "line": 147, "column": 0 }
[ { "pp": "case negSucc.ofNat\nm n : ℕ\n⊢ (n.bodd ^^ m.succ.bodd) = (-[m+1].bodd ^^ (↑n).bodd)", "ppTerm": "?negSucc.ofNat", "assigned": true, "usedConstants": [ "bne", "Bool.not", "congrArg", "Int.bodd", "instDecidableEqBool", "Int", "instBEqOfDecidableEq", ...
[]
simp [bodd, Bool.xor_comm]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.Int.Bitwise
{ "line": 145, "column": 2 }
{ "line": 145, "column": 28 }
{ "line": 147, "column": 0 }
[ { "pp": "case negSucc.negSucc\nm n : ℕ\n⊢ -[(m + n).succ+1].bodd = (-[m+1].bodd ^^ -[n+1].bodd)", "ppTerm": "?negSucc.negSucc", "assigned": true, "usedConstants": [ "bne", "Bool.not", "congrArg", "Bool.not_not", "Int.bodd", "instDecidableEqBool", "instBEqOfD...
[]
simp [bodd, Bool.xor_comm]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.List.Map2
{ "line": 172, "column": 22 }
{ "line": 173, "column": 13 }
{ "line": 174, "column": 2 }
[ { "pp": "α : Type u\nβ : Type v\nγ : Type w\nf : α → Option β → γ\na : α\nas : List α\nh : (a :: as).length ≤ [].length\n⊢ map₂Left f (a :: as) [] = zipWith (fun a b ↦ f a (some b)) (a :: as) []", "ppTerm": "?m.39", "assigned": true, "usedConstants": [ "False", "List.zipWith", "con...
[]
by simp at h
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.List.Shortlex
{ "line": 113, "column": 4 }
{ "line": 113, "column": 47 }
{ "line": 114, "column": 4 }
[ { "pp": "case inl\nα : Type u_1\nr : α → α → Prop\nt₁ t₂ : List α\nh : Shortlex r t₁ t₂\ns : List α\nh1 : t₁.length < t₂.length\n⊢ (s ++ t₁).length < (s ++ t₂).length", "ppTerm": "?inl", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "List.length_append", "id", ...
[ "case inl\nα : Type u_1\nr : α → α → Prop\nt₁ t₂ : List α\nh : Shortlex r t₁ t₂\ns : List α\nh1 : t₁.length < t₂.length\n⊢ s.length + t₁.length < s.length + t₂.length" ]
rw [List.length_append, List.length_append]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.List.PeriodicityLemma
{ "line": 115, "column": 8 }
{ "line": 115, "column": 29 }
{ "line": 115, "column": 29 }
[ { "pp": "α : Type u_1\nu v w : List α\np : ℕ\nper : (u ++ v ++ w).HasPeriod p\nj : ℕ\nlen : j < v.length - p\nshift_position : (u ++ (v ++ w))[j + u.length]? = v[j]?\neq : j + u.length + p - u.length = j + p\n⊢ (u ++ (v ++ w))[j + u.length + p]? = v[j + p]?", "ppTerm": "?m.142", "assigned": true, "u...
[ "α : Type u_1\nu v w : List α\np : ℕ\nper : (u ++ v ++ w).HasPeriod p\nj : ℕ\nlen : j < v.length - p\nshift_position : (u ++ (v ++ w))[j + u.length]? = v[j]?\neq : j + u.length + p - u.length = j + p\n⊢ (v ++ w)[j + u.length + p - u.length]? = v[j + p]?", "α : Type u_1\nu v w : List α\np : ℕ\nper : (u ++ v ++ w)....
getElem?_append_right
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.List.PeriodicityLemma
{ "line": 153, "column": 8 }
{ "line": 155, "column": 51 }
{ "line": 156, "column": 4 }
[]
[]
(take n w ++ w)[j]? = (take n w)[j]? := getElem?_append_left (by simp_all) _ = w[j]? := getElem?_take_of_lt j_lt_n _ = w[j % p]? := Eq.symm (mod_w j (by lia))
Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1
Lean.calcSteps
Mathlib.Data.Matrix.ColumnRowPartitioned
{ "line": 145, "column": 63 }
{ "line": 146, "column": 23 }
{ "line": 148, "column": 0 }
[ { "pp": "R : Type u_1\nm : Type u_2\nn₁ : Type u_6\nn₂ : Type u_7\nA₁ : Matrix m n₁ R\nA₂ : Matrix m n₂ R\nR' : Type u_8\nf : R → R'\n⊢ (A₁.fromCols A₂).map f = (A₁.map f).fromCols (A₂.map f)", "ppTerm": "?m.22", "assigned": true, "usedConstants": [ "Matrix.fromCols", "Sum.casesOn", ...
[]
by ext _ (_ | _) <;> rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.Multiset.DershowitzManna
{ "line": 98, "column": 4 }
{ "line": 98, "column": 40 }
{ "line": 99, "column": 4 }
[ { "pp": "case inr.refine_1\nα : Type u_1\ninst✝ : Preorder α\nM : Multiset α\na : α\nX Y : Multiset α\nb : α\nh0 : M + {a} = X + {b}\nh2 : ∀ (y : α), y ∈ Y → y < b\nhab : a ≠ b\n⊢ {a} ≤ X", "ppTerm": "?inr.refine_1✝", "assigned": true, "usedConstants": [ "congrArg", "Multiset.instAddCanc...
[ "case inr.refine_1\nα : Type u_1\ninst✝ : Preorder α\nM : Multiset α\na : α\nX Y : Multiset α\nb : α\nh0 : M + {a} = X + {b}\nh2 : ∀ (y : α), y ∈ Y → y < b\nhab : a ≠ b\nthis : a ∈ X + {b}\n⊢ {a} ≤ X" ]
have : a ∈ X + {b} := by simp [← h0]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Data.Multiset.DershowitzManna
{ "line": 100, "column": 4 }
{ "line": 102, "column": 31 }
{ "line": 104, "column": 0 }
[ { "pp": "case inr.refine_2\nα : Type u_1\ninst✝ : Preorder α\nM : Multiset α\na : α\nX Y : Multiset α\nb : α\nh0 : a ::ₘ M = X + {b}\nh2 : ∀ (y : α), y ∈ Y → y < b\nhab : a ≠ b\n⊢ M = M - {b} + {b}", "ppTerm": "?inr.refine_2", "assigned": true, "usedConstants": [ "Multiset.mem_cons._simp_1", ...
[]
rw [tsub_add_cancel_of_le] have : b ∈ a ::ₘ M := by simp [h0] simpa [hab.symm] using this
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.Multiset.DershowitzManna
{ "line": 100, "column": 4 }
{ "line": 102, "column": 31 }
{ "line": 104, "column": 0 }
[ { "pp": "case inr.refine_2\nα : Type u_1\ninst✝ : Preorder α\nM : Multiset α\na : α\nX Y : Multiset α\nb : α\nh0 : a ::ₘ M = X + {b}\nh2 : ∀ (y : α), y ∈ Y → y < b\nhab : a ≠ b\n⊢ M = M - {b} + {b}", "ppTerm": "?inr.refine_2", "assigned": true, "usedConstants": [ "Multiset.mem_cons._simp_1", ...
[]
rw [tsub_add_cancel_of_le] have : b ∈ a ::ₘ M := by simp [h0] simpa [hab.symm] using this
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Nat.Digits.Div
{ "line": 32, "column": 2 }
{ "line": 32, "column": 78 }
{ "line": 33, "column": 2 }
[ { "pp": "n : ℕ\n⊢ ↑n ≡ (List.map (fun n ↦ ↑n) (digits 10 n)).alternatingSum [ZMOD 11]", "ppTerm": "?m.11", "assigned": true, "usedConstants": [ "Nat.ofDigits", "id", "instHMod", "Int.instNegInt", "instOfNatNat", "Int", "Nat.cast", "HMod.hMod", "i...
[ "n : ℕ\nt : ↑n ≡ ofDigits (-1) (digits 10 n) [ZMOD ↑11]\n⊢ ↑n ≡ (List.map (fun n ↦ ↑n) (digits 10 n)).alternatingSum [ZMOD 11]" ]
have t := zmodeq_ofDigits_digits 11 10 (-1 : ℤ) (by unfold Int.ModEq; rfl) n
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Data.Num.ZNum
{ "line": 239, "column": 8 }
{ "line": 239, "column": 22 }
{ "line": 239, "column": 23 }
[ { "pp": "n : ℕ\n⊢ (↑(n + 1)).toZNum = ZNum.ofInt' ↑(n + 1)", "ppTerm": "?m.14", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.cast_succ", "ZNum.ofInt'", "AddMonoid.toAddSemigroup", "congrArg", "id", "AddMonoidWithOne.toNatCast", "instOfNatNat", ...
[ "n : ℕ\n⊢ (↑n + 1).toZNum = ZNum.ofInt' ↑(n + 1)" ]
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Num.ZNum
{ "line": 239, "column": 66 }
{ "line": 239, "column": 80 }
{ "line": 239, "column": 81 }
[ { "pp": "n : ℕ\n⊢ (ZNum.ofInt' ↑n).succ = ZNum.ofInt' ↑(n + 1)", "ppTerm": "?m.35", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.cast_succ", "ZNum.ofInt'", "ZNum.succ", "AddMonoid.toAddSemigroup", "congrArg", "AddGroupWithOne.toAddMonoidWithOne", ...
[ "n : ℕ\n⊢ (ZNum.ofInt' ↑n).succ = ZNum.ofInt' (↑n + 1)" ]
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Num.ZNum
{ "line": 270, "column": 33 }
{ "line": 270, "column": 49 }
{ "line": 270, "column": 50 }
[ { "pp": "m n : Num\n⊢ (↑m - ↑n).toNat = ↑m - ↑n", "ppTerm": "?m.24", "assigned": true, "usedConstants": [ "AddGroup.toSubtractionMonoid", "Eq.mpr", "Nat.instMulZeroClass", "Nat.instOne", "AddMonoid.toAddSemigroup", "AddGroupWithOne.toAddGroup", "congrArg", ...
[ "m n : Num\n⊢ (↑↑m - ↑n).toNat = ↑m - ↑n" ]
← to_nat_to_int,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Num.ZNum
{ "line": 270, "column": 50 }
{ "line": 270, "column": 66 }
{ "line": 270, "column": 67 }
[ { "pp": "m n : Num\n⊢ (↑↑m - ↑n).toNat = ↑m - ↑n", "ppTerm": "?m.26", "assigned": true, "usedConstants": [ "AddGroup.toSubtractionMonoid", "Eq.mpr", "Nat.instMulZeroClass", "Nat.instOne", "AddMonoid.toAddSemigroup", "AddGroupWithOne.toAddGroup", "congrArg", ...
[ "m n : Num\n⊢ (↑↑m - ↑↑n).toNat = ↑m - ↑n" ]
← to_nat_to_int,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.PFunctor.Univariate.Basic
{ "line": 219, "column": 4 }
{ "line": 219, "column": 64 }
{ "line": 220, "column": 2 }
[ { "pp": "case mp.mk\nP : PFunctor.{uA, uB}\nα : Type u\np : α → Prop\na : P.A\nf : P.B a → Subtype p\n⊢ ∃ a_1 f_1, Subtype.val <$> Obj.mk a f = Obj.mk a_1 f_1 ∧ ∀ (i : P.B a_1), p (f_1 i)", "ppTerm": "?mp.mk", "assigned": true, "usedConstants": [ "PFunctor.A", "PFunctor.Obj", "PFun...
[]
refine ⟨a, fun i => (f i).val, rfl, fun i => (f i).property⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Data.Num.ZNum
{ "line": 480, "column": 28 }
{ "line": 480, "column": 42 }
{ "line": 480, "column": 43 }
[ { "pp": "n : ℕ\n⊢ -(↑(n + 1)).toZNumNeg = ↑(n + 1)", "ppTerm": "?m.46", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.cast_succ", "NonUnitalCommRing.toNonUnitalNonAssocCommRing", "CommRing.toNonUnitalCommRing", "AddMonoid.toAddSemigroup", "ZNum.addMonoidWith...
[ "n : ℕ\n⊢ -(↑n + 1).toZNumNeg = ↑(n + 1)" ]
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Num.ZNum
{ "line": 481, "column": 6 }
{ "line": 481, "column": 20 }
{ "line": 481, "column": 21 }
[ { "pp": "n : ℕ\n⊢ (↑n).toZNum.succ = ↑(n + 1)", "ppTerm": "?m.56", "assigned": true, "usedConstants": [ "Eq.mpr", "Nat.cast_succ", "ZNum.succ", "AddMonoid.toAddSemigroup", "ZNum.addMonoidWithOne", "congrArg", "id", "AddMonoidWithOne.toNatCast", "...
[ "n : ℕ\n⊢ (↑n).toZNum.succ = ↑n + 1" ]
Nat.cast_succ,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Ordmap.Ordset
{ "line": 197, "column": 17 }
{ "line": 197, "column": 48 }
{ "line": 197, "column": 49 }
[ { "pp": "case pos\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx y : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nhr : Valid' (↑y) r o₂\ns : ℕ\nml : Ordnode α\nz : α\nmr : Ordnode α\nhm : Valid' (↑x) (Ordnode.node s ml z mr) ↑y\nHm : 0 < (Ordnode.node s ml z mr).size\nl0 : 0 < l.s...
[ "case pos.zero.zero\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx y : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nhr : Valid' (↑y) r o₂\ns : ℕ\nml : Ordnode α\nz : α\nmr : Ordnode α\nhm : Valid' (↑x) (Ordnode.node s ml z mr) ↑y\nHm : 0 < (Ordnode.node s ml z mr).size\nl0 : 0 < l.siz...
cases size ml <;> cases size mr
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Data.Ordmap.Ordset
{ "line": 199, "column": 8 }
{ "line": 199, "column": 27 }
{ "line": 199, "column": 27 }
[ { "pp": "case pos.zero.succ\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx y : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nhr : Valid' (↑y) r o₂\ns : ℕ\nml : Ordnode α\nz : α\nmr : Ordnode α\nhm : Valid' (↑x) (Ordnode.node s ml z mr) ↑y\nHm : 0 < (Ordnode.node s ml z mr).size\nl0...
[ "case pos.zero.succ\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx y : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nhr : Valid' (↑y) r o₂\ns : ℕ\nml : Ordnode α\nz : α\nmr : Ordnode α\nhm : Valid' (↑x) (Ordnode.node s ml z mr) ↑y\nHm : 0 < (Ordnode.node s ml z mr).size\nl0 : 0 < l.siz...
rw [zero_add] at mm
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.Num.ZNum
{ "line": 532, "column": 34 }
{ "line": 532, "column": 42 }
{ "line": 532, "column": 43 }
[ { "pp": "case some.left\nn d : PosNum\nq r : Num\nh₁ : ↑r + ↑d * (↑q + ↑q) = ↑n\nh₂ : ↑r < 2 * ↑d\nthis✝ : ∀ {r₂ : Num}, Num.ofZNum' (r.sub' (Num.pos d)) = some r₂ ↔ ↑r = ↑r₂ + ↑d\nr₂ : Num\ne : Num.ofZNum' (r.sub' (Num.pos d)) = some r₂\nthis : ↑r = ↑r₂ + ↑d\n⊢ ↑r₂ + ↑d * (1 + (↑q + ↑q)) = ↑n", "ppTerm": "...
[ "case some.left\nn d : PosNum\nq r : Num\nh₁ : ↑r + ↑d * (↑q + ↑q) = ↑n\nh₂ : ↑r < 2 * ↑d\nthis✝ : ∀ {r₂ : Num}, Num.ofZNum' (r.sub' (Num.pos d)) = some r₂ ↔ ↑r = ↑r₂ + ↑d\nr₂ : Num\ne : Num.ofZNum' (r.sub' (Num.pos d)) = some r₂\nthis : ↑r = ↑r₂ + ↑d\n⊢ ↑r₂ + (↑d * 1 + ↑d * (↑q + ↑q)) = ↑n" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Ordmap.Ordset
{ "line": 205, "column": 15 }
{ "line": 205, "column": 24 }
{ "line": 205, "column": 25 }
[ { "pp": "case neg.inl\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx y : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nhr : Valid' (↑y) r o₂\ns : ℕ\nml : Ordnode α\nz : α\nmr : Ordnode α\nhm : Valid' (↑x) (Ordnode.node s ml z mr) ↑y\nHm : 0 < (Ordnode.node s ml z mr).size\nl0 : 0 <...
[ "case neg.inl\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx y : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nhr : Valid' (↑y) r o₂\ns : ℕ\nml : Ordnode α\nz : α\nmr : Ordnode α\nhm : Valid' (↑x) (Ordnode.node s ml z mr) ↑y\nHm : 0 < (Ordnode.node s ml z mr).size\nl0 : 0 < l.size\nmr₁...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Ordmap.Ordset
{ "line": 216, "column": 6 }
{ "line": 216, "column": 42 }
{ "line": 217, "column": 6 }
[ { "pp": "case neg.inr.refine_1\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx y : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nhr : Valid' (↑y) r o₂\ns : ℕ\nml : Ordnode α\nz : α\nmr : Ordnode α\nhm : Valid' (↑x) (Ordnode.node s ml z mr) ↑y\nHm : 0 < (Ordnode.node s ml z mr).size\...
[ "case neg.inr.refine_1\nα : Type u_1\ninst✝ : Preorder α\nl : Ordnode α\nx y : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nhl : Valid' o₁ l ↑x\nhr : Valid' (↑y) r o₂\ns : ℕ\nml : Ordnode α\nz : α\nmr : Ordnode α\nhm : Valid' (↑x) (Ordnode.node s ml z mr) ↑y\nHm : 0 < (Ordnode.node s ml z mr).size\nl0 : 0 < l....
refine add_lt_add_of_lt_of_le ?_ mm₂
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Data.PFunctor.Multivariate.M
{ "line": 255, "column": 2 }
{ "line": 279, "column": 10 }
{ "line": 281, "column": 0 }
[ { "pp": "n : ℕ\nP : MvPFunctor.{u} (n + 1)\nα : TypeVec.{u} n\nR : P.M α → P.M α → Prop\nh₀ : Equivalence R\nh : ∀ (x y : P.M α), R x y → (TypeVec.id ::: Quot.mk R) <$$> dest P x = (TypeVec.id ::: Quot.mk R) <$$> dest P y\nx y : P.M α\nr : R x y\n⊢ x = y", "ppTerm": "?m.48", "assigned": true, "usedC...
[]
apply M.bisim P R _ _ _ r clear r x y introv Hr specialize h _ _ Hr clear Hr revert h rcases M.dest P x with ⟨ax, fx⟩ rcases M.dest P y with ⟨ay, fy⟩ intro h rw [map_eq, map_eq] at h injection h with h₀ h₁ subst ay simp only [heq_eq_eq] at h₁ have Hdrop : dropFun fx = dropFun fy := by repl...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.PFunctor.Multivariate.M
{ "line": 255, "column": 2 }
{ "line": 279, "column": 10 }
{ "line": 281, "column": 0 }
[ { "pp": "n : ℕ\nP : MvPFunctor.{u} (n + 1)\nα : TypeVec.{u} n\nR : P.M α → P.M α → Prop\nh₀ : Equivalence R\nh : ∀ (x y : P.M α), R x y → (TypeVec.id ::: Quot.mk R) <$$> dest P x = (TypeVec.id ::: Quot.mk R) <$$> dest P y\nx y : P.M α\nr : R x y\n⊢ x = y", "ppTerm": "?m.48", "assigned": true, "usedC...
[]
apply M.bisim P R _ _ _ r clear r x y introv Hr specialize h _ _ Hr clear Hr revert h rcases M.dest P x with ⟨ax, fx⟩ rcases M.dest P y with ⟨ay, fy⟩ intro h rw [map_eq, map_eq] at h injection h with h₀ h₁ subst ay simp only [heq_eq_eq] at h₁ have Hdrop : dropFun fx = dropFun fy := by repl...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.Ordmap.Ordset
{ "line": 286, "column": 12 }
{ "line": 286, "column": 15 }
{ "line": 286, "column": 15 }
[ { "pp": "case neg.inr.inl.inl\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...
[ "case neg.inr.inl.inl\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.s...
rr0
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.PNat.Factors
{ "line": 357, "column": 4 }
{ "line": 359, "column": 29 }
{ "line": 360, "column": 2 }
[ { "pp": "case a\nm n : ℕ+\n⊢ (m.gcd n).factorMultiset ≤ m.factorMultiset ⊓ n.factorMultiset", "ppTerm": "?a✝", "assigned": true, "usedConstants": [ "Iff.mpr", "PNat.gcd", "Dvd.dvd", "instDistribLatticePrimeMultiset", "PNat.factorMultiset_le_iff", "PartialOrder.toP...
[]
apply le_inf_iff.mpr; constructor <;> apply factorMultiset_le_iff.mpr · exact gcd_dvd_left m n · exact gcd_dvd_right m n
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.PNat.Factors
{ "line": 357, "column": 4 }
{ "line": 359, "column": 29 }
{ "line": 360, "column": 2 }
[ { "pp": "case a\nm n : ℕ+\n⊢ (m.gcd n).factorMultiset ≤ m.factorMultiset ⊓ n.factorMultiset", "ppTerm": "?a✝", "assigned": true, "usedConstants": [ "Iff.mpr", "PNat.gcd", "Dvd.dvd", "instDistribLatticePrimeMultiset", "PNat.factorMultiset_le_iff", "PartialOrder.toP...
[]
apply le_inf_iff.mpr; constructor <;> apply factorMultiset_le_iff.mpr · exact gcd_dvd_left m n · exact gcd_dvd_right m n
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Data.PNat.Factors
{ "line": 389, "column": 4 }
{ "line": 389, "column": 40 }
{ "line": 391, "column": 0 }
[ { "pp": "case e'_3.right\nm : ℕ+\np : Nat.Primes\nk : ℕ\ne_1✝ : PrimeMultiset = Multiset Nat.Primes\nq : Nat.Primes\nh : q ∈ Multiset.replicate k p\n⊢ q = p", "ppTerm": "?e'_3.right", "assigned": true, "usedConstants": [ "Nat.Primes", "Multiset.eq_of_mem_replicate" ], "usedFVars"...
[]
exact Multiset.eq_of_mem_replicate h
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.Data.PNat.Xgcd
{ "line": 220, "column": 16 }
{ "line": 220, "column": 25 }
{ "line": 220, "column": 26 }
[ { "pp": "case pos\nu : XgcdType\nhr : u.r = 0\nhq : u.q = 0\nh : 0 + (u.bp + 1) * 0 = u.ap + 1\n⊢ u.q = u.qp + 1", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Nat.instMulZeroClass", "HMul.hMul", "MulZeroClass.toMul", "congrArg", "Eq.mp", "instOfNatNat...
[ "case pos\nu : XgcdType\nhr : u.r = 0\nhq : u.q = 0\nh : 0 + 0 = u.ap + 1\n⊢ u.q = u.qp + 1" ]
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.PNat.Xgcd
{ "line": 275, "column": 75 }
{ "line": 280, "column": 29 }
{ "line": 282, "column": 0 }
[ { "pp": "u : XgcdType\nhr : u.r ≠ 0\n⊢ sizeOf u.step < sizeOf u", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "PNat.XgcdType.step", "Nat.succ_pred_eq_of_pos", "congrArg", "PNat.XgcdType.r", "HSub.hSub", "Eq.mp", "id", "instSubNat", "i...
[]
by change u.r - 1 < u.bp have h₀ : u.r - 1 + 1 = u.r := Nat.succ_pred_eq_of_pos (Nat.pos_of_ne_zero hr) have h₁ : u.r < u.bp + 1 := Nat.mod_lt (u.ap + 1) u.bp.succ_pos rw [← h₀] at h₁ exact lt_of_succ_lt_succ h₁
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.PNat.Xgcd
{ "line": 284, "column": 6 }
{ "line": 284, "column": 14 }
{ "line": 284, "column": 15 }
[ { "pp": "u : XgcdType\nhs : u.wp + u.zp + u.wp * u.zp = u.x * u.y\n⊢ u.y * u.q + u.zp + u.wp + (u.y * u.q + u.zp) * u.wp = u.y * ((u.wp + 1) * u.q + u.x)", "ppTerm": "?m.3", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "HMul.hMul", "PNat.XgcdType...
[ "u : XgcdType\nhs : u.wp + u.zp + u.wp * u.zp = u.x * u.y\n⊢ u.y * u.q + u.zp + u.wp + (u.y * u.q + u.zp) * u.wp = u.y * ((u.wp + 1) * u.q) + u.y * u.x" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.QPF.Multivariate.Basic
{ "line": 183, "column": 16 }
{ "line": 183, "column": 19 }
{ "line": 184, "column": 4 }
[ { "pp": "case mp\nn : ℕ\nF : TypeVec.{u} n → Type u_1\nq : MvQPF F\nα : TypeVec.{u} n\nx : F α\nh : ∀ (p : (i : Fin2 n) → α i → Prop), LiftP p x ↔ ∀ (i : Fin2 n), ∀ u ∈ supp x i, p i u\na : (P F).A\nf : (P F).B a ⟹ α\nxeq : x = abs ⟨a, f⟩\nh' : ∀ (i : Fin2 n) (j : (P F).B a i), f i j ∈ supp x i\na' : Fin2 n\nf'...
[ "case mp\nn : ℕ\nF : TypeVec.{u} n → Type u_1\nq : MvQPF F\nα : TypeVec.{u} n\nx : F α\nh : ∀ (p : (i : Fin2 n) → α i → Prop), LiftP p x ↔ ∀ (i : Fin2 n), ∀ u ∈ supp x i, p i u\na : (P F).A\nf : (P F).B a ⟹ α\nxeq : x = abs ⟨a, f⟩\nh' : ∀ (i : Fin2 n) (j : (P F).B a i), f i j ∈ supp x i\na' : Fin2 n\nf' : (P F).A\n...
h''
Lean.Elab.Tactic.evalIntro
ident
Mathlib.Data.PNat.Xgcd
{ "line": 432, "column": 18 }
{ "line": 432, "column": 26 }
{ "line": 432, "column": 27 }
[ { "pp": "a b : ℕ+\nd : ℕ+ := a.gcdD b\nw : ℕ+ := a.gcdW b\nx : ℕ := a.gcdX b\ny : ℕ := a.gcdY b\nz : ℕ+ := a.gcdZ b\na' : ℕ+ := a.gcdA' b\nb' : ℕ+ := a.gcdB' b\nu : XgcdType := XgcdType.start a b\nur : XgcdType := u.reduce\nhb : d = ur.b\nha' : ↑a' = ↑w + x\nhb' : ↑b' = y + ↑z\nhdet : w * z = (x * y).succPNat\n...
[ "a b : ℕ+\nd : ℕ+ := a.gcdD b\nw : ℕ+ := a.gcdW b\nx : ℕ := a.gcdX b\ny : ℕ := a.gcdY b\nz : ℕ+ := a.gcdZ b\na' : ℕ+ := a.gcdA' b\nb' : ℕ+ := a.gcdB' b\nu : XgcdType := XgcdType.start a b\nur : XgcdType := u.reduce\nhb : d = ur.b\nha' : ↑a' = ↑w + x\nhb' : ↑b' = y + ↑z\nhdet : w * z = (x * y).succPNat\nhdet' : ↑w *...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.PNat.Xgcd
{ "line": 432, "column": 27 }
{ "line": 432, "column": 35 }
{ "line": 432, "column": 36 }
[ { "pp": "a b : ℕ+\nd : ℕ+ := a.gcdD b\nw : ℕ+ := a.gcdW b\nx : ℕ := a.gcdX b\ny : ℕ := a.gcdY b\nz : ℕ+ := a.gcdZ b\na' : ℕ+ := a.gcdA' b\nb' : ℕ+ := a.gcdB' b\nu : XgcdType := XgcdType.start a b\nur : XgcdType := u.reduce\nhb : d = ur.b\nha' : ↑a' = ↑w + x\nhb' : ↑b' = y + ↑z\nhdet : w * z = (x * y).succPNat\n...
[ "a b : ℕ+\nd : ℕ+ := a.gcdD b\nw : ℕ+ := a.gcdW b\nx : ℕ := a.gcdX b\ny : ℕ := a.gcdY b\nz : ℕ+ := a.gcdZ b\na' : ℕ+ := a.gcdA' b\nb' : ℕ+ := a.gcdB' b\nu : XgcdType := XgcdType.start a b\nur : XgcdType := u.reduce\nhb : d = ur.b\nha' : ↑a' = ↑w + x\nhb' : ↑b' = y + ↑z\nhdet : w * z = (x * y).succPNat\nhdet' : ↑w *...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.PNat.Xgcd
{ "line": 435, "column": 18 }
{ "line": 435, "column": 26 }
{ "line": 435, "column": 27 }
[ { "pp": "a b : ℕ+\nd : ℕ+ := a.gcdD b\nw : ℕ+ := a.gcdW b\nx : ℕ := a.gcdX b\ny : ℕ := a.gcdY b\nz : ℕ+ := a.gcdZ b\na' : ℕ+ := a.gcdA' b\nb' : ℕ+ := a.gcdB' b\nu : XgcdType := XgcdType.start a b\nur : XgcdType := u.reduce\nhb : d = ur.b\nha' : ↑a' = ↑w + x\nhb' : ↑b' = y + ↑z\nhdet : w * z = (x * y).succPNat\n...
[ "a b : ℕ+\nd : ℕ+ := a.gcdD b\nw : ℕ+ := a.gcdW b\nx : ℕ := a.gcdX b\ny : ℕ := a.gcdY b\nz : ℕ+ := a.gcdZ b\na' : ℕ+ := a.gcdA' b\nb' : ℕ+ := a.gcdB' b\nu : XgcdType := XgcdType.start a b\nur : XgcdType := u.reduce\nhb : d = ur.b\nha' : ↑a' = ↑w + x\nhb' : ↑b' = y + ↑z\nhdet : w * z = (x * y).succPNat\nhdet' : ↑w *...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.PNat.Xgcd
{ "line": 435, "column": 27 }
{ "line": 435, "column": 35 }
{ "line": 435, "column": 36 }
[ { "pp": "a b : ℕ+\nd : ℕ+ := a.gcdD b\nw : ℕ+ := a.gcdW b\nx : ℕ := a.gcdX b\ny : ℕ := a.gcdY b\nz : ℕ+ := a.gcdZ b\na' : ℕ+ := a.gcdA' b\nb' : ℕ+ := a.gcdB' b\nu : XgcdType := XgcdType.start a b\nur : XgcdType := u.reduce\nhb : d = ur.b\nha' : ↑a' = ↑w + x\nhb' : ↑b' = y + ↑z\nhdet : w * z = (x * y).succPNat\n...
[ "a b : ℕ+\nd : ℕ+ := a.gcdD b\nw : ℕ+ := a.gcdW b\nx : ℕ := a.gcdX b\ny : ℕ := a.gcdY b\nz : ℕ+ := a.gcdZ b\na' : ℕ+ := a.gcdA' b\nb' : ℕ+ := a.gcdB' b\nu : XgcdType := XgcdType.start a b\nur : XgcdType := u.reduce\nhb : d = ur.b\nha' : ↑a' = ↑w + x\nhb' : ↑b' = y + ↑z\nhdet : w * z = (x * y).succPNat\nhdet' : ↑w *...
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Data.Ordmap.Ordset
{ "line": 506, "column": 8 }
{ "line": 506, "column": 67 }
{ "line": 507, "column": 8 }
[ { "pp": "α : Type u_1\ninst✝² : Preorder α\ninst✝¹ : Std.Total fun x1 x2 ↦ x1 ≤ x2\ninst✝ : DecidableLE α\nf : α → α\nx : α\nhf : ∀ (y : α), x ≤ y ∧ y ≤ x → x ≤ f y ∧ f y ≤ x\nsz : ℕ\nl : Ordnode α\ny : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nh : Valid' o₁ (node sz l y r) o₂\nbl : nil.Bounded o₁ ↑x\nb...
[ "α : Type u_1\ninst✝² : Preorder α\ninst✝¹ : Std.Total fun x1 x2 ↦ x1 ≤ x2\ninst✝ : DecidableLE α\nf : α → α\nx : α\nhf : ∀ (y : α), x ≤ y ∧ y ≤ x → x ≤ f y ∧ f y ≤ x\nsz : ℕ\nl : Ordnode α\ny : α\nr : Ordnode α\no₁ : WithBot α\no₂ : WithTop α\nh : Valid' o₁ (node sz l y r) o₂\nbl : nil.Bounded o₁ ↑x\nbr : nil.Boun...
rw [size_balanceL vl.3 h.3.2.2 vl.2 h.2.2.2 H, h.2.size_eq]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Data.QPF.Multivariate.Constructions.Fix
{ "line": 328, "column": 4 }
{ "line": 328, "column": 33 }
{ "line": 329, "column": 2 }
[ { "pp": "n : ℕ\nF : TypeVec.{u} (n + 1) → Type u\nq : MvQPF F\nα : TypeVec.{u} n\nβ : Fix F α → Type u\ng : (x : F (α ::: Sigma β)) → β (mk ((TypeVec.id ::: Sigma.fst) <$$> x))\nx : Fix F α\ny : Sigma β := rec (fun i ↦ ⟨mk ((TypeVec.id ::: Sigma.fst) <$$> i), g i⟩) x\nx' : F (α ::: Fix F α)\nih : (TypeVec.id ::...
[]
simp only [Function.comp_def]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Data.QPF.Univariate.Basic
{ "line": 527, "column": 16 }
{ "line": 527, "column": 19 }
{ "line": 528, "column": 4 }
[ { "pp": "case mp\nF : Type u → Type u\nq : QPF F\nα : Type u\nx : F α\nh : ∀ (p : α → Prop), Liftp p x ↔ ∀ u ∈ supp x, p u\na : (P F).A\nf : (P F).B a → α\nxeq : x = abs (PFunctor.Obj.mk a f)\nh' : ∀ (i : (P F).B a), f i ∈ supp x\na' : (P F).A\nf' : (P F).B a' → α\n⊢ abs (PFunctor.Obj.mk a' f') = x → f '' univ ...
[ "case mp\nF : Type u → Type u\nq : QPF F\nα : Type u\nx : F α\nh : ∀ (p : α → Prop), Liftp p x ↔ ∀ u ∈ supp x, p u\na : (P F).A\nf : (P F).B a → α\nxeq : x = abs (PFunctor.Obj.mk a f)\nh' : ∀ (i : (P F).B a), f i ∈ supp x\na' : (P F).A\nf' : (P F).B a' → α\nh'' : abs (PFunctor.Obj.mk a' f') = x\n⊢ f '' univ ⊆ f' ''...
h''
Lean.Elab.Tactic.evalIntro
ident
Mathlib.Data.QPF.Multivariate.Constructions.Cofix
{ "line": 401, "column": 2 }
{ "line": 401, "column": 34 }
{ "line": 402, "column": 2 }
[ { "pp": "n : ℕ\nF : TypeVec.{u} (n + 1) → Type u\nq : MvQPF F\nα : TypeVec.{u} n\nx : Cofix F α\nR : Cofix F α → Cofix F α → Prop := fun x y ↦ abs y.repr = x\n⊢ Quot.mk Mcongr x.repr = x", "ppTerm": "?m.40", "assigned": true, "usedConstants": [ "instOfNatNat", "MvQPF.Cofix.repr", "...
[ "n : ℕ\nF : TypeVec.{u} (n + 1) → Type u\nq : MvQPF F\nα : TypeVec.{u} n\nx : Cofix F α\nR : Cofix F α → Cofix F α → Prop := fun x y ↦ abs y.repr = x\n⊢ ∀ (x y : Cofix F α), R x y → LiftR' (α.RelLast' R) x.dest y.dest" ]
refine Cofix.bisim₂ R ?_ _ _ rfl
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Data.WSeq.Basic
{ "line": 504, "column": 6 }
{ "line": 504, "column": 18 }
{ "line": 505, "column": 6 }
[ { "pp": "case h1.inr\nα : Type u\ns : WSeq α\na : α\nh✝ : a ∈ s\na' : α\ns' : WSeq α\nn : ℕ\nh : some a ∈ s'.get? n\n⊢ ∃ n, some a ∈ (cons a' s').get? n", "ppTerm": "?h1.inr", "assigned": true, "usedConstants": [ "Stream'.WSeq.cons", "Option.some", "Membership.mem", "Stream'....
[ "case h1.inr\nα : Type u\ns : WSeq α\na : α\nh✝ : a ∈ s\na' : α\ns' : WSeq α\nn : ℕ\nh : some a ∈ s'.get? n\n⊢ some a ∈ (cons a' s').get? (n + 1)" ]
exists n + 1
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticExists_,,_1»
Lean.Parser.Tactic.«tacticExists_,,»
Mathlib.Data.WSeq.Basic
{ "line": 707, "column": 2 }
{ "line": 734, "column": 39 }
{ "line": 736, "column": 0 }
[ { "pp": "α : Type u\na : α\n⊢ ∀ {S : WSeq (WSeq α)}, a ∈ S.join → ∃ s, s ∈ S ∧ a ∈ s", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Eq.mpr", "Stream'.WSeq.seq_destruct_cons", "Stream'.Seq", "False", "Stream'.WSeq.join", "Stream'.WSeq.seq_destruct_think...
[]
suffices ∀ ss : WSeq α, a ∈ ss → ∀ s S, append s (join S) = ss → a ∈ append s (join S) → a ∈ s ∨ ∃ s, s ∈ S ∧ a ∈ s from fun S h => (this _ h nil S (by simp) (by simp [h])).resolve_left (notMem_nil _) intro ss h apply mem_rec_on h · intro b ss o s S ej m induction s using WSeq.recOn <;> [i...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Data.WSeq.Basic
{ "line": 707, "column": 2 }
{ "line": 734, "column": 39 }
{ "line": 736, "column": 0 }
[ { "pp": "α : Type u\na : α\n⊢ ∀ {S : WSeq (WSeq α)}, a ∈ S.join → ∃ s, s ∈ S ∧ a ∈ s", "ppTerm": "?m.13", "assigned": true, "usedConstants": [ "Eq.mpr", "Stream'.WSeq.seq_destruct_cons", "Stream'.Seq", "False", "Stream'.WSeq.join", "Stream'.WSeq.seq_destruct_think...
[]
suffices ∀ ss : WSeq α, a ∈ ss → ∀ s S, append s (join S) = ss → a ∈ append s (join S) → a ∈ s ∨ ∃ s, s ∈ S ∧ a ∈ s from fun S h => (this _ h nil S (by simp) (by simp [h])).resolve_left (notMem_nil _) intro ss h apply mem_rec_on h · intro b ss o s S ej m induction s using WSeq.recOn <;> [i...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.Sigma
{ "line": 98, "column": 6 }
{ "line": 98, "column": 48 }
{ "line": 99, "column": 6 }
[ { "pp": "ι : Type u_1\nα : ι → Type u_2\ninst✝ : (i : ι) → Preorder (α i)\n⊢ ∀ (a b c : (i : ι) × α i), a ≤ b → b ≤ c → a ≤ c", "ppTerm": "?m.30", "assigned": true, "usedConstants": [ "Sigma.instLE_mathlib", "HEq.refl", "Preorder.toLE", "Sigma.LE", "Sigma.LE.casesOn", ...
[ "ι : Type u_1\nα : ι → Type u_2\ninst✝ : (i : ι) → Preorder (α i)\ni : ι\na b : α i\nhab : a ≤ b\nc : α i\nhbc : b ≤ c\n⊢ ⟨i, a⟩ ≤ ⟨i, c⟩" ]
rintro _ _ _ ⟨i, a, b, hab⟩ ⟨_, _, c, hbc⟩
_private.Lean.Elab.Tactic.RCases.0.Lean.Elab.Tactic.RCases.evalRIntro
Lean.Parser.Tactic.rintro
Mathlib.Data.WSeq.Relation
{ "line": 440, "column": 25 }
{ "line": 452, "column": 20 }
{ "line": 452, "column": 20 }
[ { "pp": "α : Type u\nβ : Type v\nR : α → β → Prop\nS✝ : WSeq (WSeq α)\nT✝ : WSeq (WSeq β)\nh✝ : LiftRel (LiftRel R) S✝ T✝\ns1 : WSeq α\ns2 : WSeq β\nx✝¹ :\n (fun s1 s2 ↦ ∃ s t S T, s1 = s.append S.join ∧ s2 = t.append T.join ∧ LiftRel R s t ∧ LiftRel (LiftRel R) S T) s1 s2\ns : WSeq α\nt : WSeq β\nS : WSeq (WS...
[]
by -- We do not `dsimp` with `LiftRelO` since `liftRel_join.lem` uses `LiftRelO`. dsimp only [destruct_append.aux, Computation.LiftRel]; constructor · intro apply liftRel_join.lem _ ST fun _ _ => id · intro b mb rw [← LiftRelO.swap] apply liftRel_join.lem (s...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Data.ZMod.Factorial
{ "line": 45, "column": 58 }
{ "line": 45, "column": 66 }
{ "line": 45, "column": 67 }
[ { "pp": "n p : ℕ\nh : n ≤ p\nx : ℕ\nhx : x ∈ range n\n⊢ -1 + -↑x = -1 * (↑x + 1)", "ppTerm": "?m.93", "assigned": true, "usedConstants": [ "Distrib.leftDistribClass", "Eq.mpr", "NegZeroClass.toNeg", "HMul.hMul", "ZMod.commRing", "AddMonoid.toAddSemigroup", "...
[ "n p : ℕ\nh : n ≤ p\nx : ℕ\nhx : x ∈ range n\n⊢ -1 + -↑x = -1 * ↑x + -1 * 1" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Dynamics.BirkhoffSum.Maximal
{ "line": 149, "column": 17 }
{ "line": 149, "column": 49 }
{ "line": 151, "column": 0 }
[ { "pp": "case succ\nα : Type u_1\nf : α → α\nn✝ : ℕ\ng : α → ℝ\nmα : MeasurableSpace α\nμ : Measure α\nhf : MeasurePreserving f μ μ\nhg : Integrable g μ\nn : ℕ\nhn : Integrable ((partialSups (birkhoffSum f g)) n) μ\n⊢ Integrable ((partialSups (birkhoffSum f g)) (n + 1)) μ", "ppTerm": "?succ", "assigned"...
[]
simpa using hn.sup (by fun_prop)
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.Dynamics.BirkhoffSum.Maximal
{ "line": 149, "column": 17 }
{ "line": 149, "column": 49 }
{ "line": 151, "column": 0 }
[ { "pp": "case succ\nα : Type u_1\nf : α → α\nn✝ : ℕ\ng : α → ℝ\nmα : MeasurableSpace α\nμ : Measure α\nhf : MeasurePreserving f μ μ\nhg : Integrable g μ\nn : ℕ\nhn : Integrable ((partialSups (birkhoffSum f g)) n) μ\n⊢ Integrable ((partialSups (birkhoffSum f g)) (n + 1)) μ", "ppTerm": "?succ", "assigned"...
[]
simpa using hn.sup (by fun_prop)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Dynamics.BirkhoffSum.Maximal
{ "line": 149, "column": 17 }
{ "line": 149, "column": 49 }
{ "line": 151, "column": 0 }
[ { "pp": "case succ\nα : Type u_1\nf : α → α\nn✝ : ℕ\ng : α → ℝ\nmα : MeasurableSpace α\nμ : Measure α\nhf : MeasurePreserving f μ μ\nhg : Integrable g μ\nn : ℕ\nhn : Integrable ((partialSups (birkhoffSum f g)) n) μ\n⊢ Integrable ((partialSups (birkhoffSum f g)) (n + 1)) μ", "ppTerm": "?succ", "assigned"...
[]
simpa using hn.sup (by fun_prop)
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Dynamics.Circle.RotationNumber.TranslationNumber
{ "line": 645, "column": 13 }
{ "line": 647, "column": 66 }
{ "line": 649, "column": 0 }
[ { "pp": "f : CircleDeg1Lift\nn : ℕ\n⊢ τ (f ^ (n + 1)) = ↑(n + 1) * τ f", "ppTerm": "?m.21", "assigned": true, "usedConstants": [ "CircleDeg1Lift.translationNumber_mul_of_commute", "add_mul", "Eq.mpr", "MulOne.toOne", "Real", "HMul.hMul", "AddMonoid.toAddSemi...
[]
by rw [pow_succ, translationNumber_mul_of_commute (Commute.pow_self f n), translationNumber_pow n, Nat.cast_add_one, add_mul, one_mul]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Dynamics.Circle.RotationNumber.TranslationNumber
{ "line": 859, "column": 4 }
{ "line": 859, "column": 27 }
{ "line": 860, "column": 4 }
[ { "pp": "case refine_2\nG : Type u_1\ninst✝ : Group G\nf₁ f₂ : G →* CircleDeg1Lift\nh : ∀ (g : G), τ (f₁ g) = τ (f₂ g)\nthis : ∀ (x : ℝ), BddAbove (range fun g ↦ (f₂ g⁻¹) ((f₁ g) x))\nF₁ : G →* ℝ ≃o ℝ := toOrderIso.comp f₁.toHomUnits\nF₂ : G →* ℝ ≃o ℝ := toOrderIso.comp f₂.toHomUnits\nhF₁ : ∀ (g : G), ⇑(F₁ g) =...
[ "case refine_2\nG : Type u_1\ninst✝ : Group G\nf₁ f₂ : G →* CircleDeg1Lift\nh : ∀ (g : G), τ (f₁ g) = τ (f₂ g)\nthis : ∀ (x : ℝ), BddAbove (range fun g ↦ (f₂ g⁻¹) ((f₁ g) x))\nF₁ : G →* ℝ ≃o ℝ := toOrderIso.comp f₁.toHomUnits\nF₂ : G →* ℝ ≃o ℝ := toOrderIso.comp f₂.toHomUnits\nhF₁ : ∀ (g : G), ⇑(F₁ g) = ⇑(f₁ g)\nhF...
simp only [map_add_one]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.MeasureTheory.Measure.ContinuousPreimage
{ "line": 97, "column": 2 }
{ "line": 97, "column": 76 }
{ "line": 98, "column": 2 }
[ { "pp": "α : Type u_1\nX : Type u_2\nY : Type u_3\ninst✝⁹ : TopologicalSpace X\ninst✝⁸ : MeasurableSpace X\ninst✝⁷ : BorelSpace X\ninst✝⁶ : R1Space X\ninst✝⁵ : TopologicalSpace Y\ninst✝⁴ : MeasurableSpace Y\ninst✝³ : BorelSpace Y\ninst✝² : R1Space Y\nμ : Measure X\nν : Measure Y\ninst✝¹ : μ.InnerRegularCompactL...
[ "α : Type u_1\nX : Type u_2\nY : Type u_3\ninst✝⁹ : TopologicalSpace X\ninst✝⁸ : MeasurableSpace X\ninst✝⁷ : BorelSpace X\ninst✝⁶ : R1Space X\ninst✝⁵ : TopologicalSpace Y\ninst✝⁴ : MeasurableSpace Y\ninst✝³ : BorelSpace Y\ninst✝² : R1Space Y\nμ : Measure X\nν : Measure Y\ninst✝¹ : μ.InnerRegularCompactLTTop\ninst✝ ...
rw [symmDiff_of_ge ha.subset_preimage, symmDiff_of_le hKg.subset_preimage]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Dynamics.Ergodic.Action.OfMinimal
{ "line": 124, "column": 4 }
{ "line": 124, "column": 46 }
{ "line": 125, "column": 4 }
[ { "pp": "M : Type u_1\nX : Type u_2\ninst✝¹⁵ : Monoid M\ninst✝¹⁴ : SMul M X\ninst✝¹³ : TopologicalSpace X\ninst✝¹² : R1Space X\ninst✝¹¹ : MeasurableSpace X\ninst✝¹⁰ : BorelSpace X\nμ : Measure X\ninst✝⁹ : IsFiniteMeasure μ\ninst✝⁸ : μ.InnerRegular\nN : Type u_3\ninst✝⁷ : MulAction M N\ninst✝⁶ : Monoid N\ninst✝⁵...
[ "M : Type u_1\nX : Type u_2\ninst✝¹⁵ : Monoid M\ninst✝¹⁴ : SMul M X\ninst✝¹³ : TopologicalSpace X\ninst✝¹² : R1Space X\ninst✝¹¹ : MeasurableSpace X\ninst✝¹⁰ : BorelSpace X\nμ : Measure X\ninst✝⁹ : IsFiniteMeasure μ\ninst✝⁸ : μ.InnerRegular\nN : Type u_3\ninst✝⁷ : MulAction M N\ninst✝⁶ : Monoid N\ninst✝⁵ : Topologic...
refine (MulAction.dense_orbit M 1).mono ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Dynamics.Ergodic.AddCircle
{ "line": 62, "column": 19 }
{ "line": 62, "column": 48 }
{ "line": 62, "column": 49 }
[ { "pp": "T : ℝ\nhT : Fact (0 < T)\ns : Set (AddCircle T)\nι : Type u_1\nl : Filter ι\ninst✝ : l.NeBot\nu : ι → AddCircle T\nμ : Measure (AddCircle T) := volume\nhs : NullMeasurableSet s μ\nhu₁ : ∀ (i : ι), u i +ᵥ s =ᵐ[μ] s\nn : ι → ℕ := addOrderOf ∘ u\nhu₂ : Tendsto n l atTop\nhT₀ : 0 < T\nhT₁ : ENNReal.ofReal ...
[ "T : ℝ\nhT : Fact (0 < T)\ns : Set (AddCircle T)\nι : Type u_1\nl : Filter ι\ninst✝ : l.NeBot\nu : ι → AddCircle T\nμ : Measure (AddCircle T) := volume\nhs : NullMeasurableSet s μ\nhu₁ : ∀ (i : ι), u i +ᵥ s =ᵐ[μ] s\nn : ι → ℕ := addOrderOf ∘ u\nhu₂ : Tendsto n l atTop\nhT₀ : 0 < T\nhT₁ : ENNReal.ofReal T ≠ 0\n⊢ μ s...
ae_eq_univ_iff_measure_eq hs,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.MeasureTheory.Measure.ContinuousPreimage
{ "line": 120, "column": 4 }
{ "line": 120, "column": 21 }
{ "line": 121, "column": 4 }
[ { "pp": "X : Type u_2\nY : Type u_3\nZ : Type u_4\ninst✝¹⁰ : TopologicalSpace X\ninst✝⁹ : MeasurableSpace X\ninst✝⁸ : BorelSpace X\ninst✝⁷ : R1Space X\ninst✝⁶ : TopologicalSpace Y\ninst✝⁵ : MeasurableSpace Y\ninst✝⁴ : BorelSpace Y\ninst✝³ : R1Space Y\ninst✝² : TopologicalSpace Z\nμ : Measure X\nν : Measure Y\ni...
[ "X : Type u_2\nY : Type u_3\nZ : Type u_4\ninst✝¹⁰ : TopologicalSpace X\ninst✝⁹ : MeasurableSpace X\ninst✝⁸ : BorelSpace X\ninst✝⁷ : R1Space X\ninst✝⁶ : TopologicalSpace Y\ninst✝⁵ : MeasurableSpace Y\ninst✝⁴ : BorelSpace Y\ninst✝³ : R1Space Y\ninst✝² : TopologicalSpace Z\nμ : Measure X\nν : Measure Y\ninst✝¹ : μ.In...
apply gt_mem_nhds
Lean.Elab.Tactic.evalApply
Lean.Parser.Tactic.apply
Mathlib.MeasureTheory.Measure.HasOuterApproxClosed
{ "line": 69, "column": 2 }
{ "line": 69, "column": 74 }
{ "line": 70, "column": 2 }
[ { "pp": "case refine_1\nΩ : Type u_1\ninst✝⁴ : TopologicalSpace Ω\ninst✝³ : MeasurableSpace Ω\ninst✝² : OpensMeasurableSpace Ω\nι : Type u_2\nL : Filter ι\ninst✝¹ : L.IsCountablyGenerated\nμ : Measure Ω\ninst✝ : IsFiniteMeasure μ\nfs : ι → Ω →ᵇ ℝ≥0\nc : ℝ≥0\nfs_le_const : ∀ᶠ (i : ι) in L, ∀ᵐ (ω : Ω) ∂μ, (fs i) ...
[ "case refine_2\nΩ : Type u_1\ninst✝⁴ : TopologicalSpace Ω\ninst✝³ : MeasurableSpace Ω\ninst✝² : OpensMeasurableSpace Ω\nι : Type u_2\nL : Filter ι\ninst✝¹ : L.IsCountablyGenerated\nμ : Measure Ω\ninst✝ : IsFiniteMeasure μ\nfs : ι → Ω →ᵇ ℝ≥0\nc : ℝ≥0\nfs_le_const : ∀ᶠ (i : ι) in L, ∀ᵐ (ω : Ω) ∂μ, (fs i) ω ≤ c\nf : Ω...
· simpa only [Function.comp_apply, ENNReal.coe_le_coe] using fs_le_const
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Dynamics.Ergodic.Conservative
{ "line": 224, "column": 12 }
{ "line": 224, "column": 21 }
{ "line": 224, "column": 22 }
[ { "pp": "case succ.refine_1\nα : Type u_1\ninst✝ : MeasurableSpace α\nf : α → α\nμ : Measure α\nhf : Conservative f μ\nn : ℕ\ns : Set α\nhs : MeasurableSet s\nhs0 : μ s ≠ 0\nx : α\nleft✝ : x ∈ s\nhx : {n | f^[n] x ∈ s}.Infinite\nk : ℕ\nhk : k ∈ {n | f^[n] x ∈ s}\nl : ℕ\nhl : l ∈ {n | f^[n] x ∈ s}\nhkl : k < l\n...
[ "case succ.refine_1\nα : Type u_1\ninst✝ : MeasurableSpace α\nf : α → α\nμ : Measure α\nhf : Conservative f μ\nn : ℕ\ns : Set α\nhs : MeasurableSet s\nhs0 : μ s ≠ 0\nx : α\nleft✝ : x ∈ s\nhx : {n | f^[n] x ∈ s}.Infinite\nk : ℕ\nhk : k ∈ {n | f^[n] x ∈ s}\nl : ℕ\nhl : l ∈ {n | f^[n] x ∈ s}\nhkl : k < l\nhn : k ≡ l [...
mul_zero,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.MeasureTheory.Measure.HasOuterApproxClosed
{ "line": 265, "column": 4 }
{ "line": 265, "column": 74 }
{ "line": 267, "column": 0 }
[ { "pp": "Ω : Type u_1\ninst✝⁴ : MeasurableSpace Ω\ninst✝³ : TopologicalSpace Ω\ninst✝² : HasOuterApproxClosed Ω\ninst✝¹ : BorelSpace Ω\nμ ν : Measure Ω\ninst✝ : IsFiniteMeasure μ\nh : ∀ (f : Ω →ᵇ ℝ≥0), ∫⁻ (x : Ω), ↑(f x) ∂μ = ∫⁻ (x : Ω), ↑(f x) ∂ν\nkey : ∀ {F : Set Ω}, IsClosed[inst✝³] F → μ F = ν F\n⊢ inst✝⁴ =...
[]
rw [BorelSpace.measurable_eq (α := Ω), borel_eq_generateFrom_isClosed]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.MeasureTheory.Measure.HasOuterApproxClosed
{ "line": 265, "column": 4 }
{ "line": 265, "column": 74 }
{ "line": 267, "column": 0 }
[ { "pp": "Ω : Type u_1\ninst✝⁴ : MeasurableSpace Ω\ninst✝³ : TopologicalSpace Ω\ninst✝² : HasOuterApproxClosed Ω\ninst✝¹ : BorelSpace Ω\nμ ν : Measure Ω\ninst✝ : IsFiniteMeasure μ\nh : ∀ (f : Ω →ᵇ ℝ≥0), ∫⁻ (x : Ω), ↑(f x) ∂μ = ∫⁻ (x : Ω), ↑(f x) ∂ν\nkey : ∀ {F : Set Ω}, IsClosed[inst✝³] F → μ F = ν F\n⊢ inst✝⁴ =...
[]
rw [BorelSpace.measurable_eq (α := Ω), borel_eq_generateFrom_isClosed]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.MeasureTheory.Measure.HasOuterApproxClosed
{ "line": 265, "column": 4 }
{ "line": 265, "column": 74 }
{ "line": 267, "column": 0 }
[ { "pp": "Ω : Type u_1\ninst✝⁴ : MeasurableSpace Ω\ninst✝³ : TopologicalSpace Ω\ninst✝² : HasOuterApproxClosed Ω\ninst✝¹ : BorelSpace Ω\nμ ν : Measure Ω\ninst✝ : IsFiniteMeasure μ\nh : ∀ (f : Ω →ᵇ ℝ≥0), ∫⁻ (x : Ω), ↑(f x) ∂μ = ∫⁻ (x : Ω), ↑(f x) ∂ν\nkey : ∀ {F : Set Ω}, IsClosed[inst✝³] F → μ F = ν F\n⊢ inst✝⁴ =...
[]
rw [BorelSpace.measurable_eq (α := Ω), borel_eq_generateFrom_isClosed]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Order.Interval.Set.Union
{ "line": 33, "column": 17 }
{ "line": 36, "column": 69 }
{ "line": 38, "column": 0 }
[ { "pp": "case succ\nX : Type u_1\ninst✝ : LinearOrder X\na : ℕ → X\nN : ℕ\nih : Ioc (a 0) (a N) ⊆ ⋃ i ∈ Finset.range N, Ioc (a i) (a (i + 1))\n⊢ Ioc (a 0) (a (N + 1)) ⊆ ⋃ i ∈ Finset.range (N + 1), Ioc (a i) (a (i + 1))", "ppTerm": "?succ", "assigned": true, "usedConstants": [ "Eq.mpr", "...
[]
calc _ ⊆ Ioc (a 0) (a N) ∪ Ioc (a N) (a (N + 1)) := Ioc_subset_Ioc_union_Ioc _ ⊆ _ := by simpa [Finset.range_add_one] using union_subset_union_right (Ioc (a N) (a (N + 1))) ih
Lean.Elab.Tactic._aux_Mathlib_Tactic_Widget_Calc___elabRules_Lean_calcTactic_1
Lean.calcTactic
Mathlib.Order.Interval.Set.Union
{ "line": 33, "column": 17 }
{ "line": 36, "column": 69 }
{ "line": 38, "column": 0 }
[ { "pp": "case succ\nX : Type u_1\ninst✝ : LinearOrder X\na : ℕ → X\nN : ℕ\nih : Ioc (a 0) (a N) ⊆ ⋃ i ∈ Finset.range N, Ioc (a i) (a (i + 1))\n⊢ Ioc (a 0) (a (N + 1)) ⊆ ⋃ i ∈ Finset.range (N + 1), Ioc (a i) (a (i + 1))", "ppTerm": "?succ", "assigned": true, "usedConstants": [ "Eq.mpr", "...
[]
calc _ ⊆ Ioc (a 0) (a N) ∪ Ioc (a N) (a (N + 1)) := Ioc_subset_Ioc_union_Ioc _ ⊆ _ := by simpa [Finset.range_add_one] using union_subset_union_right (Ioc (a N) (a (N + 1))) ih
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Order.Interval.Set.Union
{ "line": 33, "column": 17 }
{ "line": 36, "column": 69 }
{ "line": 38, "column": 0 }
[ { "pp": "case succ\nX : Type u_1\ninst✝ : LinearOrder X\na : ℕ → X\nN : ℕ\nih : Ioc (a 0) (a N) ⊆ ⋃ i ∈ Finset.range N, Ioc (a i) (a (i + 1))\n⊢ Ioc (a 0) (a (N + 1)) ⊆ ⋃ i ∈ Finset.range (N + 1), Ioc (a i) (a (i + 1))", "ppTerm": "?succ", "assigned": true, "usedConstants": [ "Eq.mpr", "...
[]
calc _ ⊆ Ioc (a 0) (a N) ∪ Ioc (a N) (a (N + 1)) := Ioc_subset_Ioc_union_Ioc _ ⊆ _ := by simpa [Finset.range_add_one] using union_subset_union_right (Ioc (a N) (a (N + 1))) ih
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Topology.ContinuousMap.CompactlySupported
{ "line": 703, "column": 2 }
{ "line": 704, "column": 39 }
{ "line": 705, "column": 2 }
[ { "pp": "α : Type u_2\ninst✝ : TopologicalSpace α\nf : α →C_c ℝ\na : ℝ\nha : 0 ≤ a\nx : α\n⊢ ↑((a • f).nnrealPart x) = ↑((a.toNNReal • f.nnrealPart) x)", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "NNReal.instTopologicalSpace", "Eq.mpr", "NonAssocSemiring.toAddCommMono...
[ "α : Type u_2\ninst✝ : TopologicalSpace α\nf : α →C_c ℝ\na : ℝ\nha : 0 ≤ a\nx : α\n⊢ max (a * f x) 0 = a * max (f x) 0" ]
simp only [nnrealPart_apply, coe_smul, Pi.smul_apply, Real.coe_toNNReal', smul_eq_mul, NNReal.coe_mul, ha, sup_of_le_left]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.MeasureTheory.Measure.FiniteMeasure
{ "line": 886, "column": 2 }
{ "line": 886, "column": 11 }
{ "line": 887, "column": 2 }
[ { "pp": "Ω : Type u_1\nΩ' : Type u_2\ninst✝⁶ : MeasurableSpace Ω\ninst✝⁵ : MeasurableSpace Ω'\ninst✝⁴ : TopologicalSpace Ω\ninst✝³ : TopologicalSpace Ω'\ninst✝² : BorelSpace Ω\ninst✝¹ : BorelSpace Ω'\ninst✝ : NormalSpace Ω'\nf : Ω → Ω'\nhf : IsClosedEmbedding f\nμ : FiniteMeasure Ω'\nhμ : μ ∈ {μ | μ (range f)ᶜ ...
[ "Ω : Type u_1\nΩ' : Type u_2\ninst✝⁶ : MeasurableSpace Ω\ninst✝⁵ : MeasurableSpace Ω'\ninst✝⁴ : TopologicalSpace Ω\ninst✝³ : TopologicalSpace Ω'\ninst✝² : BorelSpace Ω\ninst✝¹ : BorelSpace Ω'\ninst✝ : NormalSpace Ω'\nf : Ω → Ω'\nhf : IsClosedEmbedding f\nμ : FiniteMeasure Ω'\nhμ : μ ∈ {μ | μ (range f)ᶜ = 0}\ng : Ω ...
rw [B hμ]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Topology.Separation.CompletelyRegular
{ "line": 95, "column": 32 }
{ "line": 108, "column": 25 }
{ "line": 110, "column": 0 }
[ { "pp": "X : Type u\ninst✝² : TopologicalSpace X\ninst✝¹ : NormalSpace X\ninst✝ : R0Space X\n⊢ CompletelyRegularSpace X", "ppTerm": "?m.4", "assigned": true, "usedConstants": [ "Iff.mpr", "Set.mem_singleton", "Eq.mpr", "Specializes.symm", "Real", "Continuous", ...
[]
by rw [completelyRegularSpace_iff] intro x K hK hx have cx : IsClosed (closure {x}) := isClosed_closure have d : Disjoint (closure {x}) K := by rw [Set.disjoint_iff] intro a ⟨hax, haK⟩ exact hx ((specializes_iff_mem_closure.mpr hax).symm.mem_closed hK haK) let ⟨⟨f, cf⟩, hfx, hfK, hficc⟩ := exists_...
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.MeasureTheory.Integral.RieszMarkovKakutani.Real
{ "line": 120, "column": 31 }
{ "line": 120, "column": 39 }
{ "line": 120, "column": 40 }
[ { "pp": "X : Type u_1\ninst✝² : TopologicalSpace X\ninst✝¹ : MeasurableSpace X\ninst✝ : BorelSpace X\nf : X →C_c ℝ\na ε : ℝ\nhε : 0 < ε\nN : ℕ\nhf : range ⇑f ⊆ Ioo a (a + ↑N * ε)\nb : ℝ := a + ↑N * ε\ny : Fin N → ℝ := fun n ↦ a + ε * (↑↑n + 1)\nn m : Fin N\nh : n < m\n⊢ a + ε * ↑↑m + ε = a + ε * (↑↑m + 1)", ...
[ "X : Type u_1\ninst✝² : TopologicalSpace X\ninst✝¹ : MeasurableSpace X\ninst✝ : BorelSpace X\nf : X →C_c ℝ\na ε : ℝ\nhε : 0 < ε\nN : ℕ\nhf : range ⇑f ⊆ Ioo a (a + ↑N * ε)\nb : ℝ := a + ↑N * ε\ny : Fin N → ℝ := fun n ↦ a + ε * (↑↑n + 1)\nn m : Fin N\nh : n < m\n⊢ a + ε * ↑↑m + ε = a + (ε * ↑↑m + ε * 1)" ]
mul_add,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Topology.Separation.CompletelyRegular
{ "line": 151, "column": 26 }
{ "line": 151, "column": 35 }
{ "line": 151, "column": 35 }
[ { "pp": "ι : Type u_1\nX : Type u_2\nt : ι → TopologicalSpace X\nht : ∀ (i : ι), CompletelyRegularSpace X\nthis : TopologicalSpace X := ⨅ i, t i\nx✝ : X\nI' : Finset ι\nV U : ↥I' → Set X\nhUV : ∀ (i : ↥I'), U i ⊆ V i\nfs : ↥I' → X → ↑I\nhfs : ∀ (i : ↥I'), Continuous[t ↑i, _] (fs i)\nhxfs : ∀ (i : ↥I'), fs i x✝ ...
[]
tauto_set
Mathlib.Tactic.TautoSet._aux_Mathlib_Tactic_TautoSet___macroRules_Mathlib_Tactic_TautoSet_tacticTauto_set_1
Mathlib.Tactic.TautoSet.tacticTauto_set
Mathlib.Topology.Separation.CompletelyRegular
{ "line": 151, "column": 26 }
{ "line": 151, "column": 35 }
{ "line": 151, "column": 35 }
[ { "pp": "ι : Type u_1\nX : Type u_2\nt : ι → TopologicalSpace X\nht : ∀ (i : ι), CompletelyRegularSpace X\nthis : TopologicalSpace X := ⨅ i, t i\nx✝ : X\nI' : Finset ι\nV U : ↥I' → Set X\nhUV : ∀ (i : ↥I'), U i ⊆ V i\nfs : ↥I' → X → ↑I\nhfs : ∀ (i : ↥I'), Continuous[t ↑i, _] (fs i)\nhxfs : ∀ (i : ↥I'), fs i x✝ ...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Topology.Separation.CompletelyRegular
{ "line": 151, "column": 26 }
{ "line": 151, "column": 35 }
{ "line": 151, "column": 35 }
[ { "pp": "ι : Type u_1\nX : Type u_2\nt : ι → TopologicalSpace X\nht : ∀ (i : ι), CompletelyRegularSpace X\nthis : TopologicalSpace X := ⨅ i, t i\nx✝ : X\nI' : Finset ι\nV U : ↥I' → Set X\nhUV : ∀ (i : ↥I'), U i ⊆ V i\nfs : ↥I' → X → ↑I\nhfs : ∀ (i : ↥I'), Continuous[t ↑i, _] (fs i)\nhxfs : ∀ (i : ↥I'), fs i x✝ ...
[]
tauto_set
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.MeasureTheory.Measure.Tight
{ "line": 135, "column": 6 }
{ "line": 135, "column": 97 }
{ "line": 135, "column": 97 }
[ { "pp": "𝓧 : Type u_1\n𝓨 : Type u_2\nm𝓧 : MeasurableSpace 𝓧\nS : Set (Measure 𝓧)\ninst✝⁵ : TopologicalSpace 𝓧\ninst✝⁴ : OpensMeasurableSpace 𝓧\ninst✝³ : TopologicalSpace 𝓨\ninst✝² : MeasurableSpace 𝓨\ninst✝¹ : BorelSpace 𝓨\ninst✝ : T2Space 𝓨\nhS : ∀ (ε : ENNReal), 0 < ε → ∃ K, IsCompact K ∧ ∀ μ ∈ S, ...
[ "𝓧 : Type u_1\n𝓨 : Type u_2\nm𝓧 : MeasurableSpace 𝓧\nS : Set (Measure 𝓧)\ninst✝⁵ : TopologicalSpace 𝓧\ninst✝⁴ : OpensMeasurableSpace 𝓧\ninst✝³ : TopologicalSpace 𝓨\ninst✝² : MeasurableSpace 𝓨\ninst✝¹ : BorelSpace 𝓨\ninst✝ : T2Space 𝓨\nhS : ∀ (ε : ENNReal), 0 < ε → ∃ K, IsCompact K ∧ ∀ μ ∈ S, μ Kᶜ ≤ ε\nf ...
Measure.map_apply_of_aemeasurable hf.aemeasurable (hK_compact.image hf).measurableSet.compl
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.MeasureTheory.Integral.Regular
{ "line": 38, "column": 19 }
{ "line": 38, "column": 25 }
{ "line": 38, "column": 26 }
[ { "pp": "case a\nX : Type u_1\ninst✝⁶ : TopologicalSpace X\ninst✝⁵ : MeasurableSpace X\ninst✝⁴ : BorelSpace X\nk : Set X\nhk : IsCompact k\nμ : Measure X\ninst✝³ : IsFiniteMeasureOnCompacts μ\ninst✝² : μ.InnerRegularCompactLTTop\ninst✝¹ : LocallyCompactSpace X\ninst✝ : RegularSpace X\nf : X → ℝ\nf_cont : Contin...
[ "case a\nX : Type u_1\ninst✝⁶ : TopologicalSpace X\ninst✝⁵ : MeasurableSpace X\ninst✝⁴ : BorelSpace X\nk : Set X\nhk : IsCompact k\nμ : Measure X\ninst✝³ : IsFiniteMeasureOnCompacts μ\ninst✝² : μ.InnerRegularCompactLTTop\ninst✝¹ : LocallyCompactSpace X\ninst✝ : RegularSpace X\nf : X → ℝ\nf_cont : Continuous f\nf_co...
f_comp
Lean.Elab.Tactic.evalIntro
ident
Mathlib.MeasureTheory.Integral.Regular
{ "line": 74, "column": 6 }
{ "line": 76, "column": 17 }
{ "line": 77, "column": 2 }
[ { "pp": "case hs\nX : Type u_1\ninst✝⁶ : TopologicalSpace X\ninst✝⁵ : MeasurableSpace X\ninst✝⁴ : BorelSpace X\ninst✝³ : T2Space X\nU : Set X\nhU : IsOpen U\nμ : Measure X\ninst✝² : IsFiniteMeasure μ\ninst✝¹ : μ.InnerRegularCompactLTTop\ninst✝ : NormalSpace X\nr : ENNReal\nhr : r < μ U\nK : Set X\nKU : K ⊆ U\nK...
[]
intro x hx apply Eq.ge exact fK hx
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.MeasureTheory.Integral.Regular
{ "line": 74, "column": 6 }
{ "line": 76, "column": 17 }
{ "line": 77, "column": 2 }
[ { "pp": "case hs\nX : Type u_1\ninst✝⁶ : TopologicalSpace X\ninst✝⁵ : MeasurableSpace X\ninst✝⁴ : BorelSpace X\ninst✝³ : T2Space X\nU : Set X\nhU : IsOpen U\nμ : Measure X\ninst✝² : IsFiniteMeasure μ\ninst✝¹ : μ.InnerRegularCompactLTTop\ninst✝ : NormalSpace X\nr : ENNReal\nhr : r < μ U\nK : Set X\nKU : K ⊆ U\nK...
[]
intro x hx apply Eq.ge exact fK hx
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.MeasureTheory.Measure.Portmanteau
{ "line": 295, "column": 2 }
{ "line": 298, "column": 80 }
{ "line": 299, "column": 2 }
[ { "pp": "case inr\nΩ : Type u_1\nι : Type u_2\nL : Filter ι\ninst✝³ : MeasurableSpace Ω\ninst✝² : TopologicalSpace Ω\ninst✝¹ : HasOuterApproxClosed Ω\ninst✝ : OpensMeasurableSpace Ω\nμ : FiniteMeasure Ω\nμs : ι → FiniteMeasure Ω\nμs_lim : Tendsto μs L (𝓝 μ)\nF : Set Ω\nF_closed : IsClosed[inst✝²] F\nhne : L.Ne...
[ "case inr\nΩ : Type u_1\nι : Type u_2\nL : Filter ι\ninst✝³ : MeasurableSpace Ω\ninst✝² : TopologicalSpace Ω\ninst✝¹ : HasOuterApproxClosed Ω\ninst✝ : OpensMeasurableSpace Ω\nμ : FiniteMeasure Ω\nμs : ι → FiniteMeasure Ω\nμs_lim : Tendsto μs L (𝓝 μ)\nF : Set Ω\nF_closed : IsClosed[inst✝²] F\nhne : L.NeBot\nε : ℝ≥0...
have room₂ : (lintegral (μ : Measure Ω) fun a ↦ fs M a) < (lintegral (μ : Measure Ω) fun a ↦ fs M a) + ε / 2 := ENNReal.lt_add_right (ne_of_lt ((fs M).lintegral_lt_top_of_nnreal _)) ε_pos'
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.MeasureTheory.Measure.LevyProkhorovMetric
{ "line": 343, "column": 6 }
{ "line": 343, "column": 76 }
{ "line": 344, "column": 4 }
[ { "pp": "case refine_1\nΩ : Type u_1\ninst✝³ : MeasurableSpace Ω\ninst✝² : PseudoEMetricSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\ninst✝ : BorelSpace Ω\nμ ν : LevyProkhorov (ProbabilityMeasure Ω)\nh : dist μ ν = 0\n⊢ inst✝³ = MeasurableSpace.generateFrom {s | IsClosed[PseudoEMetricSpace.toUniformSpace.toTopologi...
[]
rw [BorelSpace.measurable_eq (α := Ω), borel_eq_generateFrom_isClosed]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.MeasureTheory.Measure.LevyProkhorovMetric
{ "line": 343, "column": 6 }
{ "line": 343, "column": 76 }
{ "line": 344, "column": 4 }
[ { "pp": "case refine_1\nΩ : Type u_1\ninst✝³ : MeasurableSpace Ω\ninst✝² : PseudoEMetricSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\ninst✝ : BorelSpace Ω\nμ ν : LevyProkhorov (ProbabilityMeasure Ω)\nh : dist μ ν = 0\n⊢ inst✝³ = MeasurableSpace.generateFrom {s | IsClosed[PseudoEMetricSpace.toUniformSpace.toTopologi...
[]
rw [BorelSpace.measurable_eq (α := Ω), borel_eq_generateFrom_isClosed]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.MeasureTheory.Measure.LevyProkhorovMetric
{ "line": 343, "column": 6 }
{ "line": 343, "column": 76 }
{ "line": 344, "column": 4 }
[ { "pp": "case refine_1\nΩ : Type u_1\ninst✝³ : MeasurableSpace Ω\ninst✝² : PseudoEMetricSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\ninst✝ : BorelSpace Ω\nμ ν : LevyProkhorov (ProbabilityMeasure Ω)\nh : dist μ ν = 0\n⊢ inst✝³ = MeasurableSpace.generateFrom {s | IsClosed[PseudoEMetricSpace.toUniformSpace.toTopologi...
[]
rw [BorelSpace.measurable_eq (α := Ω), borel_eq_generateFrom_isClosed]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.MeasureTheory.Measure.Portmanteau
{ "line": 514, "column": 2 }
{ "line": 540, "column": 47 }
{ "line": 542, "column": 0 }
[ { "pp": "Ω : Type u_1\ninst✝³ : MeasurableSpace Ω\ninst✝² : TopologicalSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\nμ : Measure Ω\nμs : ℕ → Measure Ω\ninst✝ : ∀ (i : ℕ), IsProbabilityMeasure (μs i)\nf : Ω →ᵇ ℝ\nf_nn : 0 ≤ f\nh_opens : ∀ (G : Set Ω), IsOpen[inst✝²] G → μ G ≤ liminf (fun i ↦ (μs i) G) atTop\n⊢ ∫ (x ...
[]
have same := lintegral_le_liminf_lintegral_of_forall_isOpen_measure_le_liminf_measure f.continuous f_nn h_opens rw [@integral_eq_lintegral_of_nonneg_ae Ω _ μ f (Eventually.of_forall f_nn) f.continuous.measurable.aestronglyMeasurable] convert ENNReal.toReal_mono ?_ same · simp only [fun i...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.MeasureTheory.Measure.Portmanteau
{ "line": 514, "column": 2 }
{ "line": 540, "column": 47 }
{ "line": 542, "column": 0 }
[ { "pp": "Ω : Type u_1\ninst✝³ : MeasurableSpace Ω\ninst✝² : TopologicalSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\nμ : Measure Ω\nμs : ℕ → Measure Ω\ninst✝ : ∀ (i : ℕ), IsProbabilityMeasure (μs i)\nf : Ω →ᵇ ℝ\nf_nn : 0 ≤ f\nh_opens : ∀ (G : Set Ω), IsOpen[inst✝²] G → μ G ≤ liminf (fun i ↦ (μs i) G) atTop\n⊢ ∫ (x ...
[]
have same := lintegral_le_liminf_lintegral_of_forall_isOpen_measure_le_liminf_measure f.continuous f_nn h_opens rw [@integral_eq_lintegral_of_nonneg_ae Ω _ μ f (Eventually.of_forall f_nn) f.continuous.measurable.aestronglyMeasurable] convert ENNReal.toReal_mono ?_ same · simp only [fun i...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.MeasureTheory.Integral.RieszMarkovKakutani.Real
{ "line": 268, "column": 4 }
{ "line": 285, "column": 20 }
{ "line": 286, "column": 2 }
[ { "pp": "case calc_3\nX : Type u_1\ninst✝⁴ : TopologicalSpace X\ninst✝³ : T2Space X\ninst✝² : MeasurableSpace X\ninst✝¹ : BorelSpace X\nΛ : (X →C_c ℝ) →ₚ[ℝ] ℝ\ninst✝ : LocallyCompactSpace X\nf : X →C_c ℝ\nμ : Measure X := rieszMeasure Λ\nK : Set X := tsupport ⇑f\nε : ℝ\nhε : 0 < ε\na b : ℝ\nhab : a < b ∧ range ...
[]
gcongr with n hn · calc _ ≤ |a| + a := neg_le_iff_add_nonneg'.mp <| neg_abs_le a _ ≤ |a| + a + ε' * (n + 1) := (le_add_iff_nonneg_right (|a| + a)).mpr <| Left.mul_nonneg (le_of_lt hε'.1) <| Left.add_nonneg (Nat.cast_nonneg' n) (zero_le_one' ℝ) _ ≤ _ := by rw [← add_assoc, le_add_if...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.MeasureTheory.Integral.RieszMarkovKakutani.Real
{ "line": 268, "column": 4 }
{ "line": 285, "column": 20 }
{ "line": 286, "column": 2 }
[ { "pp": "case calc_3\nX : Type u_1\ninst✝⁴ : TopologicalSpace X\ninst✝³ : T2Space X\ninst✝² : MeasurableSpace X\ninst✝¹ : BorelSpace X\nΛ : (X →C_c ℝ) →ₚ[ℝ] ℝ\ninst✝ : LocallyCompactSpace X\nf : X →C_c ℝ\nμ : Measure X := rieszMeasure Λ\nK : Set X := tsupport ⇑f\nε : ℝ\nhε : 0 < ε\na b : ℝ\nhab : a < b ∧ range ...
[]
gcongr with n hn · calc _ ≤ |a| + a := neg_le_iff_add_nonneg'.mp <| neg_abs_le a _ ≤ |a| + a + ε' * (n + 1) := (le_add_iff_nonneg_right (|a| + a)).mpr <| Left.mul_nonneg (le_of_lt hε'.1) <| Left.add_nonneg (Nat.cast_nonneg' n) (zero_le_one' ℝ) _ ≤ _ := by rw [← add_assoc, le_add_if...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.MeasureTheory.Measure.Portmanteau
{ "line": 659, "column": 2 }
{ "line": 659, "column": 59 }
{ "line": 660, "column": 2 }
[ { "pp": "case inr\nΩ : Type u_1\nι : Type u_2\nmΩ : MeasurableSpace Ω\ninst✝² : TopologicalSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\nμ : ProbabilityMeasure Ω\nμs : ι → ProbabilityMeasure Ω\nL : Filter ι\ninst✝ : L.IsCountablyGenerated\nh₁ : IsTightMeasureSet (range (ProbabilityMeasure.toMeasure ∘ μs))\nh₂ : ∀ (...
[ "case inr\nΩ : Type u_1\nι : Type u_2\nmΩ : MeasurableSpace Ω\ninst✝² : TopologicalSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\nμ : ProbabilityMeasure Ω\nμs : ι → ProbabilityMeasure Ω\nL : Filter ι\ninst✝ : L.IsCountablyGenerated\nh₁ : IsTightMeasureSet (range (ProbabilityMeasure.toMeasure ∘ μs))\nh₂ : ∀ (F : Set Ω), ...
refine ENNReal.le_of_forall_pos_le_add <| fun ε hε _ ↦ ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.MeasureTheory.Integral.RieszMarkovKakutani.Real
{ "line": 297, "column": 13 }
{ "line": 297, "column": 21 }
{ "line": 297, "column": 22 }
[ { "pp": "case calc_5\nX : Type u_1\ninst✝⁴ : TopologicalSpace X\ninst✝³ : T2Space X\ninst✝² : MeasurableSpace X\ninst✝¹ : BorelSpace X\nΛ : (X →C_c ℝ) →ₚ[ℝ] ℝ\ninst✝ : LocallyCompactSpace X\nf : X →C_c ℝ\nμ : Measure X := rieszMeasure Λ\nK : Set X := tsupport ⇑f\nε : ℝ\nhε : 0 < ε\na b : ℝ\nhab : a < b ∧ range ...
[ "case calc_5\nX : Type u_1\ninst✝⁴ : TopologicalSpace X\ninst✝³ : T2Space X\ninst✝² : MeasurableSpace X\ninst✝¹ : BorelSpace X\nΛ : (X →C_c ℝ) →ₚ[ℝ] ℝ\ninst✝ : LocallyCompactSpace X\nf : X →C_c ℝ\nμ : Measure X := rieszMeasure Λ\nK : Set X := tsupport ⇑f\nε : ℝ\nhε : 0 < ε\na b : ℝ\nhab : a < b ∧ range ⇑f ⊆ Ioo a b...
mul_add,
Mathlib.Tactic._aux_Mathlib_Tactic_SimpRw___elabRules_Mathlib_Tactic_tacticSimp_rw____1
null
Mathlib.MeasureTheory.Measure.Portmanteau
{ "line": 731, "column": 4 }
{ "line": 731, "column": 56 }
{ "line": 733, "column": 0 }
[ { "pp": "γ : Type u_1\nΩ : Type u_2\nmΩ : MeasurableSpace Ω\ninst✝² : PseudoEMetricSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\nF : Filter γ\ninst✝ : F.IsCountablyGenerated\nμs : γ → ProbabilityMeasure Ω\nμ : ProbabilityMeasure Ω\nhne : F.NeBot\nh :\n ∀ (f : Ω → ℝ),\n (∃ C, ∀ (x y : Ω), dist (f x) (f y) ≤ C) →...
[]
exact isCoboundedUnder_le_of_le F (x := 0) (by simp)
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.MeasureTheory.Measure.Portmanteau
{ "line": 731, "column": 4 }
{ "line": 731, "column": 56 }
{ "line": 733, "column": 0 }
[ { "pp": "γ : Type u_1\nΩ : Type u_2\nmΩ : MeasurableSpace Ω\ninst✝² : PseudoEMetricSpace Ω\ninst✝¹ : OpensMeasurableSpace Ω\nF : Filter γ\ninst✝ : F.IsCountablyGenerated\nμs : γ → ProbabilityMeasure Ω\nμ : ProbabilityMeasure Ω\nhne : F.NeBot\nh :\n ∀ (f : Ω → ℝ),\n (∃ C, ∀ (x y : Ω), dist (f x) (f y) ≤ C) →...
[]
exact isCoboundedUnder_le_of_le F (x := 0) (by simp)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented