Details

Time bar (total: 1.0s)

sample16.0ms

Algorithm
intervals
Results
5.0ms256×pre80true
4.0ms256×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1273
2663
31133
41453
51653
61823
71843
81843

prune1.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: 0.0b

Counts
2 → 1

localize3.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (+ a b) (+ a b))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
pow1
add-sqr-sqrt
flip3-+ swap-sqr flip-+ distribute-lft-out
add-cube-cbrt
frac-times associate-*r* associate-*l*
add-exp-log add-cbrt-cube
associate-*r/ associate-*l/
pow2 distribute-rgt-in expm1-log1p-u distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 42
Calls
1 calls:
8.0ms
(* (+ a b) (+ a b))

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.0ms
(* (+ a b) (+ a b))

simplify35.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0195218
1958194
25002180

prune43.0ms

Filtered
45 candidates to 21 candidates (46.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New44145
Fresh000
Picked011
Done000
Total44246

Merged error: 0.0b

Counts
46 → 2

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* a (+ a b)) (* b (+ a b)))
0.0b
(* b (+ a b))
0.0b
(* a (+ a b))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/
11×add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-*l*
add-log-exp
distribute-rgt-in distribute-lft-in frac-add
expm1-log1p-u log1p-expm1-u
associate-+l+ associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative distribute-rgt-out fma-def sum-log
Counts
3 → 73
Calls
3 calls:
7.0ms
(+ (* a (+ a b)) (* b (+ a b)))
6.0ms
(* b (+ a b))
6.0ms
(* a (+ a b))

series78.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(+ (* a (+ a b)) (* b (+ a b)))
25.0ms
(* b (+ a b))
30.0ms
(* a (+ a b))

simplify60.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0373400
12125342
25001336

prune115.0ms

Filtered
82 candidates to 56 candidates (68.3%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New81182
Fresh000
Picked101
Done101
Total83184

Merged error: 0b

Counts
84 → 1

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma 2 (* a b) (pow b 2))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
4.0ms
(fma 2 (* a b) (pow b 2))

series43.0ms

Counts
1 → 3
Calls
1 calls:
43.0ms
(fma 2 (* a b) (pow b 2))

simplify90.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
02759
17752
235948
3184947
4500147

prune31.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh000
Picked011
Done000
Total13114

Merged error: 0b

Counts
14 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample406.0ms

Algorithm
intervals
Results
164.0ms8000×pre80true
121.0ms8000×body80valid