Commit 0ec25a9
Centralize toolchain detection in config.mk; fix BFS postcondition order
Two fixes:
1. Build system: All 22 chapter Makefiles and autoclrs/Makefile now
include a shared autoclrs/config.mk that detects binary install
(fstar/) vs source build (FStar/) using absolute paths. This
eliminates stale .checked files from PULSE_ROOT path mismatches
when switching between top-level and standalone chapter builds.
2. BFS.Impl.fst: Reorder postcondition conjuncts (optimality before
complexity) to match the .fsti interface, fixing a subtyping
failure with F* 2026.04.17.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 27538c0 commit 0ec25a9
26 files changed
Lines changed: 56 additions & 92 deletions
File tree
- autoclrs
- ch02-getting-started
- ch04-divide-conquer
- ch06-heapsort
- ch07-quicksort
- ch08-linear-sorting
- ch09-order-statistics
- ch10-elementary-ds
- ch11-hash-tables
- ch12-bst
- ch13-rbtree
- ch15-dynamic-programming
- ch16-greedy
- ch21-disjoint-sets
- ch22-elementary-graph
- ch23-mst
- ch24-sssp
- ch25-apsp
- ch26-max-flow
- ch31-number-theory
- ch32-string-matching
- ch33-comp-geometry
- ch35-approximation
- common
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 7 | + | |
21 | 8 | | |
22 | 9 | | |
23 | 10 | | |
24 | | - | |
25 | 11 | | |
26 | | - | |
27 | 12 | | |
28 | 13 | | |
29 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 1 | + | |
10 | 2 | | |
11 | | - | |
12 | 3 | | |
13 | 4 | | |
14 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
| |||
0 commit comments