TraversalWitness.mapped_value: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/traversal_witness.bend as TraversalWitness Lines 176-185 of stelliferous@0.0.2.0/proofs/traversal_witness.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/traversal_witness.bend&start_line=176&end_line=185 import Base import stelliferous@0.0.2.0/traversal_array.bend as Traversal import stelliferous@0.0.2.0/proofs/storage_witness.bend as Witness def mapped_value(~Element: Data,~Context: Data,~map: Context -> Element -> Element, +depth: Nat,+position: U32,+context: Context,-output: Array,-result: Array & Element, output_evidence: Witness.Witness(Element,depth,output),observed: Witness.Read) -> MapEvidence: match observed: case Witness.Read{value,equation}: %Equal.sym(Array & Element,result,(output,value),equation) : MapEvidence MapEvidence{Array.set(Element,output,position,map(context,value)),(position + 1 : U32),context,{==}, Witness.write(Element,depth,output,position,map(context,value),output_evidence)} Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_witness.bend&name=Read https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_witness.bend&name=Witness https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_witness.bend&name=write https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/traversal_witness.bend&name=MapEvidence https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_array.bend&name=mapped_value