Details

Time bar (total: 5.8s)

sample60.0ms

Algorithm
intervals
Results
24.0ms292×body80valid
19.0ms279×body80nan

simplify69.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

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite70.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 add-log-exp
associate-*r*
fma-def
add-exp-log associate-+r+ add-cbrt-cube distribute-lft-out--
log-pow
expm1-log1p-u log-prod flip3-+ associate-*l* sum-log flip-+ log1p-expm1-u
+-commutative distribute-rgt-in distribute-lft-in associate-*r/
associate-+l- sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
Counts
3 → 82
Calls
3 calls:
9.0ms
(+ (* x 0.5) (* y (+ (- 1.0 z) (log z))))
19.0ms
(+ (- 1.0 z) (log z))
40.0ms
(* y (+ (- 1.0 z) (log z)))

series314.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(+ (* x 0.5) (* y (+ (- 1.0 z) (log z))))
169.0ms
(+ (- 1.0 z) (log z))
79.0ms
(* y (+ (- 1.0 z) (log z)))

simplify55.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0410523
11823431
25001425

prune225.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
(+ (* x 0.5) (+ (* y (- 1.0 z)) (* y (log z))))
0.2b
(+ (* y (- 1.0 z)) (* y (log z)))
0.3b
(* y (log z))

rewrite44.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
11×add-log-exp
pow1 associate-*r*
add-exp-log add-cbrt-cube
associate-+r+
associate-*l*
expm1-log1p-u sub-neg sum-log log1p-expm1-u
+-commutative fma-def flip3-+ associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
flip3-- log-pow flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 132
Calls
4 calls:
11.0ms
(* y (- 1.0 z))
12.0ms
(+ (* x 0.5) (+ (* y (- 1.0 z)) (* y (log z))))
9.0ms
(+ (* y (- 1.0 z)) (* y (log z)))
4.0ms
(* y (log z))

series222.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* y (- 1.0 z))
62.0ms
(+ (* x 0.5) (+ (* y (- 1.0 z)) (* y (log z))))
92.0ms
(+ (* y (- 1.0 z)) (* y (log z)))
37.0ms
(* y (log z))

simplify78.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0573974
12497728
25003716

prune350.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×pow1 log-prod
associate-*r* associate-*l*
add-exp-log add-cbrt-cube
distribute-rgt-in distribute-lft-in sqrt-prod 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 → 85
Calls
4 calls:
2.0ms
(+ (fma y (- 1.0 z) (* y (log (sqrt z)))) (* (log (sqrt z)) y))
0.0ms
(fma y (- 1.0 z) (* y (log (sqrt z))))
4.0ms
(* (log (sqrt z)) y)
5.0ms
(* y (log (sqrt z)))

series441.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(+ (fma y (- 1.0 z) (* y (log (sqrt z)))) (* (log (sqrt z)) y))
95.0ms
(fma y (- 1.0 z) (* y (log (sqrt z))))
130.0ms
(* (log (sqrt z)) y)
89.0ms
(* y (log (sqrt z)))

simplify48.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0342672
11413617
25002590

prune313.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (+ (fma 2 (log (cbrt z)) (- 1.0 z)) (log (cbrt z))))
0.2b
(+ (fma 2 (log (cbrt z)) (- 1.0 z)) (log (cbrt z)))
0.7b
(cbrt z)
0.7b
(cbrt z)

rewrite19.0ms

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

series1.3s

Counts
4 → 12
Calls
4 calls:
263.0ms
(* y (+ (fma 2 (log (cbrt z)) (- 1.0 z)) (log (cbrt z))))
659.0ms
(+ (fma 2 (log (cbrt z)) (- 1.0 z)) (log (cbrt z)))
187.0ms
(cbrt z)
175.0ms
(cbrt z)

simplify47.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0290621
11166547
25001502

prune315.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes111.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
02311
12311

end0.0ms

sample1.7s

Algorithm
intervals
Results
751.0ms9220×body80valid
556.0ms9018×body80nan