[英]Where is _≡⟨_⟩_ Agda standard lib?
我在 plfa 中閱讀了這樣一段代碼。
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; cong; sym)
open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _≡⟨_⟩_; _∎)
但_≡⟨_⟩_
不在 PropositionalEquality 中
The module Eq.≡-Reasoning doesn't export the following: _≡⟨_⟩_
when scope checking the declaration
open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _≡⟨_⟩_; _∎)
我只在Function.Related
和Relation.Binary.HeterogeneousEquality
中找到它。 怎么了?
_≡⟨_⟩_
是step-≡
的語法符號,您可以在Relation.Binary.PropositionalEquality.Core
中看到。
所以如果你想控制你正在導入的內容,你需要參考step-≡
代替。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.