By our current understanding of computational logic, I wager not. But if we were to construct a metaphysical grounding to addition (which I rationally believe is impossible), then ChatGPT could conceivably arrive to the uniqueness of certain kinds of addition and their relevant uses through neural network machine learning. But this would amount to reverse-engineering humans by humans themselves. Can any group fully know themselves? I suspect with proof it's impossible, and that the 'explanatory gap' can only be minimized, not removed entirely.
can you do that off the top of your head without showing your work?
How I would approach it:
Me: I have two arbitrarily long string so of binary numbers and I want to add them what would be the best way to do that?
The best way to add two arbitrarily long strings of binary numbers is to use the binary addition algorithm. Here's a step-by-step process:
--- steps ---
Me: what if I don't want to do that manually
If you don't want to do the binary addition manually, you can use a programming language to perform the operation. Here's an example using Python:
-- code --
Me: I got an error about not being to big to convert to an integer
If the binary strings are too large to be converted to integers, you can use a custom function to add the binary strings without converting them to integers. Here's an example in Python:
-- more code --
Me: I don't know if this will work. How could I tell?
To check if the custom function works for adding large binary strings, you can test it with various examples. Here's the complete function and some test cases to validate the function:
That's a good point about showing work. I originally opted to avoid having it show work for brevity's sake, but it's possible that by "showing work" ChatGPT is storing enough context to compute the answer. So, I asked it to "limit work on each bit to a single line." which a human with understanding of the rules of addition would be more than capable of. The result (below) is still wrong :)
Sure, let's add the two binary numbers you provided, keeping each bit operation to a single line.