The geometry of nondistributive logics