How would the smallest possible law look like, in order to encode self-emergent principles required to protect freedom of trade from being eroded and destroyed by so-called politicians in the future?

Ultimate Law

Logic is the ultimate law.

Do not do to others what they would not want to be done to them, or you will be punished regardless of your will.

The purpose of punishment is to erase guilt, via retribution and restitution.

That is the entire law; it cannot be changed, all the rest is commentary.

Ultimate Law is an improved version of Google’s “Don’t be evil“. Common sense logic is used to derive the commentary part of the law from passive version of the Golden Rule. Same commentary is derived using more strict mathematical logic of sets.

Template form of it can be easily adopted as company law, forum law, club law, or law of any “non-evil” organisation which would benefit from having it.  

It can be used as semi-autonomous impartial judiciary tool when used as guiding principle of AI central algorithm.

It is free to use in any organization, commercial or otherwise.

It is extremely scalable and can be applied in organisations as small as a family, as complex as an android or as big as an empire.

It is a practical example of nomocracy.

Example Commentary

Do not lie.

Do not steal.

Do not harm.

Do not murder.

No victim, no crime.

Agreements must be kept.

Do not break law in prevention of lawbreaking.

Goal never justifies the means, except for punishment.

You can only do to others what they wouldn’t want to be done to them if you are dealing punishment.

Trade freely, without harm or deceit; any interference faces correction.

Example Bill of Rights

You are the sole owner of the property of your body and are responsible for its actions.

You have the right to trade freely.

Example Declaration of Independence

I consent to no other laws than Ultimate Law.