Details

Time bar (total: 1.1s)

sample14.0ms

Algorithm
intervals
Results
4.0ms256×pre80true
3.0ms256×body80valid

simplify14.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 (0.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))

rewrite9.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:
8.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
43 → 43
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0189213
1902188
25001170

prune49.0ms

Filtered
43 candidates to 19 candidates (44.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New40343
Fresh000
Picked101
Done000
Total41344

Merged error: 0b

Counts
44 → 3

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/
11×add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-*l*
add-log-exp
distribute-rgt-in distribute-lft-in frac-add
associate-+l+ associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative distribute-rgt-out sum-log
Counts
3 → 66
Calls
3 calls:
6.0ms
(* a (+ a b))
7.0ms
(+ (* a (+ a b)) (* b (+ a b)))
6.0ms
(* b (+ a b))

series76.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(* a (+ a b))
22.0ms
(+ (* a (+ a b)) (* b (+ a b)))
28.0ms
(* b (+ a b))

simplify60.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0349386
11969333
25003331

prune124.0ms

Filtered
75 candidates to 50 candidates (66.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh202
Picked011
Done000
Total76278

Merged error: 0b

Counts
78 → 2

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

rewrite19.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:
12.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
6.0ms
(+ (* 2 (* a b)) (pow b 2))

series66.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
43.0ms
(+ (* 2 (* a b)) (pow b 2))

simplify134.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0163237
1744220
23894212
35001212

prune65.0ms

Filtered
31 candidates to 22 candidates (71.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New31031
Fresh000
Picked011
Done011
Total31233

Merged error: 0b

Counts
33 → 2

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

sample328.0ms

Algorithm
intervals
Results
107.0ms8000×pre80true
101.0ms8000×body80valid