@@ -173,8 +173,8 @@ judgment returns `A` as the synthesized type of the term as a whole,
173173as well as using it as the inherited type for ` M ` .
174174
175175The term form ` M ↓ A ` represents the only place terms need to be
176- decorated with types. It only appears when switching from synthesis
177- to inheritance , that is, when a term that _ deconstructs_ a value of a
176+ decorated with types. It only appears when switching from inheritance
177+ to synthesis , that is, when a term that _ deconstructs_ a value of a
178178type contains as its main term a term that _ constructs_ a value of a
179179type, in other words, a place where a ` β ` -reduction will occur.
180180Typically, we will find that decorations are only required on top
@@ -185,15 +185,15 @@ We can extract the grammar for terms from the above:
185185 L⁺, M⁺, N⁺ ::= terms with synthesized type
186186 x variable
187187 L⁺ · M⁻ application
188- M⁻ ↓ A switch to inherited
188+ M⁻ ↓ A switch from inherited
189189
190190 L⁻, M⁻, N⁻ ::= terms with inherited type
191191 ƛ x ⇒ N⁻ abstraction
192192 `zero zero
193193 `suc M⁻ successor
194194 case L⁺ [zero⇒ M⁻ |suc x ⇒ N⁻ ] case
195195 μ x ⇒ N⁻ fixpoint
196- M⁺ ↑ switch to synthesized
196+ M⁺ ↑ switch from synthesized
197197
198198We will formalise the above shortly.
199199
@@ -217,9 +217,9 @@ Similarly, given context `Γ`, inherited term `M`, and type `A`, we
217217must decide whether ` Γ ⊢ M ↓ A ` holds, or its negation.
218218
219219Our proof is constructive. In the synthesised case, it will either
220- deliver a pair of a type ` A ` and evidence that ` Γ ⊢ M ↓ A ` , or a function
220+ deliver a pair of a type ` A ` and evidence that ` Γ ⊢ M ↑ A ` , or a function
221221that given such a pair produces evidence of a contradiction. In the inherited
222- case, it will either deliver evidence that ` Γ ⊢ M ↑ A ` , or a function
222+ case, it will either deliver evidence that ` Γ ⊢ M ↓ A ` , or a function
223223that given such evidence produces evidence of a contradiction.
224224The positive case is referred to as _ soundness_ --- synthesis and inheritance
225225succeed only if the corresponding relation holds. The negative case is
0 commit comments