Details

Time bar (total: 3.4s)

sample36.0ms

Algorithm
intervals
Results
15.0ms95×body1280valid
5.0ms47×body640valid
3.0ms20×body2560valid
2.0ms24×body320valid
2.0ms56×body80valid
1.0ms14×body160valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 47.7b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) z)
11.6b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
*-un-lft-identity
add-sqr-sqrt sum-log
diff-log
pow1 add-exp-log add-cube-cbrt add-cbrt-cube distribute-lft-out--
+-commutative sub-neg flip3-- flip3-+ flip-- flip-+ distribute-lft-out associate--r+ difference-of-squares
Counts
2 → 29
Calls
2 calls:
3.0ms
(+ (* x y) z)
20.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series62.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(+ (* x y) z)
41.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune89.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 47.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x y) z)
11.6b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
11.6b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
11.6b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
33×add-log-exp
19×*-un-lft-identity
10×add-sqr-sqrt sum-log
diff-log
distribute-lft-out--
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg flip3-- flip-- distribute-lft-out associate--r+ difference-of-squares
+-commutative flip3-+ flip-+
Counts
4 → 65
Calls
4 calls:
3.0ms
(+ (* x y) z)
23.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
20.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
21.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series134.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (* x y) z)
40.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
36.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
37.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify62.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0178546
1602508
22697507
35001507

prune211.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 47.1b

localize12.0ms

Local error

Found 4 expressions with local error:

9.1b
(cbrt (+ (* x y) z))
9.1b
(cbrt (+ (* x y) z))
9.1b
(cbrt (+ (* x y) z))
36.5b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
cbrt-div
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+
diff-log
sub-neg flip3-- sum-log flip-- associate--r+ distribute-lft-out-- difference-of-squares
Counts
4 → 55
Calls
4 calls:
2.0ms
(cbrt (+ (* x y) z))
2.0ms
(cbrt (+ (* x y) z))
2.0ms
(cbrt (+ (* x y) z))
5.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

series351.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(cbrt (+ (* x y) z))
104.0ms
(cbrt (+ (* x y) z))
103.0ms
(cbrt (+ (* x y) z))
41.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0238686
1653594
22161559
35002523

prune276.0ms

Pruning

20 alts after pruning (18 fresh and 2 done)

Merged error: 46.9b

localize18.0ms

Local error

Found 4 expressions with local error:

9.1b
(cbrt (+ (* x y) z))
36.5b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))
36.5b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))
36.5b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
11×add-sqr-sqrt *-un-lft-identity
diff-log
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
cbrt-prod sub-neg flip3-- sum-log flip-- associate--r+ distribute-lft-out-- difference-of-squares
cbrt-div
flip3-+ pow1/3 flip-+
Counts
4 → 61
Calls
4 calls:
2.0ms
(cbrt (+ (* x y) z))
8.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))
5.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))
6.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

series220.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(cbrt (+ (* x y) z))
41.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))
36.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))
37.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

simplify59.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
02381186
1653966
22161909
35002809

prune279.0ms

Pruning

22 alts after pruning (19 fresh and 3 done)

Merged error: 46.9b

regimes373.0ms

Accuracy

0% (0.7b remaining)

Error of 45.3b against oracle of 44.6b and baseline of 45.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01620
11620

end0.0ms

sample928.0ms

Algorithm
intervals
Results
340.0ms2601×body1280valid
170.0ms1617×body640valid
104.0ms627×body2560valid
60.0ms2057×body80valid
58.0ms743×body320valid
22.0ms355×body160valid