diff options
| author | Enrico Tassi | 2019-02-06 12:54:03 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2019-03-25 15:12:37 +0100 |
| commit | 78b94fa3018e4799f5e9b76645eb97587d208644 (patch) | |
| tree | c1b083af8d25446ed5592e54502292e027cfa7ae /doc/plugin_tutorial/tuto0 | |
| parent | c1123f1c05943b8d09245b8fa9d90664344c054d (diff) | |
[ssr] avoid HO unif when doing truncation analysis
Eliminators can be:
- dependent: ... -> forall x (y : I x), P x y
- truncated: ... -> forall x (y : I x), P x
- funind like: ..-> forall x, P t
The user may provide a term t in `elim: t`
- t may be the last argument
- t may be the last "pattern" (standing for the last
argument of P)
We use unification to see if t (and its type) fits
in one of these cases (and/or to infer t).
This patch refuses to use unification in the HO case
eg `?T a = t` since the result is too often a false
positive.
Diffstat (limited to 'doc/plugin_tutorial/tuto0')
0 files changed, 0 insertions, 0 deletions
