Nuprl Lemma : filter-map

[f,Q,L:Top].  (filter(Q;map(f;L)) map(f;filter(Q f;L)))


Proof




Definitions occuring in Statement :  filter: filter(P;l) map: map(f;as) compose: g uall: [x:A]. B[x] top: Top sqequal: t
Definitions unfolded in proof :  filter: filter(P;l) map: map(f;as) compose: g reduce: reduce(f;k;as) uall: [x:A]. B[x] member: t ∈ T all: x:A. B[x] list_ind: list_ind nat: implies:  Q false: False ge: i ≥  uimplies: supposing a satisfiable_int_formula: satisfiable_int_formula(fmla) exists: x:A. B[x] not: ¬A top: Top and: P ∧ Q prop: ifthenelse: if then else fi  cons: [a b] nil: [] it: fun_exp: f^n primrec: primrec(n;b;c) so_lambda: λ2x.t[x] so_apply: x[s] decidable: Dec(P) or: P ∨ Q nat_plus: + so_lambda: so_lambda(x,y,z,w.t[x; y; z; w]) so_apply: x[s1;s2;s3;s4] strict4: strict4(F) has-value: (a)↓ guard: {T} squash: T subtype_rel: A ⊆B so_lambda: λ2y.t[x; y] so_apply: x[s1;s2]
Lemmas referenced :  lifting-strict-ifthenelse strictness-ispair strictness-isaxiom strictness-spread has-value-implies-dec-isaxiom-2 top_wf has-value-implies-dec-ispair-2 lifting-strict-ispair int_subtype_base cbv_sqle is-exception_wf has-value_wf_base lifting-strict-callbyvalue fun_exp_unroll_1 int_term_value_subtract_lemma int_formula_prop_not_lemma itermSubtract_wf intformnot_wf subtract_wf decidable__le bottom-sqle strictness-callbyvalue strictness-apply base_wf less_than_wf ge_wf int_formula_prop_wf int_formula_prop_less_lemma int_term_value_var_lemma int_term_value_constant_lemma int_formula_prop_le_lemma int_formula_prop_and_lemma intformless_wf itermVar_wf itermConstant_wf intformle_wf intformand_wf satisfiable-full-omega-tt nat_properties
Rules used in proof :  sqequalSubstitution sqequalRule sqequalReflexivity sqequalTransitivity computationStep isect_memberFormation introduction cut thin sqequalSqle lambdaFormation fixpointLeast lemma_by_obid sqequalHypSubstitution isectElimination hypothesisEquality hypothesis setElimination rename intWeakElimination natural_numberEquality independent_isectElimination dependent_pairFormation lambdaEquality int_eqEquality intEquality dependent_functionElimination isect_memberEquality voidElimination voidEquality independent_pairFormation computeAll independent_functionElimination axiomSqleEquality unionElimination dependent_set_memberEquality baseClosed callbyvalueCallbyvalue callbyvalueReduce baseApply closedConclusion callbyvalueExceptionCases inrFormation imageMemberEquality imageElimination exceptionSqequal inlFormation because_Cache applyEquality callbyvalueIsaxiom divergentSqle sqleReflexivity sqequalAxiom sqleRule

Latex:
\mforall{}[f,Q,L:Top].    (filter(Q;map(f;L))  \msim{}  map(f;filter(Q  o  f;L)))



Date html generated: 2016_05_14-AM-07_40_23
Last ObjectModification: 2016_01_15-AM-08_44_25

Theory : list_1


Home Index