Details

Time bar (total: 1.7s)

sample14.0ms

Algorithm
intervals
Results
4.0ms256×pre80true
3.0ms256×body80valid

simplify28.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 (100.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))

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

series16.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0193226
1937202
25001188

prune46.0ms

Filtered
47 candidates to 22 candidates (53.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh000
Picked011
Done000
Total44448

Merged error: 0b

Counts
48 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* a a) (* b b))
0.3b
(* (- (* a a) (* b b)) (+ a b))
0.3b
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
786×add-sqr-sqrt
420×*-un-lft-identity
356×associate-*l*
244×difference-of-squares
225×prod-diff
222×add-cube-cbrt
215×times-frac
189×swap-sqr
121×associate-*r*
118×*-commutative unswap-sqr
84×distribute-lft-out--
43×associate-/l*
15×fma-neg
10×add-exp-log add-cbrt-cube
frac-times flip3-- flip-- associate-/l/
distribute-lft-out
flip3-+ flip-+
pow1 associate-/r* add-log-exp
associate-*r/ associate-*l/
expm1-log1p-u log1p-expm1-u
cbrt-undiv +-commutative distribute-rgt-in distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod
sub-neg frac-2neg diff-log pow-prod-down clear-num div-inv
Counts
3 → 636
Calls
3 calls:
27.0ms
(- (* a a) (* b b))
27.0ms
(* (- (* a a) (* b b)) (+ a b))
42.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))

series142.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (* a a) (* b b))
44.0ms
(* (- (* a a) (* b b)) (+ a b))
58.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))

simplify120.0ms

Algorithm
egg-herbie
Counts
645 → 645
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
013846924
150026024

prune399.0ms

Filtered
645 candidates to 173 candidates (73.2%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New6441645
Fresh202
Picked101
Done101
Total6481649

Merged error: 0b

Counts
649 → 1

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

series52.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (18.0ms)

IterNodesCost
02759
17752
235448
3183747
4500147

prune228.0ms

Filtered
13 candidates to 11 candidates (15.4%)
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

sample342.0ms

Algorithm
intervals
Results
116.0ms8000×pre80true
103.0ms8000×body80valid