Theory Check_Result
theory Check_Result
imports Main
begin
section ‹A flat three-valued check verdict›
text ‹
‹check_result› as a flat join-semilattice: ‹Check_Unknown› is the top element,
‹Check_Proved›/‹Check_Refuted› are incomparable, and their join is
‹Check_Unknown›. The canonical use is aggregating a check's verdict across
several independently-sound sources of evidence (e.g. one abstract state per
reachable calling context) without joining the underlying abstract states
first: two sources agreeing stay that verdict, any disagreement collapses to
‹Check_Unknown› rather than asserting a verdict neither source alone
established.
›