Details

Time bar (total: 2.9s)

sample22.0ms

Algorithm
intervals
Results
9.0ms320×body80valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0216
1515
21725
34815
412415
531025
650015

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ 2.0 3.0) z)
0.0b
(* 6.0 (- (/ 2.0 3.0) z))
0.1b
(fma (- y x) (* 6.0 (- (/ 2.0 3.0) z)) x)

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
126×add-sqr-sqrt
118×*-un-lft-identity
117×prod-diff
114×add-cube-cbrt
92×times-frac
41×distribute-rgt-in distribute-lft-in
13×fma-neg
10×div-inv
associate-*r*
pow1 add-exp-log add-cbrt-cube add-log-exp
difference-of-squares
expm1-log1p-u sub-neg associate-*l* log1p-expm1-u
flip3-- associate-*r/ flip-- distribute-lft-out--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 186
Calls
3 calls:
15.0ms
(- (/ 2.0 3.0) z)
21.0ms
(* 6.0 (- (/ 2.0 3.0) z))
1.0ms
(fma (- y x) (* 6.0 (- (/ 2.0 3.0) z)) x)

series145.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(- (/ 2.0 3.0) z)
45.0ms
(* 6.0 (- (/ 2.0 3.0) z))
80.0ms
(fma (- y x) (* 6.0 (- (/ 2.0 3.0) z)) x)

simplify61.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04532251
115921519
250021387

prune260.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 6.0 (/ 2.0 3.0)) (* 6.0 (- z)))
0.1b
(fma (- y x) (+ (* 6.0 (/ 2.0 3.0)) (* 6.0 (- z))) x)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity distribute-rgt-neg-out add-cbrt-cube log1p-expm1-u
+-commutative fma-def flip3-+ unsub-neg sum-log flip-+ fma-udef distribute-lft-out
Counts
2 → 27
Calls
2 calls:
5.0ms
(+ (* 6.0 (/ 2.0 3.0)) (* 6.0 (- z)))
1.0ms
(fma (- y x) (+ (* 6.0 (/ 2.0 3.0)) (* 6.0 (- z))) x)

series92.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(+ (* 6.0 (/ 2.0 3.0)) (* 6.0 (- z)))
54.0ms
(fma (- y x) (+ (* 6.0 (/ 2.0 3.0)) (* 6.0 (- z))) x)

simplify88.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0170239
1670201
23293193
35001192

prune85.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 2.0 3.0) z)
0.0b
(+ (* (* (- y x) 6.0) (- (/ 2.0 3.0) z)) x)
0.0b
(* (- y x) 6.0)
0.3b
(* (* (- y x) 6.0) (- (/ 2.0 3.0) z))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
198×add-sqr-sqrt
195×prod-diff
190×*-un-lft-identity
184×add-cube-cbrt
146×times-frac
82×distribute-rgt-in associate-+l+ distribute-lft-in
16×div-inv
13×fma-neg
11×pow1 add-exp-log add-cbrt-cube
10×associate-*l/
associate-*r*
flip3-- flip-- add-log-exp
associate-*l*
sub-neg difference-of-squares
expm1-log1p-u frac-times pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
distribute-lft-out--
associate-*r/ *-commutative
+-commutative fma-def flip3-+ diff-log sum-log flip-+ unswap-sqr
Counts
4 → 302
Calls
4 calls:
9.0ms
(- (/ 2.0 3.0) z)
21.0ms
(+ (* (* (- y x) 6.0) (- (/ 2.0 3.0) z)) x)
6.0ms
(* (- y x) 6.0)
18.0ms
(* (* (- y x) 6.0) (- (/ 2.0 3.0) z))

series148.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(- (/ 2.0 3.0) z)
61.0ms
(+ (* (* (- y x) 6.0) (- (/ 2.0 3.0) z)) x)
28.0ms
(* (- y x) 6.0)
42.0ms
(* (* (- y x) 6.0) (- (/ 2.0 3.0) z))

simplify106.0ms

Algorithm
egg-herbie
Counts
314 → 314
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08803563
140972524
250012524

prune673.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 4.0 y (- (fma 6.0 (* z y) (* 3.0 x))))
0.1b
(fma 6.0 (* z y) (* 3.0 x))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma 4.0 y (- (fma 6.0 (* z y) (* 3.0 x))))
1.0ms
(fma 6.0 (* z y) (* 3.0 x))

series87.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(fma 4.0 y (- (fma 6.0 (* z y) (* 3.0 x))))
43.0ms
(fma 6.0 (* z y) (* 3.0 x))

simplify74.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
048147
1125129
2463129
32316129
45001129

prune61.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes144.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0187
1227
2237
3237

end0.0ms

sample577.0ms

Algorithm
intervals
Results
284.0ms9309×body80valid
27.0ms261×body640valid
22.0ms161×body1280valid
16.0ms205×body320valid
7.0ms125×body160valid