Like I said, animals have an understanding of justice and equality. There may be an understanding of what we call freedom but, due to a lack of complex language, they can't express it. For all I know, there has been evidence of animals showing an understanding of freedom, just as they have shown an understanding of fairness or lack of fairness. There was an experiment where two chimpanzees, I believe, were given two different size piles of food and the chimp that received that smaller amount showed obvious unhappiness.
Justice is more than just punishment or sanction for crimes and social transgressions.
Freedom is more than just the ability to move about the environment without constraint.
That is exactly why humans have had the long debate looking to the philosophies of Socrates, Jesus, Confucious, Ghandi, Marx, Lao Tzu.
The concept that everything can be explained physically by scientific law and maths is a philosophical and metaphysical viewpoint which I believe even few scientists agree with. Some even think it's hubris to believe that the maths and experiments our chimpanzee brains can come up with give us direct access to all the answers, to all true knowledge and understanding