Repository navigation
Description
Classification
RESEARCH / P3 / REUSE-FIRST / KILL-FIRST / READ-ONLY PRECHECK / NOT ADOPTED / NO IMPLEMENTATION AUTHORIZED (2026-11-23).
Johannes Bader Page · Gradual Program Verification, VMCAI 2018, Coq artifact · Gradual C0 implementation · research on recursive mutable-heap gradual verification (2020).
Hypothesis: for one real, bounded Own.NET resource lifecycle/borrow protocol, can a reviewed split between static proven obligation, runtime check and explicitly unknown/unmodelled behavior provide a concrete benefit over existing static analyzer + opt-in guard, without suggesting Own.NET already supports gradual verification?
Overlap/ownership gates
- #241 owns opt-in runtime disposal-guard coverage and source-visible fixes for OWN002/OWN009; do not implement another guard here.
- #451 owns machine-checked production Rust operator proof, #433 tiny concrete-state oracle, #466 invalidation type prior art and #392 affine state tokens.
- Gradual C0 is a C0/Viper/Z3 research implementation, not a C#/.NET drop-in; do not transfer performance/precision claims without independent measurement. Old GradVerArtifacts use CoqIDE 8.6: pin versions before any reproduction.
Gate 0 (read-only)
- Pin actual Roslyn→OwnIR→Rust operation, one existing C# lifecycle example and the current status/coverage of P-034 follow-up: verify opt-in runtime disposal-guard coverage and offer source-visible fixes #241. Define formal semantics for this scope alone (identity, alias, exceptions, unknown effects, unmodelled calls).
- Inventory which checks are statically discharged, runtime guarded, runtime unguardable or unknown. A partial proof/check is not a global SAFE verdict; one checked execution is not proof of all executions.
- Match one exact, already modeled dynamic obligation for which selective runtime checking might save false positives or reveal errors. If P-034 follow-up: verify opt-in runtime disposal-guard coverage and offer source-visible fixes #241 and existing static/negative tests suffice, DUPLICATE/KILL.
Optional bounded synthetic pilot (only after separate GO)
- A existing static result + tests; B existing opt-in LifetimeGuard; C a paper/specification-only gradual division into statically proved and dynamically checked obligations, with measured costs only if test harness is approved.
- Deliberate negatives: missing check on exceptional exit, alias after dispose, wrong state transition, unknown external call, runtime guard disabled, old/revised source mismatch, partially proved case incorrectly surfaced as SAFE.
- Report false-SAFE/false-ERROR vs source-reviewed oracle, proof assumptions and dynamic coverage, runtime overhead, instrumentation complexity, release compatibility Win7/10/11 and support/deployment cost. Distinguish dynamic evidence from model proof.
- Verdict ALREADY COVERED / NARROW EXPERIMENT / REFERENCE ONLY / KILL. Any proposed runtime code change needs a distinct approved issue.
Non-goals: generic symbolic execution engine, full language verification, imported Gradual C0 stack, new mandatory runtime library, changing production OWN verdicts or claiming C# soundness from Coq models.
Activity