Details

Time bar (total: 3.6s)

sample38.0ms

Algorithm
intervals
Results
20.0ms690×body80valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0184
1414
21024
32244
44014
57584
624034
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)

rewrite16.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/
frac-times associate-*r/ associate-*l/ div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
2 → 60
Calls
2 calls:
7.0ms
(* (cosh x) (/ y x))
6.0ms
(/ (* (cosh x) (/ y x)) z)

series192.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0345374
11456317
25001317

prune143.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize6.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*
cosh-def associate-*l/ 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 → 41
Calls
2 calls:
4.0ms
(* (cosh x) y)
6.0ms
(/ (* (cosh x) y) (* z x))

series187.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0281258
11374203
25001203

prune98.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize7.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)

rewrite22.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
associate-*r* associate-*l* prod-exp cbrt-unprod add-log-exp
cosh-def frac-2neg associate-*l/ clear-num associate-/l/
pow-prod-down *-commutative unswap-sqr
Counts
3 → 89
Calls
3 calls:
5.0ms
(/ (* (cosh x) y) z)
7.0ms
(* (cosh x) y)
7.0ms
(/ (/ (* (cosh x) y) z) x)

series279.0ms

Counts
3 → 9
Calls
3 calls:
85.0ms
(/ (* (cosh x) y) z)
73.0ms
(* (cosh x) y)
121.0ms
(/ (/ (* (cosh x) y) z) x)

simplify53.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0425595
11824526
25001510

prune238.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize11.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)

rewrite35.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
associate-*r* pow-prod-down associate-/l/ add-log-exp
frac-times frac-2neg associate-*r/ clear-num *-commutative unswap-sqr
Counts
4 → 123
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))
9.0ms
(/ (/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) y)) z) x)

series379.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (sqrt (cosh x)) y)
83.0ms
(/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) y)) z)
81.0ms
(* (sqrt (cosh x)) (* (sqrt (cosh x)) y))
112.0ms
(/ (/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) y)) z) x)

simplify67.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05451122
12591915
25001907

prune297.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes97.0ms

Accuracy

96.5% (0.2b remaining)

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

bsearch98.0ms

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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02512
12512

end0.0ms

sample1.1s

Algorithm
intervals
Results
681.0ms22436×body80valid