Fixpoint composeOptN' {A} (f : A -> option A) n x :=
match n with
| 0 => Some x
| S n =>
match composeOptN' f n x with
| Some y => f y
| None => None
end
end.

Lemma age_to_ageN {A} `{agA : ageable A} n (x : A) :
ageN (level x - n) x = Some (age_to n x).