Details

Time bar (total: 21.3s)

sample255.0ms

Algorithm
intervals
Results
130.0ms1162×body80nan
61.0ms430×body80valid

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 28.3b

Counts
2 → 1

localize29.0ms

Local error

Found 4 expressions with local error:

7.3b
(* (* (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.5b
(pow (/ d h) (/ 1.0 2.0))
14.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
14.8b
(pow (/ d l) (/ 1.0 2.0))

rewrite52.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:
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 h) (/ 1.0 2.0))
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.5s

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

simplify54.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012872382
150012125

prune719.0ms

Filtered
202 candidates to 119 candidates (58.9%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New18220202
Fresh000
Picked101
Done000
Total18320203

Merged error: 11.0b

Counts
203 → 20

localize42.0ms

Local error

Found 4 expressions with local error:

4.4b
(/ (* M D) (* 2.0 d))
7.3b
(* (* (* (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))))
14.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
14.8b
(pow (/ d l) (/ 1.0 2.0))

rewrite80.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×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 → 274
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
30.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))))
15.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:
28.0ms
(/ (* M D) (* 2.0 d))
635.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))))
742.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
69.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify88.0ms

Algorithm
egg-herbie
Counts
286 → 286
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
017106060
150015717

prune821.0ms

Filtered
286 candidates to 104 candidates (36.4%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New27511286
Fresh21719
Picked101
Done000
Total27828306

Merged error: 9.9b

Counts
306 → 28

localize59.0ms

Local error

Found 4 expressions with local error:

2.9b
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
4.4b
(/ (* M D) (* 2.0 d))
7.3b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) (* (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))))
14.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite287.0ms

Algorithm
rewrite-expression-head
Rules
5947×add-exp-log
4317×prod-exp
1997×pow-exp
1387×div-exp
643×pow-to-exp
55×add-cbrt-cube
27×cbrt-unprod
22×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
20×times-frac
16×associate-*r*
13×pow-unpow
12×pow1
cbrt-undiv
prod-diff
distribute-rgt-in unpow-prod-down 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 → 997
Calls
4 calls:
11.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
76.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) (* (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.6s

Counts
4 → 12
Calls
4 calls:
117.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
28.0ms
(/ (* M D) (* 2.0 d))
657.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) (* (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))))
750.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify337.0ms

Algorithm
egg-herbie
Counts
1009 → 1009
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0416638921
1500137861

prune943.0ms

Filtered
1009 candidates to 99 candidates (9.8%)
Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New100541009
Fresh02727
Picked101
Done000
Total1006311037

Merged error: 7.8b

Counts
1037 → 31

localize59.0ms

Local error

Found 4 expressions with local error:

4.4b
(/ (* M D) (* 2.0 d))
7.0b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
7.1b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
7.3b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

rewrite278.0ms

Algorithm
rewrite-expression-head
Rules
5908×add-exp-log
4305×prod-exp
1987×pow-exp
1368×div-exp
641×pow-to-exp
60×add-cbrt-cube
30×prod-diff
29×cbrt-unprod
24×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
17×distribute-rgt-in distribute-lft-in
11×pow1
10×cbrt-undiv
times-frac associate-*r* div-inv
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
sub-neg frac-2neg associate-*r/ associate-*l* clear-num associate-/r* *-commutative associate-/l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 988
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
11.0ms
(/ (* (* 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)
78.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

series2.3s

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (* M D) (* 2.0 d))
934.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
742.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
622.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

simplify340.0ms

Algorithm
egg-herbie
Counts
1000 → 1000
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
0412541200
1500139750

prune639.0ms

Filtered
1000 candidates to 84 candidates (8.4%)
Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New99641000
Fresh32730
Picked101
Done000
Total1000311031

Merged error: 7.6b

Counts
1031 → 31

regimes1.3s

Accuracy

23.8% (4.0b remaining)

Error of 14.8b against oracle of 10.7b and baseline of 16.0b

bsearch393.0ms

Steps
ItersRangePoint
6
1.1889787185614731e-33
9.697552127046753e-33
5.8147762968261544e-33
6
-7.625231830519007e+19
-7.730176337929888e+18
-7.851132100663123e+18

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077206
177206

end0.0ms

sample7.7s

Algorithm
intervals
Results
4.1s37913×body80nan
1.8s12764×body80valid