Details

Time bar (total: 1.9s)

analyze87.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
56.2%43.7%0.1%7
65.6%34.3%0.1%8
76.5%23.4%0.1%9
82%18%0.1%10
87.8%12.1%0.1%11
90.7%9.2%0.1%12
93.8%6.1%0.1%13
95.3%4.6%0.1%14

sample17.0ms

Algorithm
intervals
Results
10.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
178

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* re re) (* im im))
28.9b
(sqrt (+ (* re re) (* im im)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 26
Calls
2 calls:
4.0ms
(+ (* re re) (* im im))
4.0ms
(sqrt (+ (* re re) (* im im)))

series11.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (* re re) (* im im))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify52.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04909295
14909295

prune46.0ms

Filtered
25 candidates to 32 candidates (-28.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New28432
Fresh000
Picked011
Done000
Total28533

Merged error: 7.1b

Counts
33 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
5.6b
(exp (log (sqrt (+ (* re re) (* im im)))))
28.9b
(sqrt (+ (* re re) (* im im)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 log-prod exp-prod exp-sum sqrt-prod
add-log-exp
sqrt-div
add-exp-log flip3-+ log-pow add-cbrt-cube flip-+
log-div sqrt-pow1 pow1/2 exp-diff
+-commutative rem-sqrt-square sum-log rem-exp-log
Counts
3 → 48
Calls
3 calls:
4.0ms
(+ (* re re) (* im im))
5.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
4.0ms
(sqrt (+ (* re re) (* im im)))

series17.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* re re) (* im im))
6.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify57.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04933528
14933528

prune77.0ms

Filtered
39 candidates to 57 candidates (-46.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New54357
Fresh033
Picked101
Done011
Total55762

Merged error: 7.1b

Counts
62 → 7

localize23.0ms

Local error

Found 4 expressions with local error:

5.8b
(pow (pow (exp (cbrt (log (sqrt (+ (* re re) (* im im)))))) (cbrt (log (sqrt (+ (* re re) (* im im)))))) (cbrt (log (sqrt (+ (* re re) (* im im))))))
28.9b
(sqrt (+ (* re re) (* im im)))
28.9b
(sqrt (+ (* re re) (* im im)))
28.9b
(sqrt (+ (* re re) (* im im)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×unpow-prod-down
pow1 pow-unpow sqrt-prod
cbrt-prod sqrt-div
add-exp-log
sqrt-pow1 pow1/2 pow-exp add-cbrt-cube add-log-exp
rem-sqrt-square flip3-+ log-pow flip-+
pow-to-exp sqr-pow
pow-pow
Counts
4 → 74
Calls
4 calls:
5.0ms
(pow (pow (exp (cbrt (log (sqrt (+ (* re re) (* im im)))))) (cbrt (log (sqrt (+ (* re re) (* im im)))))) (cbrt (log (sqrt (+ (* re re) (* im im))))))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series100.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(pow (pow (exp (cbrt (log (sqrt (+ (* re re) (* im im)))))) (cbrt (log (sqrt (+ (* re re) (* im im)))))) (cbrt (log (sqrt (+ (* re re) (* im im))))))
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify56.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050551600

prune124.0ms

Filtered
65 candidates to 86 candidates (-32.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh055
Picked101
Done011
Total86793

Merged error: 7.1b

Counts
93 → 7

localize35.0ms

Local error

Found 4 expressions with local error:

28.9b
(sqrt (+ (* re re) (* im im)))
28.9b
(sqrt (+ (* re re) (* im im)))
28.9b
(sqrt (+ (* re re) (* im im)))
28.9b
(sqrt (+ (* re re) (* im im)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series23.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04905656
14905656

prune115.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh055
Picked011
Done011
Total72779

Merged error: 7.1b

Counts
79 → 7

regimes457.0ms

Accuracy

56.9% (10.0b remaining)

Error of 18.0b against oracle of 8.0b and baseline of 31.2b

bsearch46.0ms

Steps
ItersRangePoint
7
2.3631846106681864e+114
3.80364427233004e+116
1.5992908826155528e+115
9
3.624302274588602e-256
4.536143968007191e-251
1.259166188322571e-253
9
-1.2808825532715671e-204
-2.6746020280710986e-211
-5.274722593747874e-207
9
-9.70545773745416e+122
-1.2222536194530446e+118
-7.520886186082616e+119

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02736
12736

end0.0ms

sample397.0ms

Algorithm
intervals
Results
256.0ms8000×body80valid

Profiling

Loading profile data...