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

Is this FFT algorithm known?

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)

Recently I've been thinking about alternatives to the usual Cooley-Tukey FFT for multiplying polynomials. I think I've come up with a pretty nifty algorithm for multiplying polynomials. So my question is, does anyone know if this FFT algorithm has name? Or is it new algorithm?

My algorithm calculates the product of two polynomials PPP and QQQ mod  xn−ω\mod x^n - \omegamodxn−ω in O(nlog⁡n)O(n \log n)O(nlogn) time, assuming nnn is a power of two, and ω\omegaω is a non-zero complex number.

Part 1. Main idea:

Suppose you know some polynomial Pmod   (x2n−ω)P \mod \, (x^{2n} - \omega)Pmod(x2n−ω), where nnn is a non-negative integer, and ω\omegaω is a complex number. Let P1=Pmod  (xn+ω)P_1 = P \mod (x^n + \sqrt{\omega})P1​=Pmod(xn+ω​) and P2=Pmod  (xn−ω)P_2 = P \mod (x^n - \sqrt{\omega})P2​=Pmod(xn−ω​). I think of P1P_1P1​ and P2P_2P2​ as two different "folds" of Pmod  (x2n−ω)P \mod (x^{2n} - \omega)Pmod(x2n−ω). Note that this folding operation is invertible. From knowing Pmod  (xn+ω)P \mod (x^n + \sqrt{\omega})Pmod(xn+ω​) and Pmod  (xn−ω)P \mod (x^n - \sqrt{\omega})Pmod(xn−ω​) you can "unfold" them into Pmod  (x2n−ω)P \mod (x^{2n} - \omega)Pmod(x2n−ω) by using the sum of the folds, and the difference of the folds.

import cmath

def fold(P, w):
    nhalf = len(P)//2
    return [P[i] + w * P[i + nhalf] for i in range(nhalf)]

def unfold(P1, P2, w):
    return [(p1 + p2)/2       for p1, p2 in zip(P1, P2)] + \
           [(p1 - p2)/(2 * w) for p1, p2 in zip(P1, P2)]

# Dummy identity function
def fold_and_unfold(P, w):
    sqrtw = cmath.sqrt(w)
    P1 = fold(P, sqrtw)
    P2 = fold(P, -sqrtw)
    
    return unfold(P1, P2, sqrtw)

print(fold_and_unfold([1,2,3,4], 1j + 100)) # This prints [1,2,3,4]

Part 2. Polynomial multiplication algorithm:

The key insight here is that if you want to efficiently multiply two polynomials PPP and QQQ, then you can start by repeatedly folding PPP and QQQ, then multiply their folded representations, and then unfold the result.

def multiply(P, Q, w):
    """
        O(n log n) polynomial multiplication algorithm
        Input:
            Polynomial P and Q of length n, n must be a power of 2
            w any non-zero complex number
        Output:
            Polynomial R = P * Q mod x^n - w
            R has length n
    """
    if len(P) == 1:
        return [P[0] * Q[0]]

    sqrtw = cmath.sqrt(w)
    
    P1 = fold(P, sqrtw)
    P2 = fold(P, -sqrtw)

    Q1 = fold(Q, sqrtw)
    Q2 = fold(Q, -sqrtw)
    
    R1 = multiply(P1, Q1, sqrtw)
    R2 = multiply(P2, Q2, -sqrtw)

    return unfold(R1, R2, sqrtw)

# This prints[3, 10, 22, 40, 43, 38, 24]
print(multiply([1,2,3,4,0,0,0,0], [3,4,5,6,0,0,0,0], 1j + 100)) 

This algorithm is similar to Cooley-Tukey FFT based polynomial multiplication algorithms, and it uses exactly the same number of complex multiplications.

But there are some key difference. My algorithm works mod  xn−ω\mod x^n - \omegamodxn−ω for any non-zero complex ω\omegaω. Also, during the folding operations ω\omegaω stays constant. This is very different to Cooley-Tukey FFT where nothing stays constant.

Enunciado y contexto adaptados de MathOverflow · Görre Mörre

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

Temas : polynomials · algorithms · fourier-transform

Autores indicados por la fuente : Görre Mörre

Fuentes y estado original

  • MathOverflow Estado en la fuente : unanswered at collection

Última actividad en la pregunta : 15 de noviembre de 2022

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