Skip to content
Snippets Groups Projects
Commit 3c00f057 authored by Björn Brandenburg's avatar Björn Brandenburg
Browse files

fix injection warnings in single-cost sustainability reduction

parent 030af432
No related branches found
No related tags found
1 merge request!98Fix various compilation warnings
Pipeline #28404 passed with warnings
...@@ -215,7 +215,7 @@ Module SustainabilitySingleCostProperties. ...@@ -215,7 +215,7 @@ Module SustainabilitySingleCostProperties.
} }
destruct (sched_susp t) eqn:SCHEDs; last by case: SCHED => SAME; subst. destruct (sched_susp t) eqn:SCHEDs; last by case: SCHED => SAME; subst.
move: SCHEDs => /eqP SCHEDs; apply FROM in SCHEDs. move: SCHEDs => /eqP SCHEDs; apply FROM in SCHEDs.
case: SCHED; case: ifP; first by move => /andP [PEND _]; case => <-. case: ifP SCHED; first by move => /andP [PEND _]; case => <-.
by move => NOTPEND; case => <-. by move => NOTPEND; case => <-.
Qed. Qed.
...@@ -236,7 +236,7 @@ Module SustainabilitySingleCostProperties. ...@@ -236,7 +236,7 @@ Module SustainabilitySingleCostProperties.
by eapply in_arrivals_implies_arrived_before in IN; eauto. by eapply in_arrivals_implies_arrived_before in IN; eauto.
} }
destruct (sched_susp t) eqn:SCHEDs; last by case: SCHED => SAME; subst. destruct (sched_susp t) eqn:SCHEDs; last by case: SCHED => SAME; subst.
case: SCHED; case: ifP; case: ifP SCHED;
first by move => /andP [PEND _]; case => <-; apply MUST; apply/eqP. first by move => /andP [PEND _]; case => <-; apply MUST; apply/eqP.
by move => NOTPEND; case => <-. by move => NOTPEND; case => <-.
Qed. Qed.
...@@ -364,7 +364,7 @@ Module SustainabilitySingleCostProperties. ...@@ -364,7 +364,7 @@ Module SustainabilitySingleCostProperties.
} }
destruct (sched_susp t) eqn:SCHEDs; destruct (sched_susp t) eqn:SCHEDs;
last by case: SCHED => SAME; subst; rewrite SUSP in NOTSUSP. last by case: SCHED => SAME; subst; rewrite SUSP in NOTSUSP.
case: SCHED; case: ifP; last by move => _; case => SAME; subst; rewrite SUSP in NOTSUSP. case: ifP SCHED; last by move => _; case => SAME; subst; rewrite SUSP in NOTSUSP.
move: SCHEDs; move => /eqP SCHEDs /andP [/andP [PEND NOTSUSPs] _]; case => SAME; subst. move: SCHEDs; move => /eqP SCHEDs /andP [/andP [PEND NOTSUSPs] _]; case => SAME; subst.
by rewrite -/suspended SUSP in NOTSUSPs. by rewrite -/suspended SUSP in NOTSUSPs.
Qed. Qed.
...@@ -731,4 +731,4 @@ Module SustainabilitySingleCostProperties. ...@@ -731,4 +731,4 @@ Module SustainabilitySingleCostProperties.
End ReductionProperties. End ReductionProperties.
End SustainabilitySingleCostProperties. End SustainabilitySingleCostProperties.
\ No newline at end of file
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