Details

Time bar (total: 1.1s)

sample15.0ms

Algorithm
intervals
Results
4.0ms256×pre80true
4.0ms256×body80valid

simplify19.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))

series16.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0195226
1958202
25002188

prune61.0ms

Filtered
47 candidates to 22 candidates (46.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348

Merged error: 0b

Counts
48 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.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
(* a (+ a b))
20.0ms
(+ (* a (+ a b)) (* b (+ a b)))
6.0ms
(* b (+ a b))

series79.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0396452
12243394
25002387

prune185.0ms

Filtered
117 candidates to 76 candidates (65.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1161117
Fresh202
Picked101
Done000
Total1191120

Merged error: 0b

Counts
120 → 1

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

series47.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
02759
17752
235948
3184947
4500147

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

sample347.0ms

Algorithm
intervals
Results
119.0ms8000×pre80true
104.0ms8000×body80valid