Skip to content

feat: expose the public PFunctor module surface - #114

Open
dtumad wants to merge 5 commits into
mainfrom
refactor/pfunctor-module-surface
Open

feat: expose the public PFunctor module surface#114
dtumad wants to merge 5 commits into
mainfrom
refactor/pfunctor-module-surface

Conversation

@dtumad

@dtumad dtumad commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a public, reusable PFunctor.Handler instrumentation API for lifting handler targets and inserting pre/post effects
  • provide writer-based tracing operations together with public application and factorization laws
  • expose the interaction sampler, fairness, observation, and open-process laws needed by downstream clients without implementation imports

Motivation

Lean's module system gives private and unexposed declarations stronger API-boundary meaning. This change makes the intended downstream surface explicit in PolyFun so clients can depend on public laws instead of using import all or relying on implementation details.

Validation

  • lake build
  • git diff --check

Downstream

This is the PolyFun side of a paired change. Verified-zkEVM/VCVio#511 pins this commit and exercises the new generic PFunctor surface; that draft is stacked on Verified-zkEVM/VCVio#510.

@dtumad dtumad changed the title Expose the public PFunctor module surface feat: expose the public PFunctor module surface Aug 8, 2026
@dtumad
dtumad marked this pull request as ready for review August 12, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants