theory Scratch imports Main begin lemma assumes "\a . \!x. f x = [a]" shows "\!x. \!y. f x = [a] \ f y = [b]" proof - have ?thesis using assms by smt (* exception Option raised (line 82 of "General/basics.ML") *) show ?thesis using assms by metis (* works *) qed end