Grant application
Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
Evaluation snapshot
Request at a glance
- Applicant
- Runtime Verification Inc.
- Requested
- $30,000
- Status
- Declined
- Review context
- Forum discussion linked2 committee records linked
FPF source evidence
Milestone and disbursement ledger
Read-only milestone and disbursement fields normalized from the FPF grants ledger.
These ledger rows are FPF source evidence. They do not by themselves prove that a progress update was accepted, a payment request was approved, or an on-chain settlement was completed. Named rows can also describe reimbursements, returned funds, or other ledger adjustments.
AI-grounded decision supportCommittee briefingReview an evidence-grounded briefing or ask a custom question about this application. AI output supports committee review; it does not recommend or make a funding decision.Not generated
No committee briefing yet
Generate a standard briefing from this application, linked evidence, team history, relationships, and comparable grants. The completed shared report will be available to other authorized users.
Your account can read shared briefings but cannot generate them.
Application-scoped research
Ask about this application
Ask a focused question. Answers use the grant knowledge index and retain numbered links to the evidence supplied to the model.
Your account can read shared analyses but cannot generate a custom answer.
Applicant proposes a second formal verification engagement for Zcash — this time targeting Zebra’s consensus-critical arithmetic layer in zebra-chain: Amount monetary arithmetic (checked_add, checked_sub, Mul, Neg), CompactSize64 round-tri…
Data quality and provenanceSource matching, linked-record coverage, and reconciliation diagnostics
Source coverage
Operational context for tracing how this canonical record was assembled.GitHub workflow labels
3 labels captured as structured grant attributesDecision history
2 meeting notes linkedFormal Verification of Consensus Arithmetic and Parsing in zebra-chain
Declined (artkor voted in favor)
Applicant proposes a second formal verification engagement for Zcash — this time targeting Zebra’s consensus-critical arithmetic layer in zebra-chain: Amount monetary arithmetic (checked_add, checked_sub, Mul, Neg), CompactSize64 round-trip and panic-freedom, and Height block-height arithmetic — producing ≥18 machine-checked Lean 4 theorems via their validated Rust → Aeneas → Lean 4 pipeline, with CI-backed public artifacts and a final report. Requesting $30,000. Artkor: Committee members, in particular Hanh, have done a substantial amount of analysis on this proposal, both on its own merits and in the broader context of formal verification for the Zcash protocol. The most important signal I think we should send to the community is that the committee takes this area of work very seriously. We are not moving away from the view that formal verification is important and, in the long term, necessary for Zcash. However, we have come to the conclusion that the usual model, where the committee receives a standalone proposal for a defined piece of work, may not be the most effective way to approach formal verification of the code paths that define Zcash protocol behavior. This is an extremely large area of work, and the tools needed to perform it at the required depth are only beginning to emerge. In addition, the core protocol developers are already actively working on this broader direction. For that reason, we believe that formal verification of specific components should ideally be initiated and scoped by the Zcash protocol development community itself, as part of a wider roadmap for this area. The committee remains open to funding this direction when the work is clearly aligned with that roadmap and with the needs of the core developers. Without that alignment, there is a risk that formal verification efforts remain isolated, narrowly scoped, and limited in their practical impact. We are grateful to Runtime Verification for submitting this proposal, and we recognize their expertise and experience in this field. I already understand that a simple majority of the committee will decline this proposal. So my vote in favor should therefore be understood as symbolic, and as a gesture of appreciation to the applicants for bringing this work to ZCG and helping move this important discussion forward. Hanh: Just a couple things to add to this. The grant specifically is about using a tool to reverse some rust code functionality from Zebra into Lean 4 model and use another tool to prove the validity of the Lean 4 model. The idea is sound. However, the problem is that the tool is currently very limited and it’s unlikely that it will get better anytime soon . It’s only able to reverse very basic functions, a maximum of like 10 lines. Functions are isolated, no dependency and purely arithmetic functions. Therefore, the proposal is limited to very small parts of the protocol that we don’t feel (and by we I mean ZF engineers and myself), have risk of being wrong. Therefore the idea is good but it’s just that the execution is too limited. It may even give a false sense of security because the amount of code that would be checked is rather minimal (less than 1% of the code base). The cost is very high too. it would be $30,000 for a few lines of code, and that would be phase one. The entire grant is eight separate phases. The other seven are not costed, but if we interpolate it would be $240,000. At the end we would not be better off than in the beginning because this approach doesn’t scale to any other part of the system. So good idea but unfortunately the execution and the tooling is not powerful enough at this time. I have to decline. If you want a short summary, this is like saying this is a self-driving car, but you can only drive in a straight line. Zerodartz: The idea is good and formal verification is very necessary now and in the future. But as I understood others feedback and ZF developers then this will not be that impactful and given that I’m going to decline. I’m open to have this team work on something that the majority of core Zcash developers would find the most valuable that isn’t being worked on right now. Paul: I second Artkor’s comments. I would like to see activities that drive better community understanding of formal verification including how it can be applied across the core libraries. My sense is that formal verification is important, but I want to see efforts to identify where the areas of focus should be and ensure the work is prioritized correctly for the greatest benefit. Having formal verification included in a broader roadmap would be very helpful. Declined
Committee notes
Artkor: Committee members, in particular Hanh, have done a substantial amount of analysis on this proposal, both on its own merits and in the broader context of formal verification for the Zcash protocol. The most important signal I think we should send to the community is that the committee takes this area of work very seriously. We are not moving away from the view that formal verification is important and, in the long term, necessary for Zcash. However, we have come to the conclusion that the usual model, where the committee receives a standalone proposal for a defined piece of work, may not be the most effective way to approach formal verification of the code paths that define Zcash protocol behavior. This is an extremely large area of work, and the tools needed to perform it at the required depth are only beginning to emerge. In addition, the core protocol developers are already actively working on this broader direction. For that reason, we believe that formal verification of specific components should ideally be initiated and scoped by the Zcash protocol development community itself, as part of a wider roadmap for this area. The committee remains open to funding this direction when the work is clearly aligned with that roadmap and with the needs of the core developers. Without that alignment, there is a risk that formal verification efforts remain isolated, narrowly scoped, and limited in their practical impact. We are grateful to Runtime Verification for submitting this proposal, and we recognize their expertise and experience in this field. I already understand that a simple majority of the committee will decline this proposal. So my vote in favor should therefore be understood as symbolic, and as a gesture of appreciation to the applicants for bringing this work to ZCG and helping move this important discussion forward.
Hanh: Just a couple things to add to this. The grant specifically is about using a tool to reverse some rust code functionality from Zebra into Lean 4 model and use another tool to prove the validity of the Lean 4 model. The idea is sound. However, the problem is that the tool is currently very limited and it’s unlikely that it will get better anytime soon . It’s only able to reverse very basic functions, a maximum of like 10 lines. Functions are isolated, no dependency and purely arithmetic functions. Therefore, the proposal is limited to very small parts of the protocol that we don’t feel (and by we I mean ZF engineers and myself), have risk of being wrong. Therefore the idea is good but it’s just that the execution is too limited. It may even give a false sense of security because the amount of code that would be checked is rather minimal (less than 1% of the code base). The cost is very high too. it would be $30,000 for a few lines of code, and that would be phase one. The entire grant is eight separate phases. The other seven are not costed, but if we interpolate it would be $240,000. At the end we would not be better off than in the beginning because this approach doesn’t scale to any other part of the system. So good idea but unfortunately the execution and the tooling is not powerful enough at this time. I have to decline. If you want a short summary, this is like saying this is a self-driving car, but you can only drive in a straight line.
Zerodartz: The idea is good and formal verification is very necessary now and in the future. But as I understood others feedback and ZF developers then this will not be that impactful and given that I’m going to decline. I’m open to have this team work on something that the majority of core Zcash developers would find the most valuable that isn’t being worked on right now.
Paul: I second Artkor’s comments. I would like to see activities that drive better community understanding of formal verification including how it can be applied across the core libraries. My sense is that formal verification is important, but I want to see efforts to identify where the areas of focus should be and ensure the work is prioritized correctly for the greatest benefit. Having formal verification included in a broader roadmap would be very helpful.
Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
Remains open
Applicant proposes a second formal verification engagement for Zcash — this time targeting Zebra’s consensus-critical arithmetic layer in zebra-chain: Amount monetary arithmetic (checked_add, checked_sub, Mul, Neg), CompactSize64 round-trip and panic-freedom, and Height block-height arithmetic — producing ≥18 machine-checked Lean 4 theorems via their validated Rust → Aeneas → Lean 4 pipeline, with CI-backed public artifacts and a final report. Requesting $30,000. Gguy: ZCG continues to review this proposal and how best this applicant can contribute. We’re interested in exploring this a bit more and will need some more time to explore how best this applicant can contribute to the ecosystem. Hanh: I think if we want to proceed with this stuff she shouldn’t work in isolation because the stuff that she proposes here are very basic primitives that I’m sure the protocol team has already done. These are very common low-level types that are used everywhere in the code whether it’s sapling orchard or ironwood or anything. Even Bitcoin has compact size. Therefore, if she wants to contribute then maybe the ZODL team would like to have an extra resource rather than somebody who works on exactly the same stuff with a totally different verification pipeline. Remains open (meeting being setup)
Committee notes
Gguy: ZCG continues to review this proposal and how best this applicant can contribute. We’re interested in exploring this a bit more and will need some more time to explore how best this applicant can contribute to the ecosystem.
Hanh: I think if we want to proceed with this stuff she shouldn’t work in isolation because the stuff that she proposes here are very basic primitives that I’m sure the protocol team has already done. These are very common low-level types that are used everywhere in the code whether it’s sapling orchard or ironwood or anything. Even Bitcoin has compact size. Therefore, if she wants to contribute then maybe the ZODL team would like to have an extra resource rather than somebody who works on exactly the same stuff with a totally different verification pipeline.
Forum links
1 primary, 1 supportingGrant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
Hello everyone, Runtime Verification is submitting a proposal to formally verify consensus-critical arithmetic and parsing in zebra-chain using our Rust → Aeneas → Lean 4 pipeline. What We Will Verify Three groups of functions that every Zcash transaction and every block validation passes t...
source: forum_mirror | topicId: 56220 | fetchedAt: 2026-11-24T08:07:35.454Z | categoryId: 36 | mirrorKind: forum_topic | coverageCapped: false | discoveredFrom: ["github_issue_comment:ZcashCommunityGrants/zcashcommunitygrants#324:comment:4708765614","google_sheet_row:1FQ28rDCyRW0TiNxrm3rgD8ai2KGUsXAjPieQmI1kKKg:1164534734:grant-platform:25260c03c4573a2d2e2a13985715188b7471bbf1929ee8ff54427e4ac2f58b09"] | postStreamCount: 14
Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
Hello everyone, Runtime Verification is submitting a proposal to formally verify consensus-critical arithmetic and parsing in zebra-chain using our Rust → Aeneas → Lean 4 pipeline. What We Will Verify Three groups of functions that every Zcash transaction and every block validation passes t...
source: forum_mirror | topicId: 56220 | fetchedAt: 2026-11-24T08:07:35.454Z | categoryId: 36 | mirrorKind: forum_topic | coverageCapped: false | discoveredFrom: ["github_issue_comment:ZcashCommunityGrants/zcashcommunitygrants#324:comment:4904475948"] | postStreamCount: 14
Application source evidence
Primary GitHub, Sheet, and other non-forum source records.Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
### Terms and Conditions - [x] I agree to the [Grant Agreement](https://9ba4718c-5c73-47c3-a024-4fc4e5278803.usrfiles.com/ugd/9ba471_f81ef4e4b5f040038350270590eb2e42.pdf) terms if funded - [x] I agree to [Provide KYC information](https:/...
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | state: closed | author: klausnat | labels: ["📋 Grant Application","👀 Ready For ZCG Review","❌ Grant Declined"] | number: 324 | closedAt: 2026-07-07T13:43:52Z | commentCount: 9
Comment on #324: Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
@alexgbo could you please help raise my trust level ([Natalie](https://forum.zcashcommunity.com/u/natalie/summary)) on the Forum, so I can post there for community discussion? We'd love to discuss this work with Zcash maintainers and the...
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | author: klausnat | number: 324 | issueUrl: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | commentId: 4706999779 | createdAt: 2026-06-15T10:32:30Z | issueNumber: 324
Comment on #324: Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
@klausnat your trust level has been increased, you should be able to post now. Please share the link here once posted. **Before you post:** startup + milestones must equal total grant amount. So either remove the startup funding or remov...
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | author: alexgbo | number: 324 | issueUrl: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | commentId: 4708313730 | createdAt: 2026-06-15T13:16:44Z | issueNumber: 324
Comment on #324: Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
Thanks @alexgbo! Here is the Forum post: https://forum.zcashcommunity.com/t/grant-application-formal-verification-of-consensus-arithmetic-and-parsing-in-zebra-chain/56220
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | author: klausnat | number: 324 | issueUrl: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | commentId: 4708765614 | createdAt: 2026-06-15T14:07:14Z | issueNumber: 324
Comment on #324: Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
[zebra_arborist.pdf](https://github.com/user-attachments/files/29249045/zebra_arborist.pdf) This is the presentation for Arborist Call. It is brief explanation of whole proposal.
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | author: klausnat | number: 324 | issueUrl: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | commentId: 4778811493 | createdAt: 2026-06-23T11:43:09Z | issueNumber: 324
Comment on #324: Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
@conradoplg and @upbqdn it would be good to get your feedback on this
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | author: mpguerra | number: 324 | issueUrl: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | commentId: 4798047393 | createdAt: 2026-06-25T10:01:47Z | issueNumber: 324
Comment on #324: Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
I like this proposal; I'd like to have relevant parts of Zebra formally verified. I gave it a go, and this is the result so far: https://github.com/upbqdn/zebrafm. @klausnat, could you perhaps take a look and see where your deliverables ...
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | author: upbqdn | number: 324 | issueUrl: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | commentId: 4893089930 | createdAt: 2026-07-06T13:02:33Z | issueNumber: 324
Comment on #324: Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
> I like this proposal; I'd like to have relevant parts of Zebra formally verified. I gave it a go, and this is the result so far: https://github.com/upbqdn/zebrafm. [@klausnat](https://github.com/klausnat), could you perhaps take a look...
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | author: klausnat | number: 324 | issueUrl: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | commentId: 4902355983 | createdAt: 2026-07-07T09:39:02Z | issueNumber: 324
Comment on #324: Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
@upbqdn We would also love to invite you to give a tech talk for us at RV. We host very informal internal seminars, about 30 minutes to an hour, where our engineers can learn more about your system and processes, and ask questions. We'd ...
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | author: klausnat | number: 324 | issueUrl: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | commentId: 4903404538 | createdAt: 2026-07-07T11:44:39Z | issueNumber: 324
Comment on #324: Grant Application - Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
https://forum.zcashcommunity.com/t/grant-application-formal-verification-of-consensus-arithmetic-and-parsing-in-zebra-chain/56220/14
repo: zcashcommunitygrants | owner: ZcashCommunityGrants | author: alexgbo | number: 324 | issueUrl: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | commentId: 4904475948 | createdAt: 2026-07-07T13:43:52Z | issueNumber: 324
Formal Verification of Consensus Arithmetic and Parsing in zebra-chain
Date Submitted: 6/15/2026 | Proposal Title: Formal Verification of Consensus Arithmetic and Parsing in zebra-chain | Applicant(s): Runtime Verification Inc. | Grant Platform Link: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | Forum Link: https://forum.zcashcommunity.com/t
gid: 1164534734 | sheetId: 1FQ28rDCyRW0TiNxrm3rgD8ai2KGUsXAjPieQmI1kKKg | tabName: all_grants_tracking | rowNumber: 590 | legacySourceId: 1FQ28rDCyRW0TiNxrm3rgD8ai2KGUsXAjPieQmI1kKKg:1164534734:row:590 | identityStrategy: grant_platform_link | businessIdentifier: https://github.com/ZcashCommunityGrants/zcashcommunitygrants/issues/324 | rowLocationSourceId: 1FQ28rDCyRW0TiNxrm3rgD8ai2KGUsXAjPieQmI1kKKg:1164534734:row:590