Skip to content
Snippets Groups Projects
Commit dd987574 authored by Ralf Jung's avatar Ralf Jung
Browse files

get rid of 2nd into_persistent_intuitionistically instance

parent ee12aa64
No related branches found
No related tags found
2 merge requests!130rename affinely_persistently -> intuitionistically; and make it a TC-opaque definition,!66Generalized proofmode
......@@ -210,11 +210,13 @@ Global Instance into_persistent_affinely p P Q :
IntoPersistent p P Q IntoPersistent p (<affine> P) Q | 0.
Proof. rewrite /IntoPersistent /= => <-. by rewrite affinely_elim. Qed.
Global Instance into_persistent_intuitionistically p P Q :
IntoPersistent p P Q IntoPersistent p ( P) Q | 0.
Proof. rewrite /IntoPersistent /= =><-. by rewrite intuitionistically_elim. Qed.
Global Instance into_persistent_intuitionistically2 P Q :
IntoPersistent true P Q IntoPersistent false ( P) Q | 0.
Proof. rewrite /IntoPersistent /= =><-. by rewrite intuitionistically_persistently_1. Qed.
IntoPersistent true P Q IntoPersistent p ( P) Q | 0.
Proof.
rewrite /IntoPersistent /= =><-.
destruct p; simpl;
eauto using persistently_mono, intuitionistically_elim,
intuitionistically_persistently_1.
Qed.
Global Instance into_persistent_embed `{BiEmbed PROP PROP'} p P Q :
IntoPersistent p P Q IntoPersistent p P Q | 0.
Proof.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment