fv-skills-baif 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +6 -0
- package/commands/fvs/lean-specify.md +1 -1
- package/fv-skills/VERSION +1 -1
- package/fv-skills/templates/spec-file.lean +7 -12
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to FVS (Formal Verification Skills) will be documented in th
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/).
|
|
6
6
|
|
|
7
|
+
## [2.1.1] - 2026-08-10
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- `/fvs:lean-specify` now generates specification module docstrings in the requested style-guide
|
|
11
|
+
form: a standalone opener, a lower-case theorem title, a concise description, and a plain quoted
|
|
12
|
+
Rust source path. This resolves [GitHub issue #42](https://github.com/Beneficial-AI-Foundation/formal-verification-skills/issues/42).
|
|
13
|
+
|
|
7
14
|
## [2.1.0] - 2026-07-26
|
|
8
15
|
|
|
9
16
|
### Added
|
package/README.md
CHANGED
|
@@ -238,6 +238,12 @@ FVS builds on the work of several open-source projects:
|
|
|
238
238
|
- **[lean-lsp-mcp](https://github.com/oOo0oOo/lean-lsp-mcp)** -- MCP server for Lean
|
|
239
239
|
LSP integration, referenced in proof workflows (MIT).
|
|
240
240
|
|
|
241
|
+
Individual contributions:
|
|
242
|
+
|
|
243
|
+
- **[Jin Xing Lim](https://github.com/jinxinglim)** -- proposed gating a crypto formalisation
|
|
244
|
+
plan on an independent second-runtime adversarial review before execution, and wrote the
|
|
245
|
+
reviewer prompt that `/fvs:crypto-review` (v2.1.0) is modelled on.
|
|
246
|
+
|
|
241
247
|
---
|
|
242
248
|
|
|
243
249
|
## License
|
|
@@ -119,7 +119,7 @@ Read the reference files that MUST be inlined into Task() prompts because @-refe
|
|
|
119
119
|
```bash
|
|
120
120
|
AENEAS_PATTERNS=$(cat ~/.claude/fv-skills/references/aeneas-patterns.md)
|
|
121
121
|
SPEC_CONVENTIONS=$(cat ~/.claude/fv-skills/references/lean-spec-conventions.md)
|
|
122
|
-
|
|
122
|
+
SPEC_FILE_TEMPLATE_CONTENT=$(cat ~/.claude/fv-skills/templates/spec-file.lean)
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
All three must be captured as content strings for inlining into subagent prompts. The complete
|
package/fv-skills/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.1.
|
|
1
|
+
2.1.1
|
|
@@ -12,14 +12,12 @@ import {PROJECT}.Funs
|
|
|
12
12
|
import {PROJECT}.Defs
|
|
13
13
|
{ADDITIONAL_IMPORTS}
|
|
14
14
|
|
|
15
|
-
/-!
|
|
16
|
-
|
|
17
|
-
Specification and proof for `{RUST_TYPE}::{RUST_FUNCTION}`.
|
|
15
|
+
/-!
|
|
16
|
+
# Spec theorem for `{RUST_FUNCTION}`
|
|
18
17
|
|
|
19
18
|
{DESCRIPTION}
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
Source: "{RUST_CRATE}/src/{RUST_MODULE_PATH}"
|
|
23
21
|
-/
|
|
24
22
|
|
|
25
23
|
open Aeneas.Std Result
|
|
@@ -147,15 +145,12 @@ import Curve25519Dalek.Defs
|
|
|
147
145
|
import Curve25519Dalek.Specs.Backend.Serial.U64.Field.FieldElement51.Reduce
|
|
148
146
|
import Mathlib.Data.Nat.ModEq
|
|
149
147
|
|
|
150
|
-
/-!
|
|
151
|
-
|
|
152
|
-
Specification and proof for `FieldElement51::sub`.
|
|
153
|
-
|
|
154
|
-
This function performs field element subtraction. To avoid underflow, a multiple
|
|
155
|
-
of p is added.
|
|
148
|
+
/-!
|
|
149
|
+
# Spec theorem for `FieldElement51::sub`
|
|
156
150
|
|
|
157
|
-
|
|
151
|
+
Subtracts two field elements with a bias that prevents underflow.
|
|
158
152
|
|
|
153
|
+
Source: "curve25519-dalek/src/backend/serial/u64/field.rs"
|
|
159
154
|
-/
|
|
160
155
|
|
|
161
156
|
open Aeneas.Std Result
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fv-skills-baif",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Formal verification skills for Claude Code, Codex, OpenCode, and Gemini. Rust -> Lean 4 via Aeneas.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"fv-skills-baif": "bin/install.js"
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
"openai"
|
|
30
30
|
],
|
|
31
31
|
"author": "BAIF",
|
|
32
|
+
"contributors": [
|
|
33
|
+
"Jin Xing Lim (https://github.com/jinxinglim)"
|
|
34
|
+
],
|
|
32
35
|
"license": "MIT",
|
|
33
36
|
"engines": {
|
|
34
37
|
"node": ">=16.7.0"
|