Working with a day type! Days of the week form a chain: next_day(mon) -> tue, next_day(fri) -> sat, and so on. The predicate is_weekend(sat) -> true and is_weekend(sun) -> true, while all other days map to false.
Prove that is_weekend(next_day(next_day(fri))) evaluates to true. In other words: two days after Friday is Sunday — a weekend.
Hint
Use nested substitutions from inside out: <next_day(fri)> gives sat, then <next_day(sat)> gives sun, then <is_weekend(sun)> gives true.