def gt.fl

bend-osdev-gf@0.1.1.0 · proof_tab.bend:213

import bend-osdev-gf@0.1.1.0/proof_tab.bend as ProofTab
import Base
import bend-osdev-array@0.1.0.1/array.bend as A
import bend-osdev-gf@0.1.1.0/gf.bend as G

213# the log fill's model: slot gen^i holds i, from i = k
214def gt.fl(n: Nat, xs: List<&2, U32>, +f: G.Gf8Field, +k: Nat) -> List<&2, U32>:
215  match n:
216    case 0n:
217      xs
218    case 1n+j:
219      gt.fl(j, List.set(&2, U32, xs, A.Arrays.index(8n, G.Gf8.exp(f, k)), U32.from_nat(k)), f, 1n+k)

Uses (8)

Used by (6)