Created
May 13, 2020 07:54
-
-
Save pnlph/20ddfecf0b4e7efada0f39e59929ef8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module 4648̣ where | |
open import Agda.Builtin.List using (List ; _∷_) | |
a∷as:ListA : ∀ {A : Set} → ∀ {a : A} → ∀ {as : List A} → List A | |
a∷as:ListA {X} {x} {xs} = x ∷ xs | |
variable | |
I : Set | |
postulate | |
σ : I | |
Γ : List I | |
σ∷Γ:ListI : List I | |
σ∷Γ:ListI = σ ∷ Γ | |
variable | |
τ : I | |
Δ : List I | |
-- fails: Generalizable variable σ is not supported here | |
τ∷Δ:ListI₁ : List I | |
τ∷Δ:ListI₁ = τ ∷ Δ | |
-- fails: Generalizable variable σ is not supported here | |
τ∷Δ:ListI₂ : List I | |
τ∷Δ:ListI₂ = a∷as:ListA {I} {τ} {Δ} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment