Details

Time bar (total: 1.5s)

sample19.0ms

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

prune3.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0189213
1902188
25001170

prune43.0ms

Filtered
19 candidates to 43 candidates (-126.3%)
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 b) (- a b))
0.5b
(* (- (* a a) (* b b)) (- (* a a) (* b b)))
0.5b
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
24×flip3-- flip--
23×add-sqr-sqrt
19×add-exp-log add-cbrt-cube
17×pow1
16×frac-times
11×add-cube-cbrt swap-sqr
associate-*r* associate-*l*
associate-*r/ associate-*l/ associate-/r/ associate-/l/ difference-of-squares
prod-exp cbrt-unprod distribute-lft-out--
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in div-exp
add-log-exp
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up unswap-sqr
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
3 → 122
Calls
3 calls:
11.0ms
(* (- a b) (- a b))
10.0ms
(* (- (* a a) (* b b)) (- (* a a) (* b b)))
17.0ms
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))

series24.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* (- a b) (- a b))
9.0ms
(* (- (* a a) (* b b)) (- (* a a) (* b b)))
11.0ms
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))

simplify126.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
05261265
134061005
25001980

prune110.0ms

Filtered
76 candidates to 131 candidates (-72.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1301131
Fresh112
Picked011
Done011
Total1314135

Merged error: 0b

Counts
135 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt sum-log
associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ flip-+
associate-+r+ associate-*r* *-commutative distribute-lft-out
Counts
3 → 43
Calls
3 calls:
5.0ms
(* 2 (* a b))
9.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
6.0ms
(+ (* 2 (* a b)) (pow b 2))

series18.0ms

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

simplify168.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0226299
1954276
24949268
35002268

prune72.0ms

Filtered
33 candidates to 52 candidates (-57.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New51152
Fresh101
Picked011
Done022
Total52456

Merged error: 0b

Counts
56 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series13.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0214233
11073216
25001216

prune50.0ms

Filtered
28 candidates to 41 candidates (-46.4%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New41041
Fresh000
Picked011
Done033
Total41445

Merged error: 0b

Counts
45 → 4

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

end0.0ms

sample498.0ms

Algorithm
intervals
Results
172.0ms8000×pre80true
126.0ms8000×body80valid

Profiling

Loading profile data...