• NAND equivalent for elementary functions paper

    From bitrex@user@example.net to sci.electronics.design on Tue Apr 14 20:29:20 2026
    From Newsgroup: sci.electronics.design

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt, and
    log has always required multiple distinct operations. Here I show that a single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic operations including addition, subtraction, multiplication, division,
    and exponentiation as well as the usual transcendental and algebraic functions."
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From legg@legg@nospam.magma.ca to sci.electronics.design on Wed Apr 15 08:03:21 2026
    From Newsgroup: sci.electronics.design

    On Tue, 14 Apr 2026 20:29:20 -0400, bitrex <user@example.net> wrote:

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital >hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt, and
    log has always required multiple distinct operations. Here I show that a >single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic >operations including addition, subtraction, multiplication, division,
    and exponentiation as well as the usual transcendental and algebraic >functions."

    I wonder how long it took the author to notice that he had a belly
    button?

    RL
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From piglet@erichpwagner@hotmail.com to sci.electronics.design on Wed Apr 15 12:20:57 2026
    From Newsgroup: sci.electronics.design

    legg <legg@nospam.magma.ca> wrote:
    On Tue, 14 Apr 2026 20:29:20 -0400, bitrex <user@example.net> wrote:

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital
    hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt, and
    log has always required multiple distinct operations. Here I show that a
    single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic
    operations including addition, subtraction, multiplication, division,
    and exponentiation as well as the usual transcendental and algebraic
    functions."

    I wonder how long it took the author to notice that he had a belly
    button?

    RL


    Haha yes, the Apollo Guidance Computer was pretty much entirely built out
    of NOR gates 60+ years ago.
    --
    piglet
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Carl@carl.ijamesXX@YYverizon.net to sci.electronics.design on Wed Apr 15 09:10:53 2026
    From Newsgroup: sci.electronics.design

    On 4/15/26 8:20 AM, piglet wrote:
    legg <legg@nospam.magma.ca> wrote:
    On Tue, 14 Apr 2026 20:29:20 -0400, bitrex <user@example.net> wrote:

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital
    hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt, and
    log has always required multiple distinct operations. Here I show that a >>> single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic
    operations including addition, subtraction, multiplication, division,
    and exponentiation as well as the usual transcendental and algebraic
    functions."

    I wonder how long it took the author to notice that he had a belly
    button?

    RL


    Haha yes, the Apollo Guidance Computer was pretty much entirely built out
    of NOR gates 60+ years ago.


    So was the Cray-1 supercomputer, 200,000 gates and only 4 gate types.
    Back when it came out and the joke was that it was so fast it could do
    an infinite loop in 4 seconds (:-)) I had always heard NAND gates but according to Wikipedia there are sources that say NOR gates instead, but
    then they point out that the same gate is either a NAND or NOR depending
    on whether you are using a positive or negative logic convention so it's really a wash.
    --
    Regards,
    Carl
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From john larkin@jl@glen--canyon.com to sci.electronics.design on Wed Apr 15 10:21:05 2026
    From Newsgroup: sci.electronics.design

    On Tue, 14 Apr 2026 20:29:20 -0400, bitrex <user@example.net> wrote:

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital >hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt, and
    log has always required multiple distinct operations. Here I show that a >single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic >operations including addition, subtraction, multiplication, division,
    and exponentiation as well as the usual transcendental and algebraic >functions."

    That reminds me of the Whitespace programming language.


    John Larkin
    Highland Tech Glen Canyon Design Center
    Lunatic Fringe Electronics
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From bitrex@user@example.net to sci.electronics.design on Wed Apr 15 15:38:59 2026
    From Newsgroup: sci.electronics.design

    On 4/15/2026 8:03 AM, legg wrote:
    On Tue, 14 Apr 2026 20:29:20 -0400, bitrex <user@example.net> wrote:

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital
    hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt, and
    log has always required multiple distinct operations. Here I show that a
    single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic
    operations including addition, subtraction, multiplication, division,
    and exponentiation as well as the usual transcendental and algebraic
    functions."

    I wonder how long it took the author to notice that he had a belly
    button?

    RL

    I mean yeah it's obvious that you can derive e.g. trig functions from appropriate manipulation of exps and logs, but has anyone spelled out a completeness proof and what the equivalent to NAND is, in the space of continuous elementary functions (I guess eml(x, y))?
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From bitrex@user@example.net to sci.electronics.design on Wed Apr 15 15:41:05 2026
    From Newsgroup: sci.electronics.design

    On 4/15/2026 1:21 PM, john larkin wrote:
    On Tue, 14 Apr 2026 20:29:20 -0400, bitrex <user@example.net> wrote:

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital
    hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt, and
    log has always required multiple distinct operations. Here I show that a
    single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic
    operations including addition, subtraction, multiplication, division,
    and exponentiation as well as the usual transcendental and algebraic
    functions."

    That reminds me of the Whitespace programming language.


    John Larkin
    Highland Tech Glen Canyon Design Center
    Lunatic Fringe Electronics

    Yes, I believe the interesting thing is the _completeness_ of the "eml" operator, kind of like a one-instruction set computer.

    Not that NAND is boolean complete or that we can make trig functions
    from exponentials, etc. which we knew already.
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From john larkin@jl@glen--canyon.com to sci.electronics.design on Wed Apr 15 13:08:35 2026
    From Newsgroup: sci.electronics.design

    On Wed, 15 Apr 2026 15:41:05 -0400, bitrex <user@example.net> wrote:

    On 4/15/2026 1:21 PM, john larkin wrote:
    On Tue, 14 Apr 2026 20:29:20 -0400, bitrex <user@example.net> wrote:

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital
    hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt, and
    log has always required multiple distinct operations. Here I show that a >>> single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic
    operations including addition, subtraction, multiplication, division,
    and exponentiation as well as the usual transcendental and algebraic
    functions."

    That reminds me of the Whitespace programming language.


    John Larkin
    Highland Tech Glen Canyon Design Center
    Lunatic Fringe Electronics

    Yes, I believe the interesting thing is the _completeness_ of the "eml" >operator, kind of like a one-instruction set computer.

    Not that NAND is boolean complete or that we can make trig functions
    from exponentials, etc. which we knew already.

    That function has been suggested as the basis for a 2-button
    calculator.


    John Larkin
    Highland Tech Glen Canyon Design Center
    Lunatic Fringe Electronics
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Ross Finlayson@ross.a.finlayson@gmail.com to sci.electronics.design on Wed Apr 15 13:54:55 2026
    From Newsgroup: sci.electronics.design

    On 04/15/2026 01:08 PM, john larkin wrote:
    On Wed, 15 Apr 2026 15:41:05 -0400, bitrex <user@example.net> wrote:

    On 4/15/2026 1:21 PM, john larkin wrote:
    On Tue, 14 Apr 2026 20:29:20 -0400, bitrex <user@example.net> wrote:

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital
    hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt, and >>>> log has always required multiple distinct operations. Here I show that a >>>> single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic
    operations including addition, subtraction, multiplication, division,
    and exponentiation as well as the usual transcendental and algebraic
    functions."

    That reminds me of the Whitespace programming language.


    John Larkin
    Highland Tech Glen Canyon Design Center
    Lunatic Fringe Electronics

    Yes, I believe the interesting thing is the _completeness_ of the "eml"
    operator, kind of like a one-instruction set computer.

    Not that NAND is boolean complete or that we can make trig functions
    from exponentials, etc. which we knew already.

    That function has been suggested as the basis for a 2-button
    calculator.


    John Larkin
    Highland Tech Glen Canyon Design Center
    Lunatic Fringe Electronics


    The ancient Sumerians make an account for positional notation
    of numbers after _increment_ what makes addition.

    The ancient Egyptians make an account for ratios as fractions
    of whole numbers after _partition_ what makes division.

    So, it's sort of having those as two different operations
    instead as multiplication after addition then inverses.

    So, "long subtraction", in a sense.

    The idea is that partition works on the _big_ end
    while increment works on the _little_ end.

    Why make a two-button calculator when all that is
    is an arbitrarily long slide-rule?


    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Ross Finlayson@ross.a.finlayson@gmail.com to sci.electronics.design on Fri Apr 17 08:59:41 2026
    From Newsgroup: sci.electronics.design

    On 04/15/2026 01:54 PM, Ross Finlayson wrote:
    On 04/15/2026 01:08 PM, john larkin wrote:
    On Wed, 15 Apr 2026 15:41:05 -0400, bitrex <user@example.net> wrote:

    On 4/15/2026 1:21 PM, john larkin wrote:
    On Tue, 14 Apr 2026 20:29:20 -0400, bitrex <user@example.net> wrote:

    <https://arxiv.org/abs/2603.21852>

    "A single two-input gate suffices for all of Boolean logic in digital >>>>> hardware. No comparable primitive has been known for continuous
    mathematics: computing elementary functions such as sin, cos, sqrt,
    and
    log has always required multiple distinct operations. Here I show
    that a
    single binary operator, eml(x,y)=exp(x)-ln(y), together with the
    constant 1, generates the standard repertoire of a scientific
    calculator. This includes constants such as e, pi, and i; arithmetic >>>>> operations including addition, subtraction, multiplication, division, >>>>> and exponentiation as well as the usual transcendental and algebraic >>>>> functions."

    That reminds me of the Whitespace programming language.


    John Larkin
    Highland Tech Glen Canyon Design Center
    Lunatic Fringe Electronics

    Yes, I believe the interesting thing is the _completeness_ of the "eml"
    operator, kind of like a one-instruction set computer.

    Not that NAND is boolean complete or that we can make trig functions
    from exponentials, etc. which we knew already.

    That function has been suggested as the basis for a 2-button
    calculator.


    John Larkin
    Highland Tech Glen Canyon Design Center
    Lunatic Fringe Electronics


    The ancient Sumerians make an account for positional notation
    of numbers after _increment_ what makes addition.

    The ancient Egyptians make an account for ratios as fractions
    of whole numbers after _partition_ what makes division.

    So, it's sort of having those as two different operations
    instead as multiplication after addition then inverses.

    So, "long subtraction", in a sense.

    The idea is that partition works on the _big_ end
    while increment works on the _little_ end.

    Why make a two-button calculator when all that is
    is an arbitrarily long slide-rule?



    Yeah, about that "analog ideal divider" to go next to
    the "adder" (accumulator), ....

    ... is some comment about the idea of various number formats
    with regards to machine integers and machine numbers vis-a-vis
    "scientific numbers" and "significant digits" or "extended-precision"
    and "the interval arithmetic", or IEEE 754/854 and why languages
    without exception handling aren't too keen on "zero" whenever
    division's around, then about even for usual people who figure
    there are operations of mathematics on numbers: the Sumerians
    and the Egyptians are basically a sort of "little-endian" versus
    "big-endian" account, here that usually being about bit-order or
    byte-order, though instead about "the operations on the integers between
    zero and infinity, inclusive".



    --- Synchronet 3.21f-Linux NewsLink 1.2