Details

Time bar (total: 22.2s)

sample266.0ms

Algorithm
intervals
Results
131.0ms1288×body80nan
63.0ms438×body80valid

simplify195.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

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: 25.0b

Counts
2 → 1

localize30.0ms

Local error

Found 4 expressions with local error:

6.5b
(* (* (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.6b
(pow (/ d l) (/ 1.0 2.0))
10.7b
(pow (/ d h) (/ 1.0 2.0))
13.1b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite47.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:
14.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))))
6.0ms
(pow (/ d l) (/ 1.0 2.0))
6.0ms
(pow (/ d h) (/ 1.0 2.0))
13.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.7s

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

simplify52.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012282042
150011847

prune685.0ms

Filtered
188 candidates to 109 candidates (58.0%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New16721188
Fresh000
Picked101
Done000
Total16821189

Merged error: 11.5b

Counts
189 → 21

localize42.0ms

Local error

Found 4 expressions with local error:

4.6b
(/ (* M D) (* 2.0 d))
6.5b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
10.6b
(pow (/ d l) (/ 1.0 2.0))
13.1b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
738×add-exp-log
487×prod-exp
216×pow-exp
171×div-exp
78×pow-to-exp
46×add-cbrt-cube
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 → 260
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
33.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
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))

series1.4s

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (* M D) (* 2.0 d))
613.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
66.0ms
(pow (/ d l) (/ 1.0 2.0))
726.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify73.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
016425552
150025211

prune673.0ms

Filtered
272 candidates to 88 candidates (32.4%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New2639272
Fresh51520
Picked101
Done000
Total26924293

Merged error: 11.0b

Counts
293 → 24

localize54.0ms

Local error

Found 4 expressions with local error:

2.3b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
4.6b
(/ (* M D) (* 2.0 d))
6.5b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
13.1b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite301.0ms

Algorithm
rewrite-expression-head
Rules
6965×add-exp-log
5245×prod-exp
2614×pow-exp
1626×div-exp
789×pow-to-exp
232×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 → 1229
Calls
4 calls:
7.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
81.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt 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))

series1.9s

Counts
4 → 12
Calls
4 calls:
176.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
27.0ms
(/ (* M D) (* 2.0 d))
963.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
728.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify375.0ms

Algorithm
egg-herbie
Counts
1241 → 1241
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0500145012

prune1.2s

Filtered
1241 candidates to 130 candidates (10.5%)
Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New123471241
Fresh12223
Picked101
Done000
Total1236291265

Merged error: 8.7b

Counts
1265 → 29

localize54.0ms

Local error

Found 4 expressions with local error:

4.4b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
4.6b
(/ (* M D) (* 2.0 d))
6.3b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
6.5b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt 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))))

rewrite293.0ms

Algorithm
rewrite-expression-head
Rules
6936×add-exp-log
5237×prod-exp
2607×pow-exp
1610×div-exp
787×pow-to-exp
232×rec-exp 1-exp
60×add-cbrt-cube
29×cbrt-unprod
11×pow1
10×cbrt-undiv
add-sqr-sqrt *-un-lft-identity associate-*r*
add-cube-cbrt
pow-prod-down add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in times-frac associate-*r/ associate-*l* clear-num associate-/r* *-commutative div-inv associate-/l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 1182
Calls
4 calls:
13.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
6.0ms
(/ (* M D) (* 2.0 d))
10.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
77.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt 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))))

series2.5s

Counts
4 → 12
Calls
4 calls:
766.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
33.0ms
(/ (* M D) (* 2.0 d))
718.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
956.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt 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))))

simplify588.0ms

Algorithm
egg-herbie
Counts
1194 → 1194
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
0479343179
1500242997

prune539.0ms

Filtered
1194 candidates to 70 candidates (5.9%)
Pruning

32 alts after pruning (32 fresh and 0 done)

PrunedKeptTotal
New118861194
Fresh22628
Picked101
Done000
Total1191321223

Merged error: 8.6b

Counts
1223 → 32

regimes1.3s

Accuracy

3.3% (5.6b remaining)

Error of 15.4b against oracle of 9.7b and baseline of 15.6b

bsearch373.0ms

Steps
ItersRangePoint
10
-2.3398489408278778e-151
-1.006683451920089e-167
-2.299316884642459e-151

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06475
16475

end0.0ms

sample7.6s

Algorithm
intervals
Results
4.0s38667×body80nan
1.8s12847×body80valid