aboutsummaryrefslogtreecommitdiffstats
path: root/expr.v
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2024-06-27 01:56:05 +0200
committerLibravatar Rutger Broekhoff2024-06-27 01:56:05 +0200
commit4598e77a9406d8040357c943a05dd1ab939932db (patch)
treee990beaa94803da3585547f22e186e8819f6a887 /expr.v
parent73df1945b31c0beee88cf4476df4ccd09d31403b (diff)
downloadmininix-formalization-4598e77a9406d8040357c943a05dd1ab939932db.tar.gz
mininix-formalization-4598e77a9406d8040357c943a05dd1ab939932db.zip
Tidy up project
* Write README.md * Add LICENSE * Clean up some theorems and proofs
Diffstat (limited to 'expr.v')
-rw-r--r--expr.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/expr.v b/expr.v
index 11c0737..e770345 100644
--- a/expr.v
+++ b/expr.v
@@ -60,6 +60,12 @@ Instance Maybe_X_Attrset : Maybe X_Attrset := λ e,
60 | _ => None 60 | _ => None
61 end. 61 end.
62 62
63Instance Maybe_X_V : Maybe X_V := λ e,
64 match e with
65 | X_V v => Some v
66 | _ => None
67 end.
68
63Instance Maybe_B_Nonrec : Maybe B_Nonrec := λ rhs, 69Instance Maybe_B_Nonrec : Maybe B_Nonrec := λ rhs,
64 match rhs with 70 match rhs with
65 | B_Nonrec e => Some e 71 | B_Nonrec e => Some e