a new AutoProver (currently without proof).

- A new lemma for nth_error and join_env.