weakly_congruent
weakly_congruent(a: IntTuple, b: IntTuple) -> Bool
Test if two IntTuples have similar hierarchical structures.
This function establishes a partial order relation between IntTuples based on their hierarchical structure. It's less strict than congruent.
Args:
Returns:
Bool: True if a's structure is compatible with b's structure,
False otherwise.