aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-13Merge branch 'v8.5'Pierre-Marie Pédrot
2015-09-12Fixing bug #2498: Coqide navigation preferences delayed effect.Pierre-Marie Pédrot
2015-09-10typo in refman.Pierre Courtieu
2015-09-10Assertion checking that invariant enforced by 0f8d1b92 always holds.Maxime Dénès
When reifying a 31-bit integer after a VM computation, we check that no bit outside the 31 LSB is set to 1.
2015-09-10Fixing previous patch.Pierre-Marie Pédrot
2015-09-10Fixing the XML lexer definition of names to match the standard.Pierre-Marie Pédrot
2015-09-10Extending the grammar for CoqIDE preferences so as to match trunk.Pierre-Marie Pédrot
2015-09-09Merge remote-tracking branch 'origin/v8.5' into trunkHugo Herbelin
2015-09-08Emphasizing that eta for vectors is an instance of caseS, as pointedHugo Herbelin
out to me by Pierre B. Also extending use of bullets in Vectors where relevant.
2015-09-08Fixing incomplete bugfix in 76f27140e6e34 (unfortunately 5 commitsHugo Herbelin
ago) which broke compilation of theories/Logic/WKL.v (collision between a temporary name and a user name).
2015-09-08Minor modifications to WeakFanTheorem.Hugo Herbelin
2015-09-08Ensuring that patterns of the form pat/constr move the hypotheses replacingHugo Herbelin
an initial hypothesis hyp at the same position in the context. Ensuring the same for "apply c in hyp as pat". Ensuring that "pose proof (H ...) as H" does not change the position of H.
2015-09-08Short cosmetic changes in tactics.ml.Hugo Herbelin
2015-09-08A bit of documentation of OCaml code for intro_patterns.Hugo Herbelin
2015-09-08New option "Unset Bracketing Last Introduction Pattern" for preservingHugo Herbelin
compatibility with the non uniform behavior that "intros [] []" on "A*B->C*D->E" automatically introduces A and B but leaves C and D in the goal. Kept unset in 8.5 but planned to be set in 8.6.
2015-09-08Fixing clearing of temporary hypotheses with intro pattern pat/constr.Hugo Herbelin
2015-09-08Fixing "pose proof (H ...) as H" and "assert (H:=H ...) which were supposedHugo Herbelin
to behave like "specialize (H ...)" since 4/8/2008 (r11300, 7d515acbc5).
2015-09-08Hacking parser so as to support both [> ... ] and [id].Hugo Herbelin
This (at least technically) solves the issue #4113 (see also #4329).
2015-09-08Adding a proof of eta on Vector.t of non-zero size.Hugo Herbelin
2015-09-08Documenting the code when preference is given to expansion of defaultHugo Herbelin
clause in pattern-matching or not.
2015-09-08Documenting the new behaviour of the Shrink Obligations flag.Pierre-Marie Pédrot
2015-09-08All Program obligations now respect the Shrink Obligation flag.Pierre-Marie Pédrot
This allows to reduce the dependencies of subproofs generated by any sequence of tactics. Grants wish #4327.
2015-09-08More potentialities in proof_terminators.Pierre-Marie Pédrot
2015-09-08Opacifying the proof_terminator type.Pierre-Marie Pédrot
2015-09-08Fixing the Shrink Obligations option.Pierre-Marie Pédrot
Let-bindings were not taken into account, resulting in proof-terms way too huge.
2015-09-06Merge branch 'v8.5' into trunkMaxime Dénès
2015-09-06Output a warning when conversion compilation failed.Maxime Dénès
Previously, the kernel would silently fall back to standard conversion.
2015-09-06Fix a bug in 31 bit arithmetic, leading to failing conversion tests.Maxime Dénès
On 64 bits architectures, integers could have some of their 32 msb set to 1 internally in the VM. When read back to a Coq term, this was not observable. But an equality test would fail. From the user point of view, the symptom was that vm_compute; reflexivity would succeed but the subsequent Qed would fail. Bug reported by Tahina Ramananandro.
2015-09-06Fixed critical bug in 31 bit arithmetic of VMCatalin Hritcu
ADDMULDIVINT31 was missing pops in some cases
2015-09-06Merge branch 'v8.5'Pierre-Marie Pédrot
2015-09-06Adding a Makefile target for the MSets and MMaps directories.Pierre-Marie Pédrot
The target creation process should eventually be automated, because it is tedious and error-prone as witnessed by this commit.
2015-09-03Update test-suite after 518049fe7.Maxime Dénès
"Fetching opaque proofs" notices are not printed by default anymore.
2015-09-03print universes when dumping bytecode.Gregory Malecha
2015-09-03Improve directives for Haskell extraction of nat.Maxime Dénès
2015-09-03Fix [Z.div] and add [Z.modulo] in ExtrHaskellZNum.vNickolai Zeldovich
The previous extraction of [Z.div] for Haskell did not properly handle divide-by-zero. Fix it by introducing an explicit [if] statement in the generated Haskell code. Also, introduce a similar extraction rule for [Z.modulo], with the same check for modulo-by-zero.
2015-09-03Fix [Nat.div] and add [Nat.modulo] in ExtrHaskellNatNum.vNickolai Zeldovich
The previous extraction of [Nat.div] for Haskell did not properly handle divide-by-zero. Fix it by introducing an explicit [if] statement in the generated Haskell code. Also, introduce a similar extraction rule for [Nat.modulo], with the same check for modulo-by-zero.
2015-09-03Implementing Herbelin's fix for the "NonPar" bugmlasson
Hugo Herbelin proposed to modify directly the function "check_correct_par" to simplify commit c12b430 (see the pullrequest's discussion). Note that the constructor "LocalNonPar" has now three arguments (instead of two). In LocalNonPar (n,i,l) n denotes the position among real arguments (ie. ignoring letins), i is the rel index of the expecting argument in the context of parameters and l is the index of the inductive.
2015-09-03Also there's an extra space in the error message.mlasson
2015-09-03Add an if_verbose for "Fetching opaque proofs ..."mlasson
I do not think that this information is worth displaying without the verbose flag.
2015-09-03Missing argument "-c" for coqdep in coq_makefilemlasson
Prior to commit 964d1b70, the dependency files .mllib.d and .mlpack.d were generated by a call to coqdep using the argument -c (for ocaml code). While doing some finetuning of the generation of implicit rules, this commit removed (I think by mistake) this "-c". And without this -c argument coqdep output nothing on mllib files leading to incorrect linking of mllibs.
2015-09-01STM: save a full state for queries.Enrico Tassi
In PIDE based UIs queries can be delegated too, hence to speed up things I was saving a shallow state. Unfortunately a shallow state breaks section/modules commands, and a query can be the last entry of a section/module. (A shallow state does essentially drop the libstack). The easy solution is to save a complete state. A better one would be to refine the static analysis of the document and decide which kind of saved state one needs.
2015-08-31Switching to an event-based mechanism for CoqIDE preferences.Pierre-Marie Pédrot
There is no remaining hook in the preferences. In particular, the refresh_editor_hook is gone.
2015-08-29Adding a proof of surjective pairing on vectors.Hugo Herbelin
2015-08-29Fixing generation of dev/printers.mllib.d after ocamllibdep is used ↵Hugo Herbelin
(48d611ff2a).
2015-08-26Replacing old-style preferences in CoqIDE.Pierre-Marie Pédrot
There is no remaining global preference record anymore, every preference is now defined in the new event-based style.
2015-08-22Code cleaning in Obligations.Pierre-Marie Pédrot
This commit is chiefly about moving code around to ease readability.
2015-08-22Documenting the Shrink Abstract option.Pierre-Marie Pédrot
2015-08-22Allowing the abstract tactical to clear the environment from unused variables.Pierre-Marie Pédrot
Grants wish #2098.
2015-08-22Merge branch 'v8.5'Pierre-Marie Pédrot
2015-08-21Fixing #4318 (anomaly when applying args to a recursive notation in patterns).Hugo Herbelin
I don't know what was the intent of Pierre B here. In 8.4, it was not supported, raising with an error at parsing time. I changed the anomaly into an error at interpretation time, so it is still not supported but we could support it if some legitimate use of it eventually appears.