NP-hardness of a string transformation problem with k templates
Importado el
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 and , a template length , and a maximum number of different templates , the task is to determine if it's possible to convert into using no more than different templates, each of exactly length . For example, if , , , and , the answer would be YES because it's feasible to achieve the transformation with just two different templates of length 2. For example to get and then to get the desired .
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 (fixed for all templates and given as a parameter of the problem) that is composed of the letter of the alphabet ( to ). 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 . If the first template is set to be , we could choose to ‘print’ at position 1 of , resulting in . If we decide to use another template , we could then ‘print’ that at position 4 of the string to get . We could then choose to use the first template again at position 2 to obtain . We cannot 'print' these templates at positions 5 or 6, as that would cause an attempt to write out of bounds (every character of needs to align with an existing character of ).
Enunciado y contexto adaptados de MathOverflow · Paul Calvi
CC BY-SA 4.0 · Formato adaptado; fórmulas matemáticas conservadas · Historial de la fuente
Fuentes y estado original
- MathOverflow Estado en la fuente : unanswered at collection
Última actividad en la pregunta :
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)