import { Op } from './theorem'; export type Add = { op: '+'; a: A; b: B }; export type Multiply = { op: '*'; a: A; b: B }; export type Succ = { op: 'succ', a: A }; export type _0 = '0' export type _1 = Succ<_0> export type _2 = Succ<_1> export type _3 = Succ<_2>