An interesting post! For Isabelle, only total functions are allowed. The excluded middle law holds for all total Boolean functions.