Step * of Lemma conditional-ifthenelse

[T,V:Type]. ∀[A,B:T ⟶ 𝔹]. ∀[f:{x:T| ↑(A x)}  ⟶ V]. ∀[g:{x:T| ↑(B x)}  ⟶ V].
  ((λx.if then else fi x.(↑(A x))? g] ∈ ({x:T| (↑(A x)) ∨ (↑(B x))}  ⟶ V))
BY
Auto }

1
1. Type
2. Type
3. T ⟶ 𝔹
4. T ⟶ 𝔹
5. {x:T| ↑(A x)}  ⟶ V
6. {x:T| ↑(B x)}  ⟶ V
⊢ x.if then else fi x.(↑(A x))? g] ∈ ({x:T| (↑(A x)) ∨ (↑(B x))}  ⟶ V)


Latex:


Latex:
\mforall{}[T,V:Type].  \mforall{}[A,B:T  {}\mrightarrow{}  \mBbbB{}].  \mforall{}[f:\{x:T|  \muparrow{}(A  x)\}    {}\mrightarrow{}  V].  \mforall{}[g:\{x:T|  \muparrow{}(B  x)\}    {}\mrightarrow{}  V].
    ((\mlambda{}x.if  A  x  then  f  x  else  g  x  fi  )  =  [\mlambda{}x.(\muparrow{}(A  x))?  f  :  g])


By


Latex:
Auto




Home Index