Details

Time bar (total: 3.4s)

sample22.0ms

Algorithm
intervals
Results
6.0ms240×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody2560valid
0.0msbody160valid
0.0msbody320valid

simplify332.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0205
1644
22034
33274
43394
53454
64134
75164
85614
97004
109094
1112714
1239074
1350014

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (* 2 (+ x y)) (+ x z))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
flip3-+ flip-+
associate-*r/ frac-add
sum-log
associate-+l+
pow1 add-exp-log +-commutative distribute-rgt-in add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity distribute-lft-in add-cbrt-cube
Counts
1 → 19
Calls
1 calls:
9.0ms
(+ (* 2 (+ x y)) (+ x z))

series30.0ms

Counts
1 → 3
Calls
1 calls:
30.0ms
(+ (* 2 (+ x y)) (+ x z))

simplify40.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0275199
11174190
25001185

prune102.0ms

Filtered
22 candidates to 17 candidates (77.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New17522
Fresh000
Picked011
Done000
Total17623

Merged error: 0.0b

Counts
23 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 2 (+ x y)) x)
0.0b
(+ (+ (* 2 (+ x y)) x) z)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
associate-+l+
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
distribute-rgt-in distribute-lft-in distribute-lft-out
Counts
2 → 27
Calls
2 calls:
6.0ms
(+ (* 2 (+ x y)) x)
9.0ms
(+ (+ (* 2 (+ x y)) x) z)

series62.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(+ (* 2 (+ x y)) x)
24.0ms
(+ (+ (* 2 (+ x y)) x) z)

simplify81.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0165183
1588174
22960170
35001170

prune108.0ms

Filtered
33 candidates to 22 candidates (66.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New31233
Fresh314
Picked101
Done011
Total35439

Merged error: 0.0b

Counts
39 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 2 (+ x y)) x)
0.0b
(+ (/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x)) z)
11.9b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
27.8b
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
10×add-log-exp
add-exp-log associate--l+ add-cbrt-cube
distribute-rgt-in distribute-lft-in difference-of-squares
pow1 flip3-- flip-- associate-/l*
associate-/r*
sub-neg diff-log div-sub associate-/r/ associate-/l/
cbrt-undiv +-commutative associate-+l- frac-2neg flip3-+ div-exp clear-num sum-log flip-+ div-inv distribute-lft-out
Counts
4 → 80
Calls
4 calls:
6.0ms
(- (* 2 (+ x y)) x)
21.0ms
(+ (/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x)) z)
16.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
20.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

series234.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(- (* 2 (+ x y)) x)
81.0ms
(+ (/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x)) z)
31.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
96.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

simplify66.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
03961106
11722960
25002920

prune388.0ms

Filtered
92 candidates to 75 candidates (81.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New88492
Fresh112
Picked101
Done011
Total90696

Merged error: 0.0b

Counts
96 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

11.9b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
11.9b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
27.8b
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))
27.8b
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in add-sqr-sqrt distribute-lft-in associate--l+ sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 66
Calls
4 calls:
12.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
15.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
12.0ms
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))
13.0ms
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))

series620.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
32.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
281.0ms
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))
276.0ms
(sqrt (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0189804
1731736
25001720

prune373.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh044
Picked011
Done011
Total78684

Merged error: 0.0b

Counts
84 → 6

regimes200.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

sample545.0ms

Algorithm
intervals
Results
207.0ms7415×body80valid
23.0ms184×body1280valid
17.0ms171×body640valid
9.0ms124×body320valid
8.0ms35×body2560valid
4.0ms82×body160valid

Profiling

Loading profile data...