opaque define operator ^ : (fn (Rat, UInt) -> Rat)

rat_pow_add: all x:Rat, j:UInt, k:UInt. x ^ (j + k) = x ^ j * x ^ k

rat_pow_mul_base: all k:UInt, x:Rat, y:Rat. (x * y) ^ k = x ^ k * y ^ k

rat_pow_one_add: all x:Rat, k:UInt. x ^ (1 + k) = x * x ^ k

auto rat_pow_zero

rat_pow_zero: all x:Rat. x ^ 0 = rat(+1)