summaryrefslogtreecommitdiff
path: root/Bidir.agda
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2012-01-31 18:26:32 +0100
committerHelmut Grohne <helmut@subdivi.de>2012-01-31 18:26:32 +0100
commitc62e107155b8fea28dbf1637f9187e4f24f75173 (patch)
tree3a3fdeb56fed604aca4b12a305cf21b5889173a1 /Bidir.agda
parent3b01996ba5cc0037f1375d6784c33b3bbd2b7589 (diff)
downloadbidiragda-c62e107155b8fea28dbf1637f9187e4f24f75173.tar.gz
postulate free theorem for List a -> List a
Diffstat (limited to 'Bidir.agda')
-rw-r--r--Bidir.agda3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bidir.agda b/Bidir.agda
index 6bb6608..81f00dd 100644
--- a/Bidir.agda
+++ b/Bidir.agda
@@ -103,5 +103,8 @@ bff get eq s v = let s′ = idrange (length s)
h′ = fmap (flip union g) h
in fmap (flip map s′ ∘ flip lookup) h′
+postulate
+ free-theorem-list-list : {β γ : Set} → (get : {α : Set} → List α → List α) → (f : β → γ) → (l : List β) → get (map f l) ≡ map f (get l)
+
theorem-1 : (get : {α : Set} → List α → List α) → {τ : Set} → (eq : EqInst τ) → (s : List τ) → bff get eq s (get s) ≡ just s
theorem-1 get eq s = {!!}