Details

Time bar (total: 1.3s)

analyze3.0ms

Algorithm
search

sample16.0ms

Algorithm
intervals
Results
5.0ms256×pre80true
4.0ms256×body80valid

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

rewrite14.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:
13.0ms
(* (+ a b) (+ a b))

series4.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0189213
1902188
25001170

prune38.0ms

Filtered
19 candidates to 43 candidates (-126.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New40343
Fresh000
Picked101
Done000
Total41344

Merged error: 0b

Counts
44 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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:
5.0ms
(* b (+ a b))
5.0ms
(* a (+ a b))
7.0ms
(+ (* a (+ a b)) (* b (+ a b)))

series15.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0349386
11962333
25001331

prune67.0ms

Filtered
50 candidates to 75 candidates (-50.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh112
Picked011
Done000
Total75378

Merged error: 0b

Counts
78 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

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

series14.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0224237
11109205
25001190

prune35.0ms

Filtered
28 candidates to 43 candidates (-53.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New43043
Fresh011
Picked011
Done011
Total43346

Merged error: 0b

Counts
46 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b b) (* a b))
0.0b
(+ (* a a) (- (* b b) (* a b)))
0.3b
(* (+ a b) (+ (pow a 3) (pow b 3)))
0.5b
(/ (* (+ a b) (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube add-log-exp
10×add-sqr-sqrt
associate-*r*
frac-times add-cube-cbrt associate-/l/
pow1 distribute-lft-out
unpow-prod-down cube-prod associate-*r/ associate-*l* associate-*l/
times-frac associate-/r*
cbrt-undiv sub-neg associate-+r+ diff-log div-exp prod-exp sum-log associate-/r/ cbrt-unprod
+-commutative distribute-rgt-in associate-+r- flip3-- distribute-rgt-out-- frac-2neg distribute-lft-in pow-prod-down clear-num sum-cubes *-commutative flip-- div-inv associate-/l* unswap-sqr
Counts
4 → 94
Calls
4 calls:
3.0ms
(- (* b b) (* a b))
6.0ms
(+ (* a a) (- (* b b) (* a b)))
16.0ms
(* (+ a b) (+ (pow a 3) (pow b 3)))
22.0ms
(/ (* (+ a b) (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

series32.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* b b) (* a b))
5.0ms
(+ (* a a) (- (* b b) (* a b)))
9.0ms
(* (+ a b) (+ (pow a 3) (pow b 3)))
12.0ms
(/ (* (+ a b) (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

simplify92.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0521953
13046824
25002818

prune158.0ms

Filtered
76 candidates to 106 candidates (-39.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1060106
Fresh000
Picked011
Done022
Total1063109

Merged error: 0b

Counts
109 → 3

regimes74.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
0105
1105

end0.0ms

analyze2.0ms

Algorithm
search

sample427.0ms

Algorithm
intervals
Results
174.0ms8000×pre80true
131.0ms8000×body80valid

Profiling

Loading profile data...