diff options
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/ideal-features/apply.v | 9 | ||||
| -rw-r--r-- | test-suite/output/set.out | 21 | ||||
| -rw-r--r-- | test-suite/output/set.v | 10 |
3 files changed, 40 insertions, 0 deletions
diff --git a/test-suite/ideal-features/apply.v b/test-suite/ideal-features/apply.v new file mode 100644 index 0000000000..b10d5dbf9c --- /dev/null +++ b/test-suite/ideal-features/apply.v @@ -0,0 +1,9 @@ +(* Test propagation of evars from subgoal to brother subgoals *) + +(* This does not work (oct 2008) because "match goal" sees "?evar = O" + and not "O = O" + +Lemma eapply_evar : O=O -> 0=O. +intro H; eapply trans_equal; + [apply H | match goal with |- ?x = ?x => reflexivity end]. +Qed. diff --git a/test-suite/output/set.out b/test-suite/output/set.out new file mode 100644 index 0000000000..4c82d7295a --- /dev/null +++ b/test-suite/output/set.out @@ -0,0 +1,21 @@ +1 subgoal + + y1 := 0 : nat + x := 0 + 0 : nat + ============================ + x = x +1 subgoal + + y1 := 0 : nat + y2 := 0 : nat + x := y2 + 0 : nat + ============================ + x = x +1 subgoal + + y1 := 0 : nat + y2 := 0 : nat + y3 := 0 : nat + x := y2 + y3 : nat + ============================ + x = x diff --git a/test-suite/output/set.v b/test-suite/output/set.v new file mode 100644 index 0000000000..0e745354ab --- /dev/null +++ b/test-suite/output/set.v @@ -0,0 +1,10 @@ +Goal let x:=O+O in x=x. +intro. +set (y1:=O) in (type of x). +Show. +set (y2:=O) in (value of x) at 1. +Show. +set (y3:=O) in (value of x). +Show. +trivial. +Qed. |
