section "Tries via Search Trees" theory Trie_Map imports RBT_Map Trie_Fun begin text ‹An implementation of tries based on maps implemented by red-black trees. Works for any kind of search tree.› text ‹Implementation of map:› type_synonym 'a mapi = "'a rbt"