Details

Time bar (total: 19.7s)

sample345.0ms

Algorithm
intervals
Results
172.0ms1306×body80nan
72.0ms429×body80valid

simplify195.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.4b

Counts
2 → 1

localize30.0ms

Local error

Found 4 expressions with local error:

4.8b
(* (* (pow (/ d h) (/ 1.0 2.0)) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
10.5b
(pow (/ d h) (/ 1.0 2.0))
11.9b
(pow (/ d l) (/ 1.0 2.0))
12.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
205×add-exp-log
107×prod-exp
55×div-exp
45×times-frac
40×add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow-exp
30×add-cbrt-cube
26×unpow-prod-down pow-unpow
16×associate-*r*
14×pow-to-exp
13×cbrt-unprod
10×pow1
cbrt-undiv div-inv
add-log-exp
associate-*r/ associate-*l/
distribute-rgt-in sub-neg pow-pow distribute-lft-in associate-*l* pow-prod-down *-commutative sqr-pow
frac-times flip3-- flip--
Counts
4 → 176
Calls
4 calls:
13.0ms
(* (* (pow (/ d h) (/ 1.0 2.0)) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
5.0ms
(pow (/ d h) (/ 1.0 2.0))
6.0ms
(pow (/ d l) (/ 1.0 2.0))
12.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series532.0ms

Counts
4 → 12
Calls
4 calls:
277.0ms
(* (* (pow (/ d h) (/ 1.0 2.0)) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
13.0ms
(pow (/ d h) (/ 1.0 2.0))
13.0ms
(pow (/ d l) (/ 1.0 2.0))
229.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify49.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
015192226
150022033

prune522.0ms

Filtered
188 candidates to 109 candidates (42.0%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New16919188
Fresh000
Picked101
Done000
Total17019189

Merged error: 10.8b

Counts
189 → 19

localize43.0ms

Local error

Found 4 expressions with local error:

2.9b
(/ (* M D) (* 2.0 d))
4.8b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
11.9b
(pow (/ d l) (/ 1.0 2.0))
12.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
818×add-exp-log
567×prod-exp
280×pow-exp
187×div-exp
94×pow-to-exp
46×add-cbrt-cube
32×rec-exp 1-exp
28×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
20×cbrt-unprod
16×associate-*r*
13×unpow-prod-down pow-unpow
pow1 cbrt-undiv
div-inv add-log-exp
associate-*r/ associate-*l/
distribute-rgt-in sub-neg distribute-lft-in associate-*l* pow-prod-down *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 292
Calls
4 calls:
5.0ms
(/ (* M D) (* 2.0 d))
26.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
5.0ms
(pow (/ d l) (/ 1.0 2.0))
12.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series565.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
316.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
13.0ms
(pow (/ d l) (/ 1.0 2.0))
231.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify85.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
020705969
150025549

prune545.0ms

Filtered
304 candidates to 95 candidates (68.8%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New2968304
Fresh21618
Picked101
Done000
Total29924323

Merged error: 10.4b

Counts
323 → 24

localize58.0ms

Local error

Found 4 expressions with local error:

2.9b
(/ (* M D) (* 2.0 d))
3.6b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
4.8b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
12.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite355.0ms

Algorithm
rewrite-expression-head
Rules
8121×add-exp-log
6369×prod-exp
3426×pow-exp
1900×div-exp
967×pow-to-exp
592×rec-exp 1-exp
55×add-cbrt-cube
37×times-frac
32×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×cbrt-unprod
22×unpow-prod-down
16×associate-*r*
13×pow-unpow
12×pow1
cbrt-undiv cbrt-prod
pow-prod-down div-inv add-log-exp
associate-*r/ associate-*l/
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 1525
Calls
4 calls:
5.0ms
(/ (* M D) (* 2.0 d))
7.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
86.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
12.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series578.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
34.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
311.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
227.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify438.0ms

Algorithm
egg-herbie
Counts
1537 → 1537
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
0500151143

prune850.0ms

Filtered
1537 candidates to 131 candidates (91.5%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New152981537
Fresh41923
Picked101
Done000
Total1534271561

Merged error: 8.2b

Counts
1561 → 27

localize57.0ms

Local error

Found 4 expressions with local error:

3.6b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
4.8b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))
5.8b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
5.9b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))

rewrite361.0ms

Algorithm
rewrite-expression-head
Rules
8083×add-exp-log
6357×prod-exp
3421×pow-exp
1881×div-exp
966×pow-to-exp
592×rec-exp 1-exp
48×add-cbrt-cube
28×add-sqr-sqrt *-un-lft-identity times-frac
26×add-cube-cbrt
25×cbrt-unprod
22×unpow-prod-down
13×pow-unpow
12×pow1
cbrt-prod
associate-*r*
cbrt-undiv
pow-prod-down add-log-exp
div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ associate-*l* *-commutative
flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 1504
Calls
4 calls:
7.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
89.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))
8.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
10.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))

series791.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
312.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))
209.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
235.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))

simplify452.0ms

Algorithm
egg-herbie
Counts
1516 → 1516
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
0500151122

prune731.0ms

Filtered
1516 candidates to 121 candidates (92.0%)
Pruning

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New150971516
Fresh32326
Picked101
Done000
Total1513301543

Merged error: 7.0b

Counts
1543 → 30

regimes1.9s

Accuracy

11% (4.4b remaining)

Error of 14.3b against oracle of 9.9b and baseline of 14.8b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07896
17896

end0.0ms

sample10.0s

Algorithm
intervals
Results
5.1s38610×body80nan
2.2s12928×body80valid

Profiling

Loading profile data...