我已经试过证明乐趣bubble_main是有序的,但没有办法似乎工作。请问这里有人能帮我证明引理is_ordered (bubble_main L)。 我刚刚删除了我以前的所有引理,因为似乎没有任何帮助Isabelle找到一个证明。 这里是我的代码/理论:所有的 text{*check if the list is ordered ascendant*}
fun is_sorted :: "na
限定记录时 考虑下面的代码: module UnresolvedMeta where
record Test (M : Set) : Set1 where
field
_≈_ : M -> M -> Set
_⊕_ : M -> M -> M
assoc⊕ : ∀ {r s t} -> ((r ⊕ s) ⊕ t) ≈ (r ⊕ (s ⊕ t
的背景是由按键有序的有限地图的数据类型,如本previous question提到: open import Function
open import Relation.Binary renaming (IsEquivalence to IsEq)
open import Relation.Binary.PropositionalEquality as P using (_≡_)
modu