Details

Time bar (total: 5.3s)

sample76.0ms

Algorithm
intervals
Results
28.0ms95×body1280valid
17.0ms92×body640valid
11.0ms257×body80valid
5.0ms39×body320valid
2.0ms27×body160valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0154
1284
2564
31024
41534
53344
69244
719124
850014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(cosh x)
0.0b
(* (cosh x) (/ (sin y) y))
0.1b
(/ (sin y) y)

rewrite13.0ms

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

series146.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(cosh x)
76.0ms
(* (cosh x) (/ (sin y) y))
26.0ms
(/ (sin y) y)

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0303450
11150402
25002380

prune207.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (* (cosh x) (/ (sin y) y)))
0.0b
(* (cosh x) (/ (sin y) y))
0.0b
(expm1 (log1p (* (cosh x) (/ (sin y) y))))
0.1b
(/ (sin y) y)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×times-frac
13×associate-*r*
11×add-exp-log add-cbrt-cube
pow1
expm1-log1p-u
log1p-expm1-u add-log-exp
associate-*l* associate-/r* associate-/l*
cbrt-undiv cosh-def div-exp prod-exp cbrt-unprod div-inv unswap-sqr
frac-times log1p-udef expm1-log1p frac-2neg log1p-expm1 associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative expm1-udef
Counts
4 → 87
Calls
4 calls:
0.0ms
(log1p (* (cosh x) (/ (sin y) y)))
10.0ms
(* (cosh x) (/ (sin y) y))
0.0ms
(expm1 (log1p (* (cosh x) (/ (sin y) y))))
3.0ms
(/ (sin y) y)

series367.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(log1p (* (cosh x) (/ (sin y) y)))
74.0ms
(* (cosh x) (/ (sin y) y))
123.0ms
(expm1 (log1p (* (cosh x) (/ (sin y) y))))
25.0ms
(/ (sin y) y)

simplify70.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0577735
12681664
25001664

prune309.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sin y) (+ (exp x) (exp (* -1 x))))
0.0b
(+ (exp x) (exp (* -1 x)))
0.1b
(/ 1/2 (/ y (* (sin y) (+ (exp x) (exp (* -1 x))))))
0.2b
(/ y (* (sin y) (+ (exp x) (exp (* -1 x)))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
31×*-un-lft-identity
29×add-sqr-sqrt
27×add-cube-cbrt
20×add-exp-log add-cbrt-cube
12×associate-*r/
11×associate-/r/
10×associate-/r*
cbrt-undiv flip3-+ div-exp flip-+
pow1 div-inv associate-/l* add-log-exp
expm1-log1p-u associate-*r* log1p-expm1-u
fma-def associate-*l* prod-exp cbrt-unprod
frac-2neg clear-num distribute-lft-out
+-commutative distribute-rgt-in distribute-lft-in pow-prod-down sum-log *-commutative unswap-sqr
Counts
4 → 125
Calls
4 calls:
16.0ms
(* (sin y) (+ (exp x) (exp (* -1 x))))
7.0ms
(+ (exp x) (exp (* -1 x)))
9.0ms
(/ 1/2 (/ y (* (sin y) (+ (exp x) (exp (* -1 x))))))
6.0ms
(/ y (* (sin y) (+ (exp x) (exp (* -1 x)))))

series234.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (sin y) (+ (exp x) (exp (* -1 x))))
21.0ms
(+ (exp x) (exp (* -1 x)))
69.0ms
(/ 1/2 (/ y (* (sin y) (+ (exp x) (exp (* -1 x))))))
96.0ms
(/ y (* (sin y) (+ (exp x) (exp (* -1 x)))))

simplify74.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05301418
125401257
250021253

prune406.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (* (* (cosh x) (sin y)) (/ 1 y)))
0.0b
(* (cosh x) (sin y))
0.0b
(expm1 (log1p (* (* (cosh x) (sin y)) (/ 1 y))))
0.3b
(* (* (cosh x) (sin y)) (/ 1 y))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log
18×add-cbrt-cube
16×associate-*r*
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity prod-exp
11×pow1
times-frac
cbrt-unprod
expm1-log1p-u
div-exp associate-*l* pow-prod-down associate-*l/ log1p-expm1-u add-log-exp
cosh-def
cbrt-undiv rec-exp 1-exp *-commutative
frac-times log1p-udef expm1-log1p log1p-expm1 associate-*r/ un-div-inv div-inv expm1-udef unswap-sqr
Counts
4 → 85
Calls
4 calls:
0.0ms
(log1p (* (* (cosh x) (sin y)) (/ 1 y)))
4.0ms
(* (cosh x) (sin y))
0.0ms
(expm1 (log1p (* (* (cosh x) (sin y)) (/ 1 y))))
12.0ms
(* (* (cosh x) (sin y)) (/ 1 y))

series410.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(log1p (* (* (cosh x) (sin y)) (/ 1 y)))
68.0ms
(* (cosh x) (sin y))
122.0ms
(expm1 (log1p (* (* (cosh x) (sin y)) (/ 1 y))))
74.0ms
(* (* (cosh x) (sin y)) (/ 1 y))

simplify83.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0681792
13341686
25001671

prune256.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes146.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
096
196

end0.0ms

sample2.2s

Algorithm
intervals
Results
889.0ms2958×body1280valid
464.0ms2471×body640valid
348.0ms8368×body80valid
163.0ms1248×body320valid
59.0ms633×body160valid