Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6126613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:23:51+00:00 2026-05-23T16:23:51+00:00

Is the following language L undecidable? L = { M | M is a

  • 0

Is the following language L undecidable?

L = {M | M is a Turing machine description and there exists an input x of length k such that M halts after at most k steps}

I think it is but I couldn’t prove it. I tried to think of a reduction from the halting problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:23:51+00:00Added an answer on May 23, 2026 at 4:23 pm

    Review: An instance of the halting problem asks whether Turning machine N halts on input y. The problem is known to be undecidable (but semidecidable).

    Your language L is indeed undecidable. This can be shown by reducing the halting problem to L:

    1. For the halting problem instance (N, y), create a new machine M for the L problem.
    2. On input x, M simulates (N, y) for length(x) steps.
    3. If the simulation halted within that number of steps, then M halts. Otherwise, M deliberately goes into an infinite loop.

    This reduction is valid because:

    • If (N, y) does halt eventually in k steps, then M will halt for all inputs of length k or greater, thus M is in L.
    • Otherwise (N, y) does not halt, then M will not halt for any input string no matter how long it is, thus M is not in L.

    Finally, the halting problem is undecidable, therefore L is undecidable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a text editor (for programming pourposes) that supports the following features: Multi-Language
Is there any difference between these two statements, given the following language?? Ben likes
How does it come, that the following type checks {-# LANGUAGE RankNTypes #-} module
the following are assembly language codes of an sic/xe machine.... clear a ldx #128
The following is a common typo with language newcomers, who think that they are
I'm using GHCi 7.0.3 with the following program that implements type-level list: {-# LANGUAGE
I'm looking for a programming language that has the following features: First-class functions and
I have the following route: {language}/{controller}.mvc/{action}/{id} Once a user has choosen the language it
Consider following script: SET LANGUAGE 'German' GO SET DATEFIRST 1 GO DECLARE @FullDate DATETIME
I wish to define the following typeclass Mapping : {-# LANGUAGE MultiParamTypeClasses #-} class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.