Ir al contenido
m·amathatlas
ExplorarAcerca deProblemas abiertosAutores citadosMi bibliotecaFeedback
Iniciar sesión
FRENES
Cargando vistas…Solo vistas recientes, en todos los idiomas. El historial de Vercel no está disponible para esta página. Las visitas repetidas en la misma pestaña se agrupan durante 30 minutos.
CompartirLinkedInXFacebookWhatsApp
← Todos los problemas abiertos
Pregunta sin respuesta

NP-hardness of a string transformation problem with k templates

Informática teórica

Importado el 28 de noviembre de 2026

El foro clasificaba esta pregunta como sin respuesta en la fecha de recopilación. Esto no certifica un problema abierto de investigación; consulta las respuestas y el historial de la fuente.

Los enunciados y resúmenes están en inglés. Los conceptos de apoyo y los artículos de Wikipedia disponibles en español ayudan a comprenderlos. La fuente conserva la formulación completa y el debate.

Enunciado del problema (inglés)

Given strings xxx and yyy, a template length lll, and a maximum number of different templates kkk, the task is to determine if it's possible to convert xxx into yyy using no more than kkk different templates, each of exactly length lll. For example, if x=AAAx = AAAx=AAA, y=ABCy = ABCy=ABC, l=2l = 2l=2, and k=2k = 2k=2, the answer would be YES because it's feasible to achieve the transformation with just two different templates of length 2. For example ABABAB to get ABAABAABA and then BCBCBC to get the desired ABCABCABC.

The goal would be to prove that this problem is NP-hard by reducing a known problem to this problem. I've tried many problems but never successfully. Thanks for your help!

EDIT:

A template is a string of length lll (fixed for all templates and given as a parameter of the problem) that is composed of the letter of the alphabet (AAA to ZZZ). It can be 'printed' onto the original string. It will replace all the characters that were present in the section of the string where the template is applied.

To clarify the use of templates, here is a more detailed example:

Let’s take x=AAAAAAx = AAAAAAx=AAAAAA. If the first template is set to be t1=ADFt_1 = ADFt1​=ADF, we could choose to ‘print’ t1t_1t1​ at position 1 of xxx, resulting in ADFAAAADFAAAADFAAA. If we decide to use another template t2=XYZt_2 = XYZt2​=XYZ, we could then ‘print’ that at position 4 of the string to get ADFXYZADFXYZADFXYZ. We could then choose to use the first template t1=ADFt_1 = ADFt1​=ADF again at position 2 to obtain AADFYZAADFYZAADFYZ. We cannot 'print' these templates at positions 5 or 6, as that would cause an attempt to write ttt out of bounds (every character of ttt needs to align with an existing character of xxx).

Enunciado y contexto adaptados de MathOverflow · Paul Calvi

CC BY-SA 4.0 · Formato adaptado; fórmulas matemáticas conservadas · Historial de la fuente

Temas : algorithms · computational-complexity · computer-science

Autores indicados por la fuente : Paul Calvi

Fuentes y estado original

  • MathOverflow Estado en la fuente : unanswered at collection

Última actividad en la pregunta : 2 de junio de 2024

Cobertura, fuentes y método

Este contador mide las fichas importadas, incluidas variantes distintas. No cuenta todas las preguntas matemáticas abiertas del mundo. Una ficha puede pertenecer a varias áreas y fuentes.

El repertorio no es exhaustivo ni se actualiza en tiempo real. « Abierto según la fuente » describe la clasificación observada al importar; no se ha verificado independientemente cada ficha importada. Las 32 fichas explicadas se revisaron por separado.

Formal Conjectures: se conservan solo enunciados « research open » sin prueba formal indicada; se comprueba su etiqueta en una versión concreta del repositorio. Las variantes siguen separadas. Un « sorry » no basta para establecer que el problema sigue abierto.

Erdős: se excluyen problemas resueltos, independientes o con una solución Lean, incluidos los « open (Lean) ». Se fusionan las coincidencias exactas con los enunciados principales de Formal Conjectures.

Open Problem Garden: se contrasta el índice abierto con el de resueltos; se excluyen spam, copias identificadas y algunos estados obsoletos. Los enunciados y sus definiciones se atribuyen a las páginas originales; se conservan las fórmulas y el contenido sigue bajo la GFDL. Se agrupan los duplicados reconocidos, sin resolver todas las equivalencias matemáticas.

OEIS: extracción directa de comentarios y fórmulas conjeturales, una ficha por sucesión, excluyendo resoluciones mencionadas. MathOverflow y Math Stack Exchange: preguntas clasificadas sin respuesta por su API, excluyendo publicaciones cerradas y categorías ajenas a la investigación. Se distinguen de los problemas señalados como abiertos. La colección es parcial y fechada; cada ficha atribuye autores y licencia.

Las exclusiones documentadas tienen en cuenta anuncios recientes y estados contradictorios. Una variante más fuerte o un caso particular puede seguir abierto tras resolverse otro enunciado.

Atribución: The Formal Conjectures Authors; teorth/erdosproblems y sus colaboradores; Open Problem Garden y sus colaboradores. Cada fuente conserva su licencia.

  • Formal Conjectures · 1924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18.857 · CC BY-SA 4.0
  • MathOverflow · 19.035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Comunicar un avance o una corrección
mathatlas

Un atlas independiente para comprender, leer y cuestionar la investigación.

Los artículos presentan resultados anunciados en distintas fases de verificación.
NewsletterDar mi opiniónAcerca de Datos y privacidad
Created by Sonny Mupfuni