(* File: Rect_Intersect.thy Author: Bohua Zhan *) section ‹Rectangle intersection› theory Rect_Intersect imports Interval_Tree begin text ‹ Functional version of algorithm for detecting rectangle intersection. See \<^cite>‹‹Exercise 14.3-7› in "cormen2009introduction"› for a reference. › subsection ‹Definition of rectangles›