Details

Time bar (total: 3.7s)

analyze331.0ms

Algorithm
search

sample36.0ms

Algorithm
intervals
Results
9.0ms200×body80valid
8.0ms22×body2560valid
3.0ms256×pre80true
3.0msbody5120valid
3.0ms12×body1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify6.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: 37.5b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.2b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
0.3b
(- (sqrt (+ (* re re) (* im im))) re)
30.0b
(sqrt (+ (* re re) (* im im)))

rewrite22.0ms

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

series45.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* re re) (* im im))
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)))

simplify104.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0260458
1982428
23667421
35001420

prune109.0ms

Filtered
52 candidates to 66 candidates (-26.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New60666
Fresh000
Picked011
Done000
Total60767

Merged error: 10.1b

Counts
67 → 7

localize6.0ms

Local error

Found 1 expressions with local error:

0.2b
(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)))

simplify48.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0131103
141799
2176596
3500294

prune45.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New14216
Fresh055
Picked011
Done011
Total14923

Merged error: 9.9b

Counts
23 → 9

localize7.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:
9.0ms
(sqrt (- im re))
14.0ms
(* (sqrt 2.0) (sqrt (- im re)))

simplify104.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0233330
1887325
24109315
35001315

prune87.0ms

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

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New55257
Fresh066
Picked101
Done022
Total561066

Merged error: 9.9b

Counts
66 → 10

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
37×sqrt-prod
29×add-sqr-sqrt
18×associate-*l*
16×pow1 *-un-lft-identity
12×add-cube-cbrt
10×add-exp-log pow-prod-down add-cbrt-cube
associate-*r*
sqrt-pow1 pow1/2 sqrt-div associate-*r/ unswap-sqr
prod-exp cbrt-unprod
flip3-- sqrt-unprod flip-- add-log-exp
*-commutative distribute-lft-out-- difference-of-squares
rem-sqrt-square
Counts
3 → 85
Calls
3 calls:
3.0ms
(sqrt (- im re))
12.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (sqrt (- im re))))
10.0ms
(* (sqrt (sqrt 2.0)) (sqrt (- im re)))

series43.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0332682
11369631
25001625

prune140.0ms

Filtered
64 candidates to 94 candidates (-46.9%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New93194
Fresh167
Picked011
Done022
Total9410104

Merged error: 9.9b

Counts
104 → 10

regimes733.0ms

Accuracy

26.8% (13.3b remaining)

Error of 23.8b against oracle of 10.5b and baseline of 28.7b

bsearch375.0ms

Steps
ItersRangePoint
7
1.0218398131559825e+19
1.7979170372181832e+20
1.7742219925316374e+20
9
1.626372100000409e-52
2.7075715826007638e-45
3.366949732028571e-47
6
2.258226228615247e-191
1.602543693372322e-190
1.5284206807811413e-190
9
1.3200003097253953e-277
9.764018879466675e-272
3.823959043091904e-276

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05843
16043
26043

end0.0ms

analyze331.0ms

Algorithm
search

sample1.0s

Algorithm
intervals
Results
278.0ms6020×body80valid
195.0ms712×body2560valid
108.0ms482×body1280valid
96.0ms274×body5120valid
95.0ms8000×pre80true
48.0ms279×body640valid
21.0ms164×body320valid
6.0ms69×body160valid

Profiling

Loading profile data...