Details

Time bar (total: 21.4s)

sample262.0ms

Algorithm
intervals
Results
134.0ms1264×body80nan
60.0ms426×body80valid

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05417
117417
272017
3500117

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.2b

localize35.0ms

Local error

Found 4 expressions with local error:

5.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.4b
(pow (/ d h) (/ 1.0 2.0))
10.7b
(pow (/ d l) (/ 1.0 2.0))
11.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

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

series1.5s

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

simplify51.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012872382
150022125

prune783.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 9.4b

localize44.0ms

Local error

Found 4 expressions with local error:

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

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

series1.5s

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

simplify75.0ms

Algorithm
egg-herbie
Counts
286 → 286
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
017106060
150015717

prune1.0s

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 8.4b

localize51.0ms

Local error

Found 4 expressions with local error:

4.2b
(/ (* M D) (* 2.0 d))
5.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) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))))
7.5b
(* (* (/ 1.0 2.0) (* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))
10.7b
(pow (/ d l) (/ 1.0 2.0))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
978×add-exp-log
651×prod-exp
236×pow-exp
219×div-exp
82×pow-to-exp
75×add-cbrt-cube
48×cbrt-unprod
37×times-frac
34×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
25×associate-*r*
17×cbrt-undiv
13×unpow-prod-down pow-unpow
12×pow1
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 → 324
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
31.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) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))))
21.0ms
(* (* (/ 1.0 2.0) (* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))
6.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.5s

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

simplify105.0ms

Algorithm
egg-herbie
Counts
336 → 336
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
021328112
150027584

prune1.0s

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 8.4b

localize64.0ms

Local error

Found 4 expressions with local error:

3.3b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
4.2b
(/ (* M D) (* 2.0 d))
5.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) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))))
7.5b
(* (* (/ 1.0 2.0) (* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))

rewrite333.0ms

Algorithm
rewrite-expression-head
Rules
7205×add-exp-log
5409×prod-exp
2634×pow-exp
1674×div-exp
793×pow-to-exp
232×rec-exp 1-exp
84×add-cbrt-cube
55×cbrt-unprod
46×times-frac
40×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
25×associate-*r*
22×unpow-prod-down
18×cbrt-prod
17×cbrt-undiv
15×pow1
13×pow-unpow
prod-diff pow-prod-down
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* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 1293
Calls
4 calls:
7.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
83.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) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))))
21.0ms
(* (* (/ 1.0 2.0) (* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))

series2.0s

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

simplify416.0ms

Algorithm
egg-herbie
Counts
1305 → 1305
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
0500152104

prune1.4s

Pruning

27 alts after pruning (27 fresh and 0 done)

Merged error: 7.2b

regimes1.2s

Accuracy

0% (5.9b remaining)

Error of 15.3b against oracle of 9.5b and baseline of 15.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04847
14847

end0.0ms

sample7.7s

Algorithm
intervals
Results
4.2s38952×body80nan
1.9s12837×body80valid