Details

Time bar (total: 24.9s)

sample262.0ms

Algorithm
intervals
Results
122.0ms1249×body80nan
54.0ms417×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: 29.8b

localize31.0ms

Local error

Found 4 expressions with local error:

7.9b
(* (* (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.1b
(pow (/ d h) (/ 1.0 2.0))
13.5b
(pow (/ d l) (/ 1.0 2.0))
14.9b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite139.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:
62.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))))
8.0ms
(pow (/ d h) (/ 1.0 2.0))
8.0ms
(pow (/ d l) (/ 1.0 2.0))
52.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.6s

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

simplify49.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012872382
150022125

prune772.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 15.8b

localize42.0ms

Local error

Found 4 expressions with local error:

2.8b
(/ (* M D) (* 2.0 d))
7.9b
(* (* (* (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))))
13.5b
(pow (/ d l) (/ 1.0 2.0))
14.9b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite371.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:
12.0ms
(/ (* M D) (* 2.0 d))
275.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))))
8.0ms
(pow (/ d l) (/ 1.0 2.0))
52.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.7s

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (* M D) (* 2.0 d))
863.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))))
57.0ms
(pow (/ d l) (/ 1.0 2.0))
713.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 (27.0ms)

IterNodesCost
018766250
150025934

prune828.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 13.8b

localize60.0ms

Local error

Found 4 expressions with local error:

2.8b
(/ (* M D) (* 2.0 d))
3.9b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
7.9b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
14.9b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite809.0ms

Algorithm
rewrite-expression-head
Rules
8121×add-exp-log
6369×prod-exp
3426×pow-exp
1900×div-exp
967×pow-to-exp
592×rec-exp 1-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 → 1539
Calls
4 calls:
12.0ms
(/ (* M D) (* 2.0 d))
9.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
479.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
54.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.8s

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ (* M D) (* 2.0 d))
167.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
847.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
712.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify432.0ms

Algorithm
egg-herbie
Counts
1551 → 1551
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0500150947

prune1.4s

Pruning

28 alts after pruning (28 fresh and 0 done)

Merged error: 10.2b

localize57.0ms

Local error

Found 4 expressions with local error:

3.9b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
6.2b
(* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (/ 1 l))
7.9b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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) (/ 1 l))))
8.6b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)

rewrite944.0ms

Algorithm
rewrite-expression-head
Rules
8373×add-exp-log
6540×prod-exp
3456×pow-exp
1958×div-exp
973×pow-to-exp
608×rec-exp 1-exp
63×add-cbrt-cube
36×times-frac cbrt-unprod
35×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×unpow-prod-down
19×associate-*r*
17×pow1
13×pow-unpow
cbrt-prod
cbrt-undiv pow-prod-down associate-*l/
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r/ associate-*l* *-commutative div-inv
sub-neg
frac-times flip3-- pow-pow un-div-inv flip-- sqr-pow
Counts
4 → 1588
Calls
4 calls:
10.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
157.0ms
(* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (/ 1 l))
477.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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) (/ 1 l))))
48.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)

series2.5s

Counts
4 → 12
Calls
4 calls:
169.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
709.0ms
(* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (/ 1 l))
842.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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) (/ 1 l))))
732.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)

simplify671.0ms

Algorithm
egg-herbie
Counts
1600 → 1600
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0500153129

prune1.3s

Pruning

32 alts after pruning (32 fresh and 0 done)

Merged error: 9.8b

regimes1.4s

Accuracy

5.6% (5.5b remaining)

Error of 14.7b against oracle of 9.3b and baseline of 15.1b

bsearch325.0ms

Steps
ItersRangePoint
10
1.9478503677122402e-28
2.3292364403163117e-15
2.5646597159145454e-16

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07080
17080

end0.0ms

sample7.4s

Algorithm
intervals
Results
3.5s37608×body80nan
1.6s12680×body80valid