Skip to content

Commit

Permalink
Complete 138
Browse files Browse the repository at this point in the history
  • Loading branch information
WeetHet committed Sep 20, 2024
1 parent 68c5f54 commit cfb0bda
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tasks/human_eval_138.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ use vstd::prelude::*;

verus! {

// TODO: Put your solution (the specification, implementation, and proof) to the task here
fn is_equal_to_sum_even(n: u32) -> (b: bool)
ensures
b <==> n % 2 == 0 && n >= 8 // 2 + 2 + 2 + (n - 6)
,
{
n % 2 == 0 && n >= 8
}

} // verus!
fn main() {}
Expand Down

0 comments on commit cfb0bda

Please sign in to comment.