Skip to content

Commit

Permalink
update link
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiek committed Oct 15, 2024
1 parent 0db4bfd commit 3bdc310
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.thm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This file was automatically generated by Deduce.
This file summarizes the theorems proved in the file:
README.pf
./README.pf

search_take: (all xs:List<Nat>. (all y:Nat. not (y ∈ set_of(take(search(xs, y), xs)))))

3 changes: 1 addition & 2 deletions Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1514,8 +1514,7 @@ end
```



## Union (Type)
## Union (Statement)

```
statement ::= "union" identifier type_params_opt "{" constructor_list "}"
Expand Down
3 changes: 2 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ The Deduce language includes four kinds of phrases:

A Deduce file contains a list of **statements**. Each statement can be one of
1. [Theorem](./Reference.md#Theorem-Statement)
2. [Union](./Reference.md#Union-Statement)
2. [Function](./Reference.md#Function-Statement)
3. [Define](./Reference.md#Define-Statement)
4. [Import](./Reference.md#Import-Statement)
Expand All @@ -157,7 +158,7 @@ produced by the term.
whose n parameters are of type `T1`,...,`Tn` and whose return type is `Tr`.
3. The generic function type `fn <X1,...,Xk> T1,...,Tn -> Tr` classifies a generic
function with type parameters `X1`,...,`Xk`.
4. A [union](./Reference.md#Union-Type) type given by its name.
4. A union type given by its name.
5. An instance of a generic union is given by its name followed
by `<`, a comma-separated list of type arguments, followed by `>`.

Expand Down

0 comments on commit 3bdc310

Please sign in to comment.