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

Merge branch 'irrel-unit' into 'master'

Add `ProofIrrel ()`

See merge request iris/stdpp!146
parents e017f040 47755ced
No related branches found
No related tags found
1 merge request!146Add `ProofIrrel ()`
Pipeline #26729 passed
......@@ -8,6 +8,8 @@ Instance True_pi: ProofIrrel True.
Proof. intros [] []; reflexivity. Qed.
Instance False_pi: ProofIrrel False.
Proof. intros []. Qed.
Instance unit_pi: ProofIrrel ().
Proof. intros [] []; reflexivity. Qed.
Instance and_pi (A B : Prop) :
ProofIrrel A ProofIrrel B ProofIrrel (A B).
Proof. intros ?? [??] [??]. f_equal; trivial. Qed.
......
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