Details

Time bar (total: 2.3s)

sample18.0ms

Algorithm
intervals
Results
9.0ms306×body80valid

simplify12.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.1b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

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

series51.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0151195
1598171
22506166
35003160

prune63.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.0b

localize11.0ms

Local error

Found 2 expressions with local error:

2.9b
(* x (- 1.0 (* y z)))
50.6b
(fma (- z) y (* z y))

rewrite10.0ms

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

series75.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(* x (- 1.0 (* y z)))
30.0ms
(fma (- z) y (* z y))

simplify73.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0161245
1636214
22643209
35001198

prune108.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 3.0b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
6.0b
(* x (- (* y z)))
50.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))

series107.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0205274
11162240
25001236

prune170.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 3.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
1.9b
(* (cbrt x) (- (* y z)))
4.3b
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))
50.6b
(fma (- z) y (* z y))

rewrite27.0ms

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

series373.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt x)
119.0ms
(* (cbrt x) (- (* y z)))
49.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))
25.0ms
(fma (- z) y (* z y))

simplify59.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0251519
11338422
25001381

prune284.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 3.0b

regimes182.0ms

Accuracy

0% (0.1b remaining)

Error of 3.2b against oracle of 3.1b and baseline of 3.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
13010
23110
33110

end0.0ms

sample495.0ms

Algorithm
intervals
Results
303.0ms9630×body80valid