-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Soundness and Logical Relations #136
Comments
I will first fix #135. |
I will look into realizability. subtyping is gonna be interesting. @Ailrun do you want to handle it? or do you want to swap. |
By subtyping, you mean subtyping cases? I didn't get it when you said subtyping logrel for soundness, as I expected something like |
there should be lemmas for subtyping in the logical relations too. it should quantify what happens to the logical relation when there is a subtyping in the domain. |
You mean something like the following? Lemma glu_univ_elem_typ_subtyping : forall {i a a' P P' El El' Γ A},
{{ Sub a <: a' at i }} ->
{{ DG a ∈ glu_univ_elem i ↘ P ↘ El }} ->
{{ DG a' ∈ glu_univ_elem i ↘ P' ↘ El' }} ->
P Γ A ->
exists A', {{ Γ ⊢ A ⊆ A' }} /\ P' Γ A'. (This one is not directly provable) |
It should be universal over A', but otherwise I think this should be the theorem. Not sure if there's more. |
How it can be universal in |
put |
Then what would that provide? For subtyping cases we need if |
this one will also prove the previous lemma as part of it. proving this one should also work. |
Ah in that sense. |
It seems like the subtyping lemmas require realizability. In the following lemma,
we need |
ok i see. every lemma from Agda is proved? |
@Ailrun Let's split work in this issue. List and pick stuff that you want to work on so we don't overlap.
The text was updated successfully, but these errors were encountered: