A Comprehensive Analysis of Quaternary Logic Functions
Gayane Quaternary Logic (GL4) represents an innovative advancement in logical systems that extends beyond traditional binary logic by incorporating four fundamental values instead of the conventional two. Developed by Martirosyan Hovhannes with its formal specification published on March 4, 2025, this quaternary logic system introduces a sophisticated framework for logical operations through an extensive set of functions and operators. GL4 distinguishes itself by incorporating not only truth and falsity but also the novel dimensions of inevitability and avoidability, creating a rich logical system capable of more nuanced expression than classical binary logic. This report examines the various functions that form the foundation of the GL4 system, analyzing their definitions, operational characteristics, and interactions within this quaternary logic framework.
Foundational Value System of GL4
The GL4 system employs a hierarchical structure of logical values that forms the basis for all its functions and operations. Understanding this value system is essential before exploring the specific functions that operate within it.
Basic and Elementary Values
At the foundation of GL4 are four basic values (Bvag) that represent the primary logical concepts within the system12:
T (True) - Represents truthfulness or validity
F (False) - Represents falsehood or invalidity
I (Inevitable) - Represents necessity or universality
P (Avoidable) - Represents contingency or possibility
From these basic values, GL4 derives four elementary values (Evag) that form the core quaternary components of the system12:
B (IF, Inevitable False) - Represented in binary as 01 (Verity=0, Inevitability=1)
C (PF, Avoidable False) - Represented in binary as 00 (Verity=0, Inevitability=0)
D (PT, Avoidable True) - Represented in binary as 10 (Verity=1, Inevitability=0)
E (IT, Inevitable True) - Represented in binary as 11 (Verity=1, Inevitability=1)
Each of these elementary values carries rich semantic content. For instance, B (Inevitable False) represents absolute impossibility or paradoxicality - concepts that are necessarily false under all conditions. In contrast, E (Inevitable True) represents absolute truth or necessity - concepts that must be true under all circumstances, such as mathematical axioms1.
GL4 extends beyond the four elementary values to define a comprehensive system of 16 composite values (Covag), labeled from A through P and T. These composite values represent various combinations of the elementary values, enabling more complex logical expressions12:
A - Represents an empty or null value
B through E - Correspond to the elementary values
F through N, P, T - Represent specific combinations of elementary values
For example, the composite value F represents the combination of elementary values B and C (Inevitable False and Avoidable False), essentially capturing the concept of falsehood regardless of its inevitability status. Similarly, T represents the combination of D and E (Avoidable True and Inevitable True), capturing the concept of truth regardless of inevitability12.
GL4 incorporates an extensive array of unary operators that perform transformations on individual values. These operators form the foundational functions of the GL4 system.
Elementary Transformation Functions
The GL4 system defines several key unary operators for transforming elementary values (Evag), collectively known as UnUnTEv (Unary-Unary Transformations for Evag)1:
avtin (Avoidable To Inevitable) - Transforms avoidable values to inevitable ones while preserving their truth status, following the pattern: B→B, C→C, D→E, E→E. This function effectively increases the inevitability dimension of logical values.
intav (Inevitable To Avoidable) - Performs the opposite transformation of avtin, converting inevitable values to avoidable ones while maintaining their truth status, following the pattern: B→C, C→C, D→D, E→D. This function decreases the inevitability dimension of values.
rvty (Reverse Verity) - Reverses the truth status of values while maintaining their inevitability status, following the pattern: B→E, C→D, D→C, E→B. This function essentially inverts the truth dimension of logical values, transforming falsehood to truth and vice versa.
rity (Reverse Inevitability) - Reverses the inevitability status of values while preserving their truth status, following the pattern: B→C, C→B, D→E, E→D. This function inverts the inevitability dimension of logical values, converting inevitable to avoidable and vice versa.
ueCir (Circle) - Implements a circular transformation of elementary values, following the pattern: B→C, C→D, D→E, E→B. This cyclic function provides a rotation mechanism within the elementary value space.
These transformation functions constitute fundamental operations within GL4, enabling systematic manipulations of logical values along different dimensions. For instance, by applying rvty to E (Inevitable True), we obtain B (Inevitable False), effectively negating the truth value while preserving the inevitability status1.
Conversion and Decomposition Functions
GL4 includes specialized functions for converting between different representations and decomposing complex values1:
Etds (Evag To Decimal Single-digit) - Converts elementary values to their decimal representations following the mapping: B→0, C→1, D→2, E→3. This function facilitates numerical operations with GL4 values.
Deco (Decompose Covag) - Decomposes composite values into their constituent elementary values. For example, when applied to composite value H, Deco returns the set {B, C, D}, indicating that H comprises these elementary values. This function enables analysis of complex logical constructs.
These functions provide essential utilities for working with GL4 values, enabling conversions between different representations and decomposition of complex values into their fundamental components1.
Status and Negation Operators
GL4 incorporates a variety of status and negation operators for manipulating logical values1:
Ald (Status Operator) - Manipulates values through positive (Ps) and negative (Ng) transformations. When applied with positive status, it preserves the original value; with negative status, it inverts the value according to specific transformation rules.
ucNeg, ucNegB, ucNegC, ucNegD, ucNegE - These operators implement various forms of negation for composite values (Covag), following predefined transformation tables. For instance, ucNeg performs a general negation operation, while ucNegB negates values specifically with respect to the elementary value B.
These operators provide sophisticated mechanisms for manipulating the status and polarity of logical values within the GL4 framework, enabling complex logical transformations and operations1.
Binary Operators and Functions
GL4 includes a comprehensive set of binary operators that operate on pairs of values, producing outputs according to specific operational rules. These binary functions form a crucial component of the GL4 system's expressive capabilities.
Elementary Value Binary Functions
GL4 defines several binary functions specifically for elementary values (Evag), collectively referred to as Ebft (Evag Binary Function Table)1:
logMin (Logical Minimum) - Computes the logical minimum of two elementary values, following the principle that E>D>C>B. This function implements a minimum operation within the GL4 value hierarchy, producing the lower of the two input values.
logMax (Logical Maximum) - Calculates the logical maximum of two elementary values, adhering to the same hierarchical principle (E>D>C>B). This function implements a maximum operation, producing the higher of the two input values.
ebSum1, ebSum2 - Implement different addition functions for elementary values, following specific transformation tables. These functions define the semantics of addition within the GL4 framework, with each function following its own set of rules for combining elementary values.
ebPow1, ebPow2, ebPow3 - Implement various power functions for elementary values, following specific transformation tables. These functions define the semantics of power operations within GL4, with each function implementing its own rules for calculating powers of elementary values.
These binary functions provide fundamental operations for logical computations within GL4, enabling complex expressions and evaluations involving elementary values. For example, ebSum1 implements addition operations like B+D=D and C+E=E, following specific rules defined in its transformation table1.
GL4 includes a set of binary operations that manipulate individual bits within binary representations, classified as UnUnB (Unary-Unary Binary)1:
zBit (Zero Bit) - Always returns 0 regardless of the input bit value, following the pattern: 0→0, 1→0. This function provides a constant zero output.
eBit (Equivalent Bit) - Returns the same value as the input bit, following the pattern: 0→0, 1→1. This function serves as an identity function for bits.
iBit (Inversion Bit) - Inverts the input bit value, similar to the NOT operation in binary logic, following the pattern: 0→1, 1→0. This function provides negation functionality for binary values.
oBit (One Bit) - Always returns 1 regardless of the input bit value, following the pattern: 0→1, 1→1. This function provides a constant one output.
These binary bit operations provide fundamental manipulations that can be combined to construct more complex transformations within the GL4 framework, particularly when working with the binary representations of GL4 values1.
Composite Value Binary Operations
GL4 includes binary operators specifically designed for composite values (Covag), classified as BinCov (Binary Covag)1:
bcHacro (Hard Crossing) - Implements a "hard crossing" or minimum operation for composite values, analogous to logical AND in binary logic but operating within the GL4 composite value space. This function identifies the minimum or strongest common element between two logical statements.
bcDiscon - Implements a disconnection or separation operation for composite values, operating on two composite values and returning a set of elementary values according to specific rules. This function potentially identifies disconnections or disjunctions between input values.
These binary composite value operators enable sophisticated logical operations within the GL4 framework, facilitating complex expressions and evaluations involving composite logical constructs. For instance, bcHacro might implement operations like E ⊗ B = A, representing a specific semantic interpretation of the minimum operation1.
Transformation and Shuffle Functions
GL4 incorporates specialized functions for transforming and rearranging logical values, providing powerful capabilities for manipulating logical expressions.
Composite Value Transformation Functions
GL4 includes specialized functions for transforming composite values through addition operations1:
ucAddB, ucAddC, ucAddD, ucAddE - These functions implement addition operations with specific elementary values, following predefined transformation tables. For example, ucAddE adds the elementary value E to composite values according to its transformation table, potentially creating new composite values.
These transformation functions enable sophisticated manipulations of composite values, allowing the construction of complex logical expressions through systematic additions of elementary components1.
GL4 incorporates several shuffle functions that rearrange the constituents of composite values according to specific patterns1:
ucShuffleEB - Shuffles the elementary values E and B within composite values, following the ECDB pattern from UnUnTEv. This function effectively exchanges the positions of E and B in the logical structure.
ucShuffleCD - Shuffles the elementary values C and D within composite values, following the BDCE pattern from UnUnTEv. This function exchanges the positions of C and D in the logical structure.
ucShuffleIty - Shuffles the inevitability dimension (Ity) within composite values, following the CBED pattern from UnUnTEv. This function rearranges values according to a pattern that swaps B with C and E with D.
ucShuffleVty - Shuffles the truth dimension (Vty) within composite values, following the EDCB pattern from UnUnTEv. This function rearranges values according to a pattern that swaps B with E and C with D.
These shuffle operations provide powerful mechanisms for rearranging logical structures within the GL4 framework, enabling complex transformations and manipulations of logical expressions1.
Semantic Interpretations and Applications
The functions of GL4 carry rich semantic interpretations that enhance their expressive power and applicability in various logical contexts.
Semantic Significance of GL4 Functions
The functions of GL4 embody specific semantic concepts that extend beyond mere formal operations. For instance, the transformation functions (avtin, intav, rvty, rity) correspond to fundamental logical operations like necessitation, contingentization, and negation, but within the richer quaternary framework12:
The avtin function (Avoidable To Inevitable) corresponds to the concept of necessitation, transforming contingent statements into necessary ones while preserving their truth status.
The rvty function (Reverse Verity) corresponds to the concept of truth negation, inverting the truth status of statements while preserving their modal characteristics.
Similarly, binary functions like bcHacro (Hard Crossing) embody semantic concepts like logical conjunction or intersection, but with quaternary nuances that capture more subtle logical relationships than binary AND1.
Application Domains of GL4 Functions
The functions of GL4 have potential applications in various domains requiring sophisticated logical reasoning and representation12:
In knowledge representation, GL4 functions can express nuanced epistemic states that involve both truth values and modal characteristics, such as certainty or possibility.
In decision theory, GL4 functions can model decision processes that incorporate both factual assessments and evaluations of necessity or contingency.
In artificial intelligence, GL4 functions can enable reasoning systems that handle uncertainty, necessity, and contingency in more sophisticated ways than traditional binary logic allows.
The rich function set of GL4 provides a powerful toolkit for addressing complex logical problems that resist adequate formulation in binary frameworks, potentially opening new avenues for logical research and application12.
The Gayane Quaternary Logic (GL4) system presents a sophisticated extension of traditional binary logic through its comprehensive function set. By incorporating the dimensions of inevitability and avoidability alongside truth and falsity, GL4 enables more nuanced expression of logical relationships and operations. The system's extensive array of functions—ranging from elementary transformations to complex binary operations—provides powerful tools for logical manipulation and computation within this quaternary framework.
The unary operators of GL4 enable systematic transformations along different logical dimensions, while the binary functions facilitate complex operations involving pairs of values. The specialized functions for conversion, decomposition, and shuffling further enhance the system's expressive capabilities, enabling sophisticated logical constructions and manipulations.
The semantic richness of GL4 functions extends their applicability beyond formal logic into various domains requiring nuanced logical reasoning. The quaternary approach of GL4 offers promising avenues for addressing complex logical problems that resist adequate formulation in binary frameworks.
As a relatively recent development (published in 2025), GL4 represents an innovative contribution to logical theory, potentially opening new pathways for logical research and application across various disciplines. The comprehensive function set of GL4, with its rich semantic interpretations and operational capabilities, establishes a robust framework for quaternary logical reasoning that extends the boundaries of traditional binary logic.