Details

Time bar (total: 2.7s)

sample23.0ms

Algorithm
intervals
Results
13.0ms311×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.6b

localize5.0ms

Local error

Found 1 expressions with local error:

2.5b
(* x (- 1.0 (* y z)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
7.0ms
(* x (- 1.0 (* y z)))

series51.0ms

Counts
1 → 3
Calls
1 calls:
51.0ms
(* x (- 1.0 (* y z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0122127
1493111
21989111
35001111

prune60.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 2.5b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
4.9b
(* x (- (* y z)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
+-commutative distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* x (- (* y z))))
5.0ms
(* x (- (* y z)))

series86.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(+ (* x 1.0) (* x (- (* y z))))
27.0ms
(* x (- (* y z)))

simplify43.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0181204
11018178
25001174

prune90.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:

4.9b
(* x (- (* y z)))
12.9b
(cbrt (* x (- (* y z))))
12.9b
(cbrt (* x (- (* y z))))
12.9b
(cbrt (* x (- (* y z))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* add-cbrt-cube
add-log-exp
cbrt-prod pow1/3 associate-*l*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in pow-prod-down prod-exp *-commutative distribute-rgt-neg-out cbrt-unprod unswap-sqr
Counts
4 → 49
Calls
4 calls:
4.0ms
(* x (- (* y z)))
2.0ms
(cbrt (* x (- (* y z))))
2.0ms
(cbrt (* x (- (* y z))))
2.0ms
(cbrt (* x (- (* y z))))

series332.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* x (- (* y z)))
106.0ms
(cbrt (* x (- (* y z))))
100.0ms
(cbrt (* x (- (* y z))))
100.0ms
(cbrt (* x (- (* y z))))

simplify149.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0187354
1787317
24602308
35002308

prune211.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

11.0b
(cbrt (- (* y z)))
12.9b
(cbrt (* x (- (* y z))))
12.9b
(cbrt (* x (- (* y z))))
12.9b
(cbrt (* (* x (* (cbrt (- (* y z))) (cbrt (- (* y z))))) (cbrt (- (* y z)))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in
Counts
4 → 41
Calls
4 calls:
1.0ms
(cbrt (- (* y z)))
2.0ms
(cbrt (* x (- (* y z))))
2.0ms
(cbrt (* x (- (* y z))))
45.0ms
(cbrt (* (* x (* (cbrt (- (* y z))) (cbrt (- (* y z))))) (cbrt (- (* y z)))))

series410.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(cbrt (- (* y z)))
100.0ms
(cbrt (* x (- (* y z))))
98.0ms
(cbrt (* x (- (* y z))))
117.0ms
(cbrt (* (* x (* (cbrt (- (* y z))) (cbrt (- (* y z))))) (cbrt (- (* y z)))))

simplify36.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0187455
1424403
21312311
35002296

prune218.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes134.0ms

Accuracy

42% (1.9b remaining)

Error of 2.0b against oracle of 0.0b and baseline of 3.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03011
14311
24711
34711

end0.0ms

sample621.0ms

Algorithm
intervals
Results
417.0ms9607×body80valid