theory MSOinHOL_deep imports MSOinHOL_preliminaries begin text ‹Deep embedding of monadic second-order logic (MSO) in HOL.› text ‹Two binders: ‹∃⇧d› ranges over individuals; ‹∃⇧d⇩2› ranges over monadic predicates. ‹X⇧d(x)› is the monadic predication atom ``predicate ‹X› holds of individual ‹x›''.›