Need to extend the notion of semwt to cover arbitrarily scoped terms
This commit is contained in:
parent
fecac84977
commit
286ceeed39
1 changed files with 16 additions and 4 deletions
|
@ -800,10 +800,22 @@ Lemma SE_Bind n Γ i j p (A0 A1 : PTm n) B0 B1 :
|
||||||
Proof.
|
Proof.
|
||||||
move => hA hB.
|
move => hA hB.
|
||||||
apply SemEq_SemWt in hA, hB.
|
apply SemEq_SemWt in hA, hB.
|
||||||
apply SemWt_SemEq.
|
apply SemWt_SemEq; last by hauto l:on use:DJoin.BindCong.
|
||||||
hauto l:on use:ST_Bind.
|
hauto l:on use:ST_Bind.
|
||||||
apply ST_Bind; last by hauto l:on use:DJoin.BindCong. tauto.
|
(* rewrite SemWt_Univ. *)
|
||||||
|
(* move => ρ hρ /=. *)
|
||||||
|
|
||||||
|
|
||||||
|
apply ST_Bind; first by tauto.
|
||||||
move => ρ hρ.
|
move => ρ hρ.
|
||||||
suff : ρ_ok (funcomp (ren_PTm shift) (scons A0 Γ)) ρ by hauto l:on.
|
suff : ρ_ok (funcomp (ren_PTm shift) (scons A0 Γ)) ρ by hauto l:on.
|
||||||
|
rewrite /ρ_ok in hρ *.
|
||||||
hauto l:on use:DJoin.BindCong.
|
move => j0 k PA.
|
||||||
|
destruct j0 as [j0|].
|
||||||
|
asimpl.
|
||||||
|
move /(_ (Some j0) k PA) : hρ. by asimpl.
|
||||||
|
asimpl.
|
||||||
|
move /(_ None k PA) : (hρ). asimpl.
|
||||||
|
have /SemWt_Univ h : Γ ⊨ A1 ∈ PUniv i by tauto.
|
||||||
|
have /h := hρ.
|
||||||
|
suff : DJoin.R (subst_PTm (funcomp ρ shift) A1) (subst_PTm (funcomp ρ shift) A0) by best use:InterpUniv_Join.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue