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

Simplify proof of `forall_timeless`.

parent 919c0bde
No related branches found
No related tags found
No related merge requests found
...@@ -937,11 +937,8 @@ Qed. ...@@ -937,11 +937,8 @@ Qed.
Global Instance forall_timeless {A} (Ψ : A uPred M) : Global Instance forall_timeless {A} (Ψ : A uPred M) :
( x, Timeless (Ψ x)) Timeless ( x, Ψ x). ( x, Timeless (Ψ x)) Timeless ( x, Ψ x).
Proof. Proof.
rewrite /Timeless=> HQ. rewrite later_false_excluded_middle. rewrite /Timeless=> HQ. rewrite except_0_forall later_forall.
apply or_mono; first done. apply forall_intro=> x. apply forall_mono; auto.
rewrite -(löb (Ψ x)); apply impl_intro_l.
rewrite HQ /uPred_except_0 !and_or_r. apply or_elim; last auto.
by rewrite impl_elim_r (forall_elim x).
Qed. Qed.
Global Instance exist_timeless {A} (Ψ : A uPred M) : Global Instance exist_timeless {A} (Ψ : A uPred M) :
( x, Timeless (Ψ x)) Timeless ( x, Ψ x). ( x, Timeless (Ψ x)) Timeless ( x, Ψ 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