feat: define VCVio’s public boundary over PolyFun - #511
Conversation
🤖 PR Summary
Failed to generate AI summary. Please check the per-file summaries and statistics below. Statistics
Lean Declarations ✏️ Removed: 12 declaration(s)
✏️ Added: 32 declaration(s)
✏️ Affected: 25 declaration(s) (line number changed)
📋 **Additional Analysis**The diff is largely compliant with the VCVio contributing guidelines. Below are observations organized by the categories emphasized in the instructions. 📄 **Per-File Summaries**
This appears to be a refactor that introduces dedicated lemmas for the
Last updated: 2026-08-08 18:04 UTC. |
Build Timing Report
Incremental Rebuild Signal
This compares a clean project build against an incremental rebuild in the same CI job; it is a lightweight variability signal, not a full cross-run benchmark. Slowest Current Clean-Build FilesShowing 20 slowest of 399 repo targets parsed from the current clean build log.
|
Stack
134eca434dc21d692737f5daa2b05aa189ca2dfa)This PR is intentionally stacked on the module-system migration so its diff is limited to the long-term PolyFun/VCVio boundary work.
Summary
PFunctorprobability semantics inVCVio.EvalDist.PFunctor, withOracleCompdelegating through the existing VCVio façadeQueryImplaliases for VCVio consumersPFunctorconcepts where they are useful, while keeping probability and cryptographic policy in VCVioimport all PolyFun...Design direction
This takes a hybrid approach rather than making VCVio uniformly thinner or uniformly more opaque:
OracleSpec,OracleComp, probability-spec policy, notation, and compatibility aliases used by cryptographic developmentsValidation
lake build(3,007 jobs)lake build ToMathlib VCVio LatticeCrypto Extern HashSig Examples VCVioWidgets(9,214 jobs)scripts/check-polyfun-boundary.shlake env lean VCVioTest/PFunctorFacade.leanlake env lean VCVioTest/Smoke.leanlake env lean LatticeCryptoTest/Falcon/Main.leangit diff --check