Back to Search Start Over

Semantics and Scheduling for Machine Knitting Compilers.

Authors :
Lin, Jenny
Narayanan, Vidya
Ikarashi, Yuka
Ragan-Kelley, Jonathan
Bernstein, Gilbert
McCann, James
Source :
ACM Transactions on Graphics; Aug2023, Vol. 42 Issue 4, p1-26, 26p
Publication Year :
2023

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. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
07300301
Volume :
42
Issue :
4
Database :
Complementary Index
Journal :
ACM Transactions on Graphics
Publication Type :
Academic Journal
Accession number :
167304062
Full Text :
https://doi.org/10.1145/3592449