Skip to content

Commit

Permalink
Update theories/normedtype.v
Browse files Browse the repository at this point in the history
use eqVneq instead of boolp.EM

Co-Authored-By: Cyril Cohen <CohenCyril@users.noreply.github.com>
  • Loading branch information
affeldt-aist and CohenCyril authored Apr 28, 2020
1 parent 2fcd3af commit 454e4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theories/normedtype.v
Original file line number Diff line number Diff line change
Expand Up @@ -2615,7 +2615,7 @@ Proof.
move=> /continuous_atP /(_ _ ltr01).
rewrite linear0 /= nearE => /locally_ex[tp ball_f].
pose t := tp%:num; exists (2 * t^-1); split => // x.
have [->|/eqP x0] := boolp.EM (x = 0); first by rewrite linear0 !normr0 mul0r.
have [->|x0] := eqVneq x 0; first by rewrite linear0 !normr0 mul0r.
have /ball_f : ball 0 t ((`|x|^-1 * t /2) *: x).
apply: ball_sym; rewrite -ball_normE /ball_ subr0 normmZ mulrC 2!normrM.
rewrite 2!mulrA normrV ?unitfE ?normr_eq0 // normr_id.
Expand Down

0 comments on commit 454e4ab

Please sign in to comment.