English
Related papers

Related papers: Program algebra with a jump-shift instruction

200 papers

PGA, short for ProGram Algebra, describes sequential programs as finite or infinite (repeating) sequences of instructions. The semigroup C of finite instruction sequences was introduced as an equally expressive alternative to PGA. PGA…

Programming Languages · Computer Science 2010-03-09 Stephan Schroevers

A program is a finite piece of data that produces a (possibly infinite) sequence of primitive instructions. From scratch we develop a linear notation for sequential, imperative programs, using a familiar class of primitive instructions and…

Programming Languages · Computer Science 2013-04-17 Jan A. Bergstra , Alban Ponse

We investigate the expressiveness of backward jumps in a framework of formalized sequential programming called program algebra. We show that - if expressiveness is measured in terms of the computability of partial Boolean functions - then…

Logic in Computer Science · Computer Science 2010-06-01 Jan A. Bergstra , Inge Bethke

Earlier work on program and thread algebra detailed the functional, observable behavior of programs under execution. In this article we add the modeling of unobservable, mechanistic processing, in particular processing due to jump…

Programming Languages · Computer Science 2008-09-29 Jan A. Bergstra , Mark B. van der Zwaag

We study sequential programs that are instruction sequences with direct and indirect jump instructions. The intuition is that indirect jump instructions are jump instructions where the position of the instruction to jump to is the content…

Programming Languages · Computer Science 2008-04-08 J. A. Bergstra , C. A. Middelburg

This paper presents an algebraic theory of instruction sequences with instructions for a random access machine (RAM) as basic instructions, the behaviours produced by the instruction sequences concerned under execution, and the interaction…

Programming Languages · Computer Science 2023-01-26 C. A. Middelburg

Instruction sequences with direct and indirect jump instructions are as expressive as instruction sequences with direct jump instructions only. We show that, in the case where the number of instructions is not bounded, we are faced with…

Programming Languages · Computer Science 2012-11-20 J. A. Bergstra , C. A. Middelburg

This paper presents an algebraic theory of instruction sequences with instructions for Turing tapes as basic instructions, the behaviours produced by the instruction sequences concerned under execution, and the interaction between such…

Programming Languages · Computer Science 2020-01-06 J. A. Bergstra , C. A. Middelburg

PGA (ProGram Algebra) is an algebra of programs which concerns programs in their simplest form: sequences of instructions. Molecular dynamics is a simple model of computation developed in the setting of PGA, which bears on the use of…

Programming Languages · Computer Science 2008-04-08 J. A. Bergstra , C. A. Middelburg

For each function on bit strings, its restriction to bit strings of any given length can be computed by a finite instruction sequence that contains only instructions to set and get the content of Boolean registers, forward jump…

Programming Languages · Computer Science 2014-04-08 J. A. Bergstra , C. A. Middelburg

Graph neural networks (GNNs) have emerged as a powerful tool for learning software engineering tasks including code completion, bug finding, and program repair. They benefit from leveraging program structure like control flow graphs, but…

Machine Learning · Computer Science 2020-10-27 David Bieber , Charles Sutton , Hugo Larochelle , Daniel Tarlow

In program algebra, an algebraic theory of single-pass instruction sequences, three congruences on instruction sequences are paid attention to: instruction sequence congruence, structural congruence, and behavioural congruence. Sound and…

Programming Languages · Computer Science 2019-01-28 J. A. Bergstra , C. A. Middelburg

In the present paper, we describe some experiences in using programming, commands and graphical interfaces based on computer algebra systems, as tools for learning Physics and Mathematics.

Physics Education · Physics 2014-01-08 Danilo T. Alves , Silvio C. F. Pereira Filho

In a jumping finite automaton, the input head can jump to an arbitrary position within the remaining input after reading and consuming a symbol. We characterize the corresponding class of languages in terms of special shuffle expressions…

Formal Languages and Automata Theory · Computer Science 2015-12-03 Henning Fernau , Meenakshi Paramasivan , Markus L. Schmid , Vojtěch Vorel

Jumping automata are finite automata that read their input in a non-consecutive manner, disregarding the order of the letters in the word. We introduce and study jumping automata over infinite words. Unlike the setting of finite words,…

Formal Languages and Automata Theory · Computer Science 2023-04-05 Shaull Almagor , Omer Yizhaq

Scalable sequence models, such as Transformer variants and structured state-space models, often trade expressivity power for sequence-level parallelism, which enables efficient training. Here we examine the bounds on error and how error…

Machine Learning · Computer Science 2026-03-09 Gyuryang Heo , Timothy Ngotiaoco , Kazuki Irie , Samuel J. Gershman , Bernardo Sabatini

Overlapping instruction subsets derived from human originated code have previously been shown to dramatically shrink the inductive programming search space, often by many orders of magnitude. Here we extend the instruction subset approach…

Programming Languages · Computer Science 2023-05-24 Edward McDaid , Sarah McDaid

We add probabilistic features to basic thread algebra and its extensions with thread-service interaction and strategic interleaving. Here, threads represent the behaviours produced by instruction sequences under execution and services…

Logic in Computer Science · Computer Science 2016-02-05 J. A. Bergstra , C. A. Middelburg

We study termination time and recurrence time in programs with unbounded recursion, which are either randomized or operate on some statistically quantified inputs. As the underlying formal model for such programs we use probabilistic…

Logic in Computer Science · Computer Science 2012-06-01 Tomas Brazdil , Stefan Kiefer , Antonin Kucera , Ivana Hutarova Varekova

We evaluated the capability of generative pre-trained transformers (GPT), to pass assessments in introductory and intermediate Python programming courses at the postsecondary level. Discussions of potential uses (e.g., exercise generation,…

Artificial Intelligence · Computer Science 2023-10-11 Jaromir Savelka , Arav Agarwal , Christopher Bogart , Yifan Song , Majd Sakr
‹ Prev 1 2 3 10 Next ›