Section level'.
Variable A:Type.
Variable ag:ageable A.
Function level' (x:A) { wf (fun x y => @age A ag y x)  x } : nat :=
(*  Function level' (x:A) { wf (transp _ (@age A ag)) x } : nat := *)
match age1 x with
| None => 0
| Some x' => S (level' x')
end.
intros. hnf. assumption.
unfold transp. apply (af_wf _).
Defined.

Lemma age1_level0_absurd {A} `{ageable A} : forall (x y:A),
age1 x = Some y ->
level x = 0 ->
False.