Details

Time bar (total: 1.6s)

sample14.0ms

Algorithm
intervals
Results
6.0ms339×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2443
3623
4633
5633

prune1.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

0.1b
(* x (- 1.0 (* x y)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
72×prod-diff
64×add-sqr-sqrt
49×*-un-lft-identity
45×add-cube-cbrt
38×distribute-rgt-in distribute-lft-in
25×associate-*r*
22×associate-*l*
unswap-sqr
*-commutative
pow1 add-exp-log add-cbrt-cube
sub-neg associate-*r/ distribute-lft-out-- difference-of-squares
expm1-log1p-u flip3-- pow-prod-down prod-exp flip-- cbrt-unprod log1p-expm1-u add-log-exp
Counts
1 → 102
Calls
1 calls:
12.0ms
(* x (- 1.0 (* x y)))

series44.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04261391
11521901
25001874

prune60.0ms

Filtered
105 candidates to 26 candidates (75.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New996105
Fresh000
Picked101
Done000
Total1006106

Merged error: 0.0b

Counts
106 → 6

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (- 1.0 (* x y)))
52.1b
(fma (- y) x (* y x))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
72×prod-diff
65×add-sqr-sqrt
50×*-un-lft-identity
46×add-cube-cbrt
38×distribute-rgt-in distribute-lft-in
25×associate-*r*
22×associate-*l*
unswap-sqr
*-commutative
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u sub-neg associate-*r/ log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
flip3-- pow-prod-down prod-exp flip-- cbrt-unprod fma-udef
Counts
2 → 112
Calls
2 calls:
12.0ms
(* x (- 1.0 (* x y)))
1.0ms
(fma (- y) x (* y x))

series70.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(* x (- 1.0 (* x y)))
28.0ms
(fma (- y) x (* y x))

simplify55.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04361441
11552944
25002917

prune102.0ms

Filtered
118 candidates to 37 candidates (68.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1144118
Fresh415
Picked011
Done000
Total1186124

Merged error: 0.0b

Counts
124 → 6

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* x y))))
0.2b
(* x (- (* x y)))
52.1b
(fma (- y) x (* y x))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r*
28×*-un-lft-identity
24×add-sqr-sqrt
21×associate-*l*
16×add-cube-cbrt
14×distribute-rgt-neg-in
13×distribute-lft-neg-in
12×fma-def
10×distribute-lft-out
*-commutative
pow1 add-exp-log add-cbrt-cube add-log-exp
unswap-sqr
expm1-log1p-u distribute-rgt-neg-out log1p-expm1-u
distribute-rgt-out
+-commutative neg-mul-1 flip3-+ unsub-neg pow-prod-down prod-exp sum-log cbrt-unprod flip-+ fma-udef
Counts
3 → 95
Calls
3 calls:
27.0ms
(+ (* x 1.0) (* x (- (* x y))))
10.0ms
(* x (- (* x y)))
1.0ms
(fma (- y) x (* y x))

series91.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(+ (* x 1.0) (* x (- (* x y))))
21.0ms
(* x (- (* x y)))
29.0ms
(fma (- y) x (* y x))

simplify62.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0302385
11516344
25001340

prune197.0ms

Filtered
104 candidates to 76 candidates (26.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1013104
Fresh314
Picked011
Done101
Total1055110

Merged error: 0b

Counts
110 → 5

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x 1.0) (pow (* -1 (* (pow x 2) y)) 1))
10.4b
(* (pow x 2) y)
52.1b
(fma (- y) x (* y x))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×*-un-lft-identity
12×fma-def associate-*l*
add-cube-cbrt
add-exp-log
associate-*r*
pow1 add-cbrt-cube add-log-exp unswap-sqr
unpow-prod-down
expm1-log1p-u prod-exp log1p-expm1-u
*-commutative distribute-lft-out unpow2 sqr-pow
+-commutative pow-to-exp flip3-+ pow-prod-down pow-exp sum-log cbrt-unprod flip-+ fma-udef
Counts
3 → 67
Calls
3 calls:
30.0ms
(+ (* x 1.0) (pow (* -1 (* (pow x 2) y)) 1))
6.0ms
(* (pow x 2) y)
1.0ms
(fma (- y) x (* y x))

series88.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(+ (* x 1.0) (pow (* -1 (* (pow x 2) y)) 1))
18.0ms
(* (pow x 2) y)
26.0ms
(fma (- y) x (* y x))

simplify40.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0211309
1861264
25002252

prune177.0ms

Filtered
76 candidates to 57 candidates (25.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh033
Picked011
Done011
Total76581

Merged error: 0b

Counts
81 → 5

regimes46.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12810
22910
32910

end0.0ms

sample353.0ms

Algorithm
intervals
Results
198.0ms10621×body80valid