@@ -52,7 +52,7 @@ From mathcomp Require Import mathcomp_extra boolp classical_sets set_interval.
5252Declare 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 *)
5656Set Implicit Arguments .
5757Unset Strict Implicit .
5858Unset Printing Implicit Defensive.
@@ -349,7 +349,7 @@ Lemma inf_sumE (A B : set R) :
349349Proof .
350350move/has_inf_supN => ? /has_inf_supN ?; rewrite /inf.
351351rewrite [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.
354354rewrite 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.
608608have supDA : has_sup (down A) by apply/has_sup_down.
609609apply/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.
613613Qed .
614614
615615Lemma lt_sup_imfset {T : Type } (F : T -> R) l :
0 commit comments