Details

Time bar (total: 5.2s)

sample34.0ms

Algorithm
intervals
Results
10.0ms282×body80valid
8.0ms289×body80nan

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

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

rewrite21.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:
1.0ms
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
8.0ms
(+ (- 1.0 z) (log z))
9.0ms
(* y (+ (- 1.0 z) (log z)))

series311.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
173.0ms
(+ (- 1.0 z) (log z))
76.0ms
(* y (+ (- 1.0 z) (log z)))

simplify46.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0336468
11466370
25001366

prune229.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x 0.5 (+ (* y (- 1.0 z)) (* y (log z))))
0.0b
(* y (- 1.0 z))
0.2b
(+ (* y (- 1.0 z)) (* y (log z)))
0.2b
(* 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:
1.0ms
(fma x 0.5 (+ (* y (- 1.0 z)) (* y (log z))))
11.0ms
(* y (- 1.0 z))
9.0ms
(+ (* y (- 1.0 z)) (* y (log z)))
5.0ms
(* y (log z))

series234.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(fma x 0.5 (+ (* y (- 1.0 z)) (* y (log z))))
33.0ms
(* y (- 1.0 z))
97.0ms
(+ (* y (- 1.0 z)) (* y (log z)))
38.0ms
(* y (log z))

simplify67.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0494914
12048666
25003654

prune360.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
12×cbrt-prod log-prod
pow1
add-exp-log associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in distribute-lft-in
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 → 84
Calls
4 calls:
7.0ms
(* (- 1.0 (- z (* 2 (log (cbrt z))))) y)
5.0ms
(* y (log (cbrt z)))
1.0ms
(cbrt z)
1.0ms
(cbrt z)

series620.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (- 1.0 (- z (* 2 (log (cbrt z))))) y)
98.0ms
(* y (log (cbrt z)))
193.0ms
(cbrt z)
183.0ms
(cbrt z)

simplify42.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0271531
11150472
25001441

prune367.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.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:
5.0ms
(+ (fma 2 (log (cbrt z)) (- 1.0 z)) (log (cbrt z)))
6.0ms
(* y (+ (fma 2 (log (cbrt z)) (- 1.0 z)) (log (cbrt z))))
1.0ms
(cbrt z)
1.0ms
(cbrt z)

series1.3s

Counts
4 → 12
Calls
4 calls:
666.0ms
(+ (fma 2 (log (cbrt z)) (- 1.0 z)) (log (cbrt z)))
272.0ms
(* y (+ (fma 2 (log (cbrt z)) (- 1.0 z)) (log (cbrt z))))
192.0ms
(cbrt z)
183.0ms
(cbrt z)

simplify42.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0290621
11166547
25002502

prune322.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
01911
11911

end0.0ms

sample964.0ms

Algorithm
intervals
Results
331.0ms9116×body80valid
260.0ms9055×body80nan