TensorAccessCertificate.indexed_sample: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/tensor_access_certificate.bend as TensorAccessCertificate Lines 282-289 of stelliferous@0.0.2.0/proofs/tensor_access_certificate.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/tensor_access_certificate.bend&start_line=282&end_line=289 import Base import stelliferous@0.0.2.0/tensor_access.bend as Access import stelliferous@0.0.2.0/proofs/traversal_witness.bend as TraversalWitness def indexed_sample(~Element: Data,~operation: U32 -> Element -> Element,-storage: Array,+position: U32,-result: Array & Element, sample: TraversalWitness.Sample,Element,storage,result>) -> TraversalWitness.Sample,Element,storage,Access.indexed_value(~Element,~operation,position,result)>: match sample: case TraversalWitness.Sample{value,equation}: %Equal.sym(Array & Element,result,(storage,value),equation) : TraversalWitness.Sample,Element,storage,Access.indexed_value(~Element,~operation,position,_)> TraversalWitness.Sample{operation(position,value),{==}} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/traversal_witness.bend&name=Sample https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_access.bend&name=indexed_value