summaryrefslogtreecommitdiff
path: root/Bidir.agda
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2012-04-19 11:52:27 +0200
committerHelmut Grohne <helmut@subdivi.de>2012-04-19 11:52:27 +0200
commit7c3e2c61e55aa876f88fbd34c94ccfb0a8c715d4 (patch)
treeda62a6b97b8744c0bb7b9067b9007a8960004246 /Bidir.agda
parentdabd8455638d0cea486dd94dcdd13729077018d7 (diff)
downloadbidiragda-7c3e2c61e55aa876f88fbd34c94ccfb0a8c715d4.tar.gz
move lemma-just!=nothing to FinMap and use it there
Diffstat (limited to 'Bidir.agda')
-rw-r--r--Bidir.agda3
1 files changed, 0 insertions, 3 deletions
diff --git a/Bidir.agda b/Bidir.agda
index 99a3fd0..3875394 100644
--- a/Bidir.agda
+++ b/Bidir.agda
@@ -66,9 +66,6 @@ lemma-checkInsert-wrong eq i x m x' d refl | .(just x') with eq x x'
lemma-checkInsert-wrong eq i x m x' d refl | .(just x') | yes q = contradiction q d
lemma-checkInsert-wrong eq i x m x' d refl | .(just x') | no ¬q = refl
-lemma-just≢nothing : {A Whatever : Set} {a : A} → _≡_ {_} {Maybe A} (just a) nothing → Whatever
-lemma-just≢nothing ()
-
record checkInsertEqualProof {A : Set} {n : ℕ} (eq : EqInst A) (i : Fin n) (x : A) (m : FinMapMaybe n A) (e : Maybe (FinMapMaybe n A)) : Set where
field
same : lookupM i m ≡ just x → just m ≡ e