Details

Time bar (total: 18.3s)

analyze2.3s

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14

sample66.0ms

Algorithm
intervals
Results
22.0ms202×body80valid
13.0ms22×body2560valid
6.0ms13×body1280valid
3.0msbody640valid
3.0msbody5120valid
2.0msbody320valid
0.0msbody160valid

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (12.0ms)

IterNodesCost
02323
12323

prune25.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 33.3b

Counts
2 → 1

localize47.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.5b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
0.9b
(+ (sqrt (+ (* re re) (* im im))) re)
23.5b
(sqrt (+ (* re re) (* im im)))

rewrite165.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-log-exp
*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt
add-exp-log flip3-+ sqrt-div sqrt-prod add-cbrt-cube flip-+
sqrt-pow1
+-commutative pow1/2 associate-*r/ sum-log
rem-sqrt-square pow-prod-down distribute-lft-out
Counts
4 → 51
Calls
4 calls:
35.0ms
(+ (* re re) (* im im))
60.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
55.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
13.0ms
(sqrt (+ (* re re) (* im im)))

series335.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(+ (* re re) (* im im))
179.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
62.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
46.0ms
(sqrt (+ (* re re) (* im im)))

simplify692.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (561.0ms)

IterNodesCost
049411043
149411043

prune1.2s

Filtered
53 candidates to 63 candidates (-18.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New56763
Fresh000
Picked101
Done000
Total57764

Merged error: 15.3b

Counts
64 → 7

localize144.0ms

Local error

Found 4 expressions with local error:

9.1b
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
23.5b
(sqrt (+ (* re re) (* im im)))
23.5b
(sqrt (+ (* re re) (* im im)))
23.5b
(sqrt (+ (* re re) (* im im)))

rewrite245.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
rem-sqrt-square sqrt-pow1 pow1/2
+-commutative sum-log
Counts
4 → 56
Calls
4 calls:
139.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
15.0ms
(sqrt (+ (* re re) (* im im)))
34.0ms
(sqrt (+ (* re re) (* im im)))
53.0ms
(sqrt (+ (* re re) (* im im)))

series219.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
58.0ms
(sqrt (+ (* re re) (* im im)))
38.0ms
(sqrt (+ (* re re) (* im im)))
54.0ms
(sqrt (+ (* re re) (* im im)))

simplify605.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (489.0ms)

IterNodesCost
05311928

prune1.1s

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New66268
Fresh156
Picked011
Done000
Total67875

Merged error: 15.3b

Counts
75 → 8

localize145.0ms

Local error

Found 4 expressions with local error:

12.5b
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (exp (log (sqrt (+ (* re re) (* im im))))))) re)
23.5b
(sqrt (+ (* re re) (* im im)))
23.5b
(sqrt (+ (* re re) (* im im)))
23.5b
(sqrt (+ (* re re) (* im im)))

rewrite239.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
rem-sqrt-square sqrt-pow1 pow1/2
+-commutative sum-log
Counts
4 → 56
Calls
4 calls:
144.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (exp (log (sqrt (+ (* re re) (* im im))))))) re)
28.0ms
(sqrt (+ (* re re) (* im im)))
19.0ms
(sqrt (+ (* re re) (* im im)))
45.0ms
(sqrt (+ (* re re) (* im im)))

series360.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (exp (log (sqrt (+ (* re re) (* im im))))))) re)
96.0ms
(sqrt (+ (* re re) (* im im)))
79.0ms
(sqrt (+ (* re re) (* im im)))
71.0ms
(sqrt (+ (* re re) (* im im)))

simplify659.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (521.0ms)

IterNodesCost
05149928

prune923.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New66268
Fresh156
Picked101
Done011
Total68876

Merged error: 15.3b

Counts
76 → 8

localize95.0ms

Local error

Found 4 expressions with local error:

23.5b
(sqrt (+ (* re re) (* im im)))
23.5b
(sqrt (+ (* re re) (* im im)))
23.5b
(sqrt (+ (* re re) (* im im)))
24.5b
(cbrt (+ (* re re) (* im im)))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity
pow1
sqrt-div
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 pow1/2
cbrt-div
pow1/3
Counts
4 → 58
Calls
4 calls:
12.0ms
(sqrt (+ (* re re) (* im im)))
21.0ms
(sqrt (+ (* re re) (* im im)))
18.0ms
(sqrt (+ (* re re) (* im im)))
16.0ms
(cbrt (+ (* re re) (* im im)))

series268.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (+ (* re re) (* im im)))
23.0ms
(sqrt (+ (* re re) (* im im)))
38.0ms
(sqrt (+ (* re re) (* im im)))
195.0ms
(cbrt (+ (* re re) (* im im)))

simplify121.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (94.0ms)

IterNodesCost
051761030

prune680.0ms

Filtered
58 candidates to 70 candidates (-20.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New67370
Fresh156
Picked101
Done011
Total69978

Merged error: 15.3b

Counts
78 → 9

regimes1.6s

Accuracy

57.8% (9.3b remaining)

Error of 26.2b against oracle of 16.9b and baseline of 39.0b

bsearch113.0ms

Steps
ItersRangePoint
7
1.2955668342311733e+65
2.8879612466963344e+66
2.858449367873232e+66
9
6.605843802129455e-301
4.6517981240605297e-293
6.700946626241751e-301

simplify11.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
051112
151112

end0.0ms

sample5.9s

Algorithm
intervals
Results
1.9s6052×body80valid
1.3s716×body2560valid
651.0ms501×body1280valid
574.0ms277×body5120valid
258.0ms268×body640valid
88.0ms124×body320valid
60.0ms62×body160valid

Profiling

Loading profile data...