Abstract. Flat theory with sequence variables and flexible arity symbols has infinitary matching and unification type. Decidability of general unification is shown and a unification procedure to enumerate minimal complete set of unifiers is described. The flat matching procedure is compared with the flat matching algorithm implemented in the Mathematica system.