(bind-func xtm_addition (lambda (a:Rational b:i1) (Rat (+ (tref a 0) (* (tref a 1) (i1toi64 b))) (tref a 1))))