Details

Time bar (total: 1.0s)

sample14.0ms

Algorithm
intervals
Results
3.0ms256×pre80true
3.0ms256×body80valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1273
2663
31133
41453
51653
61823
71843
81843

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

Counts
2 → 1

localize3.0ms

Local error

Found 1 expressions with local error:

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

rewrite10.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
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/
pow2 expm1-log1p-u 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 → 44
Calls
1 calls:
8.0ms
(* (+ a b) (+ a b))

series17.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0193226
1937202
25001188

prune45.0ms

Filtered
47 candidates to 22 candidates (46.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New43447
Fresh000
Picked011
Done000
Total43548

Merged error: 0b

Counts
48 → 5

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

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

series86.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0393454
12210395
25001388

prune142.0ms

Filtered
117 candidates to 76 candidates (65.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1161117
Fresh303
Picked101
Done101
Total1211122

Merged error: 0b

Counts
122 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.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:
1.0ms
(fma 2 (* a b) (pow b 2))

series54.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (16.0ms)

IterNodesCost
02759
17752
235448
3183747
4500147

prune30.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

sample354.0ms

Algorithm
intervals
Results
113.0ms8000×pre80true
110.0ms8000×body80valid