focus on your example: "逻辑不是发明,它天然存在于比较高级的神经系统中。比如小鼠走A门得奶酪B门遭电击,几次之后健康的小鼠就会建立习惯,就是意识进行规律判断(简单的逻辑)的结果。"
Bingo!
Logic is born with, rooted in the body. Writing can describe your example. So, logic is survival, the soil; writing is secondary, to be used to describe what happened.