findMin
write a function that, given a List of integers, finds the minimum
Function Signature
import Init.Data.List
def findMin (xs : List Int) : Option Int
Theorem Signature
theorem findMin_correct(x: Int) (xs : List Int):
β minβ (x::xs),
And (findMin (x::xs) = some min) (β y β (x::xs) , y >= min)
Additional Theorem Signature
theorem findMin_base : findMin [] = none
Please log in or register to submit a solution for this challenge.