I have seen two definitions of Absolutely Continuous Functions, my main query is whether the collection of subintervals is supposed to be finite / infinite, and whether the two definitions coincide.
Definition 1 (Wikipedia): A real-valued function $f$ on a closed, bounded interval $[a,b]$ is said to be absolutely continuous on $[a,b]$ provided for each $\epsilon>0$, there is a $\delta>0$ such that for every finite disjoint collection $\{(a_k, b_k)\}_{k=1}^n$ of open intervals in $(a,b)$, if $\sum_{k=1}^n(b_k-a_k)<\delta$, then $\sum_{k=1}^n |f(b_k)-f(a_k)|<\epsilon$.
Definition 2 (Wheedon): $f$ is said to be absolutely continuous on $[a,b]$ if given $\epsilon>0$, there exists $\delta>0$ such that for any collection $\{[a_i, b_i]\}$ (finite or not) of nonoverlapping subintervals of $[a,b]$, $\sum|f(b_i)-f(a_i)|<\epsilon$ if $\sum(b_i-a_i)<\delta$.
On the surface, it seems that definition 2 is more general than definition 1. They may well be equivalent, but how do we see that?
Thanks!