aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx
AgeCommit message (Collapse)Author
2019-01-31Use math more.Tanaka Akira
Add :math:`...` for mathematical expressions.
2019-01-31Make parenthesis correctly matched.Tanaka Akira
2019-01-31\Sort is not a term.Tanaka Akira
"∀Γ_P ,∀Γ_{\mathit{Arr}(t)}, \Sort" is changed to "∀Γ_P ,∀Γ_{\mathit{Arr}(t)}, S" because \Sort is not a term. "S" is choosen to be consistent with the description of Inductive Definitions.
2019-01-31Use semicolon for separator of local contexts.Tanaka Akira
2019-01-31Don't line break at hyphen of compound words.Tanaka Akira
2019-01-31Move out a period and comma from :math:.Tanaka Akira
2019-01-31Nest :math: and parenthesis properly.Tanaka Akira
Exchange a closing parenthesis and a :math: closing backquote.
2019-01-31Fix syntax of two lambda-abstractions.Tanaka Akira
In the note about η-reduction, two lambda-abstraction used "," instead of ".".
2019-01-31Change {\Sort} to \Sort.Tanaka Akira
After #9435 (Use \mathcal instead of \cal), \Sort doesn't have font changing effect. So, {\Sort} is same as \Sort now and the former is changed to latter in cic.rst.
2019-01-31Use \Prop, \Set and \Type defined in refman-preamble.sty.Tanaka Akira
2019-01-31Make "1" and "2" in "f1" and "f2" suffixes.Tanaka Akira
2019-01-31Make "1" and "n" in "u1" and "un" suffixes.Tanaka Akira
2019-01-31Remove "End TreeExample." line.Tanaka Akira
This corresponds to "Module TreeExample." removed at 2018-04-24 bcf5352cc7a26a672e719f7dad4021c69d723833.
2019-01-31Merge PR #8720: [Numeral notations] Use Coqlib registered constantsEmilio Jesus Gallego Arias
Reviewed-by: JasonGross Ack-by: SkySkimmer Reviewed-by: Zimmi48 Reviewed-by: ejgallego Ack-by: ppedrot Ack-by: vbgl
2019-01-30[toplevel] Deprecate the `-compile` flag in favor of `coqc`.Emilio Jesus Gallego Arias
This PR deprecates the use of `coqtop` as a compiler. There is no point on having two binaries with the same purpose; after the experiment in #8690, IMHO we have a lot to gain in terms of code organization by splitting the compiler and the interactive binary. We adapt the documentation and adapt the test-suite. Note that we don't make `coqc` a true binary yet, but here we take care only of the user-facing part. The conversion of the binary will take place in #8690 and will bring code simplification, including a unified handling of arguments.
2019-01-29Use \mathcal instead of \calGaëtan Gilbert
Apparently it's deprecated / doesn't always work, see https://tex.stackexchange.com/questions/84041/why-does-calm-n-give-m See #9429 (we also need to fix the distributed file on the server).
2019-01-28Surround "assumption" with :tacn:`` in tactics.rstRyan Scott
2019-01-28Merge PR #9402: Move \def\plus and \def\tri to refman-preamble.sty.Théo Zimmermann
Reviewed-by: Zimmi48
2019-01-28Merge PR #9341: [ssr] uniform clear disciplineMaxime Dénès
Reviewed-by: CohenCyril Ack-by: Zimmi48 Ack-by: gares Reviewed-by: maximedenes
2019-01-25Merge PR #9391: Clarify meaning of Primitive ProjectionsThéo Zimmermann
Reviewed-by: Zimmi48
2019-01-25[Numeral notations] Lazy resolution of decimal typesVincent Laporte
2019-01-24Rename Z.div_mod_to_quot_rem, add Z.quot_rem_to_equations, ↵Jason Gross
Z.to_euclidean_division_equations
2019-01-24Revert "Add subst to the end of nia in the test-suite"Jason Gross
This reverts commit b49f4e966443a76ac70d37c4cde68f94de164c01. It turns out the 4x was due to .nia.cache (because I didn't clean sufficiently in testing), not due to `subst`.
2019-01-24Add subst to the end of nia in the test-suiteJason Gross
This speeds up the file from 2m32s to ``` real 0m41.851s user 0m41.512s sys 0m0.376s ``` Also note the `subst` trick in the doc.
2019-01-24Don't bundle Z.div_mod_quot_rem into zifyJason Gross
Alas, I have not had time to work on imrpoving the performance of nia, and there has been a request to include this tactic (which is useful on its own) without bundling it into `zify`. So that is what we do here. I leave the definition of it in `PreOmega` in case we want to eventually include it in `zify`/`nia`.
2019-01-24Add Z.div_mod_to_quot_rem tactic, put it in zifyJason Gross
The various (micr)omega tactics now support `Z.div` and `Z.modulo`. I briefly looked into supporting `Nat.div` and `Nat.modulo`, but the conversions between `Z.div` and `Nat.div` are defined in `ZArith.Zdiv`, which depends on `Omega`, which depends on `PreOmega`, which is where `zify` is defined.
2019-01-25Move \def\plus and \def\tri to refman-preamble.sty.Tanaka Akira
The definition of \plus and \tri in cic.rst is not effective for HTML output. So, move them into refman-preamble.sty. Also, \tri is renamed to \trii to express the suffix of "\triangleright_\iota".
2019-01-24Merge PR #9384: Improve the note in the beginning of the Ltac chapter.Clément Pit-Claudel
Reviewed-by: cpitclaudel
2019-01-24Merge PR #9269: Move and rewrite intro pattern sectionThéo Zimmermann
Ack-by: Zimmi48 Ack-by: anton-trunov Ack-by: jfehrle
2019-01-24Merge PR #9392: Fix small errors in cic.rst.Théo Zimmermann
Reviewed-by: Zimmi48
2019-01-24[doc] warn that (automatic) clears can result in errorsEnrico Tassi
2019-01-24[doc] more precise description of when automatic clears are triggeredEnrico Tassi
2019-01-24[doc] explain how to avoid automatic clearsEnrico Tassi
2019-01-24use \nO, \nS, etc. fix \kw{n}.Tanaka Akira
\nO, \nS, \evenO, \evenS, \oddS, \length, \Nil and \cons are used. don't use \kw in \kw{n} in Fixpoint typing rule section.
2019-01-24Fix small errors in cic.rst.Tanaka Akira
Fix small errors in cic.rst: * 3.4.1 Free variables: use :math: for "∀ x:T,~U". :g: doesn't show "∀" in PDF. "λx:T.~U" is also changed to :math: to use consistent font. * 3.4.3 Zeta: ":U" added in "let x:=u:U in t" to be valid let-in expression. * 3.4.3 convertibility: add :math: for u_2' to apply math formatting. * 3.4.4.6: fix index. "n" should be "k" because they corresponds k-th constructor. * 3.4.5 Type constructor: I changed the section title "Type constructor" to "Type of constructor". "Type constructor" means a feature to construct new type. But this section describes about a type of constructor. * 3.4.5 Example nattree: The reason of "``nattree`` occurs only strictly positively in ``A``" should be bullet 1 instead of bullet 3. The bullet 3 of strict positivity definition is about product, "∀x ∶ U , V", but "A" is not a product. * 3.4.5 Destructors: use :math: for "∀". :g: doesn't show "∀" in PDF. Also, :math: is used for expressions which has no "∀" character for font consistency. Note that I use \kw{has}\_\kw{length} instead of \kw{has\_length} because the latter is formatted as has\_length in HTML. (the backslash is retained.) * 3.4.5 list example: curly braces added. * 3.4.5 Fixpoint definition: add :math: for Γ_i to apply math formatting. * 3.4.6 2nd rule of First abstracting property: use \subst. This adds a curly brace. Also, spacing and fonts are adjusted as follows. * 3.4.1 let-in term: use :math: for variable x, consistent with other term descriptions. * 3.4.1 let-in term: use \letin command for concrete let-in term. * 3.4.2 Note: insert spaces as ((λ x:T.~u)~t). Since T is more closely reated to x than u, T should be positioned close to x than u. Since it seems most application has a space, I inserted a space here for consistency. * 3.4.3 beta-reduction: insert spaces as 3.4.2. * 3.4.3 eta-expansion: insert spaces as 3.4.2. * 3.4.5 Example: use sans-serif fonts for constructor "O" and "S". * 3.4.5 Fixpoint definition: insert spaces around "with". * 3.4.5 Fixpoint typing rule: fix fonts for "O" and "S" as 3.4.5 and insert spaces as 3.4.2. * 3.4.5 Fixpoint reduction rule: insert a space between {F} and a_1 for consistency. * 3.4.6 First abstracting property: insert spaces as 3.4.2.
2019-01-23Clarify meaning of Primitive ProjectionsDavid A. Dalrymple
The previous language makes it seem as if record parameters are automatically set as implicit for the projection functions, but (per discussion with @jasongross) the omission of parameters from primitive projection only takes effect in Coq's internal AST.
2019-01-23Move and rewrite documentation for intro patterns that was underJim Fehrle
the intros tactic to its own subsection. Add grammar and examples.
2019-01-23Fix the information of the level of ; vs ; [ ]Théo Zimmermann
2019-01-23Improve the note in the beginning of the Ltac chapter.Théo Zimmermann
In particular, add an example to illustrate the associativity of ;
2019-01-22Remove unneeded | in productionlistsJim Fehrle
2019-01-22clarify when an ident is added to the clear switchEnrico Tassi
2019-01-22Apply suggestions from code reviewThéo Zimmermann
Co-Authored-By: gares <gares@fettunta.org>
2019-01-21ring and field simplify can take no argumentsthery
2019-01-21[ssr] better structure the ipats docEnrico Tassi
2019-01-19[ssr] compile "=> {x..} y" as "=> {x..y} y"Enrico Tassi
This is for consistency with "rewrite {x..} y"
2019-01-18[ssr] compile "=> {} y" as "=> {y} y"Enrico Tassi
2019-01-10Remove Printing Primitive Projection CompatibilityGaëtan Gilbert
The code to generate the legacy bodies is moved to its only user in extraction. It almost seems like we could remove it (ie no special extraction code for primitive projection constants) but then we run into issues with automatic unboxing eg `Record foo := { a : nat; b : a <= 5 }.` gets extracted to `type foo = nat` and (if we remove the special code) `let a = a`.
2019-01-08Add doc for auto-template warningGaëtan Gilbert
2018-12-21Merge PR #9247: Fix typo in gallina specification language docThéo Zimmermann
2018-12-19[doc] typoEnrico Tassi