Details

Time bar (total: 1.2s)

sample14.0ms

Algorithm
intervals
Results
3.0ms256×pre80true
3.0ms256×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

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

rewrite13.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 distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 40
Calls
1 calls:
11.0ms
(* (+ a b) (+ a b))

series15.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0189213
1902188
25001170

prune49.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

rewrite27.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
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out--
distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 78
Calls
3 calls:
4.0ms
(- (* a a) (* b b))
12.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))
9.0ms
(* (- (* a a) (* b b)) (+ a b))

series114.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0435731
12668647
25002647

prune176.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 2 (* a b)) (pow b 2))
0.0b
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-+r+ distribute-lft-out
Counts
2 → 25
Calls
2 calls:
6.0ms
(+ (* 2 (* a b)) (pow b 2))
13.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))

series67.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(+ (* 2 (* a b)) (pow b 2))
23.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))

simplify136.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0163237
1744220
23894212
35001212

prune72.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize6.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune2.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
0125
1125

end0.0ms

sample326.0ms

Algorithm
intervals
Results
104.0ms8000×pre80true
99.0ms8000×body80valid