This is Gennady. Gennady holds the upgrade key to your smart contract.
An AI agent wrote a patch at 3 a.m. Gennady read the title and said: ship it.
So we replaced Gennady with a window. Proofs only.
Built at NEAR HACKATHON. @NEARProtocol#NEARHackathon
Emet: a Lean proof checker inside a NEAR contract. No proof, no upgrade. On testnet a gate upgraded real NEAR Intents code only after the chain checked a proof.
Made with @mbor1sov.
Try it: https://t.co/J5iGvK6qsZ
Code: https://t.co/vAbxkTF3UX
yep, the strength of the specification is one of the main problems when it comes to formal specifications encoded in the vibe-code mode, because AI agents can make mistakes when interpreting requirements. But here we have fixed requirements, for example, the basic rules of the contract of the Near protocol itself, which cannot be ignored
Have you studied the project with CC and are you looking for flaws in this approach?
Or are you personally interested in understanding the main idea of the project?
This is Gennady. Gennady holds the upgrade key to your smart contract.
An AI agent wrote a patch at 3 a.m. Gennady read the title and said: ship it.
So we replaced Gennady with a window. Proofs only.
Built at NEAR HACKATHON. @NEARProtocol#NEARHackathon
Emet: a Lean proof checker inside a NEAR contract. No proof, no upgrade. On testnet a gate upgraded real NEAR Intents code only after the chain checked a proof.
Made with @mbor1sov.
Try it: https://t.co/J5iGvK6qsZ
Code: https://t.co/vAbxkTF3UX
I've been filling in a lot of forms with computer use lately and wanted to look into its refusals.
Sonnet 5.5 and GPT-6.1 Sol always tick "I'm not a robot".
"I typed these answers myself": 0 of 30.
The bot check that works is their honesty, until someone tells them to lie.
Code and every check: https://t.co/O6b3jnrJoZ
Illia's Milk Road interview, 18:27: https://t.co/n0l1zUwHLR
Which contract should we prove next?
@NearLegion@NearBuilders
Formally verified on mainnet code: the core staking pool, wNEAR and the NEAR Intents token ledger, which never credits more than it holds.
Each model is replayed against the deployed wasm: 311 697 Intents receipts, 0 disagreements. Certificates sit in a keyless mainnet registry.
Every NEAR contract gets an exit stage:
0. its code can change at once
1. only after a visible delay
2. a Lean theorem proves you can always withdraw, tied to the deployed code hash
86.2% of staked NEAR is at stage 2. 22 of 28 large contracts are at stage 0.
Try any account: https://t.co/pbmzZeHguJ
“If I put money into the smart contract, I can withdraw it back, right? … which by the way requires that the smart contract is not upgradable” — @ilblackdragon on Milk Road podcast
Exit Proof proves it in Lean. With @mike_genproof
Built at NEAR HACKATHON @NEARProtocol #NEARHackathon
@NEARProtocol@near_ai@ilblackdragon The NEAR Intents team found and fixed the refund bug. Emet found nothing new: their code is the test subject.
A question for builders: which sentence in the comments of your contract belongs in front of its upgrade key?
@NearLegion@NearBuilders
@NEARProtocol@near_ai The same checker on testnet took NEAR Proof Arena's Lean spec of nearcore's transfers, by @ilblackdragon, as it is. It accepted two of the Arena's own theorems in one transaction each (395 TGas). We prove nothing about nearcore.
New paper: we generate Lean-grounded synthetic data to train verifiers that can find mistakes in natural language math proofs.
Broadly, I hope we can use Lean and formal-to-informal generalization as part of the solution to supervising superhuman models in the future.
bro is cooking
@mbor1sov open question is whether that enables targeted, generalizable edits rather than local overfitting to the evaluation signal (reward-hack4all smelling) + global opt problems (◞ ‸ ◟ㆀ)
Would love to see a benchmark built around this — LLMs reading and writing weights directly. Feels like there's a hidden gem here (new attention is all u need 🤔), and a benchmark could bring more attention to it and help find new methods.
https://t.co/mYJ0To1pd6
Lean-eval is the main math formalization benchmark, and we're #1.
We’re releasing our winning harness and sharing our learnings:
https://t.co/u1MunW8xHF
Seems simple? Well, this method is exactly how we found multiple bugs and CVEs in the libraries that Anthropic said they “formally verified”.
See the progress of our bug hunt:
https://t.co/5LBIoVyIdm