Skip to content

Commit ffe8b2c

Browse files
committed
pretty-printing of {within _, continuous _}
Co-author: holgerthies
1 parent eb0d035 commit ffe8b2c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

theories/lebesgue_integral_theory/measurable_fun_approximation.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ exists (\bigcup_(i in range f) dK i); split.
758758
+ move=> i _; split; first by apply: compact_closed; have [] := dkP i.
759759
apply: (continuous_subspaceW (dKsub i)).
760760
apply: (@subspace_eq_continuous _ _ _ (fun=> i)).
761-
by move=> ? /set_mem ->.
761+
by rewrite /from_subspace => ? /set_mem ->.
762762
by apply: continuous_subspaceT => ?; exact: cvg_cst.
763763
Qed.
764764

theories/topology_theory/subspace_topology.v

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,12 @@ Global Instance subspace_proper_filter {T : topologicalType}
303303
(A : set T) (x : subspace A) :
304304
ProperFilter (nbhs_subspace x) := nbhs_subspace_filter x.
305305

306+
Definition from_subspace {T U : Type} (A : set T) (f : T -> U) : subspace A -> U :=
307+
f.
308+
Arguments from_subspace {T U} A f.
309+
306310
Notation "{ 'within' A , 'continuous' f }" :=
307-
(continuous (f : subspace A -> _)) : classical_set_scope.
311+
(continuous (from_subspace A f)) : classical_set_scope.
308312

309313
Arguments nbhs_subspaceP {T} A x.
310314

0 commit comments

Comments
 (0)