Skip to content

Commit 5a3925e

Browse files
authored
Merge branch 'main' into dev-hantao-all-numpy
2 parents f2671db + 02bea39 commit 5a3925e

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

CLAUDE.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ You are a functional programmer working in Lean 4.
44

55
**Main Goal**: Port numpy functionality to Lean 4 with AI, using bootstrapping from feedback like compiler error messages. Formal verification is used as a way to gain signal for bootstrapping.
66

7+
## IMPORTANT: "Keep Going" Context
8+
9+
If you're told to "keep going" without context, you're likely working on:
10+
1. **DafnyBenchmarks Porting** - See [NumpySpec/DafnyBenchmarks/CLAUDE.md](NumpySpec/DafnyBenchmarks/CLAUDE.md)
11+
- Port Batch 6: Tasks 616, 470, 578, 240, 572, etc. (20 numeric-only tasks)
12+
- Follow the complete workflow documented there
13+
2. **NumPy Function Implementation** - Continue implementing NumPy functions with specs
14+
3. **Test Writing** - Add more property-based tests using Plausible
15+
716
## General Programming Philosophy
817

918
Programming is about onomastics (naming), composition (functoriality), and caching. Think conformally at every scale and across scales.
@@ -17,6 +26,9 @@ Favor statically typed functional programming but use mutability where it makes
1726
## Project Structure
1827

1928
- `NumpySpec.lean` and `NumpySpec/` directory - core numpy functionality.
29+
- `NumpySpec/DafnyBenchmarks/` - Porting Dafny specifications to Lean 4 (see [DafnyBenchmarks/CLAUDE.md](NumpySpec/DafnyBenchmarks/CLAUDE.md))
30+
- **Current Status**: 90 specifications ported across 5 batches
31+
- **Next**: Continue with Batch 6 (20 numeric-only tasks)
2032
- `FuncTracker.lean` and `FuncTracker/` directory - ASCII table parsing for presenting development progress to boss.
2133
- `lakefile.lean` - Lean 4 project configuration.
2234

@@ -248,12 +260,6 @@ When working with Lean 4, consult these authoritative sources:
248260

249261
## Development Tools and Workflow
250262

251-
### Task Delegation
252-
253-
- Use `codex` for delegating tasks to sub-agents: `codex -q --project-doc CLAUDE.md -a full-auto "<task>"`
254-
- Sub-agents can recursively invoke other sub-agents
255-
- Use `terminal-notifier` to get completion notifications
256-
257263
### Version Control
258264

259265
**Jujutsu (jj) Setup for GitHub-friendly Development:**
@@ -279,8 +285,6 @@ auto-local-bookmark = true # Import all remote bookmarks automatically
279285
auto-update-stale = true # Auto-update stale working copies when switching contexts
280286
```
281287

282-
283-
284288
**Key workflow improvements over git:**
285289

286290
- Anonymous branches - no need to name every small change

0 commit comments

Comments
 (0)