Skip to content

Commit

Permalink
proof simplification (#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenCyril authored Nov 17, 2024
1 parent 91cd238 commit 11d5cf6
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions theories/normedtype.v
Original file line number Diff line number Diff line change
Expand Up @@ -5428,27 +5428,11 @@ Proof. exact: interval_open. Qed.

Lemma near_in_itvoy :
{in `]a, +oo[, forall y, \forall z \near y, z \in `]a, +oo[}.
Proof.
move=> x ax.
near=> z.
suff : z \in `]a, +oo[%classic by rewrite inE.
near: z.
rewrite near_nbhs.
apply: (@open_in_nearW _ _ `]a, +oo[%classic) => //.
by rewrite inE.
Unshelve. end_near. Qed.
Proof. exact: interval_open. Qed.

Lemma near_in_itvNyo :
{in `]-oo, b[, forall y, \forall z \near y, z \in `]-oo, b[}.
Proof.
move=> x xb.
near=> z.
suff : z \in `]-oo, b[%classic by rewrite inE.
near: z.
rewrite near_nbhs.
apply: (@open_in_nearW _ _ `]-oo, b[%classic) => //.
by rewrite inE/=.
Unshelve. end_near. Qed.
Proof. exact: interval_open. Qed.

End near_in_itv.
#[deprecated(since="mathcomp-analysis 1.7.0",
Expand Down

0 comments on commit 11d5cf6

Please sign in to comment.