Details

Time bar (total: 3.8s)

sample38.0ms

Algorithm
intervals
Results
10.0ms190×body80valid
9.0ms23×body1280valid
6.0ms25×body640valid
2.0ms14×body320valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1205
2225
3225

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x (sin y)) (* z (cos y)))
0.0b
(+ x (sin y))
0.1b
(* z (cos y))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sum-log
associate-*r* associate-*l*
+-commutative flip3-+ flip-+
associate-+l+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 43
Calls
3 calls:
31.0ms
(+ (+ x (sin y)) (* z (cos y)))
6.0ms
(+ x (sin y))
9.0ms
(* z (cos y))

series110.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ (+ x (sin y)) (* z (cos y)))
26.0ms
(+ x (sin y))
40.0ms
(* z (cos y))

simplify73.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0196244
1694228
22608228
35001228

prune114.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (cos y))
0.0b
(sqrt (cos y))
0.1b
(* z (sqrt (cos y)))
0.1b
(* (* z (sqrt (cos y))) (sqrt (cos y)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×pow1 sqrt-prod
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 *-commutative unswap-sqr
Counts
4 → 69
Calls
4 calls:
1.0ms
(sqrt (cos y))
1.0ms
(sqrt (cos y))
12.0ms
(* z (sqrt (cos y)))
26.0ms
(* (* z (sqrt (cos y))) (sqrt (cos y)))

series116.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(sqrt (cos y))
15.0ms
(sqrt (cos y))
51.0ms
(* z (sqrt (cos y)))
36.0ms
(* (* z (sqrt (cos y))) (sqrt (cos y)))

simplify75.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0157356
1711312
22827306
35001306

prune166.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (- (* x x) (* (sin y) (sin y))) (- x (sin y))) (* z (cos y)))
0.1b
(* z (cos y))
0.2b
(* (sin y) (sin y))
19.5b
(/ (- (* x x) (* (sin y) (sin y))) (- x (sin y)))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
31×*-un-lft-identity
21×add-cube-cbrt
20×times-frac
13×pow1
11×difference-of-squares
10×add-exp-log add-cbrt-cube
associate-*r* associate-*l* add-log-exp
associate-/r* distribute-lft-out--
associate-/l*
swap-sqr
flip3-- div-sub pow-prod-down prod-exp associate-/r/ *-commutative flip-- cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv +-commutative pow2 associate-+l- frac-2neg flip3-+ pow-plus div-exp clear-num sum-log pow-sqr pow-prod-up flip-+ sqr-sin div-inv sin-mult
Counts
4 → 103
Calls
4 calls:
70.0ms
(+ (/ (- (* x x) (* (sin y) (sin y))) (- x (sin y))) (* z (cos y)))
8.0ms
(* z (cos y))
11.0ms
(* (sin y) (sin y))
25.0ms
(/ (- (* x x) (* (sin y) (sin y))) (- x (sin y)))

series199.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(+ (/ (- (* x x) (* (sin y) (sin y))) (- x (sin y))) (* z (cos y)))
39.0ms
(* z (cos y))
18.0ms
(* (sin y) (sin y))
66.0ms
(/ (- (* x x) (* (sin y) (sin y))) (- x (sin y)))

simplify60.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0452980
11976868
25002834

prune257.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* z (cos y))
0.2b
(/ 1 (/ (- x (sin y)) (- (* x x) (* (sin y) (sin y)))))
0.2b
(* (sin y) (sin y))
19.5b
(/ (- x (sin y)) (- (* x x) (* (sin y) (sin y))))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
178×times-frac
134×add-sqr-sqrt
130×*-un-lft-identity
88×add-cube-cbrt
47×difference-of-squares
30×associate-/r*
21×add-exp-log distribute-lft-out--
15×add-cbrt-cube
14×pow1
11×associate-/r/
div-exp associate-/l*
flip3-- associate-*r* associate-*l* flip-- div-inv
cbrt-undiv add-log-exp
swap-sqr
rec-exp frac-2neg 1-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod associate-/l/ unswap-sqr
pow2 pow-flip pow-plus div-sub pow-sqr pow-prod-up sqr-sin sin-mult inv-pow
Counts
4 → 219
Calls
4 calls:
8.0ms
(* z (cos y))
27.0ms
(/ 1 (/ (- x (sin y)) (- (* x x) (* (sin y) (sin y)))))
14.0ms
(* (sin y) (sin y))
24.0ms
(/ (- x (sin y)) (- (* x x) (* (sin y) (sin y))))

series282.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* z (cos y))
100.0ms
(/ 1 (/ (- x (sin y)) (- (* x x) (* (sin y) (sin y)))))
27.0ms
(* (sin y) (sin y))
113.0ms
(/ (- x (sin y)) (- (* x x) (* (sin y) (sin y))))

simplify150.0ms

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 2 (130.0ms)

IterNodesCost
07772942
146492525
250012501

prune518.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes85.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample1.2s

Algorithm
intervals
Results
388.0ms980×body1280valid
287.0ms5601×body80valid
195.0ms810×body640valid
66.0ms409×body320valid
28.0ms200×body160valid