diff options
author | 2014-08-28 11:58:20 +0200 | |
---|---|---|
committer | 2014-08-28 19:55:01 +0200 | |
commit | 3fdfb3ccb7986b1e4c7685b440a62730107a639f (patch) | |
tree | e07a201af28e25a6513527b528d2c8b48b27af9d /test-suite/bugs/closed/3477.v | |
parent | ee6743d2879d874cad13bd05b5be3847ac27062e (diff) |
There are some occurs-check cases that can be handled by imitation (using pruning),
hence do not entirely prevent solve_simple_eqn in case of apparent occurs-check but
backtrack to eqappr on OccurCheck failures (problem found in Ssreflect).
Diffstat (limited to 'test-suite/bugs/closed/3477.v')
-rw-r--r-- | test-suite/bugs/closed/3477.v | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3477.v b/test-suite/bugs/closed/3477.v new file mode 100644 index 000000000..e94148647 --- /dev/null +++ b/test-suite/bugs/closed/3477.v @@ -0,0 +1,9 @@ +Set Primitive Projections. +Set Implicit Arguments. +Record prod A B := pair { fst : A ; snd : B }. +Goal forall A B : Set, True. +Proof. + intros A B. + evar (a : prod A B); evar (f : (prod A B -> Set)). + let a' := (eval unfold a in a) in + set(foo:=eq_refl : a' = (@pair _ _ (fst a') (snd a'))).
\ No newline at end of file |