Details

Time bar (total: 21.8s)

sample237.0ms

Algorithm
intervals
Results
116.0ms1225×body80nan
58.0ms421×body80valid

simplify219.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.6b

localize32.0ms

Local error

Found 4 expressions with local error:

7.0b
(* (* (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))))
9.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
10.8b
(pow (/ d l) (/ 1.0 2.0))
13.1b
(pow (/ d h) (/ 1.0 2.0))

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

series1.5s

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

simplify49.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012282042
150011847

prune675.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 12.0b

localize39.0ms

Local error

Found 4 expressions with local error:

3.6b
(pow (/ (cbrt d) h) (/ 1.0 2.0))
7.0b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
9.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
10.8b
(pow (/ d l) (/ 1.0 2.0))

rewrite191.0ms

Algorithm
rewrite-expression-head
Rules
665×add-exp-log
451×prod-exp
218×pow-exp
168×div-exp
79×pow-to-exp
54×times-frac
46×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
35×unpow-prod-down
34×add-cbrt-cube
32×1-exp
26×pow-unpow
16×associate-*r* cbrt-unprod
10×pow1
cbrt-prod
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 → 286
Calls
4 calls:
6.0ms
(pow (/ (cbrt d) h) (/ 1.0 2.0))
136.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
22.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
7.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.9s

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

simplify84.0ms

Algorithm
egg-herbie
Counts
298 → 298
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
018005254
150014833

prune858.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 11.9b

localize57.0ms

Local error

Found 4 expressions with local error:

3.3b
(/ (* M D) (* 2.0 d))
3.6b
(pow (/ (cbrt d) h) (/ 1.0 2.0))
7.0b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) 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))))
9.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite491.0ms

Algorithm
rewrite-expression-head
Rules
6373×add-exp-log
4949×prod-exp
2614×pow-exp
1626×div-exp
789×pow-to-exp
528×1-exp
232×rec-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:
4.0ms
(/ (* M D) (* 2.0 d))
6.0ms
(pow (/ (cbrt d) h) (/ 1.0 2.0))
261.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) 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))))
22.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.7s

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

simplify348.0ms

Algorithm
egg-herbie
Counts
1241 → 1241
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0500139395

prune1.2s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 10.1b

localize62.0ms

Local error

Found 4 expressions with local error:

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

rewrite786.0ms

Algorithm
rewrite-expression-head
Rules
6613×add-exp-log
5113×prod-exp
2634×pow-exp
1674×div-exp
793×pow-to-exp
528×1-exp
232×rec-exp
84×add-cbrt-cube
55×cbrt-unprod
46×times-frac
38×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
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 → 1279
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
6.0ms
(pow (/ (cbrt d) h) (/ 1.0 2.0))
121.0ms
(* (* (/ 1.0 2.0) (* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))
259.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) 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))))

series1.7s

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

simplify388.0ms

Algorithm
egg-herbie
Counts
1291 → 1291
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0500146308

prune1.3s

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 9.4b

regimes1000.0ms

Accuracy

0% (6.0b remaining)

Error of 15.1b against oracle of 9.1b and baseline of 15.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05146
15146

end0.0ms

sample7.0s

Algorithm
intervals
Results
3.7s37995×body80nan
1.7s12847×body80valid