diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-12-12 18:47:06 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-12-12 18:47:06 +0530 |
| commit | 999c2314c0d649646a53e7cc440ae3f4aa1a3d61 (patch) | |
| tree | d475be6c55343b5ccc05d2d014897708182789cd /src/nat.ts | |
| parent | ade99f3f1fc2da1d51a82f1376c61ad609d60ff1 (diff) | |
| download | ts-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.ts | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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' |
