Proof.valid_true: law of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/proof.bend as Proof Lines 51-57 of bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/proof.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/proof.bend&start_line=51&end_line=57 import Base import bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20.bend as I law valid_true: for +key: List<&2, U32> for +nonce: List<&2, U32> for +n: Nat for +hk: {List.length(&2, U32, key) == 32n : Nat} for +hn: {List.length(&2, U32, nonce) == n : Nat} {I.valid(key, nonce, n) == True{} : Bool} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and 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=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/proof.bend&name=is_eq_self https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20.bend&name=valid