An LRUP (RUP-only LRAT) checker on the word RAM: the steps of a certificate #
This file proves that the step loop of the word-RAM LRUP (RUP-only LRAT) checker
(Cslib.Algorithms.WordRAM.LRAT.stepLoop) computes Cslib.Logic.PL.CNF.checkLRUPAux (rejecting
RAT steps).
Main definitions #
Cslib.Algorithms.WordRAM.LRAT.stepsWork: the total length of the clauses that the hints of the steps name, in the database of each step.
Main results #
Cslib.Algorithms.WordRAM.LRAT.stepLoop_spec: the step loop leavescheckLRUPAux db certinout.
The database under additions and deletions #
Recording the address a of the encoding of c under number i adds (i, c) to the
database.
Clearing the cell of number i deletes the clauses numbered i.
The trail #
Work #
The total length of the clauses the hints of the steps name, in the database of each step,
following checkLRUPAux as if every step were accepted.
Assuming the negated clause #
Assuming the negated clause: the loop over the literals ls at lptr puts their
negations on the trail, changing only assignment cells.
A RUP step on the words i :: encodeClause c ++ encodeNums hints at ptr: when
propagation from the negated clause along the hints succeeds, it adds (i, c) to the database,
advances the stamp, and leaves ptr past the step; otherwise it rejects.
The deletion loop clears the table cells of the numbers in [ptr, hend).
A deletion step on the words encodeNums ids at ptr.
The registers and memory of the step loop before a step, with the database db and the
stamp s.
Register
zeroholds0.Register
oneholds1.Register
threeholds3.The input ends just before
T.The table and the assignment start at
T.The stamp of the next step.
No answer yet.
The table represents
db.The trail of the next step is empty.
The literal codes of the database are below
M.Every address and value the checker computes fits a word.
The stamp is at most the cursor, so it stays below
T.
The words of a list of steps.
The step loop computes checkLRUPAux db rest for the steps rest at ptr, which run to
the end of the input.