diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-12-13 21:25:07 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-12-13 21:25:07 +0000 |
commit | bf3c9136e51674282fe91c9de917ba7264bcd007 (patch) | |
tree | 691157f0d6f0e4f6ef3c0f5f8c18d97a90f9a285 /proofs | |
parent | 79963fcf88f03f9ca16836965ffd928a451e45fa (diff) |
Compensation de suppression betaiota de type_of (suite)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3433 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs')
-rw-r--r-- | proofs/clenv.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/proofs/clenv.ml b/proofs/clenv.ml index fee6ce40f..40060165e 100644 --- a/proofs/clenv.ml +++ b/proofs/clenv.ml @@ -999,10 +999,9 @@ let clenv_match_args s clause = errorlabstrm "clenv_match_args" (str "No such binder") in let k_typ = w_hnf_constr clause.hook (clenv_instance_type clause k) - and c_typ = w_hnf_constr clause.hook (w_type_of clause.hook c) in + and c_typ = w_hnf_constr clause.hook (nf_betaiota (w_type_of clause.hook c)) in (* whd_betaiota was before in type_of - useful to reduce types like *) (* (x:A)([x]P u) *) - let c_typ = nf_betaiota c_typ in matchrec (clenv_assign k c (clenv_unify true CUMUL c_typ k_typ clause)) t in |