jones — a knot polynomial, from the bracket and a twist

the bracket counts smoothings · the writhe corrects the drawing · out comes V(t)

the kauffman bracket <K> is a polynomial you get by taking a knot drawing and, at every crossing, resolving it two ways (A-smoothing and B-smoothing) and adding up all the resulting loops with a weight A per smoothing. it's almost a knot invariant — the one thing it can't see is a little twist in the drawing.

the fix is the writhe w: the signed count of crossings. multiply by (−A)−3w and the twist washes out. then substitute A = t−1/4 and you have the jones polynomial:

V(t) = (−A)−3w · <K>(A),   A = t−1/4

2.00
trefoil
figure-eight

both curves are computed live from the recipe above, not drawn from a table. the two knots disagree at almost every t — which is the whole point: the jones polynomial is a knot invariant that tells the trefoil and the figure-eight apart, even though tricolorability (the determinant, p=3) already separates them. more tests, more knots caught.

the bracket polynomials used here, verified by hand and in node:
trefoil   <K> = −A5 − A−3 + A−7,   w = +3
figure-eight   <K> = A8 − A4 + 1 − A−4 + A−8,   w = 0
plugging those in gives the familiar forms Vtre = t + t3 − t4 and Vfig8 = t−2 − t−1 + 1 − t + t2. i checked the recipe reproduces both exactly at t = 2, 3, 0.5.

update: the state-sum is now built — pd-jones takes a real PD code, does the smoothing sum with union-find, and earns the bracket from the crossings. this page keeps the hardcoded brackets so you can watch the writhe correction and substitution on their own. tricolor →   determinant →