Details

Time bar (total: 1.1m)

sample281.0ms

Algorithm
intervals
Results
149.0ms1184×body80nan
68.0ms415×body80valid

simplify28.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05417
117417
272017
3500117

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.5b

Counts
2 → 1

localize29.0ms

Local error

Found 4 expressions with local error:

7.1b
(* (* (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.0b
(pow (/ d h) (/ 1.0 2.0))
12.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
13.4b
(pow (/ d l) (/ 1.0 2.0))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
205×add-exp-log
107×prod-exp
55×div-exp
45×times-frac
42×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
40×pow-exp
30×add-cbrt-cube
26×unpow-prod-down pow-unpow
16×associate-*r*
14×pow-to-exp
13×cbrt-unprod
10×pow1
prod-diff
cbrt-undiv distribute-rgt-in distribute-lft-in div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r/ associate-*l/
sub-neg pow-pow associate-*l* pow-prod-down *-commutative sqr-pow
frac-times flip3-- flip--
Counts
4 → 190
Calls
4 calls:
17.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))
12.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
6.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.5s

Counts
4 → 12
Calls
4 calls:
627.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))))
65.0ms
(pow (/ d h) (/ 1.0 2.0))
729.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
59.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012872382
150012125

prune690.0ms

Filtered
202 candidates to 119 candidates (58.9%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New18319202
Fresh000
Picked101
Done000
Total18419203

Merged error: 13.3b

Counts
203 → 19

localize40.0ms

Local error

Found 4 expressions with local error:

4.1b
(/ (* M D) (* 2.0 d))
7.1b
(* (* (* (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))))
12.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
13.4b
(pow (/ d l) (/ 1.0 2.0))

rewrite79.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×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
20×cbrt-unprod
16×associate-*r*
13×unpow-prod-down pow-unpow
pow1 cbrt-undiv
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
associate-*r/ associate-*l/
sub-neg associate-*l* pow-prod-down *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 306
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
28.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))))
16.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
6.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.7s

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (* M D) (* 2.0 d))
868.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))))
735.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
70.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify90.0ms

Algorithm
egg-herbie
Counts
318 → 318
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
018766250
150025934

prune745.0ms

Filtered
318 candidates to 105 candidates (33.0%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New3117318
Fresh21618
Picked101
Done000
Total31423337

Merged error: 11.2b

Counts
337 → 23

localize58.0ms

Local error

Found 4 expressions with local error:

4.1b
(/ (* M D) (* 2.0 d))
4.2b
(pow (/ (cbrt d) l) (/ 1.0 2.0))
7.1b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
12.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite310.0ms

Algorithm
rewrite-expression-head
Rules
6373×add-exp-log
4949×prod-exp
2614×pow-exp
1626×div-exp
789×pow-to-exp
528×1-exp
232×rec-exp
55×add-cbrt-cube
37×times-frac
34×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
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
associate-*r/ associate-*l/
sub-neg associate-*l* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 1243
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
7.0ms
(pow (/ (cbrt d) l) (/ 1.0 2.0))
77.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
13.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.6s

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (* M D) (* 2.0 d))
165.0ms
(pow (/ (cbrt d) l) (/ 1.0 2.0))
667.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
739.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify356.0ms

Algorithm
egg-herbie
Counts
1255 → 1255
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0500139780

prune1.4s

Filtered
1255 candidates to 144 candidates (11.5%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New124871255
Fresh51722
Picked101
Done000
Total1254241278

Merged error: 9.2b

Counts
1278 → 24

localize68.0ms

Local error

Found 4 expressions with local error:

2.5b
(pow (/ d (cbrt h)) (/ 1.0 2.0))
4.1b
(/ (* M D) (* 2.0 d))
7.1b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt l)) (/ 1.0 2.0))))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
12.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite3.1s

Algorithm
rewrite-expression-head
Rules
69704×add-exp-log
56552×prod-exp
30741×pow-exp
18501×div-exp
8121×pow-to-exp
6890×1-exp
4152×rec-exp
66×add-cbrt-cube
37×times-frac
36×cbrt-unprod
34×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×unpow-prod-down
16×associate-*r*
13×pow-unpow
12×pow1
cbrt-undiv cbrt-prod
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
associate-*r/ associate-*l/
sub-neg associate-*l* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 9792
Calls
4 calls:
8.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
483.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ (cbrt 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))

series1.8s

Counts
4 → 12
Calls
4 calls:
179.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
27.0ms
(/ (* M D) (* 2.0 d))
865.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt l)) (/ 1.0 2.0))))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
725.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify3.8s

Algorithm
egg-herbie
Counts
9804 → 9804
Iterations

Useful iterations: 0 (103.0ms)

IterNodesCost
08301476170

prune39.5s

Filtered
9804 candidates to 3943 candidates (40.2%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New979959804
Fresh32023
Picked101
Done000
Total9803259828

Merged error: 8.5b

Counts
9828 → 25

regimes1.3s

Accuracy

21.1% (5.4b remaining)

Error of 14.4b against oracle of 9.0b and baseline of 15.8b

bsearch5.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
088161
188161

end0.0ms

sample8.2s

Algorithm
intervals
Results
4.6s38568×body80nan
2.0s12728×body80valid