Details

Time bar (total: 1.3s)

sample18.0ms

Algorithm
intervals
Results
5.0ms256×pre80true
4.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

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

series4.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0189213
1902188
25001170

prune43.0ms

Filtered
43 candidates to 19 candidates (55.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh000
Picked011
Done000
Total40444

Merged error: 0b

Counts
44 → 4

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

rewrite26.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:
3.0ms
(- (* a a) (* b b))
12.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))
9.0ms
(* (- (* a a) (* b b)) (+ a b))

series26.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(- (* a a) (* b b))
12.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))
9.0ms
(* (- (* a a) (* b b)) (+ a b))

simplify73.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0435731
12668647
25002647

prune85.0ms

Filtered
87 candidates to 64 candidates (26.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New86187
Fresh112
Picked101
Done011
Total88391

Merged error: 0b

Counts
91 → 3

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

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:
9.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
7.0ms
(+ (* 2 (* a b)) (pow b 2))

series14.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
8.0ms
(+ (* 2 (* a b)) (pow b 2))

simplify143.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0163237
1744220
23894212
35001212

prune50.0ms

Filtered
31 candidates to 22 candidates (29.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New30131
Fresh101
Picked011
Done101
Total32234

Merged error: 0b

Counts
34 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series12.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0212233
11062216
25001216

prune47.0ms

Filtered
41 candidates to 28 candidates (31.7%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh000
Picked011
Done011
Total41243

Merged error: 0b

Counts
43 → 2

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

sample517.0ms

Algorithm
intervals
Results
173.0ms8000×pre80true
133.0ms8000×body80valid

Profiling

Loading profile data...