Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Compaction of Church numerals - MaRDI portal

Deprecated: Use of MediaWiki\Skin\SkinTemplate::injectLegacyMenusIntoPersonalTools was deprecated in Please make sure Skin option menus contains `user-menu` (and possibly `notifications`, `user-interface-preferences`, `user-page`) 1.46. [Called from MediaWiki\Skin\SkinTemplate::getPortletsTemplateData in /var/www/html/w/includes/Skin/SkinTemplate.php at line 691] in /var/www/html/w/includes/Debug/MWDebug.php on line 372

Deprecated: Use of QuickTemplate::(get/html/text/haveData) with parameter `personal_urls` was deprecated in MediaWiki Use content_navigation instead. [Called from MediaWiki\Skin\QuickTemplate::get in /var/www/html/w/includes/Skin/QuickTemplate.php at line 131] in /var/www/html/w/includes/Debug/MWDebug.php on line 372

Compaction of Church numerals (Q2005559)

From MaRDI portal





scientific article; zbMATH DE number 7257779
Language Label Description Also known as
English
Compaction of Church numerals
scientific article; zbMATH DE number 7257779

    Statements

    Compaction of Church numerals (English)
    0 references
    0 references
    0 references
    0 references
    8 October 2020
    0 references
    Summary: 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 \(\mathcal{O}((\operatorname{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\).
    0 references
    lossless compression
    0 references
    lambda term
    0 references
    higher-order compression
    0 references

    Identifiers

    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references