Details

Time bar (total: 3.3s)

analyze346.0ms

Algorithm
search

sample38.0ms

Algorithm
intervals
Results
9.0ms189×body80valid
8.0ms28×body2560valid
4.0ms17×body1280valid
3.0ms256×pre80true
2.0msbody5120valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0178
1248
2308
3358
4358

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.7b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
0.7b
(- (sqrt (+ (* re re) (* im im))) re)
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1
*-un-lft-identity
sqrt-prod add-log-exp
add-cube-cbrt sqrt-div
add-exp-log sqrt-pow1 add-cbrt-cube
flip3-- pow1/2 associate-*r/ flip-- difference-of-squares
sub-neg rem-sqrt-square flip3-+ diff-log pow-prod-down flip-+ distribute-lft-out--
Counts
3 → 43
Calls
3 calls:
8.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))

series38.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
7.0ms
(sqrt (+ (* re re) (* im im)))

simplify90.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0234381
1812362
23077355
35001353

prune101.0ms

Filtered
42 candidates to 52 candidates (-23.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New46652
Fresh000
Picked101
Done000
Total47653

Merged error: 10.6b

Counts
53 → 6

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(sqrt (* 2.0 (- im re)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
Counts
1 → 13
Calls
1 calls:
4.0ms
(sqrt (* 2.0 (- im re)))

series15.0ms

Counts
1 → 3
Calls
1 calls:
14.0ms
(sqrt (* 2.0 (- im re)))

simplify51.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0131101
142399
2179596
3500194

prune49.0ms

Filtered
13 candidates to 16 candidates (-23.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New13316
Fresh055
Picked011
Done000
Total13922

Merged error: 10.5b

Counts
22 → 9

localize7.0ms

Local error

Found 1 expressions with local error:

0.4b
(* (sqrt 2.0) (sqrt (- im re)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×sqrt-prod
associate-*r*
*-un-lft-identity
associate-*l*
pow1 add-cube-cbrt
unswap-sqr
add-exp-log pow-prod-down add-cbrt-cube
sqrt-pow1 pow1/2 sqrt-div associate-*r/
flip3-- sqrt-unprod prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 34
Calls
1 calls:
8.0ms
(* (sqrt 2.0) (sqrt (- im re)))

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.0ms
(* (sqrt 2.0) (sqrt (- im re)))

simplify90.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0183235
1725231
23552224
35001224

prune66.0ms

Filtered
23 candidates to 37 candidates (-60.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New35237
Fresh167
Picked101
Done011
Total37946

Merged error: 10.5b

Counts
46 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (- im re)))
0.2b
(* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re))))
0.2b
(* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re))))
0.4b
(* (* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re)))) (* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re)))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
94×sqrt-prod
89×pow1
84×sqrt-pow1
63×pow-prod-down
62×add-sqr-sqrt
42×pow1/2
36×sqrt-div
24×*-un-lft-identity
23×associate-*r*
20×add-exp-log add-cbrt-cube
19×associate-*l*
18×add-cube-cbrt associate-*r/ unswap-sqr
12×pow-prod-up
10×prod-exp cbrt-unprod
flip3-- flip--
pow-sqr
sqrt-unprod
frac-times add-log-exp
*-commutative distribute-lft-out-- difference-of-squares
rem-sqrt-square pow-plus associate-*l/
pow2 swap-sqr rem-square-sqrt
Counts
4 → 177
Calls
4 calls:
6.0ms
(sqrt (sqrt (- im re)))
11.0ms
(* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re))))
11.0ms
(* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re))))
21.0ms
(* (* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re)))) (* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re)))))

series119.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(sqrt (sqrt (- im re)))
40.0ms
(* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re))))
39.0ms
(* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re))))
15.0ms
(* (* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re)))) (* (sqrt (sqrt 2.0)) (sqrt (sqrt (- im re)))))

simplify71.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
04811538
119791343
250011316

prune223.0ms

Filtered
100 candidates to 189 candidates (-89.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1881189
Fresh077
Picked011
Done011
Total18810198

Merged error: 10.5b

Counts
198 → 10

regimes269.0ms

Accuracy

35.7% (12.4b remaining)

Error of 22.6b against oracle of 10.2b and baseline of 29.5b

bsearch187.0ms

Steps
ItersRangePoint
9
5.66384215093262e+231
6.117919313657978e+239
5.744633498517086e+231
7
1.5673988647738082e+34
9.202414181702444e+35
5.407517815502927e+35
10
3.588457177817663e-85
1.7032645509437796e-75
5.881623620230629e-84
8
-2.0925057042435312e+22
-7.734737574210652e+18
-8.043609553613497e+18

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04823
14823

end0.0ms

analyze341.0ms

Algorithm
search

sample1.1s

Algorithm
intervals
Results
298.0ms6009×body80valid
215.0ms724×body2560valid
123.0ms497×body1280valid
109.0ms297×body5120valid
97.0ms8000×pre80true
51.0ms272×body640valid
18.0ms131×body320valid
7.0ms70×body160valid

Profiling

Loading profile data...