scholarly journals Compaction of Church Numerals

Algorithms ◽  
2019 ◽  
Vol 12 (8) ◽  
pp. 159 ◽  
Author(s):  
Isamu Furuya ◽  
Takuya Kida

In this study, we address the problem of compaction of Church numerals. Church numerals are unary representations of natural numbers on the scheme of lambda terms. We propose a novel decomposition scheme from a given natural number into an arithmetic expression using tetration, which enables us to obtain a compact representation of lambda terms that leads to the Church numeral of the natural number. For natural number n, we prove that the size of the lambda term obtained by the proposed method is O ( ( slog 2 n ) ( log n / log log n ) ) . Moreover, we experimentally confirmed that the proposed method outperforms binary representation of Church numerals on average, when n is less than approximately 10,000 .

Author(s):  
Øystein Linnebo

How are the natural numbers individuated? That is, what is our most basic way of singling out a natural number for reference in language or in thought? According to Frege and many of his followers, the natural numbers are cardinal numbers, individuated by the cardinalities of the collections that they number. Another answer regards the natural numbers as ordinal numbers, individuated by their positions in the natural number sequence. Some reasons to favor the second answer are presented. This answer is therefore developed in more detail, involving a form of abstraction on numerals. Based on this answer, a justification for the axioms of Dedekind–Peano arithmetic is developed.


2012 ◽  
Vol 22 (4-5) ◽  
pp. 614-704 ◽  
Author(s):  
NICOLAS POUILLARD ◽  
FRANÇOIS POTTIER

AbstractAtoms and de Bruijn indices are two well-known representation techniques for data structures that involve names and binders. However, using either technique, it is all too easy to make a programming error that causes one name to be used where another was intended. We propose an abstract interface to names and binders that rules out many of these errors. This interface is implemented as a library in Agda. It allows defining and manipulating term representations in nominal style and in de Bruijn style. The programmer is not forced to choose between these styles: on the contrary, the library allows using both styles in the same program, if desired. Whereas indexing the types of names and terms with a natural number is a well-known technique to better control the use of de Bruijn indices, we index types with worlds. Worlds are at the same time more precise and more abstract than natural numbers. Via logical relations and parametricity, we are able to demonstrate in what sense our library is safe, and to obtain theorems for free about world-polymorphic functions. For instance, we prove that a world-polymorphic term transformation function must commute with any renaming of the free variables. The proof is entirely carried out in Agda.


10.14311/1821 ◽  
2013 ◽  
Vol 53 (4) ◽  
Author(s):  
L'ubomíra Balková ◽  
Aranka Hrušková

In this paper, we will first summarize known results concerning continued fractions. Then we will limit our consideration to continued fractions of quadratic numbers. The second author describes periods and sometimes the precise form of continued fractions of ?N, where N is a natural number. In cases where we have been able to find such results in the literature, we recall the original authors, however many results seem to be new.


2013 ◽  
Vol 13 (4-5) ◽  
pp. 847-861 ◽  
Author(s):  
PAUL TARAU

