Commit 2783aea9 authored by Robbert Krebbers's avatar Robbert Krebbers

Assorted changes to permissions and assertions.

parent a6d17331
......@@ -684,6 +684,9 @@ Class FreshSpec A C `{ElemOf A C}
}.
(** * Miscellaneous *)
Class Half A := half: A A.
Notation "x .½" := (half x) (at level 20, format "x .½") : C_scope.
Lemma proj1_sig_inj {A} (P : A Prop) x (Px : P x) y (Py : P y) :
xPx = yPy x = y.
Proof. injection 1; trivial. Qed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment