Details

Time bar (total: 23.1s)

sample248.0ms

Algorithm
intervals
Results
124.0ms1183×body80nan
61.0ms413×body80valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05417
117417
272017
3500117

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.9b

localize33.0ms

Local error

Found 4 expressions with local error:

6.4b
(/ (* M D) (* 2.0 d))
9.6b
(pow (/ d h) (/ 1.0 2.0))
13.0b
(pow (/ d l) (/ 1.0 2.0))
14.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
167×add-exp-log
78×prod-exp
51×div-exp
46×times-frac
39×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
37×add-cbrt-cube
26×unpow-prod-down pow-unpow
24×pow-exp
14×cbrt-unprod
13×associate-*r*
cbrt-undiv
pow1
pow-to-exp div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l/
pow-pow sqr-pow
frac-times frac-2neg associate-*r/ associate-*l* pow-prod-down clear-num associate-/r* *-commutative associate-/l*
Counts
4 → 167
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
4.0ms
(pow (/ d h) (/ 1.0 2.0))
5.0ms
(pow (/ d l) (/ 1.0 2.0))
23.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series892.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (* M D) (* 2.0 d))
67.0ms
(pow (/ d h) (/ 1.0 2.0))
66.0ms
(pow (/ d l) (/ 1.0 2.0))
731.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify104.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010791362
147211202
250011202

prune709.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 13.9b

localize42.0ms

Local error

Found 4 expressions with local error:

4.7b
(* (* (* (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))))
6.4b
(/ (* M D) (* 2.0 d))
13.0b
(pow (/ d l) (/ 1.0 2.0))
14.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite221.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:
162.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
(/ (* M D) (* 2.0 d))
4.0ms
(pow (/ d l) (/ 1.0 2.0))
26.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.7s

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

simplify85.0ms

Algorithm
egg-herbie
Counts
318 → 318
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
018766250
150015934

prune819.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 10.3b

localize62.0ms

Local error

Found 4 expressions with local error:

2.3b
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
4.7b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
6.4b
(/ (* M D) (* 2.0 d))
14.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite556.0ms

Algorithm
rewrite-expression-head
Rules
6975×add-exp-log
5249×prod-exp
2617×pow-exp
1629×div-exp
789×pow-to-exp
232×rec-exp 1-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 → 1229
Calls
4 calls:
9.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
323.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
4.0ms
(/ (* M D) (* 2.0 d))
23.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.8s

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

simplify363.0ms

Algorithm
egg-herbie
Counts
1241 → 1241
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0500144171

prune1.1s

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 7.7b

localize65.0ms

Local error

Found 4 expressions with local error:

4.7b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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)))
6.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
6.1b
(/ (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) l)
6.4b
(/ (* M D) (* 2.0 d))

rewrite593.0ms

Algorithm
rewrite-expression-head
Rules
6964×add-exp-log
5245×prod-exp
2612×pow-exp
1626×div-exp
788×pow-to-exp
232×rec-exp 1-exp
57×add-cbrt-cube
42×prod-diff
36×add-sqr-sqrt *-un-lft-identity
34×add-cube-cbrt
27×cbrt-unprod
23×distribute-rgt-in distribute-lft-in
22×times-frac
11×pow1
10×cbrt-undiv
associate-*r* div-inv
expm1-log1p-u pow-prod-down associate-*l/ associate-/r* log1p-expm1-u add-log-exp
sub-neg frac-2neg associate-*r/ associate-*l* clear-num *-commutative associate-/l*
flip3-- flip-- associate-/l/ distribute-lft-out-- difference-of-squares
Counts
4 → 1242
Calls
4 calls:
340.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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)))
20.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
20.0ms
(/ (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) l)
4.0ms
(/ (* M D) (* 2.0 d))

series2.6s

Counts
4 → 12
Calls
4 calls:
1.1s
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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)))
754.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
736.0ms
(/ (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) l)
28.0ms
(/ (* M D) (* 2.0 d))

simplify397.0ms

Algorithm
egg-herbie
Counts
1254 → 1254
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0500148586

prune1.2s

Pruning

27 alts after pruning (27 fresh and 0 done)

Merged error: 7.1b

regimes1.3s

Accuracy

-3.6% (6.1b remaining)

Error of 16.1b against oracle of 10.0b and baseline of 15.9b

bsearch550.0ms

Steps
ItersRangePoint
9
4.508798265222886e-146
1.9860092151397495e-140
1.0551383318758386e-142
9
1.0402452280746166e-209
5.205048947617512e-202
8.180496338818137e-209

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06646
16646

end0.0ms

sample7.6s

Algorithm
intervals
Results
4.1s38174×body80nan
1.8s12770×body80valid