LAWS.contacts_cons: law of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/LAWS.bend as LAWS Lines 98-104 of bend-prot@0.1.0.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/LAWS.bend&start_line=98&end_line=104 import Base import bend-prot@0.1.0.0/protein.bend as P import bend-prot@0.1.0.0/topology.bend as T # Interface counting peels one head the same way. law contacts_cons: for x: P.Atom for xt: List<&2, P.Atom> for ys: List<&2, P.Atom> for c2: F32 {T.contacts_between(x <> xt, ys, c2) == Nat.add(T.contacts_between(xt, ys, c2), T.contacts_of_head(x, ys, c2)) : Nat} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/topology.bend&name=contacts_between https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/topology.bend&name=contacts_of_head