aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs
Commit message (Collapse)AuthorAge
* Fix test-suite for #2729.Gravatar Maxime Dénès2014-10-22
| | | | Was always failing due to an incorrect use of Ltac's or.
* More precise test for #3459.Gravatar Hugo Herbelin2014-10-21
|
* Fixing a (new) part of bug #2729.Gravatar Hugo Herbelin2014-10-20
| | | | | | | | | | | By moving convert_concl to new proof engine, re-typecheckeing was incidentally introduced. Re-typechecking revealed that vm bug #2729 was still open. Indeed, the vm was still producing an ill-typed term. This commit fixes ill-typedness of the vm in #2729 when reconstructing a "match" in an inductive type whose constructors have let-ins. Another part is still open (see test-suite).
* Fix test-suite scripts.Gravatar Matthieu Sozeau2014-10-16
|
* Bug fixed by Hugo.Gravatar Matthieu Sozeau2014-10-16
|
* Adding a timeout to bug #2447.Gravatar Pierre-Marie Pédrot2014-10-15
|
* To stay closer to non-primitive projections, only unfold primitiveGravatar Matthieu Sozeau2014-10-15
| | | | | projections in cbv when delta _and_ beta flags are set. Add test-suite file for bug 3700 too.
* Fix for bug #3618.Gravatar Matthieu Sozeau2014-10-15
| | | | | Fix typeclass resolution which was considering as subgoals of a tactic application unrelated pre-existing undefined evars.
* Closed bug 3710.Gravatar Matthieu Sozeau2014-10-15
|
* Bug 3692 is fixed.Gravatar Matthieu Sozeau2014-10-15
|
* Bug 3628 is fixed.Gravatar Matthieu Sozeau2014-10-15
|
* Fix test-suite files which failed due to usage of $(admit)$ whichGravatar Matthieu Sozeau2014-10-15
| | | | now fails with Error: Already an existential evar of name Main
* Fix bug 3637.Gravatar Matthieu Sozeau2014-10-15
|
* Reenable FO unification of primitive projections and their eta-expandedGravatar Matthieu Sozeau2014-10-15
| | | | | | forms in evarconv and unification, as well as fallback to first-order unification when eta for constructors fail. Update test-suite file 3484 to test for the FO case in evarconv as well.
* Fix test-suite file after moving back to using C as the nameGravatar Matthieu Sozeau2014-10-15
| | | | of the record binder for Class C's projections.
* Implement a different strategy to expand primitive projections only whenGravatar Matthieu Sozeau2014-10-15
| | | | | required, i.e. in first-order unification cases where the head of the other side is a hole or the eta-expanded constant.
* Fix bug #3698: stack overflow due to eta+canonical structures inGravatar Matthieu Sozeau2014-10-14
| | | | unification.
* Fixing the anomaly in bug #3045 (a filter was not type-safe inGravatar Hugo Herbelin2014-10-08
| | | | | | | | | | | | | | | | | | 2nd-order matching). We made the filter type-safe (i.e. to ensure that Gamma |- ?n:T is well-typed when taking the filtered context Gamma) in 2nd order matching. Maybe this weakens the power of the 2nd order matching algorithm, so it is not clear that it is the good fix. Another fix could have been to ensure that taking the closure of filter does not extend it beyond the original filter (hence keeping the filter untyped if it was already untyped). As for the bug #3045, it also revealed that some "destruct c as [[]]" could be made stronger as decomposing the destruct in two parts "destruct c as [x]; destruct x" workis while it currently fails if in one part.
* Add test-suite file for the projection unfolding bug I just fixed.Gravatar Matthieu Sozeau2014-10-07
|
* Fix test-suite file 3352 which was containing the wrong test.Gravatar Matthieu Sozeau2014-10-07
|
* Fix test-suite file to test original bug, not the failure of the guardGravatar Matthieu Sozeau2014-10-07
| | | | condition.
* Fixing #3657 (check that both sides of a "change with" have the sameGravatar Hugo Herbelin2014-10-03
| | | | | type, what is necessary condition to ensure that the conversion of bodies will not raise an anomaly).
* Test for bug #3652 fixed in 0fb36157b9baGravatar Hugo Herbelin2014-10-03
|
* Fixing #3623 (unbound evars in types in a call to "change with").Gravatar Hugo Herbelin2014-10-03
|
* Add a bunch of reproduction files for bugs.Gravatar Xavier Clerc2014-10-03
|
* Implement module subtyping for polymorphic constants (errors onGravatar Matthieu Sozeau2014-10-02
| | | | | | | | inductives). The implementation constant should have the a universe instance of the same length, we assume the universes are in the same order and we check that the definition does not add any constraints to the expected ones. This fixes bug #3670.
* Fixing bug #2810 (autounfold on local variable declared as hint but cleared).Gravatar Hugo Herbelin2014-10-02
|
* Removing test for bug #2080.Gravatar Pierre-Marie Pédrot2014-10-01
| | | | | Naming a Ltac definition like a built-in tactic used to fail, but now only spits out a warning. This is too complicated to test...
* Add a bunch of reproduction files for closed bugs.Gravatar Xavier Clerc2014-09-30
|
* Add a bunch of reproduction files for bugs.Gravatar Xavier Clerc2014-09-30
|
* Adding a test for bug #2428.Gravatar Pierre-Marie Pédrot2014-09-29
|
* Bug fixed.Gravatar Matthieu Sozeau2014-09-29
|
* Fix test-suite filesGravatar Matthieu Sozeau2014-09-29
| | | | | 3566 gave a legitimate error, keyedrewrite was not setting keyed unification on.
* In evarconv and unification, expand folded primitive projections toGravatar Matthieu Sozeau2014-09-29
| | | | | | | | | | their eta-expanded forms which can then unfold back to the unfolded primitive projection form. This removes all special code that was necessary to handle primitive projections before, while keeping compatibility. Also fix cbn which was not refolding primitive projections correctly in all cases. Update some test-suite files accordingly.
* Keyed unification option, compiling the whole standard libraryGravatar Matthieu Sozeau2014-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (but deactivated still). Set Keyed Unification to activate the option, which changes subterm selection to _always_ use full conversion _after_ finding a subterm whose head/key matches the key of the term we're looking for. This applies to rewrite and higher-order unification in apply/elim/destruct. Most proof scripts already abide by these semantics. For those that don't, it's usually only a matter of using: Declare Equivalent Keys f g. This make keyed unification consider f and g to match as keys. This takes care of most cases of abbreviations: typically Def foo := bar and rewriting with a bar-headed lhs in a goal mentioning foo works once they're set equivalent. For canonical structures, these hints should be automatically declared. For non-global-reference headed terms, the key is the constructor name (Sort, Prod...). Evars and metas are no keys. INCOMPATIBILITIES: In FMapFullAVL, a Function definition doesn't go through with keyed unification on.
* Fix test-suite file.Gravatar Matthieu Sozeau2014-09-27
|
* Fix bug #3664 by refolding projections that don't reduce in cbn.Gravatar Matthieu Sozeau2014-09-27
|
* Fix semantics of matching with folded/unfolded projections to definitelyGravatar Matthieu Sozeau2014-09-27
| | | | avoid looping and be compatible with unfold.
* Fix bug #3672, application of primitive projections as coercions.Gravatar Matthieu Sozeau2014-09-27
|
* Fix bug 3662 by actually reducing primitive projections in cbv/compute.Gravatar Matthieu Sozeau2014-09-27
|
* Bug fixed.Gravatar Matthieu Sozeau2014-09-27
|
* Make pattern_of_constr typed so that we can infer the proper patternsGravatar Matthieu Sozeau2014-09-27
| | | | | | for primitive projections, fixing bug #3661. Also fix expand_projection so that it does enough reduction to find the inductive type of its argument.
* Add a boolean to indicate the unfolding state of a primitive projection,Gravatar Matthieu Sozeau2014-09-27
| | | | | | | | so as to reproduce correctly the reduction behavior of existing projections, i.e. delta + iota. Make [projection] an abstract datatype in Names.ml, most of the patch is about using that abstraction. Fix unification.ml which tried canonical projections too early in presence of primitive projections.
* Fix canonical structure resolution which was launched on the results ofGravatar Matthieu Sozeau2014-09-26
| | | | eta-expansion, creating a loop. This is now deactivated. Fixes bugs #3665 and #3667.
* Add a bunch of reproduction files for bugs.Gravatar Xavier Clerc2014-09-26
|
* Add missing "Fail" to bug cases.Gravatar Xavier Clerc2014-09-26
|
* Bug #3566 is fixed.Gravatar Xavier Clerc2014-09-26
|
* Adding a test for bug #3653.Gravatar Pierre-Marie Pédrot2014-09-26
|
* Test cases for closed bugs.Gravatar Xavier Clerc2014-09-26
|
* Add several reproduction files for bugs.Gravatar Xavier Clerc2014-09-25
|