Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FP
semantics-course
Commits
08568009
Commit
08568009
authored
Dec 03, 2021
by
Lennard Gäher
Browse files
rm exercises
parent
16b71648
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/systemf_mu_state/exercises07.v
View file @
08568009
...
...
@@ -115,43 +115,3 @@ Proof.
(*FIXME *)
Admitted
.
(*Qed.*)
(** Exercise 3: Diverging term *)
Definition
diverge
:
val
:
=
#
0
.
(* FIXME *)
Lemma
diverge_typed
Σ
n
Γ
:
TY
Σ
;
n
;
Γ
⊢
diverge
:
(
Int
→
Int
).
Proof
.
repeat
solve_typing_fast
.
(* FIXME *)
Admitted
.
(*Qed.*)
(** Exercise 4: Fibonacci *)
Definition
fibonacci
:
val
:
=
#
0
(* FIXME *)
.
Lemma
fibonacci_typed
Σ
n
Γ
:
TY
Σ
;
n
;
Γ
⊢
fibonacci
:
(
Int
→
Int
).
Proof
.
repeat
solve_typing_fast
.
(*FIXME *)
Admitted
.
(*Qed.*)
(** Exercise 5: Counter with Reset *)
Definition
make_counter
:
val
:
=
#
0
(* FIXME *)
.
Lemma
make_counter_typed
Σ
n
Γ
:
TY
Σ
;
n
;
Γ
⊢
make_counter
:
(
Unit
→
(
Unit
→
Int
)
×
(
Unit
→
Unit
)).
Proof
.
repeat
solve_typing_fast
.
(* FIXME *)
Admitted
.
(*Qed.*)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment