Skip to content

Commit

Permalink
proof simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenCyril committed Nov 13, 2024
1 parent b74a117 commit 59ca32c
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 @@ -5345,27 +5345,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 59ca32c

Please sign in to comment.