aboutsummaryrefslogtreecommitdiff
path: root/src/nat.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-12-12 18:47:06 +0530
committerAkshay Nair <phenax5@gmail.com>2023-12-12 18:47:06 +0530
commit999c2314c0d649646a53e7cc440ae3f4aa1a3d61 (patch)
treed475be6c55343b5ccc05d2d014897708182789cd /src/nat.ts
parentade99f3f1fc2da1d51a82f1376c61ad609d60ff1 (diff)
downloadts-theorem-provinator-999c2314c0d649646a53e7cc440ae3f4aa1a3d61.tar.gz
ts-theorem-provinator-999c2314c0d649646a53e7cc440ae3f4aa1a3d61.zip
feat: commutativity + identity for multiplication
Diffstat (limited to 'src/nat.ts')
-rw-r--r--src/nat.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nat.ts b/src/nat.ts
index 124c2c6..5c52bdf 100644
--- a/src/nat.ts
+++ b/src/nat.ts
@@ -1,6 +1,7 @@
import { Op } from "./util";
export type Add<A extends Op, B extends Op> = { op: '+'; a: A; b: B };
+export type Multiply<A extends Op, B extends Op> = { op: '*'; a: A; b: B };
export type Succ<A extends Op> = Add<'1', A>;
export type _0 = '0'