OAI/Computability/QuantumFactoring/BitStackConstants.lean
5 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.ExactQuantumFactoring.BitStackProgram.pushWordline 14Source documentation
A fixed finite list is part of the program, not a run-time oracle.
def pushWord (k : K) : List Bool→Program K | []=>.skip | b::bs=>.seq (pushWord k bs) (.push k b)
- lemma
OAI.ExactQuantumFactoring.BitStackProgram.pushWord_runsline 17 - def
OAI.ExactQuantumFactoring.BitStackProgram.Procedure.constantline 27 - def
OAI.ExactQuantumFactoring.BitStackProgram.Procedure.quoteline 46 - def
OAI.ExactQuantumFactoring.BitStackProgram.Procedure.lengthline 63Source documentation
Count each actual symbol, returning a unary length.
noncomputable def length : Procedure (id : List Bool→List Bool) (fun n=>List.replicate n true) List.length where …Mentions: OAI.ExactQuantumFactoring.BitStackProgram.Procedure