Details

Time bar (total: 4.8s)

sample40.0ms

Algorithm
intervals
Results
21.0ms689×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0184
1414
21024
32284
44114
57864
624694
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.2b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (/ y x))
7.7b
(/ (* (cosh x) (/ y x)) z)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log add-cbrt-cube
13×times-frac associate-*r*
12×add-cube-cbrt *-un-lft-identity
cbrt-undiv div-exp
pow1 cosh-def prod-exp cbrt-unprod
associate-*l* associate-/r* associate-/l/
expm1-log1p-u frac-times associate-*r/ associate-*l/ log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
2 → 64
Calls
2 calls:
18.0ms
(* (cosh x) (/ y x))
13.0ms
(/ (* (cosh x) (/ y x)) z)

series174.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(* (cosh x) (/ y x))
102.0ms
(/ (* (cosh x) (/ y x)) z)

simplify43.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0352391
11472333
25001333

prune214.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) y)
5.7b
(/ (* (cosh x) y) (* z x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
add-sqr-sqrt
prod-exp cbrt-unprod
pow1 cbrt-undiv add-cube-cbrt *-un-lft-identity div-exp
associate-*r* associate-*l*
expm1-log1p-u cosh-def associate-*l/ log1p-expm1-u add-log-exp
frac-2neg times-frac pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l/ associate-/l* unswap-sqr
Counts
2 → 45
Calls
2 calls:
8.0ms
(* (cosh x) y)
13.0ms
(/ (* (cosh x) y) (* z x))

series164.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(* (cosh x) y)
100.0ms
(/ (* (cosh x) y) (* z x))

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0289272
11392217
25001215

prune143.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (sqrt (cosh x)) (* (sqrt (cosh x)) y))
0.0b
(* (sqrt (cosh x)) y)
5.7b
(/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) y)) (* z x))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log add-cbrt-cube
13×prod-exp cbrt-unprod
12×add-sqr-sqrt associate-*l*
10×pow1
cosh-def sqrt-div
add-cube-cbrt *-un-lft-identity
associate-*l/ sqrt-prod
cbrt-undiv div-exp
associate-*r* pow-prod-down
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
frac-times associate-*r/ *-commutative unswap-sqr
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
3 → 81
Calls
3 calls:
27.0ms
(* (sqrt (cosh x)) (* (sqrt (cosh x)) y))
13.0ms
(* (sqrt (cosh x)) y)
32.0ms
(/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) y)) (* z x))

series259.0ms

Counts
3 → 9
Calls
3 calls:
63.0ms
(* (sqrt (cosh x)) (* (sqrt (cosh x)) y))
94.0ms
(* (sqrt (cosh x)) y)
102.0ms
(/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) y)) (* z x))

simplify60.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0418646
12234513
25002488

prune297.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (cbrt (cosh x)))
0.0b
(* (sqrt (* (cbrt (cosh x)) (cbrt (cosh x)))) (* (sqrt (cbrt (cosh x))) y))
0.0b
(* (cbrt (cosh x)) (cbrt (cosh x)))
5.7b
(/ (* (sqrt (cosh x)) (* (sqrt (* (cbrt (cosh x)) (cbrt (cosh x)))) (* (sqrt (cbrt (cosh x))) y))) (* z x))

rewrite228.0ms

Algorithm
rewrite-expression-head
Rules
49×cosh-def
43×add-exp-log
41×cbrt-div add-cbrt-cube
39×sqrt-div
29×associate-*l/
25×add-sqr-sqrt
23×frac-times
20×cbrt-prod prod-exp cbrt-unprod
17×pow1 associate-*r/
15×add-cube-cbrt *-un-lft-identity associate-/l/
10×associate-*l*
cbrt-undiv div-exp
pow1/3 associate-*r* sqrt-prod
swap-sqr
pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
rem-sqrt-square sqrt-pow1 pow-sqr *-commutative pow-prod-up
pow2 frac-2neg times-frac pow-plus pow1/2 clear-num associate-/r* div-inv associate-/l*
Counts
4 → 140
Calls
4 calls:
2.0ms
(sqrt (cbrt (cosh x)))
53.0ms
(* (sqrt (* (cbrt (cosh x)) (cbrt (cosh x)))) (* (sqrt (cbrt (cosh x))) y))
12.0ms
(* (cbrt (cosh x)) (cbrt (cosh x)))
154.0ms
(/ (* (sqrt (cosh x)) (* (sqrt (* (cbrt (cosh x)) (cbrt (cosh x)))) (* (sqrt (cbrt (cosh x))) y))) (* z x))

series558.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(sqrt (cbrt (cosh x)))
94.0ms
(* (sqrt (* (cbrt (cosh x)) (cbrt (cosh x)))) (* (sqrt (cbrt (cosh x))) y))
217.0ms
(* (cbrt (cosh x)) (cbrt (cosh x)))
106.0ms
(/ (* (sqrt (cosh x)) (* (sqrt (* (cbrt (cosh x)) (cbrt (cosh x)))) (* (sqrt (cbrt (cosh x))) y))) (* z x))

simplify89.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06691541
132851291
250021267

prune861.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes236.0ms

Accuracy

92.5% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 6.6b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03631
13631

end0.0ms

sample1.2s

Algorithm
intervals
Results
697.0ms22253×body80valid