TraversalWitness.map_step: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/traversal_witness.bend as TraversalWitness Lines 187-195 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=187&end_line=195 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 map_step(~Element: Data,~Context: Data,~map: Context -> Element -> Element,+depth: Nat, -state: Traversal.State<&2,&1,Unit,Array,Context>,evidence: MapEvidence) -> MapEvidence: match evidence: case MapEvidence{output,+position,+context,equation,+output_evidence}: %Equal.sym(Traversal.State<&2,&1,Unit,Array,Context>,state,Traversal.State{Unit{},output,position,context},equation) : MapEvidence mapped_value(~Element,~Context,~map,depth,position,context,output,Array.get(Element,output,position),output_evidence, Witness.read(Element,depth,output,position,output_evidence)) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.get 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=Unit 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/traversal_witness.bend&name=MapEvidence https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/traversal_witness.bend&name=mapped_value https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_array.bend&name=State https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_array.bend&name=map_step