add singleton_insert_empty
2 unresolved threads
2 unresolved threads
This is just an unfolding, but with all the typeclasses that is impossible to find out and also not actually useful when applying lemmas.
Merge request reports
Activity
598 598 Qed. 599 599 600 600 (** ** Properties of the singleton maps *) 601 Lemma singleton_insert_empty {A} i x : 602 ({[i := x]} : M A) = <[ i := x ]> ∅. changed this line in version 2 of the diff
insert_empty : ∀ (K : Type) (M : Type → Type) (H1 : ∀ A : Type, Empty (M A)) (H2 : ∀ A : Type, PartialAlter K A (M A)) (A : Type) (i : K) (x : A), <[i:=x]> (∅ : M A) = {[i := x]}
It doesn't depend either on singleton nor on insert...
I'd have to
Search Empty PartialAlter
. That's kind of ridiculous.^^(To be clear, I don't know how to design a discoverable TC-based API in Coq. But the status quo is bad.)
Edited by Ralf Jung
Please register or sign in to reply