Closed liyishuai closed 4 years ago
You can't use induction
on sexp
because the default induction principle is broken. You first have to manually state and prove a better induction principle using fix
(I don't know whether there are any tools or commands to automate that).
Since you're not familiar with that, it might be a little easier to directly prove these Decidable instances with fix
, but you still have to keep in mind exactly what the proof term being constructed looks like... Maybe I can show you how to do it some time Thursday.
Thanks a lot!
Need help with
Decidable_eq_sexp
proof.