[isabelle-dev] *** exception Empty raised (line 331 of "library.ML")

Tobias Nipkow nipkow at in.tum.de
Thu Feb 9 18:25:09 CET 2012


instantiation list :: (order) order
begin

fun le_list :: "('a::order)list => 'a list => bool" where
"le_list [] [] = True" |
"le_list (x#xs) (y#ys) = (x <= y & xs <= ys)" |
"le_list _ _ = False"

*** exception Empty raised (line 331 of "library.ML")

Of course it should be less_eq instead of le, but still...

Tobias


More information about the isabelle-dev mailing list