Skip to content

Commit

Permalink
fix(hax-lib): make implies take a bool closure
Browse files Browse the repository at this point in the history
  • Loading branch information
W95Psp authored Dec 13, 2023
1 parent a57bea1 commit af479ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hax-lib/proofs/fstar/extraction/Hax_lib.fst
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ let v_assume (v__formula: bool) = assume v__formula

unfold let v_exists (v__f: 'a -> Type0): Type0 = exists (x: 'a). v__f x
unfold let v_forall (v__f: 'a -> Type0): Type0 = forall (x: 'a). v__f x
unfold let implies (lhs: Type0) (rhs: unit -> Type0): Type0 = lhs ==> rhs ()
unfold let implies (lhs: bool) (rhs: unit -> bool): bool = (not lhs) || rhs ()

0 comments on commit af479ab

Please sign in to comment.