Skip to main content

Logical operators on complex values

Traditionally, computers define logical operators on real values:

AND
0 0 | 0
1 0 | 0
0 1 | 0
1 1 | 1

OR
0 0 | 0
1 0 | 1
0 1 | 1
1 1 | 1

XOR
0 0 | 0
1 0 | 1
0 1 | 1
1 1 | 0

I believe a similar construct can be made for complex values except that logical equivalency could maybe have two interpretations: either the magnitude is the core comparison value or the frequency (radian representation of the complex value in the unit circle) is the core comparison value.

From a magnitude perspective, we could say that X AND Y for two complex values X and Y is itself if and only if both X and Y lie on the same circle.  In a sense, this is establishing a primitive group structure because the value of the operator depends on whether or not an item belongs in a set. Likewise, we could define an XOR operator the same way, just in the inverse, that both X and Y do not belong to the same circle.

From a frequency perspective, we could say that X AND Y for two complex values X and Y is itself if and only if both X and Y lie on the same group structure generated by the radian. Is there an isomorphism between the spirals generated by different magnitudes, but for the same radian? Fundamentally, it feels like there should be a common structure. When the magnitude is iteratively scaled to one, it feels like these structures should grow from the same point of the unit circle. Maybe it is even a fractal?

If the magnitudes of X and Y are both 1, then the frequency check is a simple group check whereby the radian operator is applied iteratively until a group is defined. If the magnitudes of X and Y are both less than 1, then there is some infinite structure that converges to zero? If the magnitudes of X and Y are both greater than 1, then there is some infinite structure that converges to infinity?

Maybe we can define X AND Y to be itself if both X and Y lie on the same spiral that begins on the same point of the unit circle. And similarly, maybe we can define X XOR Y to be itself if X and Y do not lie on the same spiral.


Comments

Popular posts from this blog

Causality, Interaction, and Complexity

In a highly chaotic system, such as a high temperature gas, it is not ideal to use an atomic causal model. Instead, the effective causal model is to approximate to what extent each atom is interacting with every other atom. If we increase the temperature, then the number of atoms each atom interacts with should increase. As the temperature decreases, the number of atoms each atom interacts with should decrease. If we were to randomly sample any atom, then on average, the atom should interact with a set of atoms of a certain size. Instead of thinking in terms of conditional probabilities and causal implications, we think in terms of sets of interconnected events. And this is because it is not computationally effective to analyze chaotic systems in a linear manner. We can apply the same line of reasoning to sampling. If a system has a particular sampling rate, the inputs to the system are batched according to the sampling rate. In other words, the system cannot discern the ordering of ev...

Time, partitioning, and synchronization

Any time measuring method inevitably runs into the issues of partitioning and synchronization. Partitioning deals with the issue of dividing a larger measure into smaller measures, and combining smaller measures into a larger measure. Synchronization deals with the problem of how a set of devices can self-correct if some of them are corrupted. The two are fundamentally related because often a choice in one determines a choice in the other. A measure is often defined by a set of synchronization points, such as the radioactive decay of an element or the frequency of a crystal oscillator. Synchronization points can often be defined as a measure of a change in space, such as the revolution of a planet around a star, or the change in energy state of an oscillating structure. Fundamental to both is the notion of change. A synchronization event can only be defined if there is a unit of space in which a change is observed. And either the magnitude of the space is large (such as the movement of...

Dual network with atomic learning rates