Details

Time bar (total: 3.8s)

sample34.0ms

Algorithm
intervals
Results
11.0ms91×body1280valid
5.0ms50×body640valid
3.0ms20×body2560valid
2.0ms66×body80valid
2.0ms22×body320valid
0.0msbody160valid

simplify28.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 46.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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)
22.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series61.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune87.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 45.4b

localize12.0ms

Local error

Found 4 expressions with local error:

8.6b
(cbrt (+ (* x y) z))
8.6b
(cbrt (+ (* x y) z))
8.6b
(cbrt (+ (* x y) z))
34.6b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

rewrite15.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:
3.0ms
(cbrt (+ (* x y) z))
2.0ms
(cbrt (+ (* x y) z))
2.0ms
(cbrt (+ (* x y) z))
6.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

series364.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(cbrt (+ (* x y) z))
105.0ms
(cbrt (+ (* x y) z))
113.0ms
(cbrt (+ (* x y) z))
38.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0238686
1653594
22161559
35002523

prune279.0ms

Pruning

20 alts after pruning (18 fresh and 2 done)

Merged error: 45.3b

localize18.0ms

Local error

Found 4 expressions with local error:

8.6b
(cbrt (+ (* x y) z))
34.6b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))
34.6b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))
34.6b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

rewrite21.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))
6.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)))))
6.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

series227.0ms

Counts
4 → 12
Calls
4 calls:
106.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)))))
38.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))
42.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
02381186
1653966
22161909
35002809

prune341.0ms

Pruning

23 alts after pruning (20 fresh and 3 done)

Merged error: 45.3b

localize20.0ms

Local error

Found 4 expressions with local error:

8.6b
(cbrt (+ (* x y) z))
8.6b
(cbrt (+ (* x y) z))
8.6b
(cbrt (+ (* x y) z))
37.8b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (* (* (cbrt (cbrt (+ (* x y) z))) (cbrt (cbrt (+ (* x y) z)))) (cbrt (cbrt (+ (* x y) z)))))))

rewrite15.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))
6.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (* (* (cbrt (cbrt (+ (* x y) z))) (cbrt (cbrt (+ (* x y) z)))) (cbrt (cbrt (+ (* x y) z)))))))

series365.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(cbrt (+ (* x y) z))
112.0ms
(cbrt (+ (* x y) z))
108.0ms
(cbrt (+ (* x y) z))
39.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (* (* (cbrt (cbrt (+ (* x y) z))) (cbrt (cbrt (+ (* x y) z)))) (cbrt (cbrt (+ (* x y) z)))))))

simplify71.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0246939
1707817
22552734
35003646

prune274.0ms

Pruning

27 alts after pruning (24 fresh and 3 done)

Merged error: 45.3b

regimes494.0ms

Accuracy

0% (0.7b remaining)

Error of 45.4b against oracle of 44.7b and baseline of 45.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample872.0ms

Algorithm
intervals
Results
327.0ms2671×body1280valid
155.0ms1637×body640valid
92.0ms584×body2560valid
56.0ms2062×body80valid
53.0ms703×body320valid
17.0ms343×body160valid