Details

Time bar (total: 1.8s)

sample15.0ms

Algorithm
intervals
Results
6.0ms305×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.6b

localize8.0ms

Local error

Found 1 expressions with local error:

3.4b
(* 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)))

series48.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0151195
1598171
22506166
35003160

prune63.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 3.4b

localize13.0ms

Local error

Found 2 expressions with local error:

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

series77.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0161245
1636214
22643209
35001198

prune112.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 3.4b

localize9.0ms

Local error

Found 2 expressions with local error:

3.4b
(* x (- 1.0 (* y z)))
3.5b
(+ (- (* z y)) (* z y))

rewrite14.0ms

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

series50.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0244282
11210199
25001168

prune126.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 3.4b

localize17.0ms

Local error

Found 4 expressions with local error:

3.4b
(* x (- 1.0 (* y z)))
3.4b
(* x (- 1.0 (* y z)))
3.4b
(* x (- 1.0 (* y z)))
3.5b
(+ (- (* z y)) (* z y))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt *-un-lft-identity
15×distribute-rgt-in distribute-lft-in
10×pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
add-log-exp
sub-neg fma-def associate-*r/
expm1-log1p-u log1p-expm1-u
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in sum-log
+-commutative neg-sub0 associate-+l- distribute-rgt-out distribute-lft1-in flip3-+ neg-log flip-+ distribute-lft-out
Counts
4 → 120
Calls
4 calls:
8.0ms
(* x (- 1.0 (* y z)))
8.0ms
(* x (- 1.0 (* y z)))
8.0ms
(* x (- 1.0 (* y z)))
4.0ms
(+ (- (* z y)) (* z y))

series145.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* x (- 1.0 (* y z)))
49.0ms
(* x (- 1.0 (* y z)))
45.0ms
(* x (- 1.0 (* y z)))
1.0ms
(+ (- (* z y)) (* z y))

simplify51.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0244672
11210493
25001462

prune293.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 3.4b

regimes96.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample380.0ms

Algorithm
intervals
Results
187.0ms9671×body80valid