Details

Time bar (total: 1.5s)

sample20.0ms

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

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

series14.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0195218
1958194
25002180

prune53.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b b) (* a b))
0.0b
(+ (* a a) (- (* b b) (* a b)))
0.3b
(* (+ a b) (+ (pow a 3) (pow b 3)))
0.5b
(/ (* (+ a b) (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube add-log-exp
10×add-sqr-sqrt
associate-*r*
frac-times add-cube-cbrt associate-/l/
pow1 distribute-lft-out
expm1-log1p-u unpow-prod-down cube-prod associate-*r/ associate-*l* associate-*l/ log1p-expm1-u
associate-+r+ times-frac associate-/r*
cbrt-undiv sub-neg diff-log div-exp prod-diff prod-exp sum-log associate-/r/ cbrt-unprod
+-commutative distribute-rgt-in associate-+r- flip3-- distribute-rgt-out-- fma-def frac-2neg distribute-lft-in fma-neg pow-prod-down clear-num sum-cubes *-commutative flip-- div-inv associate-/l* unswap-sqr
Counts
4 → 106
Calls
4 calls:
3.0ms
(- (* b b) (* a b))
7.0ms
(+ (* a a) (- (* b b) (* a b)))
62.0ms
(* (+ a b) (+ (pow a 3) (pow b 3)))
33.0ms
(/ (* (+ a b) (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

series156.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (* b b) (* a b))
21.0ms
(+ (* a a) (- (* b b) (* a b)))
51.0ms
(* (+ a b) (+ (pow a 3) (pow b 3)))
55.0ms
(/ (* (+ a b) (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

simplify88.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
05561008
13182875
25001858

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

series49.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (19.0ms)

IterNodesCost
02759
17752
235948
3184947
4500147

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

sample491.0ms

Algorithm
intervals
Results
185.0ms8000×pre80true
178.0ms8000×body80valid