forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep more information from the cache of constants in "simpl" tactic.
At the same time, we start putting an architecture to nest the recursive calls "simpl", so that it can (eventually!) be configured to work like "cbn", as in: Definition pred_add x y := pred (x+y). Eval simpl in pred_add 3 4. (* Currently unreduced *) Eval cbn in pred_add 3 4. (* 6 *) Definition add_succ x y := (x+y) + 1. Eval simpl in add_succ 3 4. (* Currently unreduced *) Eval cbn in pred_add 3 4. (* 8 *)
- Loading branch information
Showing
1 changed file
with
18 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters