Skip to content
Snippets Groups Projects
Commit dd04c27a authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Shorten proof of `singleton_union_difference`.

parent 7fdaea0f
No related branches found
No related tags found
No related merge requests found
Pipeline #43415 passed
......@@ -795,10 +795,7 @@ Section set.
Proof. set_solver. Qed.
Lemma singleton_union_difference X Y x :
{[x]} (X Y) ({[x]} X) (Y {[x]}).
Proof.
intro y; split; intros Hy; [ set_solver | ].
destruct (decide (y ({[x]} : C))); set_solver.
Qed.
Proof. intro y; destruct (decide (y ∈@{C} {[x]})); set_solver. Qed.
Context `{!LeibnizEquiv C}.
Lemma union_difference_L X Y : X Y Y = X Y X.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment