diff options
| author | Pierre-Marie Pédrot | 2020-12-13 01:07:51 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-12-14 10:04:45 +0100 |
| commit | d3d4bb64abf195c399cb3925292693bca29a16a4 (patch) | |
| tree | 9608280960f0fa2c4e66f3f94e0fbcb2033028c0 /dev/ci | |
| parent | 78a0d0a557f4fb6885987e99c4a12a0826d48c9a (diff) | |
Do not rely on Reductionops to recognize canonical projections.
No need to call the whole whd_gen machinery when a simple matching over
a term would suffice.
Note that this changes a bit the semantics, but I suspect that the previous
code was buggy. Indeed, whd_nored also pushes cases and fixpoints on the
stack, so that an applied canonical projection inside such a context would
also match. But the caller in unification performs an approximate check where
the term needs to be an application or a projection, which would prevent
such complex situations most of the time, e.g. it would work with a dummy
commutative cut but not their corresponding vanilla match.
Diffstat (limited to 'dev/ci')
0 files changed, 0 insertions, 0 deletions
