[英]How do you do equational reasoning for user defined equational relations with agda-stdlib?
该工具包在Relation.Binary.Reasoning.Setoid
中定义。
您只需要定义一个证明S
,证明您的关系定义了一个Setoid
,然后您可以open import Relation.Binary.Reasoning.Setoid S
来获取等式推理组合器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.