You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds three new formal-verification targets to formal-verification/RESEARCH.md and formal-verification/TARGETS.md, expanding the FV portfolio beyond the existing command-line parsing cluster.
Implements the Windows CreateProcess argument-escaping rules. The backslash-doubling invariants are explicitly documented in the source and a matching test suite already exists (PasteArgumentsTests.cs). Key properties reduce to natural-number arithmetic (2N / 2N+1 backslash rules) β ideal for omega. This is the most immediately FV-amenable new target.
Pure suffix-dispatch parser for human-readable timeout strings ("5400s", "90m", "1.5h", etc.). Suffix-to-unit mapping is exhaustive and mutually exclusive; unit-conversion properties are decidable. Good omega target once the regex match is abstracted as a precondition.
Deterministic character-level tokenizer that feeds ParseFilter. Complements the already-spec'd MatchFilterPattern (Target 7), together covering the full filter evaluation pipeline. The bracket-depth counter is a Nat; one specified exception case (trailing \) gives a concrete bug-finding opportunity.
Priority Order and Notes sections in TARGETS.md updated to reflect 10 total targets.
Open Questions in RESEARCH.md extended with a note on PasteArguments trailing-backslash behaviour.
Lean Status
Task 3 (Formal Spec Writing) was also selected for this run but could not proceed β curl is blocked by the sandbox network firewall, preventing elan (Lean toolchain) installation. No .lean files have been written or modified. Lean Squad will retry Task 3 in a future run.
Checklist
RESEARCH.md β three new target entries with benefit, spec size, proof tractability, approximations
TARGETS.md β three new rows + updated Priority Order + Notes
Phase fix for Target 5 (1 β 2)
No .lean files modified (Lean toolchain not available this run)
Summary
π¬ Lean Squad β automated FV agent (run #25266333058)
This PR adds three new formal-verification targets to
formal-verification/RESEARCH.mdandformal-verification/TARGETS.md, expanding the FV portfolio beyond the existing command-line parsing cluster.New Targets
Target 8 β
PasteArguments.AppendArgumentβ β β β βFile:
src/Platform/Microsoft.Testing.Platform/Helpers/PasteArguments.csImplements the Windows
CreateProcessargument-escaping rules. The backslash-doubling invariants are explicitly documented in the source and a matching test suite already exists (PasteArgumentsTests.cs). Key properties reduce to natural-number arithmetic (2N/2N+1backslash rules) β ideal foromega. This is the most immediately FV-amenable new target.Target 9 β
TimeSpanParser.TryParseβ β β ββFile:
src/Platform/Microsoft.Testing.Platform/Helpers/TimeSpanParser.csPure suffix-dispatch parser for human-readable timeout strings (
"5400s","90m","1.5h", etc.). Suffix-to-unit mapping is exhaustive and mutually exclusive; unit-conversion properties are decidable. Goodomegatarget once the regex match is abstracted as a precondition.Target 10 β
TreeNodeFilter.TokenizeFilterβ β β β βFile:
src/Platform/Microsoft.Testing.Platform/Requests/TreeNodeFilter/TreeNodeFilter.csDeterministic character-level tokenizer that feeds
ParseFilter. Complements the already-spec'dMatchFilterPattern(Target 7), together covering the full filter evaluation pipeline. The bracket-depth counter is aNat; one specified exception case (trailing\) gives a concrete bug-finding opportunity.Fixes
CommandLineParseResult.Equals): corrects phase from 1 β 2 (informal spec was merged in PR [Lean Squad] feat(fv): Task 2 β informal spec for CommandLineParseResult.EqualsΒ #7918).TreeNodeFilter.MatchFilterPattern): adds PR link for [Lean Squad] feat(fv): Task 2 β informal spec for TreeNodeFilter.MatchFilterPatternΒ #7934.TARGETS.mdupdated to reflect 10 total targets.RESEARCH.mdextended with a note onPasteArgumentstrailing-backslash behaviour.Lean Status
Task 3 (Formal Spec Writing) was also selected for this run but could not proceed β
curlis blocked by the sandbox network firewall, preventingelan(Lean toolchain) installation. No.leanfiles have been written or modified. Lean Squad will retry Task 3 in a future run.Checklist
RESEARCH.mdβ three new target entries with benefit, spec size, proof tractability, approximationsTARGETS.mdβ three new rows + updated Priority Order + Notes.leanfiles modified (Lean toolchain not available this run)Note
This was originally intended as a pull request, but the git push operation failed.
Workflow Run: View run details and download patch artifact
The patch file is available in the
agentartifact in the workflow run linked above.To create a pull request with the changes:
Show patch preview (186 of 186 lines)