File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 {-|
4848 Corresponds to ⟦_⟧ on artifacts, options, and choices from the dissertation of Paul Bittner.
4949 -}
50- configure :
51- ∀ {A} → Configuration → UnrootedVT A → Forest A
50+ configure : ∀ {A} → Configuration → UnrootedVT A → Forest A
5251 configure c (a -< cs >-) = a -< configure-all c cs >- ∷ []
5352 configure c (if[ p ]then[ t ]) =
5453 if (eval p c)
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ elim-sem P l r c = if eval P c then ⟦ l ⟧ c else ⟦ r ⟧ c
7777 ≡⟨ if-congˡ (eval P c) (↓-presʳ Q l r c) ⟩
7878 (if eval P c then ⟦ ↓ Q ⟨ l , r ⟩ ⟧ c else ⟦ r ⟧ c)
7979 ≡⟨⟩
80- elim-sem P ↓ Q ⟨ l , r ⟩ r c
80+ elim-sem P ( ↓ Q ⟨ l , r ⟩) r c
8181 ≡⟨ ↓-presʳ P (↓ Q ⟨ l , r ⟩) r c ⟩
8282 ⟦ ↓ P ⟨ ↓ Q ⟨ l , r ⟩ , r ⟩ ⟧ c
8383 ∎
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ fnoci-invariant x xs n (suc m) (suc i) c (s≤s i≤m)
9292
9393module Preservation (A : 𝔸) where
9494 translate'-preserves-conf : ∀ (x : Forest A) (xs : List (Forest A)) (n : ℕ) (i : ℕ) →
95- configure-all (conf (i + n)) (translate' n x xs ) ≡ VariantList.⟦ x ∷ xs ⟧ i
95+ configure-all (conf (i + n)) (translate' n x xs) ≡ VariantList.⟦ x ∷ xs ⟧ i
9696 translate'-preserves-conf x [] n i =
9797 begin
9898 configure-all (conf (i + n)) (encode-forest x)
@@ -187,4 +187,4 @@ VT≽VariantList : VTL ≽ VariantListL
187187VT≽VariantList = expressiveness-from-compiler VariantList→VT
188188
189189VT-is-complete : Complete VTL
190- VT-is-complete = completeness-by-expressiveness ( VariantList-is-Complete) VT≽VariantList
190+ VT-is-complete = completeness-by-expressiveness VariantList-is-Complete VT≽VariantList
You can’t perform that action at this time.
0 commit comments