# Construct a new relation from several relations

Let $f_0,\dots,f_{n-1}$ are relations, where $f_i$ is a relation of arity $m_i$ for every $i=0,\dots,n-1$.

How to construct an $(m_0+\dots+m_{n-1})$-ary relation from them?

For my previous erroneous attempt to do this see here: Name for product of relations

-

If all on same set, can define new relation as holding if all the component relations hold, or if at least one holds, or any other desired Boolean combination. – André Nicolas Jun 9 '12 at 15:09
So, you want to combine several sets of n-tuples into a single set? There is, of course, no standard way to do this. Do you have an application in mind? – Dan Christensen Jun 15 '12 at 15:24

## 1 Answer

Oh, I found:

$$\left\{ \operatorname{uncurry}z \hspace{0.5em} | \hspace{0.5em} z \in \prod f \right\}$$

where uncurrying is defined in Wikipedia: http://en.wikipedia.org/wiki/Currying by the formula $\operatorname{uncurry}(f)(x;y)=(fx)y$.

-

This would not seem to be the answer to your question. This is "a technique of transforming a function that takes multiple arguments (or an n-tuple of arguments) in such a way that it can be called as a chain of functions each with a single argument." – Dan Christensen Jun 15 '12 at 15:41
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 6, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9108100533485413, "perplexity_flag": "middle"}