🏗️ ΘρϵηΠατπ🚧 (under construction)

Inversion Lookahead in Sorted Concatenation
Suppose that a=(a1,,an) and b=(b1,,bm) are finite tuples sorted in ascending order and define c=concat(a,b). If ai and bj form an inversion then for every k[in] ak and bj form an inversion in c
No Inversion Lookahead in Sorted Concatenation
Suppose that a=(a1,,an) and b=(b1,,bm) are finite tuples sorted in ascending order and define c=concat(a,b). If ai and bj do not form an inversion then for every k[jm] ai and bk do not form an inversion in c
counting_inversions is Correct
Given any list A counting_inversions returns the number of inversions in A