Details

Time bar (total: 2.8s)

analyze350.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14

sample37.0ms

Algorithm
intervals
Results
9.0ms185×body80valid
8.0ms29×body2560valid
4.0ms16×body1280valid
3.0ms256×pre80true
2.0msbody5120valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (14.0ms)

IterNodesCost
026515
126515

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 41.6b

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

rewrite27.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 → 53
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)
6.0ms
(sqrt (+ (* re re) (* im im)))

series50.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* re re) (* im im))
24.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
14.0ms
(sqrt (+ (* re re) (* im im)))

simplify58.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04962739
14962739

prune129.0ms

Filtered
52 candidates to 65 candidates (-25.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New57865
Fresh000
Picked101
Done000
Total58866

Merged error: 12.5b

Counts
66 → 8

localize6.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune20.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New000
Fresh077
Picked011
Done000
Total088

Merged error: 12.5b

Counts
8 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
7.7b
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
31.3b
(sqrt (+ (* re re) (* im im)))
31.3b
(sqrt (+ (* re re) (* im im)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
51×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
flip3-+ flip-+
add-exp-log add-cbrt-cube add-log-exp
pow-prod-down pow-sqr
frac-times
rem-sqrt-square associate-*r/ associate-*l/
pow2 sub-neg flip3-- pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative flip-- cbrt-unprod difference-of-squares
Counts
4 → 125
Calls
4 calls:
15.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
17.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)))

simplify54.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
051121496

prune141.0ms

Filtered
72 candidates to 137 candidates (-90.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1352137
Fresh156
Picked011
Done011
Total1369145

Merged error: 12.5b

Counts
145 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
8.4b
(- (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
32.3b
(cbrt (+ (* re re) (* im im)))
32.3b
(cbrt (+ (* re re) (* im im)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×cbrt-prod add-cube-cbrt *-un-lft-identity
associate-*r*
sqrt-prod
pow1 add-exp-log cbrt-div add-cbrt-cube add-log-exp
flip3-+ associate-*l* flip-+ unswap-sqr
pow1/3 sqrt-div associate-*r/
sub-neg flip3-- diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod
Counts
4 → 65
Calls
4 calls:
8.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
8.0ms
(- (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series111.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
31.0ms
(- (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
23.0ms
(cbrt (+ (* re re) (* im im)))
23.0ms
(cbrt (+ (* re re) (* im im)))

simplify64.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
048851382
148851382

prune100.0ms

Filtered
59 candidates to 77 candidates (-30.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New75277
Fresh156
Picked101
Done022
Total77986

Merged error: 12.5b

Counts
86 → 9

regimes341.0ms

Accuracy

47.5% (9.9b remaining)

Error of 19.9b against oracle of 10.0b and baseline of 28.9b

bsearch142.0ms

Steps
ItersRangePoint
7
3.8693072355517387e+222
6.35112281394664e+223
5.373295860688904e+222
10
1.7294334581845802e+145
1.3746912497033864e+160
3.340129649314608e+154
9
3.4646616533555474e+55
1.6848632160816004e+62
3.517880606797647e+55
5
-2.3781848066453313e-134
-9.3423814158568e-135
-9.461282178597339e-135
8
-2.339039306760267e+115
-1.1136840603169105e+111
-1.5754040812105005e+115

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06993
16993

end0.0ms

sample1.1s

Algorithm
intervals
Results
293.0ms6002×body80valid
206.0ms701×body2560valid
115.0ms496×body1280valid
99.0ms8000×pre80true
96.0ms285×body5120valid
57.0ms303×body640valid
19.0ms141×body320valid
7.0ms72×body160valid

Profiling

Loading profile data...