At present, the closest I can get is:
Equate soul with its closest synonym:
Symbolic use of heart for either:
Emotions
or
Core
The method of determining emotions or core is:
Behavior.
(Behavior is broad and includes internal and external actions and responses).
Behavior can be tied to physiological things in case of a human or functions and variables if in a computer.
So that should cover it. Soul is behavior.
Except, what about acting and lying?
That’s where I can’t go any further.
—