Details

Time bar (total: 2.3s)

sample15.0ms

Algorithm
intervals
Results
6.0ms308×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.4b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 1.0 (* y z))
3.2b
(* x (- 1.0 (* y z)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
prod-diff
add-cube-cbrt *-un-lft-identity
distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube add-log-exp
sub-neg fma-neg associate-*r* associate-*l*
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 52
Calls
2 calls:
2.0ms
(- 1.0 (* y z))
8.0ms
(* x (- 1.0 (* y z)))

series73.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(- 1.0 (* y z))
51.0ms
(* x (- 1.0 (* y z)))

simplify73.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune107.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.2b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* y z))
3.2b
(* x (- 1.0 (* y z)))
52.5b
(fma (- z) y (* z y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity prod-diff
pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube add-log-exp
expm1-log1p-u sub-neg fma-neg associate-*r* associate-*l* log1p-expm1-u
flip3-- associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 62
Calls
3 calls:
2.0ms
(- 1.0 (* y z))
8.0ms
(* x (- 1.0 (* y z)))
0.0ms
(fma (- z) y (* z y))

series98.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(- 1.0 (* y z))
45.0ms
(* x (- 1.0 (* y z)))
28.0ms
(fma (- z) y (* z y))

simplify75.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0185341
1721297
22920290
35001267

prune171.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.2b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.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
expm1-log1p-u log1p-expm1-u
+-commutative distribute-lft-neg-in neg-mul-1 fma-def 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 → 41
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* x (- (* y z))))
4.0ms
(* x (- (* y z)))

series82.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0191224
11076197
25002193

prune120.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

2.1b
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
11.7b
(cbrt (- (* y z)))
11.7b
(cbrt (- (* y z)))
11.7b
(cbrt (- (* y z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
pow1 add-exp-log add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*r* *-commutative unswap-sqr
Counts
4 → 69
Calls
4 calls:
14.0ms
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
1.0ms
(cbrt (- (* y z)))
1.0ms
(cbrt (- (* y z)))
1.0ms
(cbrt (- (* y z)))

series454.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
99.0ms
(cbrt (- (* y z)))
95.0ms
(cbrt (- (* y z)))
97.0ms
(cbrt (- (* y z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0250560
1693501
22516460
35001460

prune248.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes174.0ms

Accuracy

87.8% (0.4b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 3.6b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14612
25212
35212

end0.0ms

sample378.0ms

Algorithm
intervals
Results
188.0ms9591×body80valid