Details

Time bar (total: 2.9s)

analyze331.0ms

Algorithm
search

sample38.0ms

Algorithm
intervals
Results
9.0ms187×body80valid
8.0ms31×body2560valid
5.0ms15×body5120valid
3.0ms256×pre80true
2.0ms11×body640valid
2.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0178
1248
2308
3358
4358

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.2b

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.6b
(- (sqrt (+ (* re re) (* im im))) re)
29.5b
(sqrt (+ (* re re) (* im im)))

rewrite18.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:
7.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
6.0ms
(- (sqrt (+ (* re re) (* im im))) re)
3.0ms
(sqrt (+ (* re re) (* im im)))

series40.0ms

Counts
3 → 9
Calls
3 calls:
26.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)))

simplify88.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0234381
1812362
23077355
35001353

prune96.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh000
Picked101
Done000
Total48553

Merged error: 10.8b

Counts
53 → 5

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

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

prune40.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New14216
Fresh044
Picked011
Done000
Total14721

Merged error: 10.8b

Counts
21 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

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

series22.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(sqrt (- im re))
14.0ms
(* (sqrt 2.0) (sqrt (- im re)))

simplify105.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0233330
1887325
24109315
35001315

prune78.0ms

Filtered
38 candidates to 57 candidates (-50.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New56157
Fresh055
Picked101
Done011
Total57764

Merged error: 10.8b

Counts
64 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (sqrt (- im re)))
0.0b
(sqrt (- im re))
0.3b
(* (sqrt 2.0) (exp (log (sqrt (- im re)))))
3.4b
(exp (log (sqrt (- im re))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
28×log-prod sqrt-prod
23×*-un-lft-identity
20×exp-sum
15×add-cube-cbrt
11×pow1 associate-*r*
sqrt-div
add-exp-log log-div exp-prod associate-*l* log-pow add-cbrt-cube unswap-sqr
flip3-- exp-diff flip-- distribute-lft-out-- add-log-exp difference-of-squares
sqrt-pow1 pow1/2
associate-*r/
rem-sqrt-square rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log
Counts
4 → 98
Calls
4 calls:
4.0ms
(log (sqrt (- im re)))
3.0ms
(sqrt (- im re))
11.0ms
(* (sqrt 2.0) (exp (log (sqrt (- im re)))))
5.0ms
(exp (log (sqrt (- im re))))

series43.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(log (sqrt (- im re)))
9.0ms
(sqrt (- im re))
14.0ms
(* (sqrt 2.0) (exp (log (sqrt (- im re)))))
9.0ms
(exp (log (sqrt (- im re))))

simplify42.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0336677
11169644
25002627

prune122.0ms

Filtered
75 candidates to 110 candidates (-46.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh055
Picked101
Done011
Total1107117

Merged error: 10.8b

Counts
117 → 7

regimes228.0ms

Accuracy

49.5% (9.8b remaining)

Error of 19.8b against oracle of 10.0b and baseline of 29.4b

bsearch101.0ms

Steps
ItersRangePoint
7
3.96539182610327e+68
1.7538469461741618e+70
4.011156546523294e+68
9
-2.9760163367020185e-152
-6.818196401682429e-158
-6.884653135136848e-158
8
-1.354317111332043e+114
-1.3139032390193991e+110
-1.29577552930655e+113

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05033
15033

end0.0ms

analyze324.0ms

Algorithm
search

sample1.0s

Algorithm
intervals
Results
284.0ms6031×body80valid
198.0ms703×body2560valid
108.0ms470×body1280valid
94.0ms8000×pre80true
93.0ms273×body5120valid
55.0ms286×body640valid
20.0ms148×body320valid
8.0ms89×body160valid

Profiling

Loading profile data...