A higher-dimensional generalization of almost perfect domains | Synapse