pub fn solutions(tree: &Tree) -> HashSet<Vec<Literal<IRTerm>>>