Skip to content

Research: independent formal cross-check and Rust-level soundness verification (Rocq / Verus / Aeneas / Isabelle) #451

Open

Description

@PhysShell

Classification

Motivation

Astrée's transferable lesson is the explicit link between a concrete semantics, a conservative abstraction, and the scope of the claimed absence of errors, not its C/C++ numerical domains or commercial implementation. Isabelle/HOL is one possible way to machine-check a small theorem about that link.

Own.NET already has lattices/dataflow and a formal P-037 experiment. In PR #367, Rocq/MathComp proves results for the isolated P-037 kernel and checks a Rust truth-table seam. Do not mistake those results for a proof that the main Rust ownership analyzer, its C# lowering, or production diagnostics are sound.

The uncovered question is narrow:

For one existing production ownership operation, can we formulate and (if practical) machine-check a non-vacuous soundness obligation against a small, independently justified concrete resource model, with an auditable connection to the actual implementation?

This is not a request to introduce Isabelle for its own sake. Reuse/extend the existing Rocq proof infrastructure by default if a proof assistant is warranted; compare Isabelle/HOL only when a specific advantage can be demonstrated.

Preflight / no-duplication gate

  1. Pin the current Own.NET revision and inspect actual Rust state/transfer/join code, OwnIR contract, relevant C# lowering, the P-037 formal notes and PR research: MathComp applicability spike for Own.NET #367 artifacts. Do not infer features (widening, narrowing, aliases, exceptional edges) that the selected implementation does not actually model.
  2. Read Research: IKOS-inspired abstract-state soundness oracle and operator audit (bounded spike) #433, Research: map domain-theoretic fixed-point assumptions to Own.NET's ownership analysis #450 and Research: FORVES2-style conditional semantic validation and proof-assumption audit for OwnIR #445 first. If the precise theorem/semantics and implementation seam are already covered, close as DUPLICATE / ALREADY-COVERED with links. Do not build a second concrete-state oracle, mutation harness, general domain-theory essay or conditional equivalence checker.
  3. Identify a single proof seam outside the already-proved P-037 kernel, preferably an actual resource-state transfer or branch join in the production Rust ownership analysis. Record why it matters to a known risk or evidence claim.

Bounded work

A. State the semantics and proof contract

Specify a tiny independently reviewable concrete resource machine, only for the selected operation, with explicit limitations (e.g. resource identity, aliasing, ownership, acquire/use/release, modeled control-flow edges). Define:

  • C: concrete states and transition step_C;
  • A: the existing abstract states and transfer/join step_A;
  • R(c, a) / concretization γ(a): what it means for an abstract state to cover a concrete state;
  • an explicit unknown/unmodeled boundary, including unresolved calls or exceptional behavior if the chosen seam cannot represent them.

Candidate obligation (adapt to the actual semantics):

