Let $X$ be a topological space. Then we can construct the following structure. Let an $n$-morphism be a map $I^n\to X$. We can view $n+1$ morphisms exactly as homotopies between $n$-morphisms.
Let $f,g$ and $h$ be $n$-morphisms and $H$ and $G$ be homotopies from $f$ to $g$ and from $g$ to $h$ respectively. Then we define $G\circ_{n+1}H$ to be the homotopy from $f$ to $h$ defined by
$$G\circ_{n+1}H(x_1,\dots,x_n,x)= \begin{cases} H(x_1\dots,x_n,2x)\;\;\;\;\;\,\text{ if $x\in\left[0,\frac{1}{2}\right]$}\\ G(x_1\dots,x_n,2x-1)\text{ if $x\in\left[\frac{1}{2},1\right]$} \end{cases}$$
It is easy to see that $\circ_n$ is associative and for every $n$-morphism f, there is the trivial homotopy with itself $\text{id}_f$. So we see that for every $n\geq0$, we have a category with objects as $n$-morphisms and arrows as $n+1$-morphisms.
Then we can define the map $\bar{H}\colon I^{n+1}\to X$ as $\bar{H}(x_1\dots,x_n,x)=H(x_1\dots,x_n,1-x)$. Then $\bar{H}$ is a homotopy from $g$ to $f$. Then composite $\bar H\circ_{n+1}H$ homotopy fromm $f$ to itself is defined by
$$\bar H\circ_{n+1}H(x_1,\dots,x_n,x)= \begin{cases} H(x_1\dots,x_n,2x)\;\;\;\;\;\,\text{ if $x\in\left[0,\frac{1}{2}\right]$}\\ H(x_1\dots,x_n,2-2x)\text{ if $x\in\left[\frac{1}{2},1\right]$} \end{cases}$$ Define $\alpha$ to be the homotopy ($n+2$-morphism) from $\text{id}_f$ to $\bar H\circ_{n+1}H$ defined by
$$ \alpha(x_1,\dots,x_n,x,t)= \begin{cases} H(x_1,\dots,x_n,2tx)\;\;\;\;\;\;\;\;\;\,\text{if $x\in\left[0,\frac{1}{2}\right]$}\\ H(x_1,\dots,x_n,2t(1-x))\;\text{if $x\in\left[\frac{1}{2},1\right]$} \end{cases} $$ So we see that for every $n+1$-morphism, there is 'weak' inverse. So This is in some sense, a weak $\infty$-groupoid.
Now, we choose a point $x_0$. This is a $0$-morphism. So, we can look at $\text{Hom}(x_0,x_0)$ (set of $1$-morphisms from $x_0$ to $x_0$). Now, we can formally turn all the higher weak equivalences into equalities (by quotienting by this hom-set by the appropriate relation). Then, the group left over is nothing but $\pi_1(X,x_0)$.
My questions then are
- We can perform an equivalent process at higher levels. That is, choose an $n$-morphism and turn all the $n+2$-morphisms into strong equivalences. Then we have the group $\text{Hom}_{n+1}(f,f)$ ($n+1$ automorphisms of $f$ identified upto equivalence). Are these groups classically interesting? Do they have good properties (under homotopy equivalnce, for example)?
- Can we describe higher homotopy groups in terms of this weak $\infty$-groupoid?
From your definition, it's really not clear what groups you're referring to. That's because your weak groupoid is cubical, in that an $n$-morphism is shaped like an $n$-dimensional hypercube. In particular, it has $n$ $(n-1)$-dimensional domains and $n$ codomains, corresponding to the $2n$ top-dimensional faces of the hypercube.
So, when you claim to reconstruct $\pi_1(X,x)$, what exactly is the relation you're putting on $Hom(x,x)$? You say you're making all higher morphisms into equalities, which suggests to me the relation $f\sim g$ if there exists a 2-morphism with $f$ and $g$ as two opposing faces. This is the relation that $f$ and $g$ are homotopic without endpoints fixed. The resulting quotient admits no natural group structure-it's the conjugacy classes in $\pi_1(X,x)$.
The relation that will produce groups is: $f\sim g$ if there exists a 2-morphism with $f$ and $g$ as two opposing faces and in which the other two faces are degenerate. That is, the relation is precisely that there exists a homotopy between $f$ and $g$ with endpoints fixed, which is precisely the defining relation for $\pi_1(X,x)$.
In higher dimensions, the appropriate relation is analogous: two $n$-morphisms $f,g$ with boundaries degenerate at $x$ are equivalent if they form opposite faces of an $n+1$-morphism in which all other faces are degenerate. Again, this is precisely the definition of $\pi_n(X,x)$.
What about automorphism groups of morphisms? For instance, given a 1-morphism $f:x\to y$, we have a group of all 2-morphisms $H$ whose boundary paths are $f,x,f,$ and $y$, where $x$ and $y$ stand for their constant paths, taken up to 3-morphisms with $H$ and $K$ as two faces and $x,f,y,$ and $f$ as the other four. This is nothing more or less than $\pi_1(P(x,y),f)$, where $P(x,y)$ denotes the space of paths in $X$ between $x$ and $y$. This may look like an unfamiliar space, but composing with $f^{-1}$ gives a homotopy equivalence with $\Omega(X,x)$, the space of loops based at $x$, which is well known to have $\pi_2 X$ for its fundamental groups.
There are still more groups to be found in your groupoid! For instance, given a loop $\gamma$ in $X$, an appropriate relation on certain 2-morphisms will reproduce $\pi_1(LX,\gamma)$, which is hard to express precisely in terms of $X$ if $\gamma$ isn't contractible. In fact, you can do quite a lot more: your groupoid contains enough information to reconstruct $X$ up to homotopy equivalence (assuming it's of the homotopy type of a CW complex) so that in principle it contains every homotopy meaningful group that can be constructed out of $X$.
However, there are some strict limits on discovering new such groups as you wanted to. By Heller's representability theorem, any functor on based spaces into groups which respects homotopies, products, and relative path spaces must be induced by homotopy classes of maps out of some space. That's why we shouldn't be surprised to find a homotopy group of a space related to $X$ above-it's almost impossible to do anything else.