Definition: quotient and remainder
x div y := such q: exists r: r < y /\ x=(q*y)+r; x mod y := such r: exists q: r < y /\ x=(q*y)+r.
Examples: