Details

Time bar (total: 4.3s)

sample34.0ms

Algorithm
intervals
Results
10.0ms292×body80valid
8.0ms279×body80nan

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0265
1575
21215
32415
43645
54905
66415
710235
817975
921555
1021615
1121615

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
0.0b
(+ (- 1.0 z) (log z))
0.1b
(* y (+ (- 1.0 z) (log z)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
17×add-sqr-sqrt
13×add-cube-cbrt
11×associate-+l+
pow1 prod-diff
distribute-lft-out
associate-*r*
add-log-exp
add-exp-log fma-def add-cbrt-cube distribute-lft-out--
log-pow
expm1-log1p-u associate-+r+ log-prod associate-*l* log1p-expm1-u
flip3-+ associate-*r/ sum-log flip-+
+-commutative distribute-rgt-in associate-+l- sub-neg distribute-lft-in diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef difference-of-squares unswap-sqr
Counts
3 → 76
Calls
3 calls:
0.0ms
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
18.0ms
(+ (- 1.0 z) (log z))
43.0ms
(* y (+ (- 1.0 z) (log z)))

series288.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
158.0ms
(+ (- 1.0 z) (log z))
73.0ms
(* y (+ (- 1.0 z) (log z)))

simplify44.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0336468
11466370
25001366

prune208.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (- 1.0 z))
0.0b
(fma x 0.5 (+ (* y (- 1.0 z)) (* y (log z))))
0.2b
(+ (* y (- 1.0 z)) (* y (log z)))
0.3b
(* y (log z))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
38×*-un-lft-identity
36×add-cube-cbrt prod-diff
28×distribute-rgt-in distribute-lft-in
22×associate-+l+
12×log-prod
pow1 associate-*r*
add-exp-log add-cbrt-cube
associate-+r+ associate-*l* add-log-exp
expm1-log1p-u sub-neg log1p-expm1-u
associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative flip3-- fma-def flip3-+ sum-log log-pow flip-- flip-+ fma-udef distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 126
Calls
4 calls:
12.0ms
(* y (- 1.0 z))
0.0ms
(fma x 0.5 (+ (* y (- 1.0 z)) (* y (log z))))
9.0ms
(+ (* y (- 1.0 z)) (* y (log z)))
4.0ms
(* y (log z))

series232.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* y (- 1.0 z))
58.0ms
(fma x 0.5 (+ (* y (- 1.0 z)) (* y (log z))))
95.0ms
(+ (* y (- 1.0 z)) (* y (log z)))
41.0ms
(* y (log z))

simplify63.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0494914
12048666
25003654

prune341.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (fma y (- 1.0 z) (* y (log (sqrt z)))) (* y (log (sqrt z))))
0.2b
(fma y (- 1.0 z) (* y (log (sqrt z))))
0.3b
(* y (log (sqrt z)))
0.3b
(* y (log (sqrt z)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
36×log-prod
25×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×distribute-rgt-in distribute-lft-in sqrt-prod
12×pow1 associate-+r+ associate-*r*
add-exp-log add-cbrt-cube
associate-*l* log-pow add-log-exp
expm1-log1p-u log1p-expm1-u
fma-def
sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
+-commutative associate-+l+ flip3-+ sum-log flip-+
Counts
4 → 109
Calls
4 calls:
4.0ms
(+ (fma y (- 1.0 z) (* y (log (sqrt z)))) (* y (log (sqrt z))))
0.0ms
(fma y (- 1.0 z) (* y (log (sqrt z))))
6.0ms
(* y (log (sqrt z)))
6.0ms
(* y (log (sqrt z)))

series392.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(+ (fma y (- 1.0 z) (* y (log (sqrt z)))) (* y (log (sqrt z))))
90.0ms
(fma y (- 1.0 z) (* y (log (sqrt z))))
88.0ms
(* y (log (sqrt z)))
89.0ms
(* y (log (sqrt z)))

simplify49.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0335891
11233815
25001768

prune348.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (cbrt (sqrt z))) y)
0.3b
(* y (* 2 (log (cbrt (sqrt z)))))
0.6b
(cbrt (sqrt z))
0.6b
(cbrt (sqrt z))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod distribute-rgt-in log-prod distribute-lft-in
25×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
18×sqrt-prod
12×pow1
11×add-exp-log add-cbrt-cube
associate-*l*
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
pow1/3
log-pow *-commutative
unswap-sqr
Counts
4 → 110
Calls
4 calls:
4.0ms
(* (log (cbrt (sqrt z))) y)
13.0ms
(* y (* 2 (log (cbrt (sqrt z)))))
1.0ms
(cbrt (sqrt z))
1.0ms
(cbrt (sqrt z))

series555.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(* (log (cbrt (sqrt z))) y)
128.0ms
(* y (* 2 (log (cbrt (sqrt z)))))
149.0ms
(cbrt (sqrt z))
148.0ms
(cbrt (sqrt z))

simplify45.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0409916
11169838
25001808

prune402.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes76.0ms

Accuracy

0% (0.1b 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
02316
12316

end0.0ms

sample948.0ms

Algorithm
intervals
Results
329.0ms9220×body80valid
248.0ms9018×body80nan