Maybe you could also appreciate an answer that does not come directly from Buddhism but from paraconsistent logic. This logic is not the everyday classical logic which you use in computer science (actually you could use it, though it is not widespread). Still, there are quite strong parallels between this type of logic and Buddhism. The reason I am browsing ...
I will join in the fun with another answer:
Consciousness is included as one of the basic six elements (dhatus), namely, earth, wind, fire, water, space and consciousness, per MN 115. Here, the term 'consciousness' is obviously used to refer to all forms of mentality.
For example, AN 3.61 says a new embryo is formed from the above six elements.
The four ...
“... how exactly is consciousness structured in this model?”
Consciousness has no form or “structure.” It is like “ether.”
“Where does consciousness exist exactly?”
Nowhere, yet everywhere. Whether in a physical shell, or as part of the nameless void, consciousness has no barrier or confine to its existence.
“...but I don't understand how the consciousness ...
The five aggregates are form, feeling (or sensation), perception, consciousness and mental formations.
These are part of name-and-form, the mentality-materiality or mind-and-body model.
Form is body. The rest are part of "name" or mind, with feeling and mental formations connecting the mind to the body.
Feeling or sensation senses from the six ...
As a computer scientist interested in the origin of the universe and
the mind, I finally have found some ancient stuff of the type of
substance and depth I am looking for, the Abhidhamma. The first part
of the Vibhanga (one of the sections of the Abhidhamma) talks about
"aggregates" or "heaps" or "groups", Skandha. This to me ...
As a computer scientist you are bringing some baggage with you that will continue to get in the way of what you want to find in the Dharma. I am speaking from the perspective of a computer scientist that spent thirty years looking into the same questions you are asking, ultimately finding the answers in contemplative practice.
While consciousness is ...