section ‹K-dimensional Region Trees - Nested Trees› (* Nested trees: Each level of the k-d tree (kdt) is encapsulated in a separate splitting tree (tree1). Experimental. *) theory KD_Region_Nested imports "HOL-Library.NList" begin fun cube :: "nat ⇒ nat ⇒ nat list set" where "cube k n = nlists k {0..<2^n}"