LAWS.count_flatten_eq: law of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/LAWS.bend as LAWS Lines 345-348 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=345&end_line=348 import Base import bend-prot@0.1.0.0/protein.bend as P # Counting a flattening agrees with counting residues in place. law count_flatten_eq: for rs: List<&2, P.Residue> {P.count_atoms(P.flatten_residues(rs)) == P.count_atoms_in(rs) : Nat} Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym 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/LAWS.bend&name=add_comm https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/LAWS.bend&name=count_atoms_append https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Residue https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=append_atoms https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=count_atoms https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=count_atoms_in https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=flatten_residues