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
Copy file name to clipboardExpand all lines: hermes/docs/agent/07_workflow.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,4 +51,7 @@ When writing a proof, follow these tips:
51
51
You will use these two commands to interact with Hermes. Both accept `--help`.
52
52
53
53
1. Run `cargo run verify` to verify a target.
54
-
2. Use `cargo run expand` to see the generated Lean code.
54
+
2. Use `cargo run expand` to see the generated Lean code.
55
+
3. Use `cargo run generate` to generate `.lean` files on the filesystem. You can use these to iterate on specifications and proofs using normal Lean tooling (`lake`, `lean`, etc) and copy results back to `.rs` files when you are done.
56
+
57
+
You will likely want to start with `cargo run generate`, then iterate on `.lean` files directly, and only use `cargo run verify` for final verification once you have copied your work from temporary `.lean` files back to the source of truth `.rs` files.
Copy file name to clipboardExpand all lines: hermes/llms-full.txt
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -786,6 +786,10 @@ You will use these two commands to interact with Hermes. Both accept `--help`.
786
786
787
787
1. Run `cargo run verify` to verify a target.
788
788
2. Use `cargo run expand` to see the generated Lean code.
789
+
3. Use `cargo run generate` to generate `.lean` files on the filesystem. You can use these to iterate on specifications and proofs using normal Lean tooling (`lake`, `lean`, etc) and copy results back to `.rs` files when you are done.
790
+
791
+
You will likely want to start with `cargo run generate`, then iterate on `.lean` files directly, and only use `cargo run verify` for final verification once you have copied your work from temporary `.lean` files back to the source of truth `.rs` files.
0 commit comments