Removed ~10000 hack in function idx that can lead to inconsistencies
when unifying terms with a large number of abstractions.
Arith = FOL +
classes arith < term
consts "0" :: "'a::arith" ("0")
"1" :: "'a::arith" ("1")
"+" :: "['a::arith,'a] => 'a" (infixl 60)
end