Semantics and Scheduling for Machine Knitting Compilers
Jenny Lin, Vidya Narayanan, Yuka Ikarashi, Jonathan Ragan-Kelley, Gilbert Bernstein, James McCann
Abstract
Machine knitting is a well-established fabrication technique for complex soft objects, and both companies and researchers have developed tools for generating machine knitting patterns. However, existing representations for machine knitted objects are incomplete (do not cover the complete domain of machine knittable objects) or overly specific (do not account for symmetries and equivalences among knitting instruction sequences). This makes it difficult to define correctness in machine knitting, let alone verify the correctness of a given program or program transformation. The major contribution of this work is a formal semantics for knitout, a low-level Domain Specific Language for knitting machines. We accomplish this by using what we call the fenced tangle , which extends concepts from knot theory to allow for a mathematical definition of knitting program equivalence that matches the intuition behind knit objects. Finally, using this formal representation, we prove the correctness of a sequence of rewrite rules; and demonstrate how these rewrite rules can form the foundation for higher-level tasks such as compiling a program for a specific machine and optimizing for time/reliability, all while provably generating the same knit object under our proposed semantics. By establishing formal definitions of correctness, this work provides a strong foundation for compiling and optimizing knit programs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MediKnit: Soft Medical Making for Personalized and Clinician-Designed Wearable Devices for Hand Edema cites spaceR: Knitting Ready-Made, Tactile, and Highly Responsive Spacer-Fabric Force Sensors for Continuous Input
- MediKnit: Soft Medical Making for Personalized and Clinician-Designed Wearable Devices for Hand Edema cites Engineering Multifunctional Spacer Fabrics Through Machine Knitting
Cited by top-tier papers2
Builds on8
- Exocompilation for productive programming of hardware acceleratorsYuka Ikarashi, Gilbert Louis Bernstein, Alex Reinking, Hasan Genc et al.PLDI 2022 · 56 citations
- Engineering Multifunctional Spacer Fabrics Through Machine KnittingLea Albaugh, James McCann, Scott E. Hudson, Lining YaoCHI 2021 · 46 citations
- Knit sketching: from cut & sew patterns to machine-knit garmentsAlexandre Kaspar, Kui Wu, Yiyue Luo, Liane Makatura et al.SIGGRAPH 2021 · 34 citations
- spaceR: Knitting Ready-Made, Tactile, and Highly Responsive Spacer-Fabric Force Sensors for Continuous InputRoland Aigner, Mira Alida Haberfellner, Michael HallerUIST 2022 · 32 citations
- Petr4: formal foundations for p4 data planesRyan Doenges, Mina Tahmasbi Arashloo, Santiago Bautista, Alexander Chang et al.POPL 2021 · 24 citations
Related papers
- KODA: Knit-program Optimization by Dependency AnalysisMegan HofmannUIST 2024 · 6 citations
- KnitKit: a flexible system for machine knitting of customizable textilesGeorges Nader, Yu Han Quek, Pei Zhi Chia, Oliver Weeger et al.SIGGRAPH 2021 · 20 citations
- KnitScript: A Domain-Specific Scripting Language for Advanced Machine KnittingMegan Hofmann, Lea Albaugh, Tongyan Wang, Jennifer Mankoff et al.UIST 2023 · 28 citations
- KnitGIST: A Programming Synthesis Toolkit for Generating Functional Machine-Knitting TexturesMegan Hofmann, Jennifer Mankoff, Scott E. HudsonUIST 2020 · 27 citations
- Solid KnittingYuichi Hirose, Mark Gillespie, Angelica M. Bonilla Fominaya, James McCannSIGGRAPH 2024 · 11 citations
