diff options
| author | tslil <tslil@posteo.de> | 2026-04-29 10:56:16 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-04-29 12:18:13 +0100 |
| commit | 651a67cb568d80e72f8c6a650b985991f4b129d8 (patch) | |
| tree | 4feab93c76d729db04a80fcf3ad1c1591dd125f4 /src/main.rs | |
| parent | 67e3285ae6c7b94adc1983dcff18a009455bc582 (diff) | |
fix parser bug, fix beta reduction for setcoerce, disambiguate set coerce in parser
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index a40eb87..94a9428 100644 --- a/src/main.rs +++ b/src/main.rs @@ -36,7 +36,7 @@ let signature OneSet = theory { F :: Set } let signature T = theory { A :: Set, B :: (x : set-of({ .F = A } .F)) -> Set, - C :: (x : set-of(A)) (b : set-of(B x)) -> Set + C :: (x : set-of(set-of(set-of(A) :: Set) :: Set)) (b : set-of(B x)) -> Set } let signature Graph = theory { @@ -45,8 +45,8 @@ let signature Graph = theory { } let instance natPoset :: Graph = { - .Node = Nat, - .Edge = for (s : Nat) (t : Nat), Bool + .Node = Nat :: Set, + .Edge = for (s : Nat) (t : Nat), Bool :: Set } let element node : set-of(natPoset .Node) = 7 |
