Inductive L: Set := one: T -> L | cons: T -> L -> L.Inductive L: Set := one: T -> L | cons: T -> L -> L.Inductive L: Set := one: T -> L | cons: T -> L -> L.Fixpoint to_plain (l: L): List.list T :=
    match l with one x => List.cons x List.nil | cons x y => List.cons x (to_plain y) end.Fixpoint from_plain (x: T) (l: List.list T): L:=
    match l with
    | List.nil => one x
    | List.cons h t => cons x (from_plain h t)
    end.

(* Specifications: *)
Lemma round_trip l x: (to_plain (from_plain x l)) = List.cons x l.