Details

Time bar (total: 2.7s)

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

sample33.0ms

Algorithm
intervals
Results
9.0ms185×body80valid
6.0ms29×body1280valid
6.0ms23×body2560valid
2.0msbody5120valid
1.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02215
12215

prune6.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: 38.5b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.0b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
0.7b
(+ (sqrt (+ (* re re) (* im im))) re)
26.6b
(sqrt (+ (* re re) (* im im)))

rewrite24.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:
4.0ms
(+ (* re re) (* im im))
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)))

series43.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* re re) (* im im))
22.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
10.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify28.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
05008690

prune128.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New55863
Fresh000
Picked101
Done000
Total56864

Merged error: 15.9b

Counts
64 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
9.0b
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
26.6b
(sqrt (+ (* re re) (* im im)))
26.6b
(sqrt (+ (* re re) (* im im)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube add-log-exp
pow-prod-down pow-sqr
frac-times
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 124
Calls
4 calls:
16.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
18.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series25.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
7.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify70.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049441470
149441470

prune149.0ms

Filtered
72 candidates to 136 candidates (-88.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1342136
Fresh167
Picked011
Done000
Total1359144

Merged error: 15.9b

Counts
144 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

11.2b
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (* (pow (sqrt (cbrt (sqrt (+ (* re re) (* im im))))) 4) (cbrt (sqrt (+ (* re re) (* im im))))))) re)
26.6b
(sqrt (+ (* re re) (* im im)))
26.6b
(sqrt (+ (* re re) (* im im)))
26.6b
(sqrt (+ (* re re) (* im im)))

rewrite37.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:
23.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (* (pow (sqrt (cbrt (sqrt (+ (* re re) (* im im))))) 4) (cbrt (sqrt (+ (* re re) (* im im))))))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series27.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (* (pow (sqrt (cbrt (sqrt (+ (* re re) (* im im))))) 4) (cbrt (sqrt (+ (* re re) (* im im))))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
7.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify61.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
05058634

prune143.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh077
Picked011
Done011
Total68977

Merged error: 15.9b

Counts
77 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

11.9b
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
26.6b
(sqrt (+ (* re re) (* im im)))
26.6b
(sqrt (+ (* re re) (* im im)))
26.6b
(sqrt (+ (* re re) (* im im)))

rewrite37.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:
22.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series25.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify52.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05310612

prune89.0ms

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

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New68068
Fresh066
Picked011
Done022
Total68977

Merged error: 15.9b

Counts
77 → 9

regimes301.0ms

Accuracy

56.8% (9.4b remaining)

Error of 26.5b against oracle of 17.0b and baseline of 38.8b

bsearch39.0ms

Steps
ItersRangePoint
6
7.542386821577791e+55
3.2761226388050753e+56
3.2434479786895233e+56
6
7.772082469310375e-169
3.9082594542763936e-168
1.183448627979885e-168
10
1.2142551281738987e-243
1.2758798207169443e-230
1.974323554718475e-232

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05874
15874

end0.0ms

sample902.0ms

Algorithm
intervals
Results
286.0ms5979×body80valid
191.0ms709×body2560valid
114.0ms505×body1280valid
87.0ms272×body5120valid
55.0ms309×body640valid
20.0ms151×body320valid
7.0ms75×body160valid

Profiling

Loading profile data...