AbstractWe describe a compact serialization algorithm mapping Prolog terms to natural numbers of bit-sizes proportional to the memory representation of the terms. The algorithm is a ‘no bit lost’ bijection, as it associates to each Prolog term a unique natural number and each natural number corresponds to a unique syntactically well-formed term.To avoid an exponential explosion resulting from bijections mapping term trees to natural numbers, we separate the symbol content and the syntactic skeleton of a term that we serialize compactly using a ranking algorithm for Catalan families.A novel algorithm for the generalized Cantor bijection between ${\mathbb{N}$ and ${\mathbb{N}$k is used in the process of assigning polynomially bounded Gödel numberings to various data objects involved in the translation.


2011 ◽  
Vol 07 (03) ◽  
pp. 579-591 ◽  
Author(s):  
PAUL POLLACK

For each natural number N, let R(N) denote the number of representations of N as a sum of two primes. Hardy and Littlewood proposed a plausible asymptotic formula for R(2N) and showed, under the assumption of the Riemann Hypothesis for Dirichlet L-functions, that the formula holds "on average" in a certain sense. From this they deduced (under ERH) that all but Oϵ(x1/2+ϵ) of the even natural numbers in [1, x] can be written as a sum of two primes. We generalize their results to the setting of polynomials over a finite field. Owing to Weil's Riemann Hypothesis, our results are unconditional.


Axioms ◽  
2019 ◽  
Vol 8 (3) ◽  
pp. 103 ◽  
Author(s):  
Urszula Wybraniec-Skardowska

The systems of arithmetic discussed in this work are non-elementary theories. In this paper, natural numbers are characterized axiomatically in two different ways. We begin by recalling the classical set P of axioms of Peano’s arithmetic of natural numbers proposed in 1889 (including such primitive notions as: set of natural numbers, zero, successor of natural number) and compare it with the set W of axioms of this arithmetic (including the primitive notions like: set of natural numbers and relation of inequality) proposed by Witold Wilkosz, a Polish logician, philosopher and mathematician, in 1932. The axioms W are those of ordered sets without largest element, in which every non-empty set has a least element, and every set bounded from above has a greatest element. We show that P and W are equivalent and also that the systems of arithmetic based on W or on P, are categorical and consistent. There follows a set of intuitive axioms PI of integers arithmetic, modelled on P and proposed by B. Iwanuś, as well as a set of axioms WI of this arithmetic, modelled on the W axioms, PI and WI being also equivalent, categorical and consistent. We also discuss the problem of independence of sets of axioms, which were dealt with earlier.


1996 ◽  
Vol 48 (3) ◽  
pp. 512-526 ◽  
Author(s):  
Jörg Brüdern ◽  
Alberto Perelli

AbstractLet k ≥ 2 be an integer. Let Ek(N) be the number of natural numbers not exceeding N which are not the sum of a prime and a k-th power of a natural number. Assuming the Riemann Hypothesis for all Dirichlet L-functions it is shown that Ek(N) ≪ N1-1/25k.


Author(s):  
A. Rotkiewicz

A composite number n is called a pseudoprime if n|2n− 2.Theorem 1. If a and b are natural numbers such that (a, b) = 1, then there exist infinitely many pseudoprimes of the form ax + b, where x is a natural number.The proof of this theorem is given by the author in (5). This proof is based on the following two lemmas.


1975 ◽  
Vol 68 (2) ◽  
pp. 113-123
Author(s):  
Jean J. Pedersen ◽  
Frank O. Armbruster

We think it’s important that you have some background on how this article came to be written. One of the authors sometimes plays a game he invented, called “hats,” in which he puts on a funny hat and converts base-ten numerals into another base representation. For example, he puts on a beanie and calls for anyone to say a favorite number. Someone says “six.” He goes to the chalkboard and writes “110,” The object of the game is for the students to figure out what he is doing, Someone who figures it out says, “Gotcha!” And then that person gets to wear the hat until someone else says, “Gotcha!” (In case you haven’t “got it” yet, the beanie hat converts numbers to the binary representation.) Several hats are used in the course of play, and each represents a different number base, but it’s always a natural number base greater than one. Recently we began to wonder if perhaps you can have a negative number base system in which the base is not an integer. And if you can, what will the numerals look like?


Kybernetes ◽  
2008 ◽  
Vol 37 (3/4) ◽  
pp. 453-457 ◽  
Author(s):  
Wujia Zhu ◽  
Yi Lin ◽  
Guoping Du ◽  
Ningsheng Gong

PurposeThe purpose is to show that all uncountable infinite sets are self‐contradictory non‐sets.Design/methodology/approachA conceptual approach is taken in the paper.FindingsGiven the fact that the set N={x|n(x)} of all natural numbers, where n(x)=df “x is a natural number” is a self‐contradicting non‐set in this paper, the authors prove that in the framework of modern axiomatic set theory ZFC, various uncountable infinite sets are either non‐existent or self‐contradicting non‐sets. Therefore, it can be astonishingly concluded that in both the naive set theory or the modern axiomatic set theory, if any of the actual infinite sets exists, it must be a self‐contradicting non‐set.Originality/valueThe first time in history, it is shown that such convenient notion as the set of all real numbers needs to be reconsidered.


Sign in / Sign up

Export Citation Format

Share Document