=Table of contents=
'''a. What do you want?
'''a. In all terms'''
'''ab. Summary'''
'''ab. Deepening'''
'''abc. My philosophy'''
'''abc. General scientific framework'''
'''abc. Concrete models'''
'''abcd. Active Inference using Free Energy Principle'''
'''abcde. Model'''
'''abcde. Wellbeing'''
'''abcd. Biochemical brain activity via electromagnetic field and its topology and symmetries and connectome harmonics and annealing'''
'''abcde. Model'''
'''abcde. Wellbeing'''
'''abcd. Brain networks models of cognitive phenomena'''
'''abcde. Model'''
'''abcde. Wellbeing'''
'''abcd. All together'''
'''abcd. Fullstack Protocol for Engineering Wellbeing: Meditation, psychedelics, thinking'''
'''abcde. Basic needs and health'''
'''abcde. Meaning'''
'''abcde. Meditation session'''
'''abcdef. Mental moves'''
'''abcdefg. Intention'''
'''abcdefg. Relaxing'''
'''abcdefg. Gladening the mind'''
'''abcdefg. Building packets of negentropy'''
'''abcdefg. Deconstruction'''
'''abcdefg. Resting by doing nothing'''
'''abcdefg. Construction'''
'''abcdef. Substances'''
'''abcdef. Message and sex'''
'''abcdef. Audio'''
'''abcdef. Visual'''
'''abc. Solving the Meaning Crisis'''
'''abc. Social System Optimized for Happiness'''
'''abc. Artificial General Intelligence and Alignment'''
'''abc. Other implications
'''abc. What is truth?'''
'''abc. Defining mental disorders and damage'''
'''abc. Other thoughts'''
'''abc. Final contemplation about theories of everything and oneness'''
'''a. In simple terms'''
=Book=
'''a. What do you want?
For theory of everything, checkout the beggining (and end)!
For models of happiness, checkout concrete models wellbeing sections!
For practical protocols engineering happiness, checkout that part!
For designing happy society and solving existencial risks such as AGI, checkout that part!
'''a. In all terms'''
'''ab. Summary'''
'''ab. Deepening'''
'''abc. My philosophy'''
I can be sure about experience (everything not being real is a fun thing too but not too practical) and different thoughts can predict the experience directly or indirectly better than others and different thoughts feel better than others. (Which can be to some extend predicted too by some neurophenomenological models)
In fancyspeak its ontology agnostic (or fluid) bayesianism optimizing predictive power and psychological valence.
'''abc. General scientific framework'''
What exists fundamentally? Somethings somehow interacting with other somethings forming more complex somethings. Different paradigms and scientific theories can postulate different structures. I'm gonna stick with the current mostly used paradigm in which most of the scientific models and research about wellbeing that I am interested in is done.
Fundamentally there are fields of matter forming particles that interact with eachother by interaction fields such as the electromagnetic field with photons.
More formally particles are quantum excitation of fermion fields and the interaction is mediated by a gauge field.
These interacting particles then form atoms. Atoms form molecules. Cells are made up of molecules such as nucleic acids, carbohydrates or lipids, and also macromolecules proteins that are made of molecules aminoacids. Cells together form clusters of neurons that can encode mental representations. You can locate whole brain regions that are optimized for specific functions. You can locate inner parts in internal family systems theraphy. You can locate hiearchical abstractions of mental representations in the prefortal cortrex. You can locate slower higher order more conscious conceptual mind influecing the more subconscious faster intuitive mind. Next you get whole organs, whole animals, you can study species with their cultures, that are on earth in the solar system in a galaxy in clusters of galaxies and so on up to infinity through emergence!
Different natural science fields and models in them are different lenses specializing in studying different components at different scales predicting different things in different domains using different tools and are differently succesful. These fields have many mathematical methodological correspondences between them which is identifable by languages that apply in more contexts at once, which is the essence of mathematics. Each scale can be predicted by modelling it computationally by in time evolving statespace with initial conditions.
You can study any of those parts and their interactions predict the evolution in time on any scale in any context using the language of the different scientific fields, or you can use this universal complexity science language governed by the free energy principle that unifies fields such as physics, biology, neuroscience, psychology, computer science, artificial intelligence, evolutionary theory and statistics by describing complex adaptive systems of all scales in terms of energy and information flows using dynamical systems and chaos theory, statistical nonequilibrium thermodynamics, information theory, cybernetics, group theory and harmonic analysis. Unification of unifying paradigms of evolutionary epistemology, universal darwinism and bayesianism inference. <ref>[[I am therefore I think. KARL FRISTON - YouTube](https://www.youtube.com/watch?v=h4KeYkwcJoc) I am therefore I think by Karl Frison]</ref> <ref>[[ActInf GuestStream #015.1: Bobby Azarian, Universal Bayesianism: A New Kind of Theory of Everything - YouTube](https://www.youtube.com/watch?v=_JCaic5Cxms) Universal Bayesianism: A New Kind of Theory of Everything by Bobby Azarian]</ref><ref>[[Generalist AI beyond Deep Learning - YouTube](https://youtu.be/p-OYPRhqRCg?t=2825) Generalist AI beyond Deep Learning]</ref> <ref>[[Entropy | Free Full-Text | The Radically Embodied Conscious Cybernetic Bayesian Brain: From Free Energy to Free Will and Back Again](https://www.mdpi.com/1099-4300/23/6/783/htm) The Radically Embodied Conscious Cybernetic Bayesian Brain by Adam Safron]</ref> <ref>[[Harmonic Gestalt by Steven Lehar - YouTube](https://www.youtube.com/watch?v=LJiXTCbFtu0) Harmonic Gestalt by Steven Lehar]</ref>
How to understand all of this? It starts with the world being as a stochastic differential equation, which means that all things - particles to people to the largest systems all move or evolve according to two processes, which combine. First is smooth flowing evolution such as planets orbiting a star or waves rippling over water or though quantum fields. Second is a random process that knocks around the smooth flow in unpredictable ways such as twinkling stars or audio static. These two processes are kind of an order and chaos - yin and yang - forever intertwined and meshed. These two very different effects combine into a chaotic flow which may be entangled in a kind of tropical storm while still maintaing resemblence of structure and things such as raindrops undulating back to earth in a state of constant flux yet still droplets, or a human being growing and adapting to the surprises of life while still remaining individual physical entity. What must things do in order to exist? Better question is: If things exist, what must they do? From the foundation of stochastic differential equations, things, defined as hiearchical markov blankets, must always move towards a pullback attractor, which is a special set of attracting states which maintains the integrity of the markov blanket and therefore a thing's coherence and identity over time. One of the profound consequences of this is that the dynamics of such a system, its laws of motion - principle of least action, will manifest a form of flow dynamics, that can be interpreted as bayesian active inference. In another words such a thing maintains an internal equivalent of a generative model encoding beliefs about the world and itself, minimizing its complexity and maximizing its accuracy. The thing adaptively learns using what it sees and thinks and acts to increase evolutionary fitness by reducing stress and dissonance. People succesfuly predicting their senses, visual data and objects, life, doing better than expected, succesfuly solving basic needs, selfrealizing and growing will be fit, satisfied and healthy with all other parts in the body hyperorganism of communicating cells sending positive signals. An example of a pullback attractor is day and night cycle, seasons or rituals. The thing uses the model to decide actions and performs a bayesian belief update based on the outcomes driven by simple laws of motion, dynamically maintaining the boundaries between things, maintaining order in the face of chaos. Biological systems harvest negentropy and build structure, build internal coherence between internal parts and the environment, to resist entropy - the second law of thermodynamics. Animals eat, think, stay unified and cooperating, internally and externally, physiologically and psychologically, to not die. When an open system gets pushed far from equilibrium by a flow of energy it will naturally selforganize. Psychedelic substances might lead to bigger harmony in the biochemical electromagnetical dynamics between different neuronal populations, making parts of experience feel more consonant and relaxed, more smoothly and regularly shaped. Newton's laws of motion, Einstein equations and Feynman path integral follow from the principle of least action. Free Energy Principle is principle of least action applied to a markov blanket. In machine learning free energy corresponds to evidence lower bound. All of this is applicable across all scales and time leading to an ecosystem of things interacting across scales.
<references/>
'''abc. Concrete models'''
'''abcd. Active Inference using Free Energy Principle'''
'''abcde. Model'''
Active Inference is special case of the Free Energy Principle applied to the brain. The basic idea is that our brains are the game of predicting sensory inputs to try and unfer the causes that generate sensations and to work out states of the world so that we can respond adaptively. We're predicting our ability to interact with the world in optionally gripping fashion using what we've learned. If we saw the raw physics and the extreme complexity of everything instead we would go crazy. If we predict that the world is positive, it will be positive. If we truly believe that in front of us is a pink unicorn when taking a psychedelic substance, it will be there in our experience, even tho other people won't see it because of different set of beliefs.
'''abcde. Wellbeing'''
In this framework, wellbeing is encoded in error dynamics. <ref>[https://www.researchgate.net/publication/353068183_The_Predictive_Dynamics_of_Happiness_and_Well-Being The Predictive Dynamics of Happiness and Well-Being]</ref> We feel good when we do better than expected. It can be locally by playing a guitar or globally by building our life we predict as optimal, satisfying basic needs, selfactualizing in what we see meaning in, satisfying learned reinforced desires. Some of those desires can be maladaptive for wellbeing when the reward mechanism is hijacked by overstimulation with things such as social media.
<references/>
'''abcd. Biochemical brain activity via electromagnetic field and its topology and symmetries and connectome harmonics and annealing'''
'''abcde. Model'''
Communication between neurons that create brain tissue is orchestrated by the electromagnetic field, usually called bioelectricity. Studying this can tell us a lot about experience and edit it by locating neural correlates. Neurons store adaptively learned templates and beliefs of processing their sensory data in their RNA that they exchange between eachother. All cells can be seen as reinforcement learning agents, but neurons are special in a way that they can communicate among long distances like a telegraph. With bioelectric activity, the beliefs construct the generative model by predicting future sensory data after compressing present ones using visual modality, auditory modality, other senses - energy body, touch, feelings, thoughts,... Beliefs in the neurophenomenological software, where some of it is conscious (global workspace), correspond to shapes in the electromagnetic field. You can do harmonic analysis or use group theory.
'''abcde. Wellbeing'''
Symmetry Theory of Valence <ref>[[The Symmetry Theory of Valence 2020 Overview](https://qri.org/blog/symmetry-theory-of-valence-2020) Symmetry Theory of Valence]</ref> postulates that the more symmetries are located in the bioelectromagnetic activity corresponding to our conscious experience, the more good the experience feels. These symmetries on the level of beliefs can be realized in terms of not making distinctions, aka lowering information content, aka underfitting, between different sensory modalities or thoughts by deconstructive meditation, psychedelics and nondual thinking <ref>[[ActInf GuestStream #008.1 ~ "Exploring the Predictive Dynamics of Happiness and Well-Being" - YouTube](https://www.youtube.com/watch?v=m8gUev5aVFs) Exploring the Predictive Dynamics of Happiness and Well-Being]</ref>, which gives the sense of freedom. On the level of shapes in the field its how symmetrical the shapes of mental representations in the bioelectrical software corresponding to different bayesian beliefs are, that are (or don't have to) generated using stored learned templates in the neuron's RNA. These shapes can cause consonance or dissonance by being mishaped, incompatible with sensory input, other shapes or background noise corresponding to resonant wave modes. <ref>[[Good Vibes: The Harmonics of Psychedelics & Energetic Healing - YouTube](https://www.youtube.com/watch?v=NXEpMqpl09M) Good Vibes: Good Vibe Theory with Thermodynamics and Harmonics of Psychedelics by Qualia Research Institute]</ref>
"To use a musical metaphor, in experiences of pain and unfulfilled desire, the overall melody is played in a more minor, or entropic [390,391] key/timbre. Alternatively, in experiences of pleasure and fulfilled desire—potentially including virtual fulfillment (i.e., pleasurable anticipation)—affective orchestras play melodies with greater consonance. One could view such soundtracks to the (fully immersive virtual reality) movies of experience as separate streams of information that help contextualize what is being seen on ‘screens’ over which we see stories unfold (Figure 6). However, it may be closer to experience to say that this metaphorical music enters into what we see and feel, imbuing (or synesthetically coloring) it with meanings. Indeed, we may be able to find most of the principles of affective phenomena to be well-reflected in our experiences of music [16,385,422], where we play with building and releasing tension, enjoying the rise and fall of more and less consonant (or less and more dissonant) melodies." <ref>[[Entropy | Free Full-Text | The Radically Embodied Conscious Cybernetic Bayesian Brain: From Free Energy to Free Will and Back Again](https://www.mdpi.com/1099-4300/23/6/783/htm) The Radically Embodied Conscious Cybernetic Bayesian Brain by Adam Safron]</ref> <ref>[[Frontiers | An Integrated World Modeling Theory (IWMT) of Consciousness: Combining Integrated Information and Global Neuronal Workspace Theories With the Free Energy Principle and Active Inference Framework; Toward Solving the Hard Problem and Characterizing Agentic Causation](https://www.frontiersin.org/articles/10.3389/frai.2020.00030/full) An Integrated World Modeling Theory (IWMT) of Consciousness: Combining Integrated Information and Global Neuronal Workspace Theories With the Free Energy Principle and Active Inference Framework; Toward Solving the Hard Problem and Characterizing Agentic Causation by Adam Safron]</ref>
General structure of annealing is accumulation of internal free energy in a system leading to increased temperature which reduces constraints on freedom of action for the elements of the system leading to elements exploiting new freedom and naturally selforganizing into (usually) more consonant / symmetrical configuration. In psychedelics and meditation, free energy is semantically neutral free computational power and elements are neurons.
<references/>
'''abcd. Brain networks models of cognitive phenomena'''
'''abcde. Model'''
This approach studies connectivity within and between various brain regions relate to wellbeing and mental dissonance.
'''abcde. Wellbeing'''
Brains with higher sense of wellbeing show adaptible flexible communication between various networks. <ref>[https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6123521/ The Radically Embodied Conscious Cybernetic Bayesian Brain by Adam Safron]</ref> Control executive network is strong and can have neuroplasticity control over introspective prone to rumination not hyperconnected default mode network. Amygdala aka fear center doesnt have hyperconnectivty. Reward system networks arent sending reward signals because of for example overstimulation. Brain doesnt believe in its hopelessness reducing thinking activity in the prefortal cortex.
'''abcd. All together'''
Evolution shapes what default evolutionary biologically hardwired set of beliefs emerge that we can be doing better than expected at and what structures are capable having latent property of amount of symmetries and asymmetries (Maslow Hiearchy of Needs, Josha Bach's Engine of Motivation)
Deconstructive meditation, psychedelics and nondual (boundaryless, expansive, general) thinking symmetrify (smoothen) the shape of our generative model by dissolving the cortical hiearchy of beliefs (philosophical assumptions, interacting self and environment model, predictions about existence or properties of units located in spacetime data structure using the language of causality), resulting in freeing the brain dynamics' flow of energy from the self model attractor default mode network. Constructive family of practices implement pleasant (symmetrical, interconnecting, consonant with the rest) or unpleasant beliefs about us, others or the world.
'''abcd. Fullstack Protocol for Engineering Wellbeing: Meditation, psychedelics, thinking'''
'''abcde. Basic needs and health'''
Taking care of your basic needs from the Maslow Hiearchy of Needs. Healthy lifestyle. Treating diseases if present. Reversing aging?
'''abcde. Meaning'''
Meaning is the sense of connection with us, others and everything.
Connection with us is created by working on us, analyzing us, training to love us, inner spiritual work.
Connection with others is created by community that resonates with us culturally (philosophy, ideology,...), couple of clouse friends and significiant other we resonate with across as many scales as possible in psychology, not just physical attraction.
Connection with the universe and everything is the sense of being part of something greater, something transcendental. Paradigm of emergence or god consciousness. Siblings in the wound of creation on groundless ground, interconnected beyond space and time. Cultivating flow, harmony with what is in the present moment.
'''abcde. Meditation session'''
This will be one giant all encompassing session, you can do it all at once do a subset of it for a long time
'''abcdef. Mental moves'''
'''abcdefg. Intention'''
First you can enter the meditation with an intention. It can be relaxing from the day, being more capable of achieving your goals, being a better person, or becoming elightened, My favorite is increasing soulfulness, fully inhabiting your life, becoming infinite love, remembering one's true self, awakening into oneness with the universe, becoming open-minded, openhearted, open-bodied. <3 This will shift the task your mind is solving.
'''abcdefg. Relaxing'''
Let go of things from the day. Relax the thinking mind by tuning into raw sensations. Scan your body and slowly relax each muscle. Relaxing the body relaxes the mind as its a one system.
'''abcdefg. Gladening the mind'''
To free mind from hindrances (sensual desire not aligned with current context, anger, hostility, hatred, sloth, restlessness, worry, doubt) that can be seen as forces in motor planning space field interfering with flow of energy in the phenomenal field, notice the hindrance, objectify it, throw it away or replace it by making it just a nebulous fabrication, optionally deconstruct it or show it proof that it serves no purpose anymore or show it love or show it that it doesn't exist without space and time with no possible linear structure and self other distinction. Come to present moment. Add wholesome thoughts.
'''abcdefg. Building packets of negentropy'''
Concetrate on an object. Anything you like concetrating on, breath, mandala, good things from the day. Smooth flow aka contentless states of high concetraction, sensory clarity, equaminity, love can be seen as packets of consonant negentropy.
'''abcdefg. Deconstruction'''
Packets of consonant negentropy that when sent as messa