Skip to content
Snippets Groups Projects
Commit 3211eec2 authored by Jacques-Henri Jourdan's avatar Jacques-Henri Jourdan
Browse files

option is non-expansive.

parent 4404030f
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,12 @@ Section option.
Definition option (τ : type) := Σ[unit; τ]%T.
Global Instance option_ne : NonExpansive option.
Proof. solve_proper. Qed.
Global Instance option_type_ne : TypeNonExpansive option.
Proof. solve_proper. Qed.
(* Variant indices. *)
Definition none := 0%nat.
Definition some := 1%nat.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment