Details

Time bar (total: 1.2s)

sample15.0ms

Algorithm
intervals
Results
4.0ms256×pre80true
3.0ms256×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1273
2663
31133
41453
51653
61823
71843
81843

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

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

series17.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0195218
1958194
25002180

prune61.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
frac-times flip3-- flip-- associate-/l/
add-cube-cbrt
flip3-+ flip-+
pow1 times-frac associate-/r* add-log-exp
associate-*r/ associate-*r* associate-*l* associate-*l/ difference-of-squares
expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out--
distribute-rgt-in sub-neg frac-2neg distribute-lft-in fma-neg diff-log prod-diff pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 86
Calls
3 calls:
3.0ms
(- (* a a) (* b b))
12.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))
18.0ms
(* (- (* a a) (* b b)) (+ a b))

series118.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- (* a a) (* b b))
42.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))
41.0ms
(* (- (* a a) (* b b)) (+ a b))

simplify106.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
0453763
12675673
25003661

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

series47.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (13.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

sample319.0ms

Algorithm
intervals
Results
107.0ms8000×pre80true
97.0ms8000×body80valid