theory NREST imports "HOL-Library.Extended_Nat" "Refine_Monadic.RefineG_Domain" Refine_Monadic.Refine_Misc "HOL-Library.Monad_Syntax" NREST_Auxiliaries begin section "NREST"