Challenge 32: Successor criterion for extraction functions
A subsequence is obtained by applying an extraction function to the original sequence; that is, a strictly increasing function \(\varphi : \mathbb{N} \to \mathbb{N}\). For example, the subsequence \[ u_0, u_2, u_4, u_6, \dots \] is obtained with the extraction function \(\varphi\) defined by \(\varphi(n) = 2n\).
Prove that if \[ \forall n, \varphi(n) < \varphi (n+1), \] then \(\varphi\) is an extraction function.
To do so, complete the following Lean 4 theory:
import Mathlib.Basic.Real.Basic def IsExtraction (φ : ℕ → ℕ) : Prop := StrictMono φ variable (φ : ℕ → ℕ) example (hφ : ∀ n, φ n < φ (n + 1)) : IsExtraction φ := by sorry