I was trying out the auto
tactic with
Goal 3 < 5. Proof. auto. Qed.
Goal 3 < 6. Proof. auto. Qed.
Goal 3 < 7. Proof. auto. Qed.
All three of these goals were solved with auto
.
But this one couldn't be:
Goal 3 < 8. Proof. auto. .
I guess it has something to do with auto
works. What is it?
auto
has a search depth argument (default 5).
In your example auto 6
(or bigger) works.
info_auto 6.
(* info auto: *)
unfold lt (in core).
simple apply le_S (in core).
simple apply le_S (in core).
simple apply le_S (in core).
simple apply le_S (in core).
simple apply le_n (in core).
Oh.. that makes sense. Thank you.
Should've had a closer look at the docs.
Julin S has marked this topic as resolved.
Last updated: Sep 30 2023 at 05:01 UTC