feat: 3234 week 2

This commit is contained in:
2024-02-04 15:40:50 +08:00
parent 1b606271ef
commit 6482186773
7 changed files with 1438 additions and 45 deletions

View File

@@ -5,50 +5,6 @@
(* was: *)
(* Version of 18 Jan 2024 *)
(* ********** *)
(* name:
e-mail address:
student number:
*)
(* name:
e-mail address:
student number:
*)
(* name:
e-mail address:
student number:
*)
(* name:
e-mail address:
student number:
*)
(* name:
e-mail address:
student number:
*)
(* name:
e-mail address:
student number:
*)
(* name:
e-mail address:
student number:
*)
(* name:
e-mail address:
student number:
*)
(* ********** *)
Check 0.
Check O.
@@ -309,7 +265,8 @@ Definition test_mult (candidate: nat -> nat -> nat) : bool :=
(let x := 5 in
let y := 6 in
let z := 7 in
(Nat.eqb (candidate x (candidate y z)) (candidate z (candidate x y))))
(Nat.eqb (candidate x (candidate y z))
(candidate (candidate x y) z)))
&&
(
(* Testing the inductive step *)