fixed build
This commit is contained in:
parent
312ec4435a
commit
10b27eca5d
1 changed files with 6 additions and 1 deletions
|
@ -637,13 +637,14 @@ free-lemma (⊢Y ⊢M) w∈ = free-lemma ⊢M w∈
|
||||||
M⊆ = trans-⊆ ⊆-++₁ (trans-⊆ (⊆-++₂ {free L}) ⊆xs)
|
M⊆ = trans-⊆ ⊆-++₁ (trans-⊆ (⊆-++₂ {free L}) ⊆xs)
|
||||||
N⊆ = trans-⊆ ⊆-++₂ (trans-⊆ (⊆-++₂ {free L}) ⊆xs)
|
N⊆ = trans-⊆ ⊆-++₂ (trans-⊆ (⊆-++₂ {free L}) ⊆xs)
|
||||||
⊢rename ⊢σ ⊆xs (⊢Y ⊢M) = ⊢Y (⊢rename ⊢σ ⊆xs ⊢M)
|
⊢rename ⊢σ ⊆xs (⊢Y ⊢M) = ⊢Y (⊢rename ⊢σ ⊆xs ⊢M)
|
||||||
|
-}
|
||||||
\end{code}
|
\end{code}
|
||||||
|
|
||||||
|
|
||||||
### Substitution preserves types
|
### Substitution preserves types
|
||||||
|
|
||||||
\begin{code}
|
\begin{code}
|
||||||
|
{-
|
||||||
⊢subst : ∀ {Γ Δ xs ys ρ}
|
⊢subst : ∀ {Γ Δ xs ys ρ}
|
||||||
→ (∀ {x} → x ∈ xs → free (ρ x) ⊆ ys)
|
→ (∀ {x} → x ∈ xs → free (ρ x) ⊆ ys)
|
||||||
→ (∀ {x A} → x ∈ xs → Γ ∋ x `: A → Δ ⊢ ρ x `: A)
|
→ (∀ {x A} → x ∈ xs → Γ ∋ x `: A → Δ ⊢ ρ x `: A)
|
||||||
|
@ -726,11 +727,13 @@ free-lemma (⊢Y ⊢M) w∈ = free-lemma ⊢M w∈
|
||||||
|
|
||||||
⊆xs : free N ⊆ xs
|
⊆xs : free N ⊆ xs
|
||||||
⊆xs x∈ = x∈
|
⊆xs x∈ = x∈
|
||||||
|
-}
|
||||||
\end{code}
|
\end{code}
|
||||||
|
|
||||||
### Preservation
|
### Preservation
|
||||||
|
|
||||||
\begin{code}
|
\begin{code}
|
||||||
|
{-
|
||||||
preservation : ∀ {Γ M N A}
|
preservation : ∀ {Γ M N A}
|
||||||
→ Γ ⊢ M `: A
|
→ Γ ⊢ M `: A
|
||||||
→ M ⟶ N
|
→ M ⟶ N
|
||||||
|
@ -751,11 +754,13 @@ preservation (⊢if0 ⊢zero ⊢M ⊢N) β-if0-zero = ⊢M
|
||||||
preservation (⊢if0 (⊢suc ⊢V) ⊢M ⊢N) (β-if0-suc _) = ⊢N
|
preservation (⊢if0 (⊢suc ⊢V) ⊢M ⊢N) (β-if0-suc _) = ⊢N
|
||||||
preservation (⊢Y ⊢M) (ξ-Y M⟶) = ⊢Y (preservation ⊢M M⟶)
|
preservation (⊢Y ⊢M) (ξ-Y M⟶) = ⊢Y (preservation ⊢M M⟶)
|
||||||
preservation (⊢Y (⊢λ ⊢N)) (β-Y _ refl) = ⊢substitution ⊢N (⊢Y (⊢λ ⊢N))
|
preservation (⊢Y (⊢λ ⊢N)) (β-Y _ refl) = ⊢substitution ⊢N (⊢Y (⊢λ ⊢N))
|
||||||
|
-}
|
||||||
\end{code}
|
\end{code}
|
||||||
|
|
||||||
## Normalise
|
## Normalise
|
||||||
|
|
||||||
\begin{code}
|
\begin{code}
|
||||||
|
{-
|
||||||
data Normalise {M A} (⊢M : ε ⊢ M `: A) : Set where
|
data Normalise {M A} (⊢M : ε ⊢ M `: A) : Set where
|
||||||
out-of-gas : ∀ {N} → M ⟶* N → ε ⊢ N `: A → Normalise ⊢M
|
out-of-gas : ∀ {N} → M ⟶* N → ε ⊢ N `: A → Normalise ⊢M
|
||||||
normal : ∀ {V} → ℕ → Canonical V A → M ⟶* V → Normalise ⊢M
|
normal : ∀ {V} → ℕ → Canonical V A → M ⟶* V → Normalise ⊢M
|
||||||
|
|
Loading…
Add table
Reference in a new issue