…tes." This reverts commit ec1bb8a.
…or the" This reverts commit 6a3bcd3. Apply again if this kind of dependently typed programming idioms are needed.
commutative cut rule. The error messages of the guard checker are now sometimes not informative enough.
A pattern matching is can now be a subterm if: - Every branch is a subterm - The return predicate is a pattern matching whose return predicate is an arity. - That pattern matching (in the return predicate) returns the same inductive family in the conclusion of each branch. The commutative cut rule hasn't been updated accordingly yet.
Following Bruno's suggestion, we check if the tree expected for the recursive argument is included in the one which is inferred. This check is probably not necessary in the current state of affairs, but might become so after further extensions of the guard condition.
Standard library now compiles fully.
…ondition. Thanks to Arthur Azevedo de Amorim!
corresponding proof in ssreflect.
… are instantiated in the return predicate are now taken into account. The resulting recargs tree is the intersection between the one of the branches and the appearing in the return predicate. Both the domain and co-domain are filtered.
Some fixpoints are now rejected in the standard library, but that's probably because we compare trees for equality instead of intersecting them.
…ndent pattern matching. This patch should be improved in two ways: (1) Implement the same checks for the commutative cut subterm rule. (2) When checking safe recursive subterms for each of the branches in a match, instanciated parameters in the return predicate should be taken into account. Step (1) should be enough to restore a correct guard condition, but (2) will be required if we don't want to rule out some legitimate and practical examples.
The created bundle contains only coqide and gtk (no coqtop, no stdlib)
… to coqide without building coqide
…st_fn now, and disable hashconsing of substituted instances which had a huge performance penalty in general. They are hashconsed when put in the environment only now.