Nuprl Lemma : filter-cons
∀[P,x,L:Top].  (filter(P;[x / L]) ~ if P x then [x / filter(P;L)] else filter(P;L) fi )
Proof
Definitions occuring in Statement : 
filter: filter(P;l)
, 
cons: [a / b]
, 
ifthenelse: if b then t else f fi 
, 
uall: ∀[x:A]. B[x]
, 
top: Top
, 
apply: f a
, 
sqequal: s ~ t
Definitions unfolded in proof : 
all: ∀x:A. B[x]
, 
member: t ∈ T
, 
top: Top
, 
uall: ∀[x:A]. B[x]
Lemmas referenced : 
filter_cons_lemma, 
top_wf
Rules used in proof : 
sqequalSubstitution, 
sqequalRule, 
sqequalReflexivity, 
cut, 
lemma_by_obid, 
sqequalHypSubstitution, 
sqequalTransitivity, 
computationStep, 
dependent_functionElimination, 
thin, 
isect_memberEquality, 
voidElimination, 
voidEquality, 
hypothesis, 
isect_memberFormation, 
introduction, 
sqequalAxiom, 
isectElimination, 
hypothesisEquality, 
because_Cache
Latex:
\mforall{}[P,x,L:Top].    (filter(P;[x  /  L])  \msim{}  if  P  x  then  [x  /  filter(P;L)]  else  filter(P;L)  fi  )
Date html generated:
2016_05_14-AM-06_49_09
Last ObjectModification:
2015_12_26-PM-00_23_54
Theory : list_0
Home
Index