Nuprl Lemma : ifthenelse-simplify1
∀[b,c:𝔹]. ∀[x,y:Top]. (if b then if c then x else y fi else y fi ~ if b ∧b c then x else y fi )
Proof
Definitions occuring in Statement :
band: p ∧b q
,
ifthenelse: if b then t else f fi
,
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,
isect_memberEquality,
because_Cache,
dependent_pairFormation,
promote_hyp,
dependent_functionElimination,
instantiate,
cumulativity,
equalityTransitivity,
equalitySymmetry,
independent_functionElimination,
voidElimination
Latex:
\mforall{}[b,c:\mBbbB{}]. \mforall{}[x,y:Top]. (if b then if c then x else y fi else y fi \msim{} if b \mwedge{}\msubb{} c then x else y fi )
Date html generated:
2017_04_14-AM-07_31_55
Last ObjectModification:
2017_02_27-PM-02_59_56
Theory : bool_1
Home
Index