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

Guitar improvisation from May 23, 2025

OPINION - On the axiom of choice

I find it distasteful that non-mathematicians think that Gödel's work introduces a level of subjectivity to mathematics. I agree that one can construct an arbitrary number of mathematical universes via selecting an arbitrary set of axioms. But I disagree that they are somehow all equivalent in value or structural consistency. I personally believe that there is one mathematical universe (or category of universes that are structurally equivalent via something like an isomorphism) that has the most structural consistency and can give the human mind the most insight. I personally believe that there are axioms that are representations of structural properties of physical reality. And I believe that there is a set of axioms that aligns perfectly with the physical universe, and subsequently allows the human mind to comprehend its logic to the fullest extent. I believe this because the way that the human mind understands logic is already a consequence of physical reality. Our ability to un...

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...