# Category Theory and Human Behavior

### Just Keep Reading, It’s Really Not That Complicated

Here’s one way category theory applies to human behavior. I’m going to genericize this and apply an example using javascript – don’t fret, it will be very simple. You should be able to understand this without programming. Now let’s say that you need to acquire 3 pieces of information – Alpha, Beta, and Gamma. It doesn’t really matter what pieces of information Alpha, Beta, and Gamma – it could be anything. This is a generic example.

Let’s write this out with javascript:

And let’s say that you’re afraid that asking for this information will alert this person to your intentions. Now, let’s say you have some people you have influence over – your unwitting minions Alice, Bob and Carol – mwua haha ha. Well, then, let’s apply the Category Theory concept of Functors to abstract this behavior and obfuscate it.

Congratulations, you’ve just basically used your minions to abstract your behavior and hide your motivations. If the person you’re acquiring information from knew you wanted to know about Alpha, Beta and Gamma, then they could also conclude you were going to Zeta sometime soon. I apologize – things get confusing when you’re dealing with abstract nonsense.

Interestingly, these same concepts also apply to computer hacking, where you need to outwit automated algorithms for detecting abnormal behavior – and you do so using Agent-based Design Patterns

… ** aaaand a botnet. ** You’re going to need a botnet.

### Functors and Natural Transformations

So, in the code sample above, we’ve just applied the Agent-based Design Pattern to our original function myBehavior as a *Category Theory *Functor **. And now we have a new function called myNewBehavior.

At least, I think Functor is the right term, but I might actually be referring to Natural Transformations – I DON’T EVEN KNOW LMAO. The details of how Functors work aren’t really important – but they are incredibly useful, if you understand them.

## Oh, Irony

See – the ironic part is that I’ve never really been able to intuitively understand social behavior. Yet, now that I’ve been able to intellectualize it, I can become more profient than most ordinary people who aren’t able to intellectualize it.

### And now, for your daily dose of “Google, I’m Feeling Lucky”

#### Kagamine Rin - Abstract Nonsense (English Subbed)

Yeesh …. On second thought, there’s some really bad imagery in that video. Dammit. Read the lyrics, pay no attention to the pictures in the video. There really are some relevant subjects intermingled between the bullshit. Gee, thanks Google.

### Up next, abusing the equals function to actually make category theory useful.

Equals is a function too, donchya kno?!