Skip to content

Commit ba993b8

Browse files
committed
doc: Rename Simphony -> Simfony
1 parent 5d65ff4 commit ba993b8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

doc/context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ A context Γ maps variable names to Simplicity types:
66

77
We write Γ(`v`) = A to denote that variable `v` has type A in context Γ.
88

9-
We handle free variables inside Simphony expressions via contexts.
9+
We handle free variables inside Simfony expressions via contexts.
1010

1111
If all free variables are defined in a context, then the context assigns a type to the expression.
1212

1313
We write Γ ⊩ `a`: A to denote that expression `a` has type A in context Γ.
1414

1515
Note that contexts handle only the **target type** of an expression!
1616

17-
Source types are handled by environments and the translation of Simphony to Simplicity.
17+
Source types are handled by environments and the translation of Simfony to Simplicity.
1818

1919
We write Γ ⊎ Δ to denote the **disjoint union** of Γ and Δ.
2020

doc/environment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ All expressions inside an environment share the same source type A. We say the e
1212
]
1313
```
1414

15-
We use environments to translate variables inside Simphony expressions to Simplicity.
15+
We use environments to translate variables inside Simfony expressions to Simplicity.
1616

1717
The environment tells us the Simplicity expression that returns the value of each variable.
1818

19-
We translate a Simphony program "top to bottom". Each time a variable is defined, we update the environment to reflect this change.
19+
We translate a Simfony program "top to bottom". Each time a variable is defined, we update the environment to reflect this change.
2020

21-
During the translation, we can ignore the source type of Simplicity expressions (translated Simphony expressions) entirely. We can focus on producing a Simplicity value of the expected target type. Environments ensure that we get input values for each variable that is in scope.
21+
During the translation, we can ignore the source type of Simplicity expressions (translated Simfony expressions) entirely. We can focus on producing a Simplicity value of the expected target type. Environments ensure that we get input values for each variable that is in scope.
2222

2323
Target types are handled by contexts.
2424

@@ -31,7 +31,7 @@ Ctx(Ξ)(`x`) = B if Ξ(`x`) = a: A → B
3131

3232
Patterns occur in let statements `let p := s`.
3333

34-
Pattern `p` binds the output of Simphony expression `s` to variables.
34+
Pattern `p` binds the output of Simfony expression `s` to variables.
3535

3636
As we translate `s` to Simplicity, we need an environment that maps the variables from `p` to Simplicity expressions.
3737

doc/translation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Translation
22

3-
We write ⟦`e`⟧Ξ to denote the translation of Simphony expression `e` using environment Ξ from A.
3+
We write ⟦`e`⟧Ξ to denote the translation of Simfony expression `e` using environment Ξ from A.
44

55
The translation produces a Simplicity expression with source type A.
66

7-
The target type depends on the Simphony expression `e`.
7+
The target type depends on the Simfony expression `e`.
88

99
## Unit literal
1010

0 commit comments

Comments
 (0)