OAI/Combinatorics/ParityLifts/TreeRoutines.lean
17 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.ParityWL.Complexity.StackMachine.haltline 7 - lemma
OAI.ParityWL.Complexity.halt_runline 12 - def
OAI.ParityWL.Complexity.StackMachine.branchline 16Source documentation
Branching tests only the finitely many currently scanned stack symbols.
def StackMachine.branch {Q R : Type} {t a : ℕ} (test : (Fin (t + 1) → Option (StackSymbol a)) → Bool) (P : StackMachine Q t a) (T : StackMachine R t a) : StackMachine (Unit ⊕ Q ⊕ R) t a where …Mentions: OAI.ParityWL.Complexity.StackSymbol, OAI.ParityWL.Complexity.StackMachine
- lemma
OAI.ParityWL.Complexity.Runs.branch_trueline 30 - lemma
OAI.ParityWL.Complexity.Runs.branch_falseline 48 - def
OAI.ParityWL.Complexity.popSymbolline 66 - lemma
OAI.ParityWL.Complexity.popSymbol_runline 69 - def
OAI.ParityWL.Complexity.nodeWordline 86Source documentation
Assemble a binary node without changing either operand, even if the store destination aliases an operand. The buffer and temporary are cleared.
def nodeWord {t : ℕ} (dst left right buf tmp : Fin (t + 1)) := … - lemma
OAI.ParityWL.Complexity.nodeWord_runline 91 - def
OAI.ParityWL.Complexity.nilWordline 137 - lemma
OAI.ParityWL.Complexity.nilWord_runline 140 - def
OAI.ParityWL.Complexity.DataTree.childline 153 - def
OAI.ParityWL.Complexity.selectChildTailline 157 - def
OAI.ParityWL.Complexity.selectChildline 161 - lemma
OAI.ParityWL.Complexity.selectChild_runline 166 - def
OAI.ParityWL.Complexity.projectWordline 244Source documentation
Tree projection with untouched operand and clean finite work stacks.
def projectWord {t : ℕ} (dst src buf tmp out pending : Fin (t + 1)) (right : Bool) := … - lemma
OAI.ParityWL.Complexity.projectWord_runline 248