KernelTileWitness.four_head: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/kernel_tile_witness.bend as KernelTileWitness Lines 48-58 of stelliferous@0.0.2.0/proofs/kernel_tile_witness.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/kernel_tile_witness.bend&start_line=48&end_line=58 import Base import stelliferous@0.0.2.0/kernel_block.bend as Block import stelliferous@0.0.2.0/kernel_tile.bend as Tile import stelliferous@0.0.2.0/proofs/traversal_witness.bend as TraversalWitness def four_head(~State: Type,~Context: Data,~Evidence: @-state: State -> Data, ~read: State -> Context -> Nat -> State & F32, ~read_preserves: @-state: State -> @context: Context -> @index: Nat -> Evidence(state) -> TraversalWitness.Sample, -state: State,+context: Context,-head: F32,+index: Nat,+evidence: Evidence(state)) -> TraversalWitness.Sample>,state, Block.read_pair(~State,~Tile.HeadContext,~Block.Twin, ~Block.read_pair(~State,~Tile.HeadContext,~F32,~Tile.read_with_head(~State,~Context,~read),~1n),~2n,state,Tile.HeadContext{head,context},index)>: pair(~State,~Tile.HeadContext,~Block.Twin, ~Block.read_pair(~State,~Tile.HeadContext,~F32,~Tile.read_with_head(~State,~Context,~read),~1n),~2n,state,Tile.HeadContext{head,context},index, pair_head(~State,~Context,~Evidence,~read,~read_preserves,state,context,head,index,evidence), pair_head(~State,~Context,~Evidence,~read,~read_preserves,state,context,head,Nat.add(index,2n),evidence)) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_block.bend&name=Twin https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_block.bend&name=read_pair https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_tile.bend&name=HeadContext https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_tile.bend&name=read_with_head https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/kernel_tile_witness.bend&name=pair https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/kernel_tile_witness.bend&name=pair_head https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/traversal_witness.bend&name=Sample