aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-17[equations] [proof] Remove reference to evar_mapEmilio Jesus Gallego Arias
Small refactoring to pass the `sigma` functionally.
2019-06-17[equations] [proof] Remove duplicate shrink function.Emilio Jesus Gallego Arias
Equation's terminator had exactly duplicated the shrink function used in `Abstract`, we remove this duplicity.
2019-06-17[proof] Add proof save path for equations.Emilio Jesus Gallego Arias
We add the and routine the regular proof save path of Equations was using. I don't understand what is going on here, these are a few remarks: - Equations does capture `sigma` at the time of `start_dependent_lemma` - A custom hook is also captured, along with telescopes - The shrink function seems like a duplicate with things already in Coq's [abstract.ml / declareObl.ml] I guess the preferred option would be to merge this with the obligations save path; but I need help from experts.
2019-06-17[lemmas] Refactoring in saving goal.Emilio Jesus Gallego Arias
Just a cleanup, should bring no functional code change.
2019-06-17[proof] Remove terminator type, unifying regular and obligation ones.Emilio Jesus Gallego Arias
We radically redesign how proof closing information is stored. Instead of a user-defined closure, we now reify control into a single data structure containing the needed information. In this scheme, the `Lemmas` module can get extra information with obligation info when opening the proof, and will correspondingly call the right closing function based on this. This is the start of what could be a much bigger unification of all the proof save paths.
2019-06-17[proof] Move declaration hooks to DeclareDef.Emilio Jesus Gallego Arias
This way both `Lemmas` and `DeclareObl` can depend on it, removing one more difficulty on the unification of terminators.
2019-06-17[proof] drop parameter from terminator typeEmilio Jesus Gallego Arias
This makes the type of terminator simpler, progressing towards its total reification.
2019-06-17[proof] Unify obligation proof save path: Part I, declareOblEmilio Jesus Gallego Arias
We move obligation declaration-specific functions to their own file. This way, `Lemmas` can access them, and in the next part we can factorize common parts in the save proof.
2019-06-17[proofs] Store hooks in the proof object.Emilio Jesus Gallego Arias
As of now, hooks were stored in the terminators as closures, we place them instead in the proof object and are thus passed back at proof closing time. This helps towards the reification and unification of terminators.
2019-06-17Merge PR #10231: Adding location in warning telling implicit arguments ↵Emilio Jesus Gallego Arias
differ in term and type Reviewed-by: ejgallego Ack-by: jashug
2019-06-16Merge PR #10385: Changelog for 8.10+beta2.Clément Pit-Claudel
Reviewed-by: cpitclaudel
2019-06-16Merge PR #10381: Fix #10090: Ltac1 destruct and Ltac2 destruct should do the ↵Emilio Jesus Gallego Arias
same thing. Reviewed-by: ejgallego
2019-06-16Changelog for 8.10+beta2.Théo Zimmermann
2019-06-16Deprecate "intro_pattern" in tactic notations in favor of "simple_intropattern".Hugo Herbelin
This is to prevent confusion with the terminology used in the grammar of tactic in the reference manual: "intropattern" in Tactic Notation and TACTIC EXTEND is actually bound to simple_intropattern and not to what is called intropattern in the reference manual After some deprecation phase, "intropattern" could be added back to mean the "intropattern" of the reference manual. Note that "simple_intropattern" is actually already available in "Tactic Notation" with the correct meaning as an entry. Only "intropattern" is misguiding.
2019-06-16Ensuring regexp filtering in ci works on MacOS X.Hugo Herbelin
Unfortunately, "+" regular expressions are not supported by default with MacOS X's sed. It is told that it would work with option -E though, but the syntax seems then different.
2019-06-16Fix #10090: Ltac1 destruct and Ltac2 destruct should do the same thing.Pierre-Marie Pédrot
The ML wrapper was wrongly calling induction instead of destruct.
2019-06-16Merge PR #10345: Fix #10339: Anomaly in Ltac2.Emilio Jesus Gallego Arias
Reviewed-by: ejgallego
2019-06-16Overlays for Mtac2 and Equations.Hugo Herbelin
2019-06-16Turning "manual_implicits" into a list of position in impargs.ml.Hugo Herbelin
2019-06-16Adding location in warning telling implicit arguments differ in term and type.Hugo Herbelin
2019-06-16Merge PR #10327: Fix bug #5710Pierre-Marie Pédrot
Reviewed-by: ppedrot
2019-06-16Merge PR #10355: [funind] Untabify; necessary to ease the review of ↵Pierre-Marie Pédrot
subsequent work. Reviewed-by: maximedenes
2019-06-16- added OCaml copyright header to List.v (if for no other reason than out of ↵Michael Soegtrop
courtesy) - index errors (negative or out of bounds) generally throw (panic) - hd, last, find backtrack, because here backtracking can actually be useful added a _throw variant to these functions which panics This emaphasizes the difference between backtracking and throwing exceptions, which doesn't exist in OCaml. - simplified the implementation of for_all2 and exist2 (ok, that is a matter of taste ...) - added assertions which combine a boolean match with a throw. This makes the code more readable and makes it easier to have more specific error messages. - added a lastn function - gave Out_of_bounds a message argument (there is no good reason why invalid_argument has one and this not) All other exceptions without message argument are quite specific to certain functions (like Not_Found)
2019-06-15Merge PR #10040: Install byte version of coqidetop.Emilio Jesus Gallego Arias
Reviewed-by: ejgallego
2019-06-15[dune] Install .byte version of coqidetop like for coqtop.Théo Zimmermann
2019-06-15Merge PR #10377: Rename expr and tacexpr tokens into ltac_expr token family.Clément Pit-Claudel
Reviewed-by: cpitclaudel
2019-06-15Rename expr and tacexpr tokens into ltac_expr token family.Théo Zimmermann
This allows to refer to them from other part of the manual without any ambiguity.
2019-06-14Merge PR #10376: Add a comment documenting what fontsupport.py is.Clément Pit-Claudel
Reviewed-by: cpitclaudel
2019-06-14Add a comment documenting what fontsupport.py is.Théo Zimmermann
2019-06-14Merge PR #10322: Update changes.rst as a follow-up to #9743Théo Zimmermann
Reviewed-by: Zimmi48
2019-06-13Merge PR #10374: Integrate 8.9.0 and 8.9.1 changelog entries.Clément Pit-Claudel
Reviewed-by: cpitclaudel
2019-06-13Merge PR #10373: Add missing changelog entry for #10360.Clément Pit-Claudel
Reviewed-by: cpitclaudel
2019-06-13Integrate 8.9.0 and 8.9.1 changelog entries.Théo Zimmermann
From the CHANGES file in branch v8.9.
2019-06-13Add missing changelog entry for #10360.Théo Zimmermann
2019-06-13Update, expand, and document plugin tutorial 2Talia Ringer
2019-06-13Merge PR #10319: [STM] Only VtSideeff can be VtNow/VtLaterEnrico Tassi
Ack-by: ejgallego Reviewed-by: gares
2019-06-13Merge PR #10360: Resolve #9885 CoqIDE does not work on WindowsEmilio Jesus Gallego Arias
Reviewed-by: ejgallego Reviewed-by: vbgl
2019-06-12Merge PR #10310: Fix #10283: clearer dependency documentation for building ↵Clément Pit-Claudel
CoqIDE. Reviewed-by: cpitclaudel Reviewed-by: ejgallego
2019-06-12[funind] Untabify; necessary to ease the review of subsequent work.Emilio Jesus Gallego Arias
2019-06-12Merge PR #10358: [docker] update elpi to 1.3.1Gaëtan Gilbert
Reviewed-by: SkySkimmer
2019-06-12Remove dependency of native_compile on global env for symbolsGaëtan Gilbert
Instead we get the symbols from a Environ.env. We make them accessible to the produced code through a reference managed by the kernel, similar to the return values except inverting when it's written and when it's read.
2019-06-12Merge PR #10329: Update changelog for 10302 and 10305Théo Zimmermann
Reviewed-by: Zimmi48
2019-06-12Merge PR #10180: `deprecated` attribute support for notations and syntactic ↵Théo Zimmermann
definitions Ack-by: SkySkimmer Reviewed-by: Zimmi48 Ack-by: ggonthier Reviewed-by: herbelin
2019-06-12Fix #9455: avoid update_global_env when unchanged Global.universes()Gaëtan Gilbert
This also makes vernacentries correct wrt update_global_env.
2019-06-12Merge PR #10334: Remove the side-effect role from the kernel.Enrico Tassi
Reviewed-by: gares
2019-06-11overlayEnrico Tassi
2019-06-11Adding an overlay for Equations.Pierre-Marie Pédrot
2019-06-11Move the side-effect role out of Entries into Evd.Pierre-Marie Pédrot
2019-06-11Remove the side-effect role from the kernel.Pierre-Marie Pédrot
We move the role data into the evarmap instead.
2019-06-11Merge PR #10354: [ci] [fiat-crypto] Enable more targets on Coq CIEmilio Jesus Gallego Arias
Reviewed-by: ejgallego