Skip to content

Commit bb5cd62

Browse files
committed
Port last files to new rewrite goals order
1 parent 191c613 commit bb5cd62

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

classical/boolp.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ From mathcomp Require internal_Eqdep_dec.
7373
(* *)
7474
(******************************************************************************)
7575

76+
Unset SsrOldRewriteGoalsOrder. (* remove the line when requiring MathComp >= 2.6 *)
7677
Set Implicit Arguments.
7778
Unset Strict Implicit.
7879
Unset Printing Implicit Defensive.

reals/reals.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ From mathcomp Require Import mathcomp_extra boolp classical_sets set_interval.
5252
Declare Scope real_scope.
5353

5454
(* -------------------------------------------------------------------- *)
55-
Set SsrOldRewriteGoalsOrder. (* change Set to Unset when porting the file, then remove the line when requiring MathComp >= 2.6 *)
55+
Unset SsrOldRewriteGoalsOrder. (* remove the line when requiring MathComp >= 2.6 *)
5656
Set Implicit Arguments.
5757
Unset Strict Implicit.
5858
Unset Printing Implicit Defensive.
@@ -349,7 +349,7 @@ Lemma inf_sumE (A B : set R) :
349349
Proof.
350350
move/has_inf_supN => ? /has_inf_supN ?; rewrite /inf.
351351
rewrite [X in - sup X = _](_ : _ =
352-
[set x + y | x in [set - x | x in A ] & y in [set - x | x in B]]).
352+
[set x + y | x in [set - x | x in A ] & y in [set - x | x in B]]); last first.
353353
by rewrite sup_sumE // -opprD.
354354
rewrite eqEsubset; split => /= t [] /= x []a Aa.
355355
case => b Bb <- <-; exists (- a); first by exists a.
@@ -607,9 +607,9 @@ have [supA|supNA] := pselect (has_sup A); last first.
607607
by rewrite !sup_out // => /has_sup_down.
608608
have supDA : has_sup (down A) by apply/has_sup_down.
609609
apply/eqP; rewrite eq_le !sup_le //.
610+
- by case: supA => -[x xA] _; exists x; apply/le_down.
610611
- by rewrite downK; exact: le_down.
611612
- by case: supA.
612-
- by case: supA => -[x xA] _; exists x; apply/le_down.
613613
Qed.
614614

615615
Lemma lt_sup_imfset {T : Type} (F : T -> R) l :

0 commit comments

Comments
 (0)