R(c, a) ∧ step_C(c, op) = c'
    ⇒ R(c', step_A(a, op))

For nondeterministic/exceptional transitions, quantify over every modeled concrete successor. For a join, prove each incoming state's concretization is included in the join's concretization. Never translate omitted successors, timeouts, unsupported constructs, or an incomplete frontier into a proof of safety.

Keep distinct: (1) transfer over-approximation, (2) completeness of source→OwnIR lowering, (3) solver termination/fixpoint assumptions, and (4) end-user diagnostic correctness. Proving (1) does not prove (2)–(4).

B. Evaluate a proof approach, kill-first

  • Baseline: inspect whether the existing Rocq/MathComp code, P-037 exporter/certificate pattern, Kani or small executable exhaustive tests already discharge the selected obligation.
  • Try one minimal machine-checked theorem only if there is a justified new obligation. Prefer reusing Rocq; assess Isabelle/HOL as an alternative, not an additional mandatory dependency. Note comparative encoding effort, automation, assumptions and executable-implementation linkage.
  • If formalization invents a parallel toy semantics with no checkable connection to Own.NET's selected production operator, STOP rather than claiming a soundness result.
  • If feasible, use a small test-only comparison to pin a finite operator truth table or a clearly defined extraction/certificate boundary. This is a regression/evidence seam, not a general proof that compiled Rust implements a specification.

C. Negative controls and audit

  • Try at least one deliberately wrong transfer/join rule (e.g. dropping a feasible alias/path) and show that the theorem fails or a counterexample is produced; if not possible, document why.
  • State all assumptions and trusted components, including any admitted/axiomatized facts, finite bounds, model exclusions and the source→OwnIR gap.
  • Explain what result would actually change an Own.NET decision, as opposed to merely adding a proof artifact.

Deliverables / acceptance criteria

Non-goals

No full C# semantics, whole-program soundness claim, wholesale Astrée port, numerical abstract domains, new production solver, speculative diagnostic suppression or production SAFE upgrades. Do not re-prove the already-covered P-037 kernel or duplicate #433's property/mutation corpus. Any production change requires a separate, independently justified issue.

References


Addendum (2026-10-30): independent cross-formalization and production Rust verification

Why expand #451? The original ticket deliberately selected one production ownership transfer/join soundness obligation. Keep that target, definitions, baseline controls, negative controls, deliverables and research-only boundaries intact. The additional question is whether independent specifications and a direct implementation-facing verifier can reveal defects that an internally consistent Rocq model, Kani harness or operator tests miss. A second green proof is not automatically additional confidence.

This addendum supersedes only the earlier tool-selection preference (“Isabelle as an alternative, not an additional dependency” and “prefer Rocq”): independent Isabelle/HOL is now an explicitly admissible complementary experiment if it has a distinct error-detection hypothesis. The original one selected production seam, no-default-dependency, cost/STOP and evidence-boundary constraints remain.

What was already done / ownership map (do not duplicate)

Existing work What is already covered What #451 adds instead
#433 Independent tiny concrete-state oracle, abstract operators, operator mutants and incomplete-result tests A machine-checked theorem and/or implementation-facing proof for the same pinned seam, reusing that oracle
#450 Orders, lattices, fixpoint/fairness/completeness assumptions A specific independently checked proof obligation, not another theory survey
#445 Conditional equivalence, validated path premises, proof/trusted-assumption audit (FORVES2/Coq inspiration) Concrete-to-abstract transfer/join soundness and its connection to production Rust, not a second conditional validator
#430, #426 Roslyn→OwnIR/ICFG fidelity and partial/evidence contracts Record these as unproved external premises unless independently discharged; do not declare C# soundness
#405, #269, #260 Source-level semantic mutation, first-divergence traces, Python↔Rust shadow parity (the last is closed) Small proof/spec-vs-implementation counterexamples and negative controls, reusing traces/fixtures
PR #276: P-035 Independent replay verifier for derivation certificates over canonical facts Check whether the facts, abstraction and production semantics themselves are correct. Certificate checking and semantic correctness are separate
PR #367, #369, #370 Rocq/MathComp kernel experiment, plain-Rocq control (KILL MathComp / KEEP Rocq), generic theory reuse Do not redo P-037 or revive MathComp without new evidence; select a production ownership operator outside the existing P-037 theorem
PR #372: B0, #368 P-037 formal/production trust-boundary audit and known unfair-schedule counterexample Reuse the proof-boundary inventory discipline, do not claim #368 is a current production soundness bug or reopen its fix
#447, #448 Source-guided property extraction/witnesses and requirements-to-code conformance Internal analyzer meta-verification, not a new consumer-facing C# verification language

Three distinct verification lanes (evaluate, do not adopt all by default)

Lane A — proof against executable Rust (Verus; compare Kani baseline first).

  • Pin one existing own-analysis resource-state operator and identify its actual types and callers.
  • Test whether Verus supports the selected Rust fragment without rewriting the operator into a second implementation. Its spec/proof/exec split and optional dual_spec / exec_spec_verified! approaches deserve investigation, but do not assume those cover arbitrary existing Rust or generics.
  • Express e.g. γ(a) ∪ γ(b) ⊆ γ(join(a,b)) or preservation of every modeled concrete successor; verify an implementation-facing postcondition where possible. A wrapper that simply assumes the desired postcondition or reimplements the algorithm does not count.
  • Keep Kani's bounded results as a separate comparator. Kani PASS is not an unbounded proof; Verus PASS is only for its supported code/contracts and trusted solver/semantic assumptions.
  • If the pinned function cannot be verified without invasive refactoring or trusted external-body stubs, report UNSUPPORTED/NO-GO.

Lane B — source-to-proof translation (Charon + Aeneas → Lean, optionally Rocq/HOL4).

  • On the same pinned function if feasible, attempt a read-only/test-only Rust→LLBC→pure-model translation. Check exact upstream version, supported subset and external-library models. Aeneas does not provide an Isabelle backend.
  • Compare generated behavior against an independently written resource-state requirement, not a theorem copied from the translated implementation. If proof needs invented stubs, list them as trusted assumptions.
  • Classify translation success separately from proof success and independently test Rust↔generated-model correspondence on small executable inputs; a successful translation alone is not a proof of semantic preservation or of C# behavior.
  • If extraction requires rewriting away relevant effects or silently assuming missing semantics, STOP, even if Lean/Rocq can prove the simplified model.

Lane C — independent semantic adversary (Isabelle/HOL, or another demonstrably independent notation).

  • Independently derive a tiny concrete resource model from C# ownership requirements and reviewed examples, not by transcribing Rocq definitions line by line.
  • Select different semantic formulations and falsifiable properties (alias/resource identity, may-vs-must, branch join, unknown call effects). Nitpick/Quickcheck can search finite countermodels; Sledgehammer may assist proof construction. A bounded countermodel is a finding candidate, not automatically an executable C# bug.
  • Compare findings through the same canonical transition alphabet/test cases with the existing Rocq and Rust evidence. Explicitly inspect whether the two proofs share the same incorrect premise or source model.
  • If an Isabelle model merely duplicates Rocq and detects no independent faults, classify DUPLICATE/NO-INCREMENTAL-VALUE; do not maintain two proof stacks for aesthetics.

Cross-checking rationale: Anthropic's Fermat proof artifact used the Lean kernel plus the independent Rust kernel nanoda, with a separate theorem/axiom comparison. That is independent kernel checking of one proof, not two independent models of the program. Both strategies can be useful, but this issue specifically targets independent semantics and implementation correspondence. Anthropic's 2026 formal-verification write-up also describes complementary Verus proof and empirical differential testing; the latter remains testing, not proof.

Concrete pre-registered pilot and negative controls

Gate 0: before installing a tool, record baseline SHA, engine, the actual selected Rust functions, source/OwnIR facts and exact prior coverage; choose one operation with an adjudicated semantic risk (candidate: path join dropping a reachable ownership state, or conditional release incorrectly promoted from may to must). Document why this is not already discharged by #433 or the P-037 proof. If no distinct seam, STOP.

Pilot: at most one selected operator and one closely related boundary; begin with #433's existing independent oracle and Kani fixtures. Try a Verus proof or Aeneas extraction first according to actual Rust-feature support; add independent Isabelle when there is a genuinely different falsification hypothesis. No requirement that all three lanes succeed.

Pre-register a small set of mutants/controls, reusing existing tests rather than inventing a second corpus:

  1. Unsound join loses one incoming feasible state.
  2. Alias/identity confusion causes release/use/ownership effect on the wrong resource.
  3. Conditional may becomes must or unmodeled/opaque call becomes harmless no effect.
  4. An explicitly UNKNOWN/INCOMPLETE boundary is accidentally promoted to SAFE.
  5. A safe near-neighbor / semantics-preserving control stays accepted, avoiding an always-failing pseudo-check.

Use only applicable mutants and state exclusions honestly. For each, capture which lane found the issue, the first divergence, reproducible input, actual C#/Rust behavior where replayable, specific theorem or countermodel, proof assumptions and tool/build versions. Record whether it is new relative to baseline Rocq/Kani/oracle tests, not merely rediscovery.

Acceptance and decision matrix (additional to, not replacement for, original #451 criteria)

  • A tool/semantic-fit table: Rocq baseline / Kani / Verus / Aeneas+Lean (or Rocq) / Isabelle, including exact source-to-proof linkage, assumptions/trusted components, unsupported Rust features, cost, and what independent defect class each can catch.
  • For every claimed theorem: prove the intended statement under independently justified premises; list Admitted/axioms, model exclusions, externally supplied functions and how a proof remains linked to selected production Rust. Explicitly separate model proof, translator correctness, implementation correspondence, source→OwnIR fidelity, fixpoint completion and end-user verdict.
  • At least one deliberately wrong applicable rule is rejected with a useful witness or failed proof by the new lane, with comparison to existing checks; otherwise report NO-INCREMENTAL-VALUE/UNSUPPORTED, not a nominal PASS.
  • For any counterexample, independent concrete replay/adjudication distinguishes REAL-DEFECT, MODEL-ONLY, SPEC-MISMATCH, TRANSLATION-GAP, UNMODELED and INFRA-ERROR. No blanket soundness claim based on synthetic mutants.
  • Record exact commits, tool versions, commands, runtime/setup cost, unsupported cases, and a final GO-NARROW / RESEARCH-ONLY / STOP / DUPLICATE disposition. Any real defect gets a separate narrowly scoped bug issue; any production integration gets separate authorization.
  • Preserve original Research: independent formal cross-check and Rust-level soundness verification (Rocq / Verus / Aeneas / Isabelle) #451 obligations, completion taxonomy, negative controls and P3/research-only classification. No mandatory new CI dependencies, whole-program Rust/C# proof project, adoption of three provers, new static-analysis engine, or production diagnostic behavior change.

Pinned upstream entry points (to verify again at experiment time)

2026-11-15 — Qiyuan Xu Phi-System and Simon Cruanes proof/countermodel donors

Qiyuan Xu / Phi-System review · Phi-System POPL 2025: compositional separation-logic proofs via functors/homomorphisms/modules, formal source semantics and data refinement. Project README explicitly says not ready for any use, older version notes vary; not a C# verifier or drop-in proof engine.

Simon Cruanes review · Zipperposition (FO superposition, TPTP/TIP, proof traces) · SMBC and Nunchaku (countermodel finding). Research distinct proof accepted by selected checker / countermodel with validated mapping / UNKNOWN, and compare to existing Rocq P-037 seam and independent finite concrete-state checks before adopting any new solver. Proving abstract theorem is not C# lowering correctness, Rust implementation equivalence or production diagnostic soundness.

Gate refinement: one actual production step_C → step_A resource transfer/join; choose an existing Rocq/MathComp infrastructure baseline first, plus intentionally wrong operator / countermodel. Only if genuine missing proof expressiveness: evaluate Phi module composition or Zipperposition/SMBC techniques offline; otherwise STOP.

2026-11-15 — AutoCorrode / Mulligan donor: separation footprints and proof boundary

References: AutoCorrode, AutoCorrode research Page, Mulligan research Page.

Only new hypothesis: Can µRust/AutoLocality/separation-logic locality footprints help articulate one missing frame/heap assumption in the same pinned production Rust ownership transfer/join operator already studied here? Compare current Rocq/Kani/Verus/Isabelle baseline and #433/#445/#460 before opening a new model. I/Q/I/R/IC2 are session/proof-state interfaces, not proof that Roslyn→OwnIR→Rust implements formalized µRust semantics. Supervisionary demonstrates a minimal independently trusted checker boundary, not a ready analyzer.

  • Inspect one existing failure/negative mutant and present precise footprint/frame assumption only if not already captured by existing operator oracle / Frame Research: Frame neuro-symbolic SAST as a proof/evidence-tiering donor for OwnIR (kill-first) #460.
  • Report MODEL_THEOREM / RUST_CORRESPONDENCE / ROSLYN_LOWERING / DIAGNOSTIC separately, and UNKNOWN for unsupported paths, aliases, exceptional edges, concurrency and omitted calls.
  • Stop as duplicate if no new detectable obligation; no new toolchain, default CI, production analyzer code or prover authorized.

P3 / REFERENCE / KILL-FIRST.


2026-11-23 — Rust verification catalogue: Charon, Flux, Kani/Verus/Creusot and proof checkers

P3 prior art / REUSE-FIRST / KILL-FIRST / NOT ADOPTED. Research Page · Charon, Flux, Kani, Verus, Creusot, Carcara, MRS.

Preflight: current pinned Roslyn→OwnIR→Rust code; one existing production transfer/join invariant not already discharged by P-037/PR #367, #433/#445/#450. Charon demonstrates Rust semantic extraction into JSON/LLBC with source spans; it cannot parse C# and Rust MIR does not validate OwnIR. Flux supplies refinement-type prior art; Kani bounded model-checking, Verus subset-of-Rust deductive checking, Creusot Coma/Why3; each has different premises/semantics/toolchain. Reuse current Rocq/MathComp/Kani first, not a compulsory suite of three new verifiers.

Proof-integrity analogy: Carcara independently checks Alethe/SMT artifacts; MRS produces TPTP/TSTP proofs checked by a separate Rust kernel with --self-check off by default. MRS expressly does not claim end-to-end verified proofs. Different certificate protocols, and source→solver encoding, premise/version, side conditions, trusted parser, checker all remain independently auditable. A checker-accepted tiny theorem is not proof of C# lowering or entire analyzer soundness.

Gate: at most one semantic operation, one incorrect-mutant control plus good baseline, explicit MODEL_THEOREM / IMPLEMENTATION_CORRESPONDENCE / LOWERING_COVERAGE / DIAGNOSTIC_SCOPE, cost and missing assumptions. UNKNOWN for unsupported effects/paths or no adequate replay. STOP/ALREADY COVERED if no unique diagnostic/evidence gap. No mandatory CI/prover, no code changes.

Activity

  1. changed the title [-]Research: machine-check one production ownership soundness obligation (Astrée / Isabelle-HOL prior art)[/-] [+]Research: independent formal cross-check and Rust-level soundness verification (Rocq / Verus / Aeneas / Isabelle)[/+] on Oct 30, 2026
  2. PhysShell commented on Nov 11, 2026

    @PhysShell
    OwnerAuthor

    CreuSAT as additional proof-engineering reference (2026-11-12)

    Source: https://github.com/sarsko/CreuSAT (Creusot/Why3 verification of a stateful CDCL SAT solver). No new issue or prover mandate: this belongs under the existing #451, with overlap checks against #433/#445/#450 and P-037/PR #367.

    Transfer only the method: one named production transfer/join seam, explicit requires/ensures and inductive invariant, a deliberately wrong rule/negative control, and a trust-boundary ledger separating model theorem, implementation correspondence, Roslyn→OwnIR lowering, partial frontier and diagnostic soundness. Treat parser/CLI/FFI/unmodeled inputs as external trusted or unproved boundaries, not as automatically covered by the core proof.

    Decision gate: if #451's existing Rocq/Kani/Verus plan already discharges the selected obligation, mark CreuSAT as related prior art and STOP. Do not create a CreuSAT fork, SAT dependency, second parallel proof project or new production work.

  3. PhysShell commented on Nov 23, 2026

    @PhysShell
    OwnerAuthor

    2026-11-23 — graydon/millipede: LLM-written Lean proofs, trusted-model boundaries and proof-of-compilation donor

    Classification: RESEARCH / P3 / REUSE-FIRST / KILL-FIRST / NO IMPLEMENTATION AUTHORIZED. Research Page · upstream · real theorem · trust ledger.

    Millipede is a small Lean 4 embedded low-level DSL, with source elaborated to Core AST and corresponding Lean function with kernel-checked semantic equality, plus verified lowering/selection/assembly/linking to x64/arm64 Linux bytes. Its headline CompileSound.Statement is explicitly conditional on compile p t = .ok b and p.Safe; it guarantees trace equivalence, non-stuck machine-model execution, stack bounds, and per-reactor-step instruction bounds. It does not prove correct informal requirements, real CPU/OS models, or arbitrary C#→OwnIR→Rust diagnostic correctness. Limits and status separate claimed, proved, tested, trusted, refused and unbuilt cases. The normal mpc driver requires a safety proof, while invoking lower-level compile alone can compile unsafe/unproved programs: scope matters.

    Portable method for #451 (no new language runtime):

    1. First reuse existing P-037 Rocq/MathComp, Research: IKOS-inspired abstract-state soundness oracle and operator audit (bounded spike) #433 oracle and Research: FORVES2-style conditional semantic validation and proof-assumption audit for OwnIR #445 conditional-assumption audit. If they cover the chosen production transfer/join obligation, STOP. No general Lean proof infrastructure.
    2. For one named pinned Rust transfer/join and independently justified finite concrete semantics, express the candidate theorem and precisely separate MODEL_PROVED / OPERATOR_LINK_TESTED / ROSLYN_OWNIR_ASSUMED / SOLVER_UNKNOWN / DIAGNOSTIC_UNPROVED; record every side condition, excluded path and version.
    3. Treat open-claims.md, audit script, negative seeded mutants, and trust doc as methodological donors, not evidence that Own.NET is proved. One intentional false transfer/overly strong abstraction theorem must fail, or reject the technique.
    4. Record reproducible checker/prover version, SHA, proof script/certificate, assumption closure and human review time. Comparing non-vacuity + independent operator implementation link matters more than counting 3,000 upstream theorems.

    Upstream caveats: project produced primarily by LLM agents over days; author says he cannot independently understand many proofs. Two public commits, no CI configuration; performance worse than gcc in published microbenchmarks; no explicit root LICENSE was visible at review, so code reuse is not authorized/assumed. Reported correctness is relative to trusted Lean/ISA/loader/syscall models, and independent reproduction has not been done here.

    Outcome desired: a narrow, source-pinned audit checklist or one bounded model theorem only if it exceeds existing cheap tests, not porting Millipede, changing production analyzers or introducing a mandatory Lean dependency.

  4. PhysShell commented on Nov 23, 2026

    @PhysShell
    OwnerAuthor

    2026-11-23 — Related type-theoretic prior art, not an independent proof of production analysis

    Research / INVALIDATION-TYPES-01 #466 · detailed Page · InvalML · SEBAS.

    InvalML proposes sound/complete invalidation type-and-effect inference in its own restricted language, and SEBAS studies Boolean algebraic subtyping with recursive types. These are possible semantic-formalization references for a narrow Own.NET resource-state transfer, not machine-checked evidence of the actual Roslyn→OwnIR→Rust analyzer. The algorithm papers do not formally verify the artifact Scala code by default.

    #451 retains proof ownership: reuse the existing Rocq/MathComp P-037 infrastructure first, choose a single distinct actual Rust operator, identify the hand-reviewed concrete semantics and an explicit relation to its implementation. #466 owns only the question whether an InvalML-style constraint vocabulary meaningfully improves this analysis vs existing typed transition rules. If it cannot represent C# alias/exception semantics with verified provenance, mark UNMODELED, not SAFE.

    Research-only, no new proof checker / DSL / production code authorized.

  5. PhysShell commented on Nov 23, 2026

    @PhysShell
    OwnerAuthor

    2026-11-23 — Tree Calculus: self-typed analysis and proof scope (secondary reference)

    Research Page · PEPM 2025 typed analysis · Rocq v2.0 research (Nov 2026).

    The 2026 formalization states executable typing operations (infer, type_app), preservation under evaluation and some typed program rewrites, and reports 59 Rocq files with Print Assumptions and no Admitted/custom axioms. Not independently rebuilt and not a proof of C# source → OwnIR → Rust ownership semantics. It is a narrow example of theorem statement → proof artifact → assumption check → executable model, useful alongside existing Rocq/MathComp work.

    For this issue, prefer existing proof infrastructure and only one actual Own.NET operator. Reject ungrounded parallel semantics, vacuous statements, unknown source correspondence, or new proof runtime without a distinct observable benefit. REFERENCE ONLY / REUSE-FIRST / NO IMPLEMENTATION.

  6. PhysShell commented on Nov 23, 2026

    @PhysShell
    OwnerAuthor

    2026-11-23 — coq2latex: keep proof rules and published inference rules in sync

    Johannes Bader research Page · olydis/coq2latex · GradVerArtifacts.

    coq2latex generates LaTeX inference rules from Coq Inductive ... : Prop definitions, potentially preventing drift between the real formal specification and documentation for our existing Rocq/MathComp proof experiments (e.g. P-037/PR #367). This is presentation synchronization, not a theorem prover or kernel checker. First check compatibility with present Rocq versions (README tooling is historical), test one genuine existing rule vs handwritten copy, compare diff/reviewer minutes. If it adds maintenance or cannot parse the existing syntax, PARK. Do not make it a mandatory CI/PDF dependency in #451.

  7. PhysShell commented on Nov 24, 2026

    @PhysShell
    OwnerAuthor

    2026-11-24 — Ilya Sergey / Lean-Move, Velvet and Vermilion: trust-ledger and proof UX donors

    Sergey overview · Lean-Move model/proof · Velvet + Vermilion · OOPSLA author/AE methodology · paper/evidence issue.

    Three different proof designs:

    1. Lean-Move: independent MoveLight small-step semantics + relational typing + executable Boolean checker + algorithmic→relational soundness + progress/preservation, with non-vacuity certificates, model scope and a Rust production correspondence map. The Lean theorem is not a proof of the actual production Sui checker (its CFG inference/metering/stack bytecode remain outside the formal model). Artifact: ARTIFACT.md claim-to-lemma mapping and axiom audits; zero project-specific axioms but standard propext, Classical.choice, Quot.sound.
    2. Velvet: Lean-embedded imperative verifier with #derive_tester_for contract-based testing, monadic effects, ghost state and automated/interactive proof.
    3. Vermilion: Verus Rust→VIR-SST→readable Lean VC, editable proof twins and VS Code source↔proof UX, with a detailed trust boundary ledger. This explicitly trusts frontend/lowering/semantics and does not support all concurrency/ghost-memory fragments.

    This #451 remains owner of proof feasibility for one production Rust transfer/join; compare selected proof-UX/trust patterns against existing Rocq/MathComp P-037/PR #367 first. Do not add Lean/Verus/Velvet/Vermilion as a production dependency merely to run a toy proof. Require independent concrete semantics, non-vacuity and one false transfer mutant. No broad Rust or C# soundness claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions