; SpeckDL: ToggleSwitch — Z3 Verification ; Generated by speckl-compile Z3 backend ; Bounded model checking depth: 10 (set-logic ALL) (set-option :produce-models true) (declare-fun speckl_len_Int ( (Array Int Int) ) Int) ; --- State Variables --- (declare-const isOn Bool) ; --- Invariants --- (define-fun SwitchConsistent () Bool (and (or (= isOn true) (= isOn false)) ) ) ; --- Invariant Assertions --- (assert (SwitchConsistent)) (check-sat) (get-model)