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.

Lemma transpose_clos_trans : forall A R x y, clos_trans A (transp A R) x y <-> transp A (clos_trans A R) x y.