Q7 1 Point Which of the following lambda expressions is alpha-equivalent to Aa.b (Ab.a(bc))? Ax.g (Ay.x (yf)) Aw.b (Az.w(bc)) Am.b (An.m (nc)) Ap.q(Aq.p (qc)) Save Answer Q8 1 Point Which of the following is a result of applying exactly one beta-reduction to (Ax.ày.yx) (Az.zz)y? (Ay.yx) y y(Az.zz) (Ay.y (Az.zz))y (Ax.Ay.yx) yy (Ax.Ay.yx) (Az.zz) y Save Answer Q5 1 Point Which of the following lambda expressions will result in infinite recursion when attempting to beta reduce? (xx.x)(λy.y) λf.f(ff) (Ay.yy)(xx.xxx) (xx.x)(λx.xx) Save Answer Q6 1 Point Which of the following is a valid alpha-conversion of ax. (Ay.xyz)? Ay. (Ax.xyz) Aa. (Ab.abc) Ay. (Ab.ybz) Ax. (Ax.xxz) Save Answer
Q7 1 Point Which of the following lambda expressions is alpha-equivalent to Aa.b (Ab.a(bc))? Ax.g (Ay.x (yf)) Aw.b (Az.w(bc)) Am.b (An.m (nc)) Ap.q(Aq.p (qc)) Save Answer Q8 1 Point Which of the following is a result of applying exactly one beta-reduction to (Ax.ày.yx) (Az.zz)y? (Ay.yx) y y(Az.zz) (Ay.y (Az.zz))y (Ax.Ay.yx) yy (Ax.Ay.yx) (Az.zz) y Save Answer Q5 1 Point Which of the following lambda expressions will result in infinite recursion when attempting to beta reduce? (xx.x)(λy.y) λf.f(ff) (Ay.yy)(xx.xxx) (xx.x)(λx.xx) Save Answer Q6 1 Point Which of the following is a valid alpha-conversion of ax. (Ay.xyz)? Ay. (Ax.xyz) Aa. (Ab.abc) Ay. (Ab.ybz) Ax. (Ax.xxz) Save Answer
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 4 images