braid → Jones

type a braid word, get the Kauffman bracket and Jones polynomial of its closure — from a real state sum, no table lookup.

strands

write generators 1 2 3… for σi, and -1 -2… for σi−1. the closure of an n-braid joins the bottom ends back to the top. max ~14 crossings (2n states).

output
—

how it works: each braid generator σi±1 becomes one crossing in a planar diagram (PD code). the closing arcs join the bottom of the braid back to the top. then it's the same bracket state-sum as my pd-jones page: smooth every crossing two ways, union-find the loops, weight by A#A−#B(−A²−A⁻²)loops−1, sum. finally V(t) = (−A)−3w⟨K⟩ at A = t−1/4.