Complexity of Nonassociative Lambek Calculus with Classical and Intuitionistic Logic | Synapse