Towards Formalizing the Semantics of Lifting Argument Frames When Evaluating Remora Expressions

Based on APL, Remora is a rank-polymorphic language designed to simplify the task of writing efficient, GPU-aware code. As such, it avoids using iteration (including loops and recursion) by defining a "lifting" mechanism that automatically runs a function that expects an argument of a given dimension over all matching parts of a higher-dimension argument. In simple cases, this is straightforward; e.g., calling abs on a vector performs an implicit map, so it returns a new vector with the absolute value of each of its elements. More generally, the exact mechanics of this lifting process are quite complicated, as they depend on all arguments to the function, which need only partially match in shape. In this paper, we describe a methodology that we follow to reason about the behavior of lifting primitive operations over compatible arguments. * This work was partially supported

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2026-12-02
DOI
https://doi.org/10.4204/eptcs.459.11
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Towards Formalizing the Semantics of Lifting Argument Frames When Evaluating Remora Expressions

Ruben A. Gamboa
Electronic Proceedings in Theoretical Computer Science
Logic, programming, and type systems
article

Towards Formalizing the Semantics of Lifting Argument Frames When Evaluating Remora Expressions

Ruben A. Gamboa
article en

Abstract

Based on APL, Remora is a rank-polymorphic language designed to simplify the task of writing efficient, GPU-aware code. As such, it avoids using iteration (including loops and recursion) by defining a "lifting" mechanism that automatically runs a function that expects an argument of a given dimension over all matching parts of a higher-dimension argument. In simple cases, this is straightforward; e.g., calling abs on a vector performs an implicit map, so it returns a new vector with the absolute value of each of its elements. More generally, the exact mechanics of this lifting process are quite complicated, as they depend on all arguments to the function, which need only partially match in shape. In this paper, we describe a methodology that we follow to reason about the behavior of lifting primitive operations over compatible arguments. * This work was partially supported

Electronic Proceedings in Theoretical Computer ScienceVol. 459
University of Wyoming (US), Kestrel Institute (US)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon