tuned
authornipkow
Tue, 05 Jan 2021 11:24:35 +0100
changeset 73053 2138a4a9031a
parent 73052 c03a148110cc
child 73054 517b17e54d28
tuned
src/HOL/Data_Structures/Binomial_Heap.thy
--- a/src/HOL/Data_Structures/Binomial_Heap.thy	Tue Jan 05 03:35:46 2021 +0100
+++ b/src/HOL/Data_Structures/Binomial_Heap.thy	Tue Jan 05 11:24:35 2021 +0100
@@ -483,9 +483,9 @@
 \<close>
 fun T_ins_tree :: "'a::linorder tree \<Rightarrow> 'a heap \<Rightarrow> nat" where
   "T_ins_tree t [] = 1"
-| "T_ins_tree t\<^sub>1 (t\<^sub>2 # rest) = (
+| "T_ins_tree t\<^sub>1 (t\<^sub>2 # ts) = (
     (if rank t\<^sub>1 < rank t\<^sub>2 then 1
-     else T_link t\<^sub>1 t\<^sub>2 + T_ins_tree (link t\<^sub>1 t\<^sub>2) rest)
+     else T_link t\<^sub>1 t\<^sub>2 + T_ins_tree (link t\<^sub>1 t\<^sub>2) ts)
   )"
 
 definition T_insert :: "'a::linorder \<Rightarrow> 'a heap \<Rightarrow> nat" where