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

Fix compilation with Coq master due to undeclared names.

parent 8cdab430
No related branches found
No related tags found
No related merge requests found
Pipeline #33313 passed
...@@ -861,9 +861,9 @@ Proof. rewrite Qcplus_comm. apply Qp_plus_weak_2_r. Qed. ...@@ -861,9 +861,9 @@ Proof. rewrite Qcplus_comm. apply Qp_plus_weak_2_r. Qed.
Lemma Qp_max_spec (q p : Qp) : (q < p q `max` p = p) (p q q `max` p = q). Lemma Qp_max_spec (q p : Qp) : (q < p q `max` p = p) (p q q `max` p = q).
Proof. Proof.
unfold Qp_max. destruct (decide (q p)). unfold Qp_max.
- destruct (Qcle_lt_or_eq _ _ q0) as [? | ->%Qp_eq]; [left|right]; done. destruct (decide (q p)) as [[?| ->%Qp_eq]%Qcle_lt_or_eq|?]; [by auto..|].
- right. split; [|done]. by apply Qclt_le_weak, Qcnot_le_lt. right. split; [|done]. by apply Qclt_le_weak, Qcnot_le_lt.
Qed. Qed.
Lemma Qp_max_spec_le (q p : Qp) : (q p q `max` p = p) (p q q `max` p = q). Lemma Qp_max_spec_le (q p : Qp) : (q p q `max` p = p) (p q q `max` p = q).
...@@ -907,9 +907,9 @@ Proof. rewrite (comm _ q). apply Qp_max_lub_l. Qed. ...@@ -907,9 +907,9 @@ Proof. rewrite (comm _ q). apply Qp_max_lub_l. Qed.
Lemma Qp_min_spec (q p : Qp) : (q < p q `min` p = q) (p q q `min` p = p). Lemma Qp_min_spec (q p : Qp) : (q < p q `min` p = q) (p q q `min` p = p).
Proof. Proof.
unfold Qp_min. destruct (decide (q p)). unfold Qp_min.
- destruct (Qcle_lt_or_eq _ _ q0) as [?| ->%Qp_eq]; [left|right]; done. destruct (decide (q p)) as [[?| ->%Qp_eq]%Qcle_lt_or_eq|?]; [by auto..|].
- right. split; [|done]. by apply Qclt_le_weak, Qcnot_le_lt. right. split; [|done]. by apply Qclt_le_weak, Qcnot_le_lt.
Qed. Qed.
Lemma Qp_min_spec_le (q p : Qp) : (q p q `min` p = q) (p q q `min` p = p). Lemma Qp_min_spec_le (q p : Qp) : (q p q `min` p = q) (p q q `min` p = p).
......
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