summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2012-04-27 20:53:05 +0200
committerHelmut Grohne <helmut@subdivi.de>2012-04-27 20:53:05 +0200
commitddb751df76c004d788ed09c3ed54c562c99afb7b (patch)
tree8f99c34cd4f2ad3d8ffc8f64291e5018ac4968a8
parentcab5a60cefea9ca03dbdde0a4a33cec20aaeabf6 (diff)
downloadbidiragda-ddb751df76c004d788ed09c3ed54c562c99afb7b.tar.gz
lemma-2: do not confuse lookup with lookupM
Even though they are the same.
-rw-r--r--Bidir.agda2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bidir.agda b/Bidir.agda
index f481eea..495fb99 100644
--- a/Bidir.agda
+++ b/Bidir.agda
@@ -232,7 +232,7 @@ lemma-2 eq (i ∷ is) (x ∷ xs) h p | just h' | Reveal_is_.[_] ir = begin
map (flip lookupM h) (i ∷ is)
≡⟨ refl ⟩
lookupM i h ∷ map (flip lookupM h) is
- ≡⟨ cong (flip _∷_ (map (flip lookup h) is)) (lemma-lookupM-assoc eq i is x xs h (begin
+ ≡⟨ cong (flip _∷_ (map (flip lookupM h) is)) (lemma-lookupM-assoc eq i is x xs h (begin
assoc eq (i ∷ is) (x ∷ xs)
≡⟨ cong (flip _>>=_ (checkInsert eq i x)) ir ⟩
checkInsert eq i x h'