Let $X$ be a finite set. A bijective map $f: X\to X$ can be represented by a subset $A$ of $X\times X$, such that for every element $a\in X$ there is only one element $b$ so that $(a,b)\in A$, and similarly the other way around.
Now we want to generalize this, and look at subsets of multiple products of the set $X$, and considering different ways of how a subset can represent a bijective map.
The simplest new case is when we have $X^4$, and we want to get bijective maps $X^2\to X^2$. The problem to solve is to find all subsets $A\in X^4$, so that it describes bijective maps in two ways. If we denote variables as $(a,b,c,d)\in X^4$ then the subset $A$ should be such that it gives bijective maps in the directions $(a,b)\to (c,d)$ but also $(a,d)\to (c,b)$.
What is the name for such a subset and the different ways of organizing it into bijective maps? I don't really know where to look for such solutions.
The more difficult problem is when we want to go to even bigger products. A problem which came up is to look at subsets of $X^6$ and consider three ways of organizing the subset into a bijective map $X^3\to X^3$. Using variables $(a_1,a_2,a_3,b_1,b_2,b_3)$ we would want to have a bijective map in the directions $(a_1,a_2,a_3)\to (b_1,b_2,b_3)$, $(b_1,a_2,a_3)\to (a_1,b_2,b_3)$ and $(a_1,b_2,a_3)\to (b_1,a_2,b_3)$. If you wish, these are ``partial transpose'' operations, and we would want to have a bijective map in all directions.
A trivial solution is when the map $(a_1,a_2,a_3)\to (b_1,b_2,b_3)$ is the identity on $X^3$, this map satisfies also the other requirements. Are there any other solutions? Is this known, perhaps in some other disguise?
Update: If we know solution to the problem on $X^4$, then it can be used to get a trivial solution on $X^6$: the map $(a_1,a_2,a_3)\to (b_1,b_2,b_3)$ should be for example identity on the first variable, and the non-trivial bijective map on the second and third. But how to construct solutions that are not of this form?