
Formal Verification And Bitcoin
Bitcoin and Math
ChatGPT
Formal verification is one of the more theoretical areas of computer science. It relies on the tools of mathematical logic to verify whether statements are correct. This field historically has been obscure, but recent advances in AI may bring it front and center.
I spoke with Clark Barrett, a professor of computer science at Stanford, who tells of a software bug that once led to the explosion of a rocket. The software ran an instance that forced it to convert a floating-point number into an integer. This caused the program to crash and the rocket to explode. A formal verification of the code would have avoided that problem.
Compiling is the weakest form of verification. A stronger form would be to run a battery of test cases. To see this more clearly, consider a function that divides two numbers. Without doing any internal checks, that function could run on any numerical inputs. If your test cases excluded 0, your function would still compile. But the edge case of a 0 in the denominator would cause the program to crash. Only a formal verification would catch this because it's not sufficient just to evaluate the functions on the different inputs, but rather to assess the function on its underlying logic.
The bar for formal verification is high, and the tools are obscure and hard to use. Outside of the Mars rover, they have not had wide acceptance. But the one possible exception today is cloud services. Cloud providers allow customers to enter their own query logic when using their services. An error in the query logic, such as inadvertently typing 'or,' instead of 'and' can have existential consequences, giving everyone access instead of no one. As such, companies like AWS are now recruiting computer scientists in formal verification by the hundreds.
The big use case will be formally verifying code written by AI. As AI tools improve, more code will be written by AI, and we need fast and cheap ways to verify this code beyond simply compiling it. That's where formal verification could have its Super Bowl moment. There is now a big research effort underway to deploy these formal verification tools at scale to AI-generated code.
This could have an enormous impact, making software bugs a thing of the past. Not only would software be written faster with AI, but it would be better too.
Once these formal verification tools arrive, I'm eager to see how Bitcoin would fare. But the early answer here is that Bitcoin should fare well because it uses several strict forms of logic that give it its high security. For example, full nodes of the network check signatures (through SigOps) when verifying transactions. If the signature fails, the transaction will never enter the mempool, nor be included in a block. Similarly, miners win a block only if their hash of the block header lies below the difficulty target. And a transaction is valid only if the inputs exceeds its outputs.
In other words, the logic in Bitcoin is fully deterministic. There is no uncertainty about the rules of the protocol. And because of this, there is little room for software bugs, evidenced by the lack of hacks over the last 15 years.
That said, Bitcoin is still an example of social computing. You could say that it is technically vulnerable to collusion if, for example, every single miner in the world agreed to fork the chain. That could happen in theory. But that's where economics comes in: It would not be in the miner's interest to do so.
Hashtags

