aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/language
AgeCommit message (Collapse)Author
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-28Merge PR #9402: Move \def\plus and \def\tri to refman-preamble.sty.Théo Zimmermann
Reviewed-by: Zimmi48
2019-01-25Merge PR #9391: Clarify meaning of Primitive ProjectionsThéo Zimmermann
Reviewed-by: Zimmi48
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 #9269: Move and rewrite intro pattern sectionThéo Zimmermann
Ack-by: Zimmi48 Ack-by: anton-trunov Ack-by: jfehrle
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-22Remove unneeded | in productionlistsJim Fehrle
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-19Fix typo in gallina specification language docyudetamago
2018-12-03Closes #9118: single backticks are made equivalent to double backticks; try ↵Théo Zimmermann
to fix all misuses.
2018-11-30Add indexes for coercion / substructure symbol :>.Théo Zimmermann
And a few more Sphinx fixes in passing.
2018-11-21[sphinx] Progress towards closing #7602: remove most objects without a body.Théo Zimmermann
Remove objects without body from most chapters. The remaining problems are all in the SSReflect chapter.
2018-11-19Merge PR #8451: Print Universes SubgraphPierre-Marie Pédrot
2018-11-16Print Universes SubgraphGaëtan Gilbert
This adds an optional [Subgraph] part to the Print Universes command, eg [Print Universes Subgraph(i j)] to print only constraints related to i and j (and Prop/Set).
2018-11-16Remove the implicit tactic feature following #7229.Pierre-Marie Pédrot
2018-10-29Fix typos in the document about CICwkwkes
2018-10-23Order Greek letters consistently w/rest of documentSam Pablo Kuper
2018-10-16Document the issue with positive coinductive types.Pierre-Marie Pédrot
2018-10-10Merge PR #8384: Small fixes in attribute documentation.Clément Pit-Claudel
2018-10-01Docs: Missing backquoteJoachim Breitner
2018-09-28Small fixes in attribute documentation.Théo Zimmermann
In particular, move the footnotes back to the foot of the chapter.
2018-09-26Allow successive attributes #[foo] #[bar]Gaëtan Gilbert
2018-09-20Rewrite "Flags, Options and Tables" section.Jim Fehrle
Mark boolean-valued options with :flag: Adjust tactic and command names so parameters aren't shown in the index unless they're needed for disambiguation. Remove references to synchronous options. Revise doc for tables. Correct indentation for text below :flag:
2018-09-20[doc] Fix more duplicate-label issues in production listsClément Pit-Claudel
2018-09-20[doc] Include the rst and LaTeX preambles automatically in all filesClément Pit-Claudel
2018-09-20[doc] Fix a few LaTeX mistakesClément Pit-Claudel
2018-09-19Merge PR #7343: Add missing index entries.Maxime Dénès
2018-09-17Add missing index entries.Théo Zimmermann
In particular, this backports e26b67436d12da63a11f0727c5b5895dfd03d249.
2018-09-16Mising prime in the subtyping rulesJoachim Breitner
2018-09-16Missing space in cic.rstJoachim Breitner
2018-09-13Add doc for template polymorphism option and attributes.Gaëtan Gilbert
2018-08-31Uniformized many spelling variants. Added .. warning:: and .. seealso:: ↵Zeimer
directives in many places. Disambiguated terminology: disequality now means <> while inequality means < <= > >=. Fixed some more grammar and spelling issues.
2018-08-27Fix a casing problem noticed by Lars Dölle on Coq-Club.Théo Zimmermann
2018-08-16Merge PR #8111: Docs: Fix p values in CIC Inductive Defs examplesMaxime Dénès
2018-07-30[sphinx] Use arguments of '.. example::' directive as a titleClément Pit-Claudel
Most existing uses of .. example did not use the first line as a title, so this commit also adds appropriate blank lines.
2018-07-23Add test for repeated section with same nameJasper Hugunin
2018-07-22Docs: minor typo in "Template Polymorphism"Timothy Bourke
2018-07-22Docs: minor typo in W-Ind relative to textTimothy Bourke
The rule uses s'_j, the text refers to s_j, the latter is simpler in the absence of any other constraints.
2018-07-21Docs: Fix p values in CIC Inductive Defs examplesTimothy Bourke
It seems that p is a natural number, so why not write it as 0 rather than the empty list for tree and forest? And, if I understand correctly, odd and even have p = 0 and Arr(even) = Arr(odd) = 1.
2018-07-19Rewrote section 'Accessing the Type level' in the chapter 'The Coq library' ↵Zeimer
of the Reference Manual.
2018-07-19Fixed some typos and grammar errors from section 'The language' of the ↵Zeimer
Reference Manual. Removed all mentions of prodT because it is no longer a separate inductive definition (prod has been living in Type for some time) but rather only a notation for prod needed for compatibility purposes.