Details

Time bar (total: 1.1s)

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

Filtered
1 candidates to 0 candidates (0.0%)
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))

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

series14.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0195218
1958194
25002180

prune55.0ms

Filtered
45 candidates to 21 candidates (46.7%)
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))

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

series57.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0201182
11057164
25002162

prune86.0ms

Filtered
56 candidates to 36 candidates (64.3%)
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))

rewrite17.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:
7.0ms
(+ (pow a 2) (* a b))
10.0ms
(* b (+ a b))

series58.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(+ (pow a 2) (* a b))
26.0ms
(* b (+ a b))

simplify30.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0203174
11034151
25002147

prune110.0ms

Filtered
53 candidates to 39 candidates (73.6%)
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))

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

series27.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
012791
162182
2307481
3500281

prune61.0ms

Filtered
28 candidates to 18 candidates (64.3%)
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

sample339.0ms

Algorithm
intervals
Results
110.0ms8000×pre80true
100.0ms8000×body80valid