-------------- divmod ^^^^^^^^ Basis Function Combinator divmod(x, y) -> (quotient, remainder) Return the tuple (x//y, x%y). Invariant: q * y + r == x. Gentzen diagram. Definition ~~~~~~~~~~ if not basis. Derivation ~~~~~~~~~~ if not basis. Source ~~~~~~~~~~ if basis Discussion ~~~~~~~~~~ Crosslinks ~~~~~~~~~~