Research | Knitting

Knitting

These pages describe three categories: tangles (𝒯), knitout programs (𝒦) and shorthand programs (𝒮). They describe the functors between them: draw𝒦 and draw𝒮 to 𝒯, compile C : 𝒮 → 𝒦, and read R : 𝒦 → 𝒮. The main theorem is R ∘ C = id𝒮: 𝒮 is a retract of 𝒦 over 𝒯.

About the formalisation

LanguageLean 4.36 with Mathlib
Packageformalize-knitting
ProvedEvery theorem on these pages. No proof uses sorry. The proofs use only the standard axioms propext, Classical.choice and Quot.sound.

References

  1. Lin, Narayanan, Ikarashi, Ragan-Kelley, Bernstein, McCann, "Semantics and Scheduling for Machine Knitting Compilers", ACM TOG 42(4), 2023. Lemma B.1; Def. 5.5, Fig. 12; Def. 5.6; Def. 5.3, Fig. 11; Def. 5.1 (syntax), Def. 5.2 (locations), Def. 5.3 (state), Fig. 11 (validity); Fig. 11, Fig. 12(g); Def. 5.1 (syntax), Def. 5.2 (locations), Def. 5.3 (state), Def. 5.5 (the row of points), Fig. 11 (validity), Fig. 12 (the drawings); Fig. 12 (stitch insides).
  2. Hurtig et al. 2025. Fig. 5; Fig. 5 (moves L1, L2, M1).
  3. Turaev. 1989. "Operator invariants of tangles, and R-matrices". Izv. Akad. Nauk SSSR 53:5. §7.3; "Operator invariants of tangles, and R-matrices". Izv. Akad. Nauk SSSR 53:5. §7.3, Theorem 3.2; "Operator invariants of tangles, and R-matrices". Izv. Akad. Nauk SSSR 53:5. §7.3, relations (27), (28); Theorem 3.2.
  4. Chmutov, Duzhin, Mostovoy. "Introduction to Vassiliev Knot Invariants". arXiv:1103.5628. Theorem 1.7.7.
  5. Reidemeister. 1927. "Elementare Begründung der Knotentheorie". Abh. Math. Sem. Univ. Hamburg 5.
  6. Rolfsen. 1976. "Knots and Links". Publish or Perish. Chapter 5, the linking number.
  7. Chmutov, Duzhin, Mostovoy. "Introduction to Vassiliev Knot Invariants". arXiv:1103.5628. Theorem 1.7.7, unoriented case, moves T0–T5′.