News for hackers. Stuff that matters.
Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by tombert on Monday September 13, 2021 @01:49PM (#28514435)
I agree; I've been trying to get employers/coworkers to look into TLA+ or Isabelle (for different things) for years now, and it feels like only after every cryptocurrency started blogging did they start to listen.

I find it funny that the reason we want the cryptocurrencies to be formally verified is because we want rock-solid financial transactions so that this distributed story is always accurate (which is good), but actual banks don't seem to have these same requirements.

NOTE: Could be wrong on that last point, getting my information about banks third-hand, it's possible that banks are using formal verification. Can someone who works at a bank confirm?

Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by lottin on Monday September 13, 2021 @03:14PM (#28515511)
This is because banks rely on property rights, which are enforced by courts, whereas cryptocurrencies operate on a "fait accompli" basis (i.e. whoever happens to control the coins, owns them). This means, in the cryptocurrency world, mistakes are irreversible. In conventional finance, this is not usually the case.
Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by tombert on Thursday September 16, 2021 @01:44PM (#28554761)
Sorry for replying to an old thread, but I wanted to respond to this.

I totally understand why blockchain isn't the standard for everything right now; my statement was in regards to formal methods to ensure correctness. For example, "reversing" a transaction could totally be modeled in TLA+ (and probably other systems, I'm just most familiar with TLA+ than most other systems), which would provide model checking (and possibly even proofs) that you would not otherwise have.

Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by robocat on Monday September 13, 2021 @05:17PM (#28516995)
Fiat accompli?
Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by lottin on Monday September 13, 2021 @05:36PM (#28517186)
"Fait accompli"

https://www.merriam-webster.com/dictionary/fait%20accompli

There's probably a better term but English isn't my first language.

Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by robocat on Monday September 13, 2021 @06:10PM (#28517547)
Your English is excellent - as a native speaker I wouldn’t have guessed you had a different mother tongue. ‘Fait accompli’ is used in English with the same meaning. I was trying to make a stupid joke referring to fiat currency… HN is a tough audience, and I’m more of a droll engineer type.
Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by WanderPanda on Monday September 13, 2021 @01:56PM (#28514525)
Banks have the global exception handling system called courts to fall back to, tough.
Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by tombert on Monday September 13, 2021 @02:06PM (#28514663)
Yeah, which always felt like that would be a great reason to formally verify...If a race condition ends up draining my account of all my money, you can bet that I am going to sue for the lost funds and probably a bunch of other things, which I cannot imagine would be very cheap for the bank. In fact, I would think it would be expensive for them even if it wasn't their fault (e.g. maybe there was no money in my account because I just have bad spending habits and a bad memory).

It seems to me that having every bit of evidence on their end to prove that they are guaranteeing our transactions would be a really good thing....I suppose this solution might just work itself out if banks actually start relying on some kind blockchain to secure their transactions.

Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by vineyardmike on Monday September 13, 2021 @05:01PM (#28516825)
> which I cannot imagine would be very cheap for the bank

Its cheaper for everyone for them to say oops and give you the money back.

Its more expensive for you to sue than for them to be sued.

Re:How We Proved the Eth2 Deposit Contract Is Free of Runtim... by jonahbenton on Monday September 13, 2021 @10:31PM (#28519511)
That is correct- there are all sorts of human and procedural buffers built into bank operations. Correctness of the system- and there is never just one system, there are at minimum dozens, even in the smallest bank- is not a hard requirement.

In fact you would immediately seek another job if you came from formal methods practice and then saw production code at just about any of the different animals called banks.