Details

Time bar (total: 3.8s)

sample33.0ms

Algorithm
intervals
Results
10.0ms85×body1280valid
5.0ms51×body640valid
2.0ms16×body2560valid
2.0ms29×body320valid
2.0ms63×body80valid
1.0ms12×body160valid

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: 46.2b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite78.0ms

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

series77.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(+ 1.0 (+ (* x y) z))
19.0ms
(+ (* x y) z)
35.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify81.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0223293
1768282
23261281
35002281

prune124.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 45.6b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite155.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:
8.0ms
(+ (* x y) z)
47.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
48.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
50.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series122.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (* x y) z)
37.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
33.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))
34.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0178546
1602508
22697507
35001507

prune219.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 45.6b

localize12.0ms

Local error

Found 4 expressions with local error:

7.5b
(cbrt (+ (* x y) z))
7.5b
(cbrt (+ (* x y) z))
7.5b
(cbrt (+ (* x y) z))
32.3b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

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

series335.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(cbrt (+ (* x y) z))
100.0ms
(cbrt (+ (* x y) z))
101.0ms
(cbrt (+ (* x y) z))
37.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

prune274.0ms

Pruning

21 alts after pruning (19 fresh and 2 done)

Merged error: 45.5b

localize18.0ms

Local error

Found 4 expressions with local error:

7.5b
(cbrt (+ (* x y) z))
7.5b
(cbrt (+ (* x y) z))
7.5b
(cbrt (+ (* x y) z))
33.8b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (* (cbrt (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z)))) (cbrt (cbrt (+ (* x y) z))))) (cbrt (+ (* x y) z)))))

rewrite31.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:
5.0ms
(cbrt (+ (* x y) z))
5.0ms
(cbrt (+ (* x y) z))
5.0ms
(cbrt (+ (* x y) z))
14.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (* (cbrt (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z)))) (cbrt (cbrt (+ (* x y) z))))) (cbrt (+ (* x y) z)))))

series335.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(cbrt (+ (* x y) z))
100.0ms
(cbrt (+ (* x y) z))
98.0ms
(cbrt (+ (* x y) z))
38.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (* (cbrt (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z)))) (cbrt (cbrt (+ (* x y) z))))) (cbrt (+ (* x y) z)))))

simplify70.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0247916
1678846
22433828
35002825

prune267.0ms

Pruning

24 alts after pruning (21 fresh and 3 done)

Merged error: 45.4b

regimes420.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01620
11620

end0.0ms

sample932.0ms

Algorithm
intervals
Results
329.0ms2650×body1280valid
156.0ms1611×body640valid
83.0ms559×body2560valid
59.0ms2115×body80valid
51.0ms708×body320valid
18.0ms357×body160valid