aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Removing option -no-native-compiler from test #3539 since this option is nowGravatar Hugo Herbelin2015-05-18
| | | | negated into -native-compiler.
* Turning "Set Regular Subst Tactic" on by default (for 8.6).Gravatar Hugo Herbelin2015-05-15
|
* Merge v8.5 into trunkGravatar Hugo Herbelin2015-05-15
|\ | | | | | | | | | | | | Conflicts: tactics/eauto.ml4 (merging eauto.ml4 and adapting coq_micromega.ml to new typing.ml API)
| * Do not regenerate .d files when cleaning them. (Fix bug #4079)Gravatar Guillaume Melquiond2015-05-14
| |
* | #3953 now closed.Gravatar Hugo Herbelin2015-05-14
| |
| * The -list-tag options now prints the corresponding COQ_COLORS value.Gravatar Pierre-Marie Pédrot2015-05-14
| |
| * Adding an option -w to control Coq warning output.Gravatar Pierre-Marie Pédrot2015-05-14
| | | | | | | | | | | | | | For now, warnings are still ignored by default, but this may change. This commit at least allows to print them whenever desired. The -w syntax is also opened to future additions to further control the display of warnings.
| * Disable precompilation for native_compute by default.Gravatar Guillaume Melquiond2015-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this does not prevent using native_compute, but it will force on-the-fly recompilation of dependencies whenever it is used. Precompilation is enabled for the standard library, assuming native compilation was enabled at configuration time. If native compilation was disabled at configuration time, native_compute falls back to vm_compute. Failure to precompile is a hard error, since it is now explicitly required by the user.
| * Fixing bug #4216:Gravatar Pierre-Marie Pédrot2015-05-13
| | | | | | | | | | | | Internal error: Anomaly: Uncaught exception Not_found. Please report. An evarmap was lost because of an unsound typing primitive.
| * Safer typing primitives.Gravatar Pierre-Marie Pédrot2015-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some functions from pretyping/typing.ml and their derivatives were potential source of evarmap leaks, as they dropped their resulting evarmap. This commit clarifies the situation by renaming them according to a unsafe_* scheme. Their sound variant is likewise renamed to their old name. The following renamings were made. - Typing.type_of -> unsafe_type_of - Typing.e_type_of -> type_of - A new e_type_of function that matches the e_ prefix policy - Tacmach.pf_type_of -> pf_unsafe_type_of - A new safe pf_type_of function. All uses of unsafe_* functions should be eventually eliminated.
| * Better error message for non-existent required libraries with a From prefix.Gravatar Pierre-Marie Pédrot2015-05-13
| |
| * Fix for a second avatar of bug #4234.Gravatar Pierre-Marie Pédrot2015-05-13
| |
| * Documenting Set Regular Subst Tactic (though unsure this is worth theGravatar Hugo Herbelin2015-05-13
| | | | | | | | | | level of details, and this option should certainly disappear eventually).
| * Better fixing #4198 such that the term to match is looked for beforeGravatar Hugo Herbelin2015-05-13
| | | | | | | | | | | | | | the predicate, thus respecting the visual left-to-right top-down order (see a45bd5981092). This fixes CFGV.
| * Documenting the Loose Hint Behavior flag.Gravatar Pierre-Marie Pédrot2015-05-13
| |
| * List.nth_error directly produces Some/None instead of value/errorGravatar Pierre Letouzey2015-05-12
| | | | | | | | | | | | | | | | | | | | | | | | List.nth_error and List.hd_error were the only remaining places in the whole stdlib to use type "Exc" instead of "option" directly. So let's simplify things and use option everywhere. In particular, during teaching sessions about lists, we won't have anymore to explain the (lack of) difference between Exc,value,error and option,Some,None. This might cause a few incompatibilities in proof scripts, if they syntactically expect "value" or "error" to occur, but this should hopefully be very rare and quite easy to fix.
| * Mark PreOrder as a consequence of Equivalence. (Fix bug #4213)Gravatar Guillaume Melquiond2015-05-12
| |
| * Fix my previous commit on ~polypropGravatar Pierre Letouzey2015-05-12
| | | | | | | | | | | | Oups, sorry, I should have compiled the stdlib in full. Not only the ~polyprop wasn't propagated properly, but Matthieu made it be false by default somewhere instead of true. Argl...
| * Adding an option Loose Hint Behavior to handle hints loaded but not imported.Gravatar Pierre-Marie Pédrot2015-05-12
| | | | | | | | | | | | | | | | | | | | | | It accepts three distinct flags: - "Lax", which is the default one, sets the old behaviour, i.e. a non-imported hint behaves the same as an imported one. - "Warn" outputs a warning when a non-imported hint is used. Note that this is an over-approximation, because a hint may be triggered by an eauto run that will eventually fail and backtrack. - "Strict" changes the behaviour of an unloaded hint to the one of the fail tactic, allowing to emulate the hopefully future import-scoped hint mechanism.
| * Adding unique identifiers to hints.Gravatar Pierre-Marie Pédrot2015-05-12
| |
| * Extraction: fix the detection of the "polyprop" situationGravatar Pierre Letouzey2015-05-12
| | | | | | | | | | | | | | | | The ~polyprop argument wasn't propagated properly anymore, leading the extraction to try to operate on situations it cannot handle (yet). Cf Table.error_singleton_become_prop for more details. Regression test added.
| * Test for bug #4234.Gravatar Pierre-Marie Pédrot2015-05-12
| |
| * Fixing bug #4234.Gravatar Pierre-Marie Pédrot2015-05-12
| |
| * nice error for Restart outside a proof (Close: #4235)Gravatar Enrico Tassi2015-05-12
| |
| * STM: process_error_hook set in Vernac where fname is known (fix #4229)Gravatar Enrico Tassi2015-05-12
| | | | | | | | | | | | | | In compiler mode, only vernac.ml knows the current file name. Stm.process_error_hook moved from Vernacentries to Vernac to be bale to properly enrich the exception with the current file name (if any).
| * Adding a test to check whether two tactic notations conflict.Gravatar Pierre-Marie Pédrot2015-05-11
| |
| * Test for bug #4232.Gravatar Pierre-Marie Pédrot2015-05-11
| |
| * Fixing bug #4232.Gravatar Pierre-Marie Pédrot2015-05-11
| | | | | | | | | | | | | | We beta-iota normalize the type of the rewriting predicate to ensure that the non-dependency in the arrow argument is meaningful. Otherwise, terms of the form "forall x : A, (fun _ : A => P) x" generated by the retyping would confuse the non-dependency heuristic.
| * Rationalizing a bit the interface of Hints.Gravatar Pierre-Marie Pédrot2015-05-11
| |
| * Code factorization in Constr_matching.Gravatar Pierre-Marie Pédrot2015-05-10
| |
| * Adjusting test-suite after 5cbc018fe9347 (subst as in 8.4 by default).Gravatar Hugo Herbelin2015-05-09
| |
| * Adding a flag "Set Regular Subst Tactic" off by default in v8.5 forGravatar Hugo Herbelin2015-05-09
| | | | | | | | preserving compatibility of subst after #4214 being solved.
* | Tentatively setting cons and Some with 1st implicit argument maximalGravatar Hugo Herbelin2015-05-09
| | | | | | | | (see #3695).
| * A more user-friendly naming of variables of ltac names defined byGravatar Hugo Herbelin2015-05-08
| | | | | | | | TACTIC EXTEND (based on user-given name).
* | Adding a primitive to the tactic monad to modify the exceptional content.Gravatar Pierre-Marie Pédrot2015-05-07
| |
| * Fixing treatment of recursive equations damaged by 857e82b2ca0d1.Gravatar Hugo Herbelin2015-05-06
| | | | | | | | | | | | Improving treatment of recursive equations compared to 8.4 (see test-suite). Experimenting not to unfold local defs ever in subst. (+ Slight simplification in checking reflexive equalities only once).
* | Exposing the minimal amount of internal of the Logic monad in order toGravatar Pierre-Marie Pédrot2015-05-06
| | | | | | | | | | | | | | | | | | allow reusability of the implementation throughout the Coq codebase. We effectively feature a generalized version of the logical monad where the input state, the output state and the inner exception can be arbitrarily chosen. This will allow for more efficient implementations of close variants of the monad.
| * Fixing "subst" to respect v8.4 most-ancient to most-recent hyps orderGravatar Hugo Herbelin2015-05-06
| | | | | | | | | | after patch for #4214 on subst needed to be repeated (see 857e82b2ca0d1).
| * Compatibility ocaml 3.12.Gravatar Hugo Herbelin2015-05-05
| |
| * Granting wish #4221.Gravatar Pierre-Marie Pédrot2015-05-05
| |
| * Fix bug #4212, congruence forgetting about some universe constraints.Gravatar Matthieu Sozeau2015-05-05
| |
| * Removing dead code in Rewrite.Gravatar Pierre-Marie Pédrot2015-05-05
| | | | | | | | | | The hypinfo cache was actually always set to None, so that there was no need to try to preserve it if it was set to an actual value.
| * Making the strategy type in Rewrite opaque.Gravatar Pierre-Marie Pédrot2015-05-05
| |
* | Merge branch 'v8.5'Gravatar Pierre-Marie Pédrot2015-05-05
|\|
| * Code simplification in Tactics.Gravatar Pierre-Marie Pédrot2015-05-04
| |
| * Fix documentation of RedirectGravatar Enrico Tassi2015-05-04
| |
| * Add a [Redirect] vernacular commandGravatar Clément Pit--Claudel2015-05-04
| | | | | | | | | | | | | | The command [Redirect "filename" (...)] redirects all the output of [(...)] to file "filename.out". This is useful for storing the results of an [Eval compute], for redirecting the results of a large search, for automatically generating traces of interesting developments, and so on.
| * Fixing computation of implicit arguments by position in fixpoints (#4217).Gravatar Hugo Herbelin2015-05-01
| |
| * Giving to "subst" a more natural semantic (fixing #4214) by using allGravatar Hugo Herbelin2015-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | equalities in configurations like x=y x=z === P(x,y,z) where it now produces === P(z,z,z) In particular (equations are processed from most ancient to most recent). Thanks to this, a "repeat subst" can just be a "subst" in List.v. Incidentally: moved a nf_enter to enter in subst_one, since the latter is normally called from other tactics having normalized evars.
* | maintenance micromega pluginGravatar Frédéric Besson2015-04-28
| | | | | | | | | | | | - add a nra tactic (similar to nia) for non-linear real arithmetic tactic - fix a long-standing bug in the reification code - port to the new proof-engine