Details

Time bar (total: 3.5s)

analyze335.0ms

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

sample36.0ms

Algorithm
intervals
Results
12.0ms191×body80valid
6.0ms22×body2560valid
4.0ms13×body5120valid
4.0ms17×body1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0228
1248
2248

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.6b

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

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
pow1
*-un-lft-identity
add-sqr-sqrt add-log-exp
add-cube-cbrt sqrt-div sqrt-prod
add-exp-log sqrt-pow1 flip3-+ add-cbrt-cube flip-+
pow1/2 associate-*r/
+-commutative rem-sqrt-square pow-prod-down sum-log distribute-lft-out
Counts
3 → 40
Calls
3 calls:
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)))

series35.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0247351
1781333
22656327
35001325

prune101.0ms

Filtered
42 candidates to 49 candidates (-16.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New44549
Fresh000
Picked011
Done000
Total44650

Merged error: 20.4b

Counts
50 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (exp (log (sqrt (+ (* re re) (* im im))))) re)))
5.7b
(exp (log (sqrt (+ (* re re) (* im im)))))
15.8b
(+ (exp (log (sqrt (+ (* re re) (* im im))))) re)
31.6b
(sqrt (+ (* re re) (* im im)))

rewrite47.0ms

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

series49.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(sqrt (* 2.0 (+ (exp (log (sqrt (+ (* re re) (* im im))))) re)))
7.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
8.0ms
(+ (exp (log (sqrt (+ (* re re) (* im im))))) re)
7.0ms
(sqrt (+ (* re re) (* im im)))

simplify85.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0293581
1851533
22761514
35001505

prune139.0ms

Filtered
56 candidates to 74 candidates (-32.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New69574
Fresh044
Picked101
Done011
Total701080

Merged error: 20.3b

Counts
80 → 10

localize6.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune29.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New000
Fresh088
Picked011
Done011
Total01010

Merged error: 20.3b

Counts
10 → 10

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (pow E (log (sqrt (+ (* re re) (* im im))))) re)))
6.2b
(pow E (log (sqrt (+ (* re re) (* im im)))))
15.8b
(+ (pow E (log (sqrt (+ (* re re) (* im im))))) re)
31.6b
(sqrt (+ (* re re) (* im im)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 *-un-lft-identity
10×add-sqr-sqrt
add-cube-cbrt
sqrt-prod
unpow-prod-up pow-unpow log-prod sqrt-div add-log-exp
add-exp-log
sqrt-pow1 flip3-+ add-cbrt-cube flip-+
unpow-prod-down pow1/2 log-pow
log-div associate-*r/ pow-exp pow-sub
+-commutative pow-to-exp rem-sqrt-square e-exp-1 pow-pow pow-prod-down sum-log distribute-lft-out sqr-pow
Counts
4 → 69
Calls
4 calls:
11.0ms
(sqrt (* 2.0 (+ (pow E (log (sqrt (+ (* re re) (* im im))))) re)))
6.0ms
(pow E (log (sqrt (+ (* re re) (* im im)))))
9.0ms
(+ (pow E (log (sqrt (+ (* re re) (* im im))))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))

series67.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(sqrt (* 2.0 (+ (pow E (log (sqrt (+ (* re re) (* im im))))) re)))
22.0ms
(pow E (log (sqrt (+ (* re re) (* im im)))))
16.0ms
(+ (pow E (log (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0450777
11437748
25001720

prune111.0ms

Filtered
61 candidates to 81 candidates (-32.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New77481
Fresh167
Picked101
Done022
Total791291

Merged error: 20.2b

Counts
91 → 12

regimes827.0ms

Accuracy

56.5% (9.2b remaining)

Error of 26.7b against oracle of 17.5b and baseline of 38.7b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03941
13941

end0.0ms

analyze314.0ms

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

sample967.0ms

Algorithm
intervals
Results
305.0ms6048×body80valid
199.0ms683×body2560valid
117.0ms485×body1280valid
100.0ms275×body5120valid
58.0ms287×body640valid
20.0ms144×body320valid
7.0ms78×body160valid

Profiling

Loading profile data...