Details

Time bar (total: 5.1s)

sample62.0ms

Algorithm
intervals
Results
24.0ms290×body80valid
21.0ms307×body80nan

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune6.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
(+ (- 1.0 z) (log z))
0.0b
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
0.1b
(* y (+ (- 1.0 z) (log z)))

rewrite68.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:
18.0ms
(+ (- 1.0 z) (log z))
0.0ms
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
46.0ms
(* y (+ (- 1.0 z) (log z)))

series297.0ms

Counts
3 → 9
Calls
3 calls:
164.0ms
(+ (- 1.0 z) (log z))
55.0ms
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
78.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

prune214.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity
45×prod-diff
39×add-sqr-sqrt
33×add-cube-cbrt
26×distribute-lft-out
20×pow1
18×distribute-rgt-in distribute-lft-in
14×log-pow
add-log-exp
associate-*r*
add-exp-log add-cbrt-cube distribute-lft-out--
fma-neg
expm1-log1p-u fma-def log1p-expm1-u
sub-neg associate-+l+ log-prod associate-*l* associate--l+
flip3-- diff-log associate-*r/ sum-log flip-- difference-of-squares
+-commutative flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ fma-udef unswap-sqr
Counts
4 → 134
Calls
4 calls:
4.0ms
(+ (log z) 1.0)
32.0ms
(- (+ (log z) 1.0) z)
0.0ms
(fma x 0.5 (* y (- (+ (log z) 1.0) z)))
59.0ms
(* y (- (+ (log z) 1.0) z))

series409.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(+ (log z) 1.0)
164.0ms
(- (+ (log z) 1.0) z)
54.0ms
(fma x 0.5 (* y (- (+ (log z) 1.0) z)))
75.0ms
(* y (- (+ (log z) 1.0) z))

simplify54.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04121191
11576802
25002784

prune245.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.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.1b
(+ (* y (- 1.0 z)) (* y (log z)))
0.3b
(* y (log z))

rewrite35.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:
15.0ms
(* y (- 1.0 z))
0.0ms
(fma x 0.5 (+ (* y (- 1.0 z)) (* y (log z))))
10.0ms
(+ (* y (- 1.0 z)) (* y (log z)))
4.0ms
(* y (log z))

series221.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* y (- 1.0 z))
61.0ms
(fma x 0.5 (+ (* y (- 1.0 z)) (* y (log z))))
91.0ms
(+ (* y (- 1.0 z)) (* y (log z)))
37.0ms
(* y (log z))

simplify63.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0494914
12048666
25003654

prune338.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- 1.0 (- z (* 2 (log (cbrt z))))) y)
0.2b
(* (log (cbrt z)) y)
0.6b
(cbrt z)
0.6b
(cbrt z)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt associate-*l*
pow1
add-exp-log add-cbrt-cube
cbrt-prod associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3
pow-prod-down associate-*l/ prod-exp log-pow *-commutative cbrt-unprod unswap-sqr
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 72
Calls
4 calls:
22.0ms
(* (- 1.0 (- z (* 2 (log (cbrt z))))) y)
4.0ms
(* (log (cbrt z)) y)
1.0ms
(cbrt z)
1.0ms
(cbrt z)

series618.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(* (- 1.0 (- z (* 2 (log (cbrt z))))) y)
122.0ms
(* (log (cbrt z)) y)
170.0ms
(cbrt z)
174.0ms
(cbrt z)

simplify38.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0249437
1959386
25001358

prune306.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes74.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
0125
1125

end0.0ms

sample1.7s

Algorithm
intervals
Results
764.0ms9116×body80valid
564.0ms9044×body80nan