Prove that the 'join' transformation is monotonic

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2024-03-09 23:06:47 -08:00
parent 1b1b80465c
commit f84a1c923c
4 changed files with 78 additions and 15 deletions

View File

@@ -91,3 +91,15 @@ record Program : Set where
_≟_ : IsDecidable (_≡_ {_} {State})
_≟_ = _≟ᶠ_
-- Computations for incoming and outgoing edged will have to change too
-- when we support branching etc.
incoming : State List State
incoming
with length
... | 0 = (λ ())
... | suc n' = (λ
{ zero []
; (suc f') (inject₁ f') []
})