- expand is not quite the inverse of lookup since it doesn't recursively resolve and preserves the tree information. we're considering a new API: lookupsubjects which would do what I think you're looking for. I think the only public reference we've made to it so far is in the tiger cache proposal:
https://github.com/authzed/spicedb/issues/207