Details

Time bar (total: 3.5s)

sample36.0ms

Algorithm
intervals
Results
19.0ms690×body80valid

simplify53.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.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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:
7.0ms
(* (cosh x) (/ y x))
6.0ms
(/ (* (cosh x) (/ y x)) z)

series189.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0352391
11472333
25001333

prune158.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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:
4.0ms
(* (cosh x) y)
6.0ms
(/ (* (cosh x) y) (* z x))

series183.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0289272
11392217
25001215

prune106.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

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

series260.0ms

Counts
3 → 9
Calls
3 calls:
81.0ms
(/ (* (cosh x) y) z)
68.0ms
(* (cosh x) y)
110.0ms
(/ (/ (* (cosh x) y) z) x)

simplify52.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0435617
11846547
25001545

prune232.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

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

series380.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (sqrt (cosh x)) y)
86.0ms
(/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) y)) z)
73.0ms
(* (sqrt (cosh x)) (* (sqrt (cosh x)) y))
115.0ms
(/ (/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) y)) z) x)

simplify70.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05581175
12618967
25003959

prune336.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes98.0ms

Accuracy

96.5% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 6.9b

bsearch87.0ms

Steps
ItersRangePoint
7
175351335696.8003
3042832914037.265
309596806417.4288
9
-26762342075.89459
-1816.595590764893
-1852666491.273049

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02512
12512

end0.0ms

sample1.1s

Algorithm
intervals
Results
638.0ms22436×body80valid