Details

Time bar (total: 2.5s)

sample15.0ms

Algorithm
intervals
Results
6.0ms306×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.6b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.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:
5.0ms
(* x (- 1.0 (* y z)))

series51.0ms

Counts
1 → 3
Calls
1 calls:
51.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

prune62.0ms

Filtered
35 candidates to 20 candidates (57.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New29635
Fresh000
Picked101
Done000
Total30636

Merged error: 2.5b

Counts
36 → 6

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.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:
5.0ms
(* x (- 1.0 (* y z)))
1.0ms
(fma (- z) y (* z y))

series76.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0161245
1636214
22643209
35001198

prune111.0ms

Filtered
48 candidates to 31 candidates (64.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New46248
Fresh235
Picked011
Done000
Total48654

Merged error: 2.5b

Counts
54 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* x (- 1.0 (* y z))) (fma y z 1.0))
2.5b
(* x (- 1.0 (* y z)))
9.4b
(/ (* (* x (- 1.0 (* y z))) (fma y z 1.0)) (+ 1.0 (* y z)))
52.3b
(fma (- z) y (* z y))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
13×add-sqr-sqrt
11×pow1 add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod
distribute-rgt-in distribute-lft-in associate-*r/ associate-*r* prod-diff
expm1-log1p-u associate-*l* pow-prod-down associate-*l/ log1p-expm1-u add-log-exp
cbrt-undiv flip3-- times-frac div-exp associate-/r* flip-- fma-udef
sub-neg associate-/r/ *-commutative associate-/l/
frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l* unswap-sqr
Counts
4 → 95
Calls
4 calls:
7.0ms
(* (* x (- 1.0 (* y z))) (fma y z 1.0))
6.0ms
(* x (- 1.0 (* y z)))
10.0ms
(/ (* (* x (- 1.0 (* y z))) (fma y z 1.0)) (+ 1.0 (* y z)))
1.0ms
(fma (- z) y (* z y))

series279.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (* x (- 1.0 (* y z))) (fma y z 1.0))
50.0ms
(* x (- 1.0 (* y z)))
95.0ms
(/ (* (* x (- 1.0 (* y z))) (fma y z 1.0)) (+ 1.0 (* y z)))
25.0ms
(fma (- z) y (* z y))

simplify75.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0402776
12503535
25001535

prune284.0ms

Filtered
107 candidates to 73 candidates (68.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1034107
Fresh224
Picked101
Done011
Total1067113

Merged error: 2.5b

Counts
113 → 7

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (* x (- 1.0 (* y z))))
0.2b
(/ 1 (/ 1 (* x (- 1.0 (* y z)))))
2.5b
(* x (- 1.0 (* y z)))
52.3b
(fma (- z) y (* z y))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
60×add-exp-log
42×times-frac
30×add-sqr-sqrt div-exp
28×add-cube-cbrt *-un-lft-identity
20×add-cbrt-cube
15×rec-exp 1-exp
13×pow1 prod-exp
12×associate-*r/
11×associate-/r/
10×associate-/r*
pow-flip
cbrt-undiv
flip3-- prod-diff flip-- div-inv associate-/l*
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r* associate-*l* pow-prod-down cbrt-unprod inv-pow
sub-neg frac-2neg clear-num
*-commutative fma-udef remove-double-div unswap-sqr
Counts
4 → 156
Calls
4 calls:
9.0ms
(/ 1 (* x (- 1.0 (* y z))))
15.0ms
(/ 1 (/ 1 (* x (- 1.0 (* y z)))))
10.0ms
(* x (- 1.0 (* y z)))
1.0ms
(fma (- z) y (* z y))

series193.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(/ 1 (* x (- 1.0 (* y z))))
53.0ms
(/ 1 (/ 1 (* x (- 1.0 (* y z)))))
49.0ms
(* x (- 1.0 (* y z)))
25.0ms
(fma (- z) y (* z y))

simplify100.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
0477993
12600824
25001758

prune344.0ms

Filtered
168 candidates to 81 candidates (48.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1671168
Fresh055
Picked101
Done011
Total1687175

Merged error: 2.4b

Counts
175 → 7

regimes188.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample392.0ms

Algorithm
intervals
Results
197.0ms9640×body80valid