OAI/Computability/MaxCut/Estimates/Put.lean
36 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.OptimalMaxCut.CounterMachine.Command.putline 11 - theorem
OAI.OptimalMaxCut.CounterMachine.Command.put_evaluatesline 15 - def
OAI.OptimalMaxCut.CounterMachine.Command.subFromline 26 - theorem
OAI.OptimalMaxCut.CounterMachine.Command.subFrom_evaluatesline 28 - theorem
OAI.OptimalMaxCut.CounterMachine.Command.rewind_evaluatesline 44 - def
OAI.OptimalMaxCut.CounterMachine.Command.skipInputline 64Source documentation
Skip exactly the prescribed number of attempted reads, recording only real bits on the backup. EOF is handled by a genuine branch.
def skipInput (r : R) : Command R := .loop r (.read .skip .skip .skip)
Mentions: OAI.OptimalMaxCut.CounterMachine.Command
- theorem
OAI.OptimalMaxCut.CounterMachine.Command.skipInput_evaluatesline 66 - def
OAI.OptimalMaxCut.CounterMachine.Command.inputBitline 98Source documentation
Read one bit at a unary index; a missing bit is false. Input is restored.
def inputBit (index result : R) : Command R := …
Mentions: OAI.OptimalMaxCut.CounterMachine.Command
- theorem
OAI.OptimalMaxCut.CounterMachine.Command.inputBit_evaluatesline 101 - def
OAI.OptimalMaxCut.CounterMachine.Command.lengthLoopline 156 - theorem
OAI.OptimalMaxCut.CounterMachine.Command.lengthLoop_evaluatesline 159 - def
OAI.OptimalMaxCut.CounterMachine.Command.inputLengthline 207 - theorem
OAI.OptimalMaxCut.CounterMachine.Command.inputLength_evaluatesline 209 - inductive
OAI.OptimalMaxCut.CounterMachine.Exprline 242Source documentation
Polynomially bounded arithmetic expressions with finite bounded summation. The only inspection of the input is by actual bit-read or length macros above. Bounded sums suffice for divisions, remainder, bounded minimization and every finite loop in the rounded long-code graph printer.
inductive Expr where …
- def
OAI.OptimalMaxCut.CounterMachine.Expr.bindline 255 - def
OAI.OptimalMaxCut.CounterMachine.Expr.evalline 259 - def
OAI.OptimalMaxCut.CounterMachine.Expr.valueBudgetline 270 - theorem
OAI.OptimalMaxCut.CounterMachine.Expr.eval_leline 281 - def
OAI.OptimalMaxCut.CounterMachine.Expr.timeBudgetline 307 - def
OAI.OptimalMaxCut.CounterMachine.Expr.compileline 320 - def
OAI.OptimalMaxCut.CounterMachine.Data.Cleanline 339 - theorem
OAI.OptimalMaxCut.CounterMachine.Data.Clean.monoline 341 - theorem
OAI.OptimalMaxCut.CounterMachine.Data.Clean.set_succline 344 - theorem
OAI.OptimalMaxCut.CounterMachine.Data.set_argsline 350 - theorem
OAI.OptimalMaxCut.CounterMachine.Data.set_clean_zeroline 355 - def
OAI.OptimalMaxCut.CounterMachine.Expr.Correctline 367Source documentation
Exact operational contract: all scratch counters are returned to zero, original arguments and input are preserved, and a fixed explicit clock holds.
def Correct (e : Expr) : Prop := ∀ (vars : ℕ → ℕ) (k : ℕ) (d : Data ℕ) (M : ℕ), …
Mentions: OAI.OptimalMaxCut.CounterMachine.Expr, OAI.OptimalMaxCut.CounterMachine.Data
- theorem
OAI.OptimalMaxCut.CounterMachine.Expr.correct_constline 372 - theorem
OAI.OptimalMaxCut.CounterMachine.Expr.correct_argline 376 - theorem
OAI.OptimalMaxCut.CounterMachine.Expr.correct_lengthline 383 - theorem
OAI.OptimalMaxCut.CounterMachine.Expr.binary_startline 388 - theorem
OAI.OptimalMaxCut.CounterMachine.Expr.correct_addline 405 - theorem
OAI.OptimalMaxCut.CounterMachine.Expr.correct_subline 429 - theorem
OAI.OptimalMaxCut.CounterMachine.Expr.correct_zeroline 453 - theorem
OAI.OptimalMaxCut.CounterMachine.Expr.correct_bitline 467 - theorem
OAI.OptimalMaxCut.CounterMachine.Command.Within.assocline 497 - theorem
OAI.OptimalMaxCut.CounterMachine.Expr.correct_mulline 509