Skip to content
Snippets Groups Projects
Commit 35bba4ed authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Some canonical structure instances for heap_lang.

parent 9fb4882f
No related branches found
No related tags found
No related merge requests found
From iris.program_logic Require Export ectx_language ectxi_language. From iris.program_logic Require Export ectx_language ectxi_language.
From iris.algebra Require Export cofe.
From iris.prelude Require Export strings. From iris.prelude Require Export strings.
From iris.prelude Require Import gmap. From iris.prelude Require Import gmap.
...@@ -508,6 +509,10 @@ Defined. ...@@ -508,6 +509,10 @@ Defined.
Instance expr_inhabited X : Inhabited (expr X) := populate (Lit LitUnit). Instance expr_inhabited X : Inhabited (expr X) := populate (Lit LitUnit).
Instance val_inhabited : Inhabited val := populate (LitV LitUnit). Instance val_inhabited : Inhabited val := populate (LitV LitUnit).
Canonical Structure stateC := leibnizC state.
Canonical Structure valC := leibnizC val.
Canonical Structure exprC X := leibnizC (expr X).
End heap_lang. End heap_lang.
(** Language *) (** Language *)
......
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