Details

Time bar (total: 2.4s)

sample15.0ms

Algorithm
intervals
Results
6.0ms324×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.6b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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))
52.0ms
(* x (- 1.0 (* y z)))

simplify70.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune107.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.4b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* y z))
3.4b
(* x (- 1.0 (* y z)))
51.6b
(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))

series104.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0185341
1721297
22920290
35001267

prune177.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.4b

localize13.0ms

Local error

Found 3 expressions with local error:

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

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
expm1-log1p-u associate-*l* distribute-rgt-neg-out 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-+ fma-udef distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
3.0ms
(+ (* x 1.0) (* x (- (* y z))))
4.0ms
(* x (- (* y z)))
0.0ms
(fma (- z) y (* z y))

series121.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(+ (* x 1.0) (* x (- (* y z))))
26.0ms
(* x (- (* y z)))
31.0ms
(fma (- z) y (* z y))

simplify51.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0205274
11162240
25001236

prune184.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 3.4b

localize16.0ms

Local error

Found 4 expressions with local error:

13.4b
(cbrt (- (* y z)))
13.4b
(cbrt (- (* y z)))
13.4b
(cbrt (- (* y z)))
51.6b
(fma (- z) y (* z y))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in pow1/3
fma-udef
Counts
4 → 58
Calls
4 calls:
1.0ms
(cbrt (- (* y z)))
1.0ms
(cbrt (- (* y z)))
1.0ms
(cbrt (- (* y z)))
0.0ms
(fma (- z) y (* z y))

series333.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(cbrt (- (* y z)))
102.0ms
(cbrt (- (* y z)))
101.0ms
(cbrt (- (* y z)))
32.0ms
(fma (- z) y (* z y))

simplify92.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 4 (87.0ms)

IterNodesCost
0112368
1216340
2630316
32327308
45002292

prune295.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 3.4b

regimes187.0ms

Accuracy

0% (0.1b remaining)

Error of 3.4b against oracle of 3.3b and baseline of 3.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
13010
23110
33110

end0.0ms

sample380.0ms

Algorithm
intervals
Results
194.0ms9626×body80valid