aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics
Commit message (Collapse)AuthorAge
* Merge PR#359: Fix bug 4969, autoapply was not tagging shelved subgoals ↵Gravatar Maxime Dénès2017-03-10
|\ | | | | | | correctly as…
* \ Merge remote-tracking branch 'github/pr/381' into v8.6Gravatar Maxime Dénès2016-12-02
|\ \ | | | | | | | | | Was PR#381: V8.6+fix typeclasses eauto shelving
| * | Fix shelving order in typeclasses eauto.Gravatar Théo Zimmermann2016-11-30
| | | | | | | | | | | | | | | Before this fix, unshelve typeclasses eauto would produce sub-goals in the reverse order compared to when they were first shelved.
| * | Fix typeclasses eauto shelving.Gravatar Théo Zimmermann2016-11-30
| | | | | | | | | | | | | | | | | | | | | A file in the test-suite had to be modified. It was supposed to reproduce a behavior in intuistionistic-nuprl but it did not really. This commit is not supposed to break intuistionistic-nuprl.
* | | Fix bug #5232: proper globalization of hints pathsGravatar Matthieu Sozeau2016-11-30
|/ /
* | Minor debug printing bug,Gravatar Matthieu Sozeau2016-11-16
| | | | | | | | Hit by OCaml's "if then else" with no "end" once more
* | Revert more of a477dc for good measureGravatar Matthieu Sozeau2016-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We stop failing automatically on non-declared-class nested or toplevel subgoals as in 8.5, instead of the previous a477dc behavior of shelving those goals and failing if shelved goals remained at the end of resolution. It means typeclass resolution during refinement is closer to all:typeclasses eauto. Hints in typeclass_instances for non-declared classes can be used during resolution of _nested_ subgoals when it is fired from type-inference, toplevel goals considered in this case are still only classes (as in 8.5 and before). The code that triggers the restriction to only declared class subgoals is commented. Revert changes to test-suite, adding test for #5203, #5198 is fixed too. Add corresponding tests in the test-suite (that will break if we, e.g. disallow non-class subgoals) and update the refman accordingly.
* | Revert part of a477dc, disallow_shelvedGravatar Matthieu Sozeau2016-11-15
| | | | | | | | | | | | | | | | | | In only_classes mode we do not try to implement a stricter semantics for shelved goals in 8.6. Leaving this for 8.7. Update the documentation as well. Remove a spurious printf call as well. Fix test-suite now that shelved goals are allowed
* | Merge remote-tracking branch 'github/pr/339' into v8.6Gravatar Maxime Dénès2016-11-07
|\ \ | | | | | | | | | Was PR#339: Documenting type class options, typeclasses eauto
| * | Fixes to compile with ocaml 4.01Gravatar Matthieu Sozeau2016-11-07
| | |
* | | Merge commit 'e6edb33' into v8.6Gravatar Maxime Dénès2016-11-07
|\ \ \ | | | | | | | | | | | | Was PR#331: Solve_constraints and Set Use Unification Heuristics
| * | | More explicit name for status of unification constraints.Gravatar Maxime Dénès2016-11-07
| | | |
* | | | More precise refine compatibilityGravatar Matthieu Sozeau2016-11-05
| | | |
* | | | Fix #3441 Use pf_get_type_of to avoid blowupGravatar Matthieu Sozeau2016-11-04
| | | | | | | | | | | | | | | | ... in pose proof of large proof terms
* | | | Fix refine in compatibility modeGravatar Matthieu Sozeau2016-11-04
| | | |
* | | | Merge remote-tracking branch 'github/pr/335' into v8.6Gravatar Maxime Dénès2016-11-04
|\ \ \ \ | | | | | | | | | | | | | | | Was PR#335: Fix printing of typeclasses eauto debug wrt intro.
* \ \ \ \ Merge remote-tracking branch 'github/pr/336' into v8.6Gravatar Maxime Dénès2016-11-04
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Was PR#336: Remove v62
| | | | * | Rework search_strategy option handlingGravatar Matthieu Sozeau2016-11-03
| | | | | |
| | | | * | Internal API change to typeclasses eauto.Gravatar Théo Zimmermann2016-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes the traversing strategy of typeclasses eauto an optional argument of the function that implements it. This change should be non-breaking.
| | | | * | Do not shelve non-class subgoals but fail, it shouldGravatar Matthieu Sozeau2016-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be the instance writer's responsibility to not generated non-dependent non-class subgoals (otherwise we loose compatibility as shown in e.g. MathClasses, which goes into loops because of unexpectedly unconstrained goals). Reflect it in the doc.
| | | | * | typeclasses eauto Implem/doc of shelving strategyGravatar Matthieu Sozeau2016-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now [typeclasses eauto] mimicks what happens during resolution faithfully, and the shelving behavior/requirements for a successful proof-search are documented.
| | | | * | Fix [typeclasses eauto with] and nopattern hintsGravatar Matthieu Sozeau2016-11-03
| | | | | | | | | | | | | | | | | | | | | | | | This was the source of a bug in #5115#c7.
| | | | * | Fix handling of only_classes at toplevelGravatar Matthieu Sozeau2016-11-03
| | | | | |
| | | | * | Handle Unique Solutions flag.Gravatar Matthieu Sozeau2016-11-03
| | | | | |
| | | | * | TCS: error handling and debug printing in resolutionGravatar Matthieu Sozeau2016-11-03
| | | | | |
| | | | * | Fix bugs in Filtered Unification and cleanup codeGravatar Matthieu Sozeau2016-11-03
| | | | | |
| | | | * | Fix Typeclasses eauto := bfs.Gravatar Matthieu Sozeau2016-11-03
| | | | | |
| | | | * | Lets Hints/Instances take an optional patternGravatar Matthieu Sozeau2016-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to a priority, cleanup the interfaces for passing this information as well. The pattern, if given, takes priority over the inferred one. We only allow Existing Instances gr ... gr | pri. for now, without pattern, as before. Make the API compatible to 8.5 as well.
| | | | * | Documenting changes in typeclassesGravatar Matthieu Sozeau2016-10-29
| |_|_|/ / |/| | | |
* | | | | Merge remote-tracking branch 'github/pr/321' into v8.6Gravatar Maxime Dénès2016-10-28
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Was PR#321: Handling of section variables in hints
* | | | | | Using msg_info for info_auto and info_eauto (PR #324).Gravatar Hugo Herbelin2016-10-26
| | | | | |
* | | | | | Merge branch 'v8.5' into v8.6Gravatar Pierre-Marie Pédrot2016-10-26
|\ \ \ \ \ \
| * \ \ \ \ \ Merge remote-tracking branch 'github/pr/338' into v8.5Gravatar Maxime Dénès2016-10-25
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Was PR#338: Remove warning now that info_auto is fixed.
| | * | | | | | Remove warning now that info_auto is fixed.Gravatar Théo Zimmermann2016-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes a warning dating from 8.5 signaling that info_auto and info_trivial are broken and advising to use Info 1 auto instead. Now, these tactics are fixed and thus they can be used again. They do not do exactly the same thing as Info 1 auto and may be more useful for the learner.
| | | | * | | | Remove v62 from the codebase.Gravatar Théo Zimmermann2016-10-25
| |_|_|/ / / / |/| | | | | |
| * | | | | | Revert "Fixing call to "lazy beta iota" in "refine" (restoring v8.4 behavior)."Gravatar Maxime Dénès2016-10-25
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c9c54122d1d9493a965b483939e119d52121d5a6. This behavior of refine has changed three times in recent years, so let's take the time to make up our mind and wait for a major release. Btw, onhyps=None is not a sane way to express that a tactic should be applied to all hypotheses.
| | | * / / Fix printing of typeclasses eauto debug wrt intro.Gravatar Théo Zimmermann2016-10-24
| |_|/ / / |/| | | |
| * | | | Fixing printing of generic arguments of tag "var".Gravatar Hugo Herbelin2016-10-22
| | | | |
| | | * | Renamings to avoid confusion deprecating old namesGravatar Matthieu Sozeau2016-10-22
| |_|/ / |/| | | | | | | | | | | | | | | reconsider_conv_pbs -> reconsider_unif_constraints consider_remaining_unif_problems -> solve_unif_constraints_with_heuristics
| | * | sections/hints: prevent Not_found in get_type_ofGravatar Matthieu Sozeau2016-10-21
| |/ / |/| | | | | | | | | | | | | | | | | | | | due to cleared/reverted section variables. This fixes the get_type_of but requires keeping information around about the section hyps available in goals during resolution. It's optimized for the non-section case (should incur no cost there), and the case where no section variables are cleared.
* | | Merge branch 'v8.5' into v8.6Gravatar Pierre-Marie Pédrot2016-10-17
|\| |
| * | Still a problem with debug auto printing.Gravatar Hugo Herbelin2016-10-15
| | | | | | | | | | | | | | | "msg_debug (mt())" is not identity, so we return back to how it was done in 8.4, contracting a repeated pattern-matching into one.
| * | One more little bug in the output of "debug auto".Gravatar Hugo Herbelin2016-10-15
| | | | | | | | | | | | | | | | | | | | | Header was missing in last commit. One day, it would be nice to unify the display of "debug auto" and "debug eauto"...
* | | Fix bug #5139: Anomalies should not be caught by || / try.Gravatar Pierre-Marie Pédrot2016-10-14
| | | | | | | | | | | | | | | There was a catch-all clause in the tclORELSE0 function. We now only catch noncritical exceptions.
| * | Fixing printing of info_auto broken since 0091c528 (2014).Gravatar Hugo Herbelin2016-10-14
| | |
* | | Fixing English typography for colon.Gravatar Hugo Herbelin2016-10-14
| | |
* | | Using "simple apply" and "simple eapply" in the trace of auto.Gravatar Hugo Herbelin2016-10-14
| | | | | | | | | | | | | | | This is more precise and probably clearer (see e.g. thread "Understanding auto" on coq-club).
* | | Fix bug #4958: [debug auto] should specify hint databases.Gravatar Pierre-Marie Pédrot2016-10-12
| | |
| * | Fix #4416: - Incorrect "Error: Incorrect number of goals"Gravatar Arnaud Spiwack2016-10-10
| | | | | | | | | | | | | | | | | | | | | | | | In `Ftactic` the number of results could desynchronise with the number of goals when some goals were solved by side effect in a different branch of a `DISPATCH`. See [coq-bugs#4416](https://coq.inria.fr/bugs/show_bug.cgi?id=4416).
* | | Fix bug #4464: "Anomaly: variable H' unbound. Please report.".Gravatar Pierre-Marie Pédrot2016-10-07
| | | | | | | | | | | | | | | | | | We simply catch the RetypeError raised by the retyping function and translate it into a user error, so that it is captured by the tactic monad instead of reaching toplevel.