import OAI.Computability.SpaceSimulation.OneTape.Sizes namespace OAI namespace Fifths.Cost noncomputable def Log (T : ℕ) := Real.log (T+2 : ℝ) / Real.log 2 noncomputable def exponent := (2:ℝ)/5 private theorem logpos : 0 < Real.log 2 := Real.log_pos (by norm_num) theorem one_le (T : ℕ) : 1 ≤ Log T := by unfold Log apply (le_div_iff₀ logpos).mpr rw [one_mul] apply Real.log_le_log (by norm_num) have : (0:ℝ) ≤ T := by positivity linarith private theorem smallPow {T : ℕ} (h : T ≥ 2) : 2^(T.size-1) ≤ T ∧ 1 ≤ T.size := by have b := Nat.size_pos.mpr (show 0