Details

Time bar (total: 1.1s)

sample15.0ms

Algorithm
intervals
Results
4.0ms256×pre80true
3.0ms256×body80valid

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize3.0ms

Local error

Found 1 expressions with local error:

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

rewrite17.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:
16.0ms
(* (+ a b) (+ a b))

series18.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0195218
1958194
25002180

prune51.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in expm1-log1p-u distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ log1p-expm1-u distribute-lft-out add-log-exp unswap-sqr
Counts
2 → 50
Calls
2 calls:
9.0ms
(* b (+ a b))
9.0ms
(* a (+ a b))

series53.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(* b (+ a b))
28.0ms
(* a (+ a b))

simplify35.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0201182
11057164
25002162

prune84.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

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

series55.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(+ (pow a 2) (* a b))
28.0ms
(* b (+ a b))

simplify31.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0203174
11034151
25002147

prune109.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(* b (+ a b))

rewrite10.0ms

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

series25.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
012791
162182
2307481
3500281

prune63.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0149
1149

end0.0ms

sample334.0ms

Algorithm
intervals
Results
110.0ms8000×pre80true
100.0ms8000×body80valid