Details

Time bar (total: 3.4s)

sample42.0ms

Algorithm
intervals
Results
13.0ms31×body1280valid
10.0ms180×body80valid
6.0ms26×body640valid
2.0ms10×body320valid
1.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0135
1205
2225
3225

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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:
3.0ms
(+ x (sin y))
14.0ms
(+ (+ x (sin y)) (* z (cos y)))
4.0ms
(* z (cos y))

series109.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ x (sin y))
38.0ms
(+ (+ x (sin y)) (* z (cos y)))
41.0ms
(* z (cos y))

simplify70.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0196244
1694228
22608228
35001228

prune117.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
60×pow1
30×sqrt-pow1
23×pow-prod-down
18×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
11×pow1/2
10×add-exp-log associate-*r* associate-*l* pow-prod-up add-cbrt-cube
pow-sqr
sqrt-prod
swap-sqr add-log-exp
prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 96
Calls
4 calls:
1.0ms
(sqrt (* z (cos y)))
3.0ms
(* z (cos y))
3.0ms
(* z (cos y))
13.0ms
(* (sqrt (* z (cos y))) (sqrt (* z (cos y))))

series158.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (* z (cos y)))
39.0ms
(* z (cos y))
35.0ms
(* z (cos y))
40.0ms
(* (sqrt (* z (cos y))) (sqrt (* z (cos y))))

simplify43.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0236394
11158347
25002339

prune233.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (* z (cos y))) (* (* (cbrt (sqrt (* z (cos y)))) (cbrt (sqrt (* z (cos y))))) (cbrt (sqrt (* z (cos y))))))
0.3b
(cbrt (sqrt (* z (cos y))))
0.3b
(cbrt (sqrt (* z (cos y))))
0.3b
(cbrt (sqrt (* z (cos y))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1
13×add-exp-log
12×cbrt-prod
add-cube-cbrt pow1/3 add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod
pow-prod-up
associate-*l* sqrt-prod add-log-exp
swap-sqr associate-*r* pow-sqr *-commutative
Counts
4 → 61
Calls
4 calls:
60.0ms
(* (sqrt (* z (cos y))) (* (* (cbrt (sqrt (* z (cos y)))) (cbrt (sqrt (* z (cos y))))) (cbrt (sqrt (* z (cos y))))))
2.0ms
(cbrt (sqrt (* z (cos y))))
2.0ms
(cbrt (sqrt (* z (cos y))))
2.0ms
(cbrt (sqrt (* z (cos y))))

series360.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (sqrt (* z (cos y))) (* (* (cbrt (sqrt (* z (cos y)))) (cbrt (sqrt (* z (cos y))))) (cbrt (sqrt (* z (cos y))))))
110.0ms
(cbrt (sqrt (* z (cos y))))
103.0ms
(cbrt (sqrt (* z (cos y))))
108.0ms
(cbrt (sqrt (* z (cos y))))

simplify42.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0275877
11009742
25002547

prune267.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*l*
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube add-log-exp
add-cube-cbrt
sqrt-prod
associate-*r* pow-prod-down prod-exp sum-log cbrt-unprod
+-commutative flip3-+ *-commutative flip-+ unswap-sqr
associate-+l+ distribute-lft-out
Counts
4 → 68
Calls
4 calls:
15.0ms
(+ (+ x (sin y)) (* (sqrt z) (* (sqrt z) (cos y))))
3.0ms
(+ x (sin y))
5.0ms
(* (sqrt z) (cos y))
11.0ms
(* (sqrt z) (* (sqrt z) (cos y)))

series181.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(+ (+ x (sin y)) (* (sqrt z) (* (sqrt z) (cos y))))
25.0ms
(+ x (sin y))
64.0ms
(* (sqrt z) (cos y))
41.0ms
(* (sqrt z) (* (sqrt z) (cos y)))

simplify40.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0325504
11288420
25001416

prune197.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes116.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample1.2s

Algorithm
intervals
Results
436.0ms1020×body1280valid
285.0ms5536×body80valid
236.0ms837×body640valid
70.0ms408×body320valid
24.0ms199×body160valid