Single Gauss–Seidel bid step for Word-RAM auction #
Implements and verifies bidStepProg, executing one bid iteration of Bertsekas's auction
algorithm (bidStep) in at most 4 * n + 6 memory operations: popping an unassigned person from
stack, calling findBestProg and findSecondProg from Auction.RowScan, updating price and
owner, and pushing an evicted previous owner back onto stack.
Main definitions #
Cslib.Algorithms.WordRAM.Auction.bidStepProg,Cslib.Algorithms.WordRAM.Auction.BidStepSafe: single-bid program and safety predicate.
Main results #
Cslib.Algorithms.WordRAM.Auction.bidStepProg_realizes,Cslib.Algorithms.WordRAM.Auction.one_le_memoryCost_bidStepProg,Cslib.Algorithms.WordRAM.Auction.bidStepProg_spec: Word-RAM realization, positive memory cost, and single-step simulation againstbidStep.
Perform one Gauss–Seidel auction bid on top of the unassigned-person stack stack[0..sp).
Word-width safety predicate for bidStepProg.
Every execution of bidStepProg performs at least one memory read (popping curI from
stack), absorbing the outer boundedWhile control overhead via Realizes.while₀.
realize certificate for bidStepProg.
Single-step simulation of bidStepProg against bidStep: maintains AuctionMem, keeps
frontier unchanged, returns st'.free.length, and uses at most 4 * ws.n + 6 memory ops.