-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add .github/dependabot.yml - .github/workflows/main.yml: update github action versions - U/Inf: remove the use of builtins 0 and +1
- Loading branch information
Showing
3 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
require open Logic.U.Set Logic.U.Prop; | ||
|
||
constant symbol zero : El ι; builtin "0" ≔ zero; | ||
constant symbol zero : El ι; | ||
|
||
constant symbol succ : El ι → El ι; builtin "+1" ≔ succ; | ||
constant symbol succ : El ι → El ι; | ||
|
||
symbol pred : El ι → El ι; | ||
|
||
rule pred 0 ↪ 0 | ||
rule pred zero ↪ zero | ||
with pred (succ $x) ↪ $x; | ||
|
||
symbol positive : El ι → Prop; | ||
|
||
rule positive 0 ↪ ⊥ | ||
rule positive zero ↪ ⊥ | ||
with positive (succ _) ↪ ⊤; |