You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the definition of is_groupoid_n is the following:
/// Defines an n-groupoid relation from `x` to `a` and `b`.pubfnis_groupoid_n(n:u32,x:u64,a:u64,b:u64) -> u64{let cond = and(imply(a, x),imply(b, x));letmut a = a;letmut b = b;for _ in0..n {
a = qubit(a);
b = qubit(b);}imply(cond,imply(eq(a, b),eq(qubit(a),qubit(b))))}
Currently, the definition of
is_groupoid_n
is the following:https://github.com/advancedresearch/pocket_prover/blob/master/src/lib.rs#L659-L669
This lifts equality of qubits at the last level in general.
It is sufficient to prove homotopy equivalence, e.g.:
However, a more strict definition is also possible that is limited to homotopy equivalence:
The text was updated successfully, but these errors were encountered: