Details

Time bar (total: 4.7s)

sample41.0ms

Algorithm
intervals
Results
14.0ms91×body1280valid
7.0ms55×body640valid
3.0ms10×body160valid
3.0ms66×body80valid
3.0ms15×body2560valid
2.0ms19×body320valid

simplify28.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: 45.6b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.0ms

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

series62.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0169241
1611230
22945230
35002230

prune88.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 45.1b

localize12.0ms

Local error

Found 4 expressions with local error:

5.9b
(cbrt (+ 1.0 (+ (* x y) z)))
5.9b
(cbrt (+ 1.0 (+ (* x y) z)))
5.9b
(cbrt (+ 1.0 (+ (* x y) z)))
31.1b
(- (fma x y z) (* (* (cbrt (+ 1.0 (+ (* x y) z))) (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (+ 1.0 (+ (* x y) z)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 54
Calls
4 calls:
7.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
7.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
7.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
2.0ms
(- (fma x y z) (* (* (cbrt (+ 1.0 (+ (* x y) z))) (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (+ 1.0 (+ (* x y) z)))))

series514.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
160.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
155.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
40.0ms
(- (fma x y z) (* (* (cbrt (+ 1.0 (+ (* x y) z))) (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (+ 1.0 (+ (* x y) z)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0242817
1684705
22695629
35001629

prune270.0ms

Pruning

17 alts after pruning (15 fresh and 2 done)

Merged error: 44.9b

localize16.0ms

Local error

Found 4 expressions with local error:

5.9b
(cbrt (+ 1.0 (+ (* x y) z)))
5.9b
(cbrt (+ 1.0 (+ (* x y) z)))
5.9b
(cbrt (+ 1.0 (+ (* x y) z)))
35.0b
(- (fma x y z) (* (* (cbrt (+ 1.0 (+ (* x y) z))) (* (* (cbrt (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (cbrt (+ 1.0 (+ (* x y) z))))) (cbrt (cbrt (+ 1.0 (+ (* x y) z)))))) (cbrt (+ 1.0 (+ (* x y) z)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 54
Calls
4 calls:
7.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
7.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
7.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
2.0ms
(- (fma x y z) (* (* (cbrt (+ 1.0 (+ (* x y) z))) (* (* (cbrt (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (cbrt (+ 1.0 (+ (* x y) z))))) (cbrt (cbrt (+ 1.0 (+ (* x y) z)))))) (cbrt (+ 1.0 (+ (* x y) z)))))

series521.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
02511064
1753916
23234842
35002777

prune329.0ms

Pruning

21 alts after pruning (19 fresh and 2 done)

Merged error: 44.9b

localize21.0ms

Local error

Found 4 expressions with local error:

5.9b
(cbrt (+ 1.0 (+ (* x y) z)))
5.9b
(cbrt (+ 1.0 (+ (* x y) z)))
5.9b
(cbrt (+ 1.0 (+ (* x y) z)))
35.0b
(- (fma x y z) (* (* (cbrt (+ 1.0 (+ (* x y) z))) (* (* (cbrt (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (* (* (cbrt (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (cbrt (+ 1.0 (+ (* x y) z))))) (cbrt (cbrt (+ 1.0 (+ (* x y) z))))))) (cbrt (cbrt (+ 1.0 (+ (* x y) z)))))) (cbrt (+ 1.0 (+ (* x y) z)))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 54
Calls
4 calls:
7.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
10.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
7.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
2.0ms
(- (fma x y z) (* (* (cbrt (+ 1.0 (+ (* x y) z))) (* (* (cbrt (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (* (* (cbrt (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (cbrt (+ 1.0 (+ (* x y) z))))) (cbrt (cbrt (+ 1.0 (+ (* x y) z))))))) (cbrt (cbrt (+ 1.0 (+ (* x y) z)))))) (cbrt (+ 1.0 (+ (* x y) z)))))

series525.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
164.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
161.0ms
(cbrt (+ 1.0 (+ (* x y) z)))
38.0ms
(- (fma x y z) (* (* (cbrt (+ 1.0 (+ (* x y) z))) (* (* (cbrt (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (* (* (cbrt (cbrt (+ 1.0 (+ (* x y) z)))) (cbrt (cbrt (+ 1.0 (+ (* x y) z))))) (cbrt (cbrt (+ 1.0 (+ (* x y) z))))))) (cbrt (cbrt (+ 1.0 (+ (* x y) z)))))) (cbrt (+ 1.0 (+ (* x y) z)))))

simplify93.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
02571311
17631190
233761110
35001962

prune304.0ms

Pruning

22 alts after pruning (19 fresh and 3 done)

Merged error: 44.9b

regimes436.0ms

Accuracy

0% (0.7b remaining)

Error of 45.7b against oracle of 45.0b and baseline of 45.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample1.1s

Algorithm
intervals
Results
435.0ms2693×body1280valid
203.0ms1556×body640valid
116.0ms625×body2560valid
106.0ms2041×body80valid
76.0ms715×body320valid
28.0ms370×body160valid