Bounded Turing-machine configuration encoding -- proof internals #
theorem
Complexity.RAM.TMConfig.tapeAt_input_internal
{n : ℕ}
{Q : Type}
(cfg : Complexity.Cfg n Q)
:
theorem
Complexity.RAM.TMConfig.encodeRegs_field_internal
{n : ℕ}
(tm : TM n)
(bound : ℕ)
(cfg : Complexity.Cfg n tm.Q)
(field : Field n bound)
:
theorem
Complexity.RAM.TMConfig.Represents.update_outside_internal
{n : ℕ}
{tm : TM n}
{bound reg value : ℕ}
{cfg : Complexity.Cfg n tm.Q}
{regs : ℕ → ℕ}
(hrepresents : Represents tm bound cfg regs)
(hreg : registerCount n bound ≤ reg)
:
Represents tm bound cfg (Function.update regs reg value)
theorem
Complexity.RAM.TMConfig.encodeRegs_represents_internal
{n : ℕ}
(tm : TM n)
(bound : ℕ)
(cfg : Complexity.Cfg n tm.Q)
:
Represents tm bound cfg (encodeRegs tm bound cfg)
theorem
Complexity.RAM.TMConfig.decode_of_represents_internal
{n : ℕ}
(tm : TM n)
(bound : ℕ)
(cfg : Complexity.Cfg n tm.Q)
(regs : ℕ → ℕ)
(hrepresents : Represents tm bound cfg regs)
(hbounded : Bounded cfg bound)
:
theorem
Complexity.RAM.TMConfig.encodeRegs_outside_internal
{n : ℕ}
(tm : TM n)
(bound : ℕ)
(cfg : Complexity.Cfg n tm.Q)
{reg : ℕ}
(hreg : registerCount n bound ≤ reg)
: