You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: Manual/Elaboration.lean
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ Parsers are highly extensible: users may define new syntax in any command, and t
141
141
The open namespaces in the current {tech}[scope] also influences which parsing rules are used, because parser extensions may be set to be active only when a given namespace is open.
When ambiguity is encountered, the longest matching parse is selected.
@@ -210,7 +210,7 @@ Term elaboration may modify all of these fields except the open scopes.
210
210
Additionally, it has access to all the machinery needed to create fully-explicit terms in the core language from Lean's terse, friendly syntax, including unification, type classinstancesynthesis,andtypechecking.
@@ -371,7 +371,7 @@ Thus, the elaborator must translate definitions that use pattern matching and re
371
371
This translation is additionally a proof that the function terminates for all potential arguments, because all functions that can be translated to recursors also terminate.
The translation to recursors happens in two phases: during term elaboration, uses of pattern matching are replaced by appeals to auxiliary functions that implement the particular case distinction that occurs in the code.
Copy file name to clipboardExpand all lines: Manual/Language.lean
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ A term is {deftech}_well-typed_ if it has a type under the rules of Lean's type
36
36
Only well-typed terms have a meaning.
37
37
38
38
Terms are a dependently typed λ-calculus: they include function abstraction, application, variables, and `let`-bindings.
39
-
In addition to bound variables, variablesin the term language may refer to {tech}[constructors], {tech}[type constructors], {tech}[再帰子]recursors, {deftech}[defined constants], or opaque constants.
39
+
In addition to bound variables, variablesin the term language may refer to {tech}[constructors], {tech}[type constructors], {tech}[recursors], {deftech}[defined constants], or opaque constants.
40
40
Constructors, type constructors, recursors, and opaque constants are not subject to substitution, while defined constants may be replaced with their definitions.
41
41
42
42
A {deftech}_derivation_ demonstrates the well-typedness of a term by explicitly indicating the precise inference rules that are used.
@@ -567,7 +567,7 @@ The following commands in Lean are definition-like: {TODO}[Render commands as th
567
567
* {syntaxKind}`example`
568
568
* {syntaxKind}`theorem`
569
569
570
-
All of these commands cause Lean to {tech key:="elaborator"}[elaborate] a term based on a signature.
570
+
All of these commands cause Lean to {tech key:="エラボレータ"}[elaborate]elaborator a term based on a signature.
571
571
With the exception of {syntaxKind}`example`, which discards the result, the resulting expression in Lean's core language is saved for future use in the environment.
Copy file name to clipboardExpand all lines: Manual/Language/Functions.lean
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ fun $x:ident : term => $t
122
122
:::
123
123
124
124
Function definitions defined with keywords such as {keywordOf Lean.Parser.Command.declaration parser:=Lean.Parser.Command.definition}`def` desugar to {keywordOf Lean.Parser.Term.fun}`fun`.
125
-
However, not all functions originate from abstractions: {tech}[type constructors], {tech}[constructors], and {tech}[再帰子]recursors may have function types, but they cannot be defined using function abstractions alone.
125
+
However, not all functions originate from abstractions: {tech}[type constructors], {tech}[constructors], and {tech}[recursors] may have function types, but they cannot be defined using function abstractions alone.
0 commit comments