Skip to content

Commit

Permalink
Adding iota
Browse files Browse the repository at this point in the history
  • Loading branch information
herbelin committed Sep 26, 2023
1 parent 22c6aec commit 0bf5474
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion text/match-with-alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,10 @@ For an inductive type `[... Ii : Δi -> si := {... Cij : Ωij -> Ii δij ...} ..
————————————————————————————————————————————————————————————————————————————————————————————————————
Γ ⊢ (match t as x in Ii y return P with ... Cij z as w => uij ... end) : P δ
```
Then, for the guard condition, the new variable `w` is considered of the size of `t`.
and new reduction rule is:
```
match (Cij u) as x in Ii y return P with ... Cij z as w => uij ... end
uij[z,w:=u,Cij u]
```
while, for the guard condition, the new variable `w` is considered of the size of `t`.

0 comments on commit 0bf5474

Please sign in to comment.