Closed brando90 closed 2 years ago
likely works due to using these lemmas:
Coq.Init.Datatypes.nat, Coq.Init.Datatypes.O, Coq.Init.Nat.add, Coq.Init.Peano.plus_O_n, Coq.Arith.PeanoNat.Nat.add_0_l
available for preed. Saw them with predict 5.
actually this also succeds with sauto :/
From Hammer Require Import Hammer.
Theorem n_plus_0_eq_n:
forall n:nat,
n + 0 = n.
Proof.
by sauto.
Qed.
which docs imply sauto doesn't do dependency selection...
But it does arithmetic. See the "lia:" option.
See:
proof is closed without me requiring to call
induction n
...