aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-04-29 20:47:53 +0100
committertslil <tslil@posteo.de>2026-04-29 21:53:17 +0100
commitece72d34809af0060d62e1841b1a76478db5a44a (patch)
treefd86904024568d04e80873ead87fbef32c6b1530 /src/main.rs
parent79a976266ef75a82b327de5f97dc55bd69baaee7 (diff)
wip on App For
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/main.rs b/src/main.rs
index b8987a2..57e7f52 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -36,22 +36,22 @@ fn main() {
// let element e : set-of(natPoset .Edge 3 5) = true
// this should be difficult unless we correctly handle various forms of alpha/beta
-let signature OneSet = theory { F :: Set }
-let signature T = theory {
- A :: Set,
- B :: (x : set-of({ .F = A } .F)) -> Set,
- C :: (x : set-of(set-of(set-of(A) :: Set) :: Set)) (b : set-of(B x)) -> Set
-}
-
-// let signature Graph = theory {
-// Node :: Set,
-// Edge :: (s : set-of(Node)) (t : set-of(Node)) -> Set
+// let signature OneSet = theory { F :: Set }
+// let signature T = theory {
+// A :: Set,
+// B :: (x : set-of({ .F = A } .F)) -> Set,
+// C :: (x : set-of(set-of(set-of(A) :: Set) :: Set)) (b : set-of(B x)) -> Set
// }
-// let instance natPoset :: Graph = {
-// .Node = Nat :: Set,
-// .Edge = for (s : Nat) (t : Nat), Bool :: Set
-// }
+let signature Graph = theory {
+ Node :: Set,
+ Edge :: (s : set-of(Node)) (t : set-of(Node)) -> Set
+}
+
+let instance natPoset :: Graph = {
+ .Node = Nat :: Set,
+ .Edge = for (s : Nat) (t : Nat), Bool :: Set
+}
// let element node : set-of(natPoset .Node) = 7