OAI/MathematicalPhysics/NavierStokes/ForcedComputation/Programs/FiniteStackArithmetic.lean
6 declarations, 0 contain sorry, 0 declared as axioms
Faithfulness of finite little-endian integer stacks, including their infinite zero tails. This is used for the entire finite recorder table.
- theorem
OAI.ForcedComputation.Lattice.stackValue_injective_prefixline 10 - theorem
OAI.ForcedComputation.Lattice.stackValue_injective_zero_tailline 31 - theorem
OAI.ForcedComputation.Lattice.prepend_injectiveline 40 - theorem
OAI.ForcedComputation.Lattice.nat_eq_of_mod_div_eqline 50 - theorem
OAI.ForcedComputation.Lattice.nextStacks_recoverline 59Source documentation
The written digit and both old stack tails are recoverable from the new stacks, once the incoming movement is known.
theorem nextStacks_recover {b L₁ L₂ R₁ R₂ a₁ a₂ : ℕ} (hb : 0 < b) (ha₁ : a₁ < b) (ha₂ : a₂ < b) (m : Fin 3) (hL : nextLeft b L₁ a₁ m = nextLeft b L₂ a₂ m) (hR : nextRight b L₁ R₁ a₁ m = nextRight b L₂ R₂ a₂ m) : L₁ = L₂ ∧ R₁ / b = R₂ / b ∧ a₁ = a₂ := by …Mentions: OAI.ForcedComputation.Lattice.nextLeft, OAI.ForcedComputation.Lattice.nextRight
- theorem
OAI.ForcedComputation.Lattice.nextStacks_injective_of_readline 76