Cactus Language • Preliminaries 6

The definitions of the syntactic connectives can be made a little more succinct by defining the following pair of generic operators on strings.

Concatenation

The concatenation \mathrm{Conc}_{k=1}^n of the sequence of n strings (s_k)_{k=1}^n is defined recursively as follows.

\text{For}~ n = 1, ~\mathrm{Conc}_{k=1}^n s_k = s_1.

\text{For}~ n > 1, ~\mathrm{Conc}_{k=1}^n s_k = \mathrm{Conc}_{k=1}^{n-1} s_k \cdot s_n.

Surcatenation

The surcatenation \mathrm{Surc}_{k=1}^n of the sequence of n strings (s_k)_{k=1}^n is defined recursively as follows.

\text{For}~ n = 1, ~\mathrm{Surc}_{k=1}^n s_k = ``\text{(}" \cdot s_1 \cdot ``\text{)}".

\text{For}~ n > 1, ~\mathrm{Surc}_{k=1}^n s_k = \mathrm{Surc}_{k=1}^{n-1} s_k \cdot (``\text{)}")^{-1} \cdot ``\text{,}" \cdot s_n \cdot ``\text{)}".

Resources

cc: Academia.edu • BlueSky • Laws of FormMathstodonResearch Gate
cc: Conceptual GraphsCyberneticsStructural ModelingSystems Science

This entry was posted in Automata, Boolean Algebra, Boolean Functions, C.S. Peirce, Cactus Graphs, Differential Logic, Equational Inference, Formal Grammars, Formal Languages, Graph Theory, Logic, Logical Graphs, Mathematics, Minimal Negation Operators, Painted Cacti, Propositional Calculus, Visualization and tagged , , , , , , , , , , , , , , , , . Bookmark the permalink.

4 Responses to Cactus Language • Preliminaries 6

  1. Pingback: Survey of Animated Logical Graphs • 7 | Inquiry Into Inquiry

  2. Pingback: Survey of Animated Logical Graphs • 8 | Inquiry Into Inquiry

  3. Pingback: Survey of Animated Logical Graphs • 8 | Inquiry Into Inquiry

  4. Pingback: Survey of Animated Logical Graphs • 8 | Systems Community of Inquiry

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.