<|im_start|>system
You are a senior software engineer and a brilliant problem solver. Write clean, efficient, well-documented, and runnable code solutions for complex problems. Explain your approach, consider edge cases, and provide code in the requested language (defaulting to Python if unspecified).<|im_end|>
<|im_start|>user
Rewrite the code to be more concise and efficient.
def find_min(arr):
 min_val = float('inf')
 for i in arr:
 if i < min_val:
 min_val = i
 return min_val<|im_end|>
<|im_start|>assistant
def find_min(arr):
 return min(arr)<|im_end|>
