OAI/Combinatorics/ParityLifts/TreePrograms.lean
45 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.ParityWL.Complexity.FCode.constline 7 - lemma
OAI.ParityWL.Complexity.BEval.constline 11 - inductive
OAI.ParityWL.Complexity.TExprline 20Source documentation
Finite tree expressions are uniformly linear in the size of their argument; no arithmetic or lookup oracle is concealed in an expression.
inductive TExpr where …
- def
OAI.ParityWL.Complexity.TExpr.evalline 27 - def
OAI.ParityWL.Complexity.TExpr.compileline 34 - def
OAI.ParityWL.Complexity.TExpr.costline 42 - lemma
OAI.ParityWL.Complexity.TExpr.runline 49 - abbrev
OAI.ParityWL.Complexity.TExpr.leftline 70 - abbrev
OAI.ParityWL.Complexity.TExpr.rightline 71 - abbrev
OAI.ParityWL.Complexity.TExpr.nilline 72 - lemma
OAI.ParityWL.Complexity.BEval.loop_iterateline 74 - class
OAI.ParityWL.Complexity.TreeCodecline 103 - abbrev
OAI.ParityWL.Complexity.treeEncodeline 107 - instance
OAI.ParityWL.Complexity.(instance at line 109)line 109 - def
OAI.ParityWL.Complexity.boolTreeline 111 - instance
OAI.ParityWL.Complexity.(instance at line 112)line 112 - lemma
OAI.ParityWL.Complexity.treeEncode_falseline 116 - lemma
OAI.ParityWL.Complexity.treeEncode_trueline 117 - instance
OAI.ParityWL.Complexity.(instance at line 119)line 119 - lemma
OAI.ParityWL.Complexity.treeEncode_pairline 129 - lemma
OAI.ParityWL.Complexity.treeEncode_prodline 132 - def
OAI.ParityWL.Complexity.DataTree.ofListline 135 - lemma
OAI.ParityWL.Complexity.DataTree.ofList_injectiveline 139 - instance
OAI.ParityWL.Complexity.(instance at line 153)line 153 - lemma
OAI.ParityWL.Complexity.treeEncode_nilline 159 - lemma
OAI.ParityWL.Complexity.treeEncode_consline 160 - lemma
OAI.ParityWL.Complexity.treeEncode_list_sizeline 163 - lemma
OAI.ParityWL.Complexity.treeEncode_bitsline 169 - structure
OAI.ParityWL.Complexity.TreeProgramline 176Source documentation
A verified program on a concrete tree encoding.
timeis a proved bound on both work and intermediate storage, never an oracle interpretation ofcode.structure TreeProgram (α β : Type) [TreeCodec α] [TreeCodec β] (f : α → β) where …
Mentions: OAI.ParityWL.Complexity.TreeCodec
- def
OAI.ParityWL.Complexity.TreeProgram.idline 181 - def
OAI.ParityWL.Complexity.TreeProgram.constline 186 - def
OAI.ParityWL.Complexity.TreeProgram.fstline 192 - def
OAI.ParityWL.Complexity.TreeProgram.sndline 199 - def
OAI.ParityWL.Complexity.TreeProgram.compline 206 - def
OAI.ParityWL.Complexity.TreeProgram.pairline 213 - def
OAI.ParityWL.Complexity.TreeProgram.iteline 220 - lemma
OAI.ParityWL.Complexity.BEval.loop_terminatesline 233 - def
OAI.ParityWL.Complexity.TreeProgram.congrline 265 - def
OAI.ParityWL.Complexity.FCode.foldBodyline 272 - def
OAI.ParityWL.Complexity.TreeProgram.foldWorkline 275 - lemma
OAI.ParityWL.Complexity.TreeProgram.foldBody_runline 281 - lemma
OAI.ParityWL.Complexity.TreeProgram.foldLoop_runline 300 - def
OAI.ParityWL.Complexity.TreeProgram.foldlline 309 - lemma
OAI.ParityWL.Complexity.treeEncode_list_size_monoline 320 - lemma
OAI.ParityWL.Complexity.TreeProgram.foldWork_boundline 325