Details

Time bar (total: 2.0s)

sample17.0ms

Algorithm
intervals
Results
7.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))
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite7.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:
3.0ms
(+ (* re re) (* im im))
3.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)))

simplify27.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05098295

prune53.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New27532
Fresh000
Picked011
Done000
Total27633

Merged error: 7.3b

Counts
33 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
29.2b
(sqrt (+ (* re re) (* im im)))
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite32.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:
6.0ms
(+ (* re re) (* im im))
15.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
3.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series22.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
053001445

prune105.0ms

Filtered
69 candidates to 136 candidates (-97.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1351136
Fresh134
Picked011
Done011
Total1366142

Merged error: 7.3b

Counts
142 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sqrt (sqrt (+ (* re re) (* im im)))))
1.0b
(pow (cbrt (sqrt (sqrt (+ (* re re) (* im im))))) 5)
29.2b
(sqrt (+ (* re re) (* im im)))
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-prod
18×cbrt-prod
16×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
12×unpow-prod-down
sqrt-div
pow1
add-exp-log
add-cbrt-cube add-log-exp
pow-unpow flip3-+ flip-+
rem-sqrt-square cbrt-div pow-pow sqrt-pow1 pow1/2 pow1/3
pow-to-exp pow-exp sqr-pow
Counts
4 → 76
Calls
4 calls:
4.0ms
(cbrt (sqrt (sqrt (+ (* re re) (* im im)))))
6.0ms
(pow (cbrt (sqrt (sqrt (+ (* re re) (* im im))))) 5)
3.0ms
(sqrt (+ (* re re) (* im im)))
3.0ms
(sqrt (+ (* re re) (* im im)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt (sqrt (sqrt (+ (* re re) (* im im)))))
38.0ms
(pow (cbrt (sqrt (sqrt (+ (* re re) (* im im))))) 5)
6.0ms
(sqrt (+ (* re re) (* im im)))
5.0ms
(sqrt (+ (* re re) (* im im)))

simplify35.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
049161153
149161153

prune117.0ms

Filtered
65 candidates to 88 candidates (-35.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh033
Picked101
Done022
Total88694

Merged error: 7.3b

Counts
94 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

5.0b
(pow (cbrt (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt 5))
6.1b
(pow (pow (cbrt (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt 5)) (sqrt 5))
29.2b
(sqrt (+ (* re re) (* im im)))
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
40×unpow-prod-down
30×sqrt-prod
21×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
18×cbrt-prod
12×pow-unpow
pow1 add-exp-log
pow-exp
sqrt-div add-cbrt-cube add-log-exp
pow-to-exp pow-pow sqr-pow
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
pow1/3
Counts
4 → 95
Calls
4 calls:
7.0ms
(pow (cbrt (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt 5))
9.0ms
(pow (pow (cbrt (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt 5)) (sqrt 5))
4.0ms
(sqrt (+ (* re re) (* im im)))
3.0ms
(sqrt (+ (* re re) (* im im)))

series103.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(pow (cbrt (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt 5))
55.0ms
(pow (pow (cbrt (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt 5)) (sqrt 5))
5.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify44.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049041779
149041779

prune192.0ms

Filtered
77 candidates to 107 candidates (-39.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh033
Picked101
Done022
Total1076113

Merged error: 7.3b

Counts
113 → 6

regimes493.0ms

Accuracy

58.2% (9.9b remaining)

Error of 17.9b against oracle of 8.0b and baseline of 31.6b

bsearch44.0ms

Steps
ItersRangePoint
5
4.9831912547538184e+91
1.3655005271697367e+92
1.2882041961296455e+92
9
-7.676761036242019e-305
3.3654627424431923e-307
-2.7978321376001454e-306
8
-9.68551370084772e-266
-3.1195446902457074e-268
-4.786656859853452e-266
7
-3.8095654050866245e+140
-5.961519079968264e+138
-9.340803523077166e+139

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02036
12036

end0.0ms

sample443.0ms

Algorithm
intervals
Results
233.0ms8000×body80valid

Profiling

Loading profile data...