Details

Time bar (total: 991.0ms)

sample18.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
3.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

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

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

series15.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0195218
1958194
25002180

prune55.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.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:
9.0ms
(* b (+ a b))
12.0ms
(* a (+ a b))
6.0ms
(+ (* a (+ a b)) (* b (+ a b)))

series78.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0373400
12125342
25003336

prune139.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

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

series46.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
02759
17752
235948
3184947
4500147

prune32.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
084
184

end0.0ms

sample331.0ms

Algorithm
intervals
Results
107.0ms8000×pre80true
101.0ms8000×body80valid