Notes about P systems:
membrane structure:
For cell-like P systems, the membrane structure is hierarchical which means a membrane may contain several other membranes. It is usually represented via a string of paired square brackets with labels. A valid string can be generated by the context-free grammar
where
Reference:
A. Alhazov: Communication in Membrane Systems with Symbol Objects (Dissertation), Universitat Rovira I Virgili, 2006.