TensorAccessCertificate.loop: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/tensor_access_certificate.bend as TensorAccessCertificate Lines 51-59 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=51&end_line=59 import Base import stelliferous@0.0.2.0/traversal_array.bend as Traversal import stelliferous@0.0.2.0/traversal_loop.bend as Loop import stelliferous@0.0.2.0/proofs/storage_witness.bend as Witness import stelliferous@0.0.2.0/proofs/traversal_witness.bend as TraversalWitness def loop(~Element: Data,~Context: Data,~step: Traversal.State<&1,&1,Array,Array,Context> -> Traversal.State<&1,&1,Array,Array,Context>, ~keeps: Keeps(~Element,~Context,~step), +depth: Nat,count: Nat,-input: Array,-state: Traversal.State<&1,&1,Array,Array,Context>,+input_evidence: Witness.ArrayWitness, evidence: TraversalWitness.StateEvidence,Element,Context,input,depth,state>) -> TraversalWitness.StateEvidence,Element,Context,input,depth,Loop.run(~Traversal.State<&1,&1,Array,Array,Context>,~step,count,state)>: match count: case 0n: evidence case 1n+rest: loop(~Element,~Context,~step,~keeps,depth,rest,input,step(state),input_evidence,keeps(depth,input,state,input_evidence,evidence)) 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=Nat https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_witness.bend&name=ArrayWitness https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/tensor_access_certificate.bend&name=Keeps https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/traversal_witness.bend&name=StateEvidence 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_loop.bend&name=run