summaryrefslogtreecommitdiff
path: root/FinMap.agda
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2012-04-04 14:08:46 +0200
committerHelmut Grohne <helmut@subdivi.de>2012-04-04 14:08:46 +0200
commitf429f2e2027fc75e3d40f4be43322fa02bb3ab8c (patch)
treebccb33326b8ca3d43cf669a6254cdc3acc0139a1 /FinMap.agda
parent2759f0dd1c48bc2976ce5be55ee10c9f0660da6d (diff)
downloadbidiragda-f429f2e2027fc75e3d40f4be43322fa02bb3ab8c.tar.gz
abstract proofs over checkInsert
All proofs about expressions containing checkInsert share a common pattern. There are three cases: 1) Inserting a key-value-pair that is already present in the map. 2) Inserting a new key into the map. 3) Failure to insert a conflicting key-value pair in the map. The checkInsertProof record enables to write three different cases reducing the usage of "with" (and thus line length) in lemma-checkInsert-restrict and lemma-lookupM-assoc.
Diffstat (limited to 'FinMap.agda')
0 files changed, 0 insertions, 0 deletions