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 826193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:22:36+00:00 2026-05-15T03:22:36+00:00

I have: 1) a starting set, a multiset, e.x. { x, y, z, z

  • 0

I have:

1) a “starting set”, a multiset, e.x. { x, y, z, z },

2) a set of transformations, e.x. {x,z} => {y}, {z,z} => {z}, {x} => {z}, {y} => {x}, and

3) a “target set” that I am trying to get by applying transformations to the starting set, e.x. { z }.

I’d like to find an algorithm to generate the (possibly infinite) possible applications of the transformations to the starting set that result in the target set. For example:

{ x, y, z, z }, y => x
{ x, x, z, z }, x => z
{ z, x, z, z }, x => z
{ z, z, z, z }, {z, z} => z
{ z, z, z }, {z, z} => z
{ z, z }, {z, z} => z
{ z }

The order of the elements is irrelevant everywhere.

This sounds like something that’s probably an existing (named) problem, but I don’t recognize it. Can anyone help me track it down, or suggest further reading on something similar?

  • 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-15T03:22:36+00:00Added an answer on May 15, 2026 at 3:22 am

    This seem to be a very hard problem! I believe that even the decision problem to determine if a sequence of transforms exists (to convert source to target) is an Undecidable Problem. Look at the Tag System page on the page of List of Undecidable Problems.

    In fact, it looks like the decision verion of your problem is at least as hard as the Collatz Conjecture, which states that the sequence

    n -> n/2 if n is even
    n -> 3n+1 if n is odd
    

    always ends in 1.

    This conjecture can be stated as:

    given the set of transforms

    a -> bc
    b -> a
    c -> aaa
    

    Can the word

    aaa...aaa (a repeated n times)
    

    eventually be transformed to the word

    a
    

    (The single letter a).

    Since the transformations only take one character at a time, the order does not matter: a word can be viewed as a multiset and is applicable to your problem.

    This set of transforms for the Collatz Conjecture was gotten from here: http://logica.ugent.be/liesbeth/TagColOK.pdf (see page 7).

    Basically we cannot even be sure if any algorithm for this particular problem will ever terminate on all inputs.

    I guess you just need to explore all paths (using BFS/A* whatever) and hope you get lucky.

    Of course, if your rules of transformation always reduced the number of symbols, then an exhaustive search (even DFS) would surely halt.

    So, as you said, do a BFS/heuristic. But, now after this information, I guess you can do it confidently. 🙂

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

Sidebar

Related Questions

I have a set of data that I'd like to present via a WPF
Just starting out with subversion, have set up repos for 3 current projects and
I have a situation where I'm starting a number of objects that, when they
I know similar questions have been asked before. I am starting with a set
I have this class set for a page I'm testing (just starting to try
I have a problem that's starting to drive me crazy.. I've narrowed my problem
I am starting to set up a personal website, and I would like it's
could you please clarify my issue? I have a starting page ListBox1.aspx that calls
well I have been trying to get Nivo Slider to work almost all day.
I have my web page set up right. I am just starting to build

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.