Try Our AI Features
Explore what Daily8 AI can do for you:
Comments
No comments yet...
Related Articles
Yahoo
16 minutes ago
- Yahoo
1 Megacap Tech Stock That Could Split Its Shares Next
Netflix shares trade significantly higher than the levels they did before the company's last stock split in 2015. The company's business is firing on all cylinders, making this a good time to split shares. Netflix expects double-digit revenue growth and significant operating margin expansion this year. 10 stocks we like better than Netflix › Netflix (NASDAQ: NFLX) stock has recently blown past $1,200 per share, making it hard to believe that shares traded at levels below $200 as recently as May of 2022. And the stock's momentum is strong this year, too. Shares are up about 40% this year alone, defying the market's sluggish return of less than 2% as of this writing. With a combination of a strong business, impressive stock price momentum, and a share price in the thousands, a stock split could be in the cards for the streaming giant soon. Netflix's performance has been stellar. In the first quarter of 2025, revenue rose 12.5% year over year to about $10.5 billion, and earnings per share soared 25.2%. Helping the company achieve such strong earnings-per-share growth is Netflix's widening operating margin. The key profitability metric hit 31.7% in the quarter, up from 28.1% in the year-ago period. The company also reported free cash flow of $2.7 billion, up 25% year over year. Netflix's business growth has been fueled primarily by three key tailwinds: membership growth, price increases, and a fast-growing advertising business. Importantly, the company believes all three of these catalysts have room to run. In its first-quarter update, management reaffirmed its guidance for full-year revenue to increase 11.5% to 14.1% year over year. This growth, management explained, "assumes healthy member growth, higher subscription pricing and a rough doubling of our ad revenue ... " Additionally, management continues to forecast a full-year operating margin of 29%, up substantially from 26.7% in 2024. Netflix hasn't split its shares since 2015. Back then, a 7-for-1 split lowered the stock price from about $700 to $100. Today, the share price is nearly double its pre-split peak. That alone doesn't guarantee a stock split. But historically, splits are more likely when a stock becomes expensive (in terms of the share price) relative to other megacaps and the company is on solid footing. Netflix checks both boxes. There's a sense of déjà vu with Netflix today. Just as has been the case recently for the company, it was experiencing strong subscriber growth, record earnings, and benefiting from strategic catalysts the last time it split its stock. Also strengthening the case for a stock split, Netflix shares currently trade far higher than other tech leaders like Microsoft, Meta Platforms, Apple, and Nvidia. Of course, a stock split would not affect the company's fundamentals, but it would lower the price per share and make Netflix more accessible to retail investors. But it's worth emphasizing that a stock split, in and of itself, isn't a reason to buy a stock. It is, however, often a symptom of strong underlying business momentum -- momentum strong enough to cause investors to bid up the share price to a level worthy of a stock split. It's also worth noting that even though Netflix's business is doing extraordinarily well, investors seem to already be pricing in this momentum. Shares trade at 59 times earnings. All else equal, this valuation multiple will likely come down meaningfully if the company delivers on its revenue growth and operating margin expansion targets for the full year. A combination of double-digit revenue growth and margin expansion should help earnings per share grow dramatically. But with a price-to-earnings multiple well in excess of even fast-growing tech giant Nvidia's, investors seem to be already betting on more staggering growth from the streaming giant. With a surging stock price, impressive revenue growth, and a nascent and fast-growing advertising business, Netflix is a top contender for the next big tech stock split. Though the company hasn't announced plans to split its shares, it's starting to look overdue. Before you buy stock in Netflix, consider this: The Motley Fool Stock Advisor analyst team just identified what they believe are the for investors to buy now… and Netflix wasn't one of them. The 10 stocks that made the cut could produce monster returns in the coming years. Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you'd have $674,395!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you'd have $858,011!* Now, it's worth noting Stock Advisor's total average return is 997% — a market-crushing outperformance compared to 172% for the S&P 500. Don't miss out on the latest top 10 list, available when you join . See the 10 stocks » *Stock Advisor returns as of June 2, 2025 Randi Zuckerberg, a former director of market development and spokeswoman for Facebook and sister to Meta Platforms CEO Mark Zuckerberg, is a member of The Motley Fool's board of directors. Daniel Sparks and his clients have no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Apple, Meta Platforms, Microsoft, Netflix, and Nvidia. The Motley Fool recommends the following options: long January 2026 $395 calls on Microsoft and short January 2026 $405 calls on Microsoft. The Motley Fool has a disclosure policy. 1 Megacap Tech Stock That Could Split Its Shares Next was originally published by The Motley Fool Error in retrieving data Sign in to access your portfolio Error in retrieving data Error in retrieving data Error in retrieving data Error in retrieving data
Yahoo
18 minutes ago
- Yahoo
Scammers targeting NYC parking meters: How to protect your money
The Brief Scammers are placing fraudulent QR code stickers on NYC parking meters, leading drivers to phishing websites to steal payment information. The Department of Transportation acted swiftly by notifying users, inspecting meters, and working with Microsoft to remove the phishing site. Cybersecurity expert Robert Siciliano advises using official apps for parking payments and monitoring credit card statements, while reporting any suspicious QR codes. NEW YORK - Drivers beware! Scammers are targeting New York City parking meters by placing fraudulent QR code stickers on machines, directing drivers to third-party websites to steal payment information. What we know The Department of Transportation warns that scanning these QR codes leads to a phishing site where users are asked for payment details, which are then stolen by scammers. At least one fake sticker was found on a meter, prompting immediate action from the agency, including notifications to users, inspections of all meters, and collaboration with Microsoft to remove the phishing site. What they're saying Cybersecurity expert Robert Siciliano advises vigilance, noting that lone QR codes are often fraudulent. "A lone QR code that is plastered on is usually going to be fraud," he said. "Most municipalities and cities know at this point that there are three to five different apps that consumers might use to log in to pay for their parking, and as long as you have that app on your phone, generally you should be good." He also emphasizes monitoring credit card statements for unauthorized charges. "The problem with this particular crime is if you are not paying attention to your credit card statements in real time and pay the bill, you are responsible for that fraud," he said. What you can do The official way to pay for metered parking in the city is through the ParkNYC app or by inserting a credit card directly into the meter. Reporting any suspicious QR codes is crucial. The Source This article uses information from the New York City DOT and cybersecurity expert Robert Siciliano.
Yahoo
18 minutes ago
- Yahoo
Six stunning estates set the new standard for Sacramento luxury homes
Stories by Sacramento Bee journalists, with AI summarization Sacramento's luxury home market features a blend of modern amenities, history, and record prices. A standout is a Granite Bay estate with a 4,000-square-foot indoor basketball court, gym, and entertainer's kitchen. A historic 1880s Folsom Victorian, meticulously restored to preserve its original details, also hit the market. Granite Bay saw its highest sale in years with a Santa Barbara-style home designed for a sports-car collection, boasting a temperature-controlled garage and resort-style outdoor spaces. Downtown living is represented by a spacious Kimpton Sawyer penthouse, offering panoramic city views and VIP Golden 1 Center access, recently selling at a notable auction price. Are the prices for high-end homes in the Sacramento area creeping up? | Published January 4, 2025 | Read Full Story by David Caraccio The luxury condo was owned by ex-eBay CEO Meg Whitman and her husband, a surgeon. | Published April 25, 2025 | Read Full Story by David Caraccio Granite Bay estate hits the high-end market for $5.25 million. | Published February 22, 2025 | Read Full Story by David Caraccio The hypercars were not included. But you can see how a Ferrari or Lamborghini fits in the garage | Published March 24, 2025 | Read Full Story by David Caraccio Guess what sold Ben McLemore on the property. | Published July 22, 2024 | Read Full Story by David Caraccio Italianate Victorian sits on oversized lot just steps away from historic Sutter Street and the American River. | Published November 23, 2024 | Read Full Story by David Caraccio The summary above was drafted with the help of AI tools and edited by journalists in our News division. All stories listed were reported, written and edited by McClatchy journalists.