Nuprl Lemma : ifthenelse-as-band
∀[b:𝔹]. ∀[x:Top].  (if b then x else ff fi  ~ b ∧b x)
Proof
Definitions occuring in Statement : 
band: p ∧b q, 
ifthenelse: if b then t else f fi , 
bfalse: ff, 
bool: 𝔹, 
uall: ∀[x:A]. B[x], 
top: Top, 
sqequal: s ~ t
Definitions unfolded in proof : 
uall: ∀[x:A]. B[x], 
member: t ∈ T, 
all: ∀x:A. B[x], 
implies: P ⇒ Q, 
bool: 𝔹, 
unit: Unit, 
it: ⋅, 
btrue: tt, 
uiff: uiff(P;Q), 
and: P ∧ Q, 
uimplies: b supposing a, 
ifthenelse: if b then t else f fi , 
band: p ∧b q, 
bfalse: ff, 
exists: ∃x:A. B[x], 
prop: ℙ, 
or: P ∨ Q, 
sq_type: SQType(T), 
guard: {T}, 
bnot: ¬bb, 
assert: ↑b, 
false: False
Lemmas referenced : 
bool_wf, 
eqtt_to_assert, 
top_wf, 
eqff_to_assert, 
equal_wf, 
bool_cases_sqequal, 
subtype_base_sq, 
bool_subtype_base, 
assert-bnot
Rules used in proof : 
sqequalSubstitution, 
sqequalTransitivity, 
computationStep, 
sqequalReflexivity, 
isect_memberFormation, 
introduction, 
cut, 
hypothesisEquality, 
thin, 
extract_by_obid, 
hypothesis, 
lambdaFormation, 
sqequalHypSubstitution, 
unionElimination, 
equalityElimination, 
isectElimination, 
productElimination, 
independent_isectElimination, 
sqequalRule, 
sqequalAxiom, 
dependent_pairFormation, 
promote_hyp, 
dependent_functionElimination, 
instantiate, 
cumulativity, 
equalityTransitivity, 
equalitySymmetry, 
independent_functionElimination, 
because_Cache, 
voidElimination, 
isect_memberEquality
Latex:
\mforall{}[b:\mBbbB{}].  \mforall{}[x:Top].    (if  b  then  x  else  ff  fi    \msim{}  b  \mwedge{}\msubb{}  x)
Date html generated:
2018_05_21-PM-00_03_50
Last ObjectModification:
2018_01_28-PM-02_28_09
Theory : bool_1
Home
Index