Details

Time bar (total: 1.8s)

sample15.0ms

Algorithm
intervals
Results
4.0ms256×pre80true
3.0ms256×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

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

rewrite10.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 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 42
Calls
1 calls:
8.0ms
(* (+ a b) (+ a b))

series15.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0187221
1883196
25002178

prune42.0ms

Filtered
45 candidates to 20 candidates (55.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42345
Fresh000
Picked011
Done000
Total42446

Merged error: 0b

Counts
46 → 4

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
569×add-sqr-sqrt
265×*-un-lft-identity
263×associate-*l*
244×difference-of-squares
215×times-frac
96×swap-sqr
87×*-commutative unswap-sqr
84×distribute-lft-out--
67×add-cube-cbrt
43×associate-/l*
28×associate-*r*
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/
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 → 390
Calls
3 calls:
17.0ms
(- (* a a) (* b b))
26.0ms
(* (- (* a a) (* b b)) (+ a b))
42.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))

series122.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(- (* a a) (* b b))
45.0ms
(* (- (* a a) (* b b)) (+ a b))
45.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))

simplify175.0ms

Algorithm
egg-herbie
Counts
399 → 399
Iterations

Useful iterations: 2 (130.0ms)

IterNodesCost
09173703
149043317
250013308

prune312.0ms

Filtered
399 candidates to 144 candidates (63.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New3981399
Fresh112
Picked101
Done101
Total4012403

Merged error: 0b

Counts
403 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
add-log-exp
distribute-lft-out
sum-log
+-commutative associate-*r*
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt associate-+r+ distribute-rgt-out flip3-+ associate-*l* add-cbrt-cube flip-+ unpow2
Counts
2 → 32
Calls
2 calls:
26.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
18.0ms
(+ (* 2 (* a b)) (pow b 2))

series72.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
48.0ms
(+ (* 2 (* a b)) (pow b 2))

simplify183.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0172264
1746245
24107237
35001237

prune58.0ms

Filtered
38 candidates to 24 candidates (36.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh101
Picked011
Done000
Total38240

Merged error: 0b

Counts
40 → 2

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt associate-*r*
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ distribute-lft-out
flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 26
Calls
1 calls:
10.0ms
(* a (+ (* 2 b) a))

series42.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0141123
1687109
23352108
35001108

prune33.0ms

Filtered
29 candidates to 17 candidates (41.4%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New29029
Fresh000
Picked011
Done011
Total29231

Merged error: 0b

Counts
31 → 2

regimes27.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1136

end0.0ms

sample360.0ms

Algorithm
intervals
Results
119.0ms8000×pre80true
106.0ms8000×body80valid