Details

Time bar (total: 6.4s)

sample32.0ms

Algorithm
intervals
Results
14.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1117

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.9b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.6b
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
26.7b
(sqrt (+ (* re re) (* im im)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
22×log-pow
21×pow1
17×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2 associate-/l*
add-exp-log add-cbrt-cube add-log-exp
sqrt-div associate-/r*
flip3-+ sqrt-prod flip-+
log-div div-sub
cbrt-undiv +-commutative rem-sqrt-square frac-2neg div-exp clear-num sum-log div-inv
Counts
3 → 74
Calls
3 calls:
3.0ms
(+ (* re re) (* im im))
6.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
3.0ms
(sqrt (+ (* re re) (* im im)))

series29.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0259745
1894701
22872696
35001694

prune315.0ms

Filtered
83 candidates to 55 candidates (33.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New681583
Fresh000
Picked101
Done000
Total691584

Merged error: 6.1b

Counts
84 → 15

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (log (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im)))))) (log 10.0))
26.7b
(sqrt (+ (* re re) (* im im)))
26.7b
(sqrt (+ (* re re) (* im im)))
26.7b
(sqrt (+ (* re re) (* im im)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
126×pow1
94×log-pow
72×times-frac
60×sqrt-div
54×cbrt-div
45×pow1/3 pow-prod-up
34×add-sqr-sqrt
31×add-cube-cbrt *-un-lft-identity
30×flip3-+ pow-plus flip-+
28×frac-times
26×log-div div-sub
25×pow-prod-down
18×associate-/l*
15×pow-sqr
14×associate-*l/
10×pow2
sqrt-prod
associate-*r/
add-exp-log add-cbrt-cube
pow3
associate-/r* add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 177
Calls
4 calls:
23.0ms
(/ (log (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im)))))) (log 10.0))
3.0ms
(sqrt (+ (* re re) (* im im)))
3.0ms
(sqrt (+ (* re re) (* im im)))
3.0ms
(sqrt (+ (* re re) (* im im)))

series38.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ (log (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im)))))) (log 10.0))
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))
9.0ms
(sqrt (+ (* re re) (* im im)))

simplify148.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
04833563
19543472
230423077
350013047

prune789.0ms

Filtered
189 candidates to 91 candidates (51.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1836189
Fresh41014
Picked101
Done000
Total18816204

Merged error: 6.1b

Counts
204 → 16

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 3 (/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im)))))))
0.5b
(cbrt (sqrt (+ (* re re) (* im im))))
0.6b
(/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im))))))
26.7b
(sqrt (+ (* re re) (* im im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
172×times-frac
84×add-sqr-sqrt
83×add-cube-cbrt *-un-lft-identity
68×log-pow
52×pow1
29×associate-/r*
22×pow1/3
11×add-exp-log add-cbrt-cube
associate-/l*
cbrt-prod sqrt-prod div-inv
cbrt-undiv sqrt-div div-exp add-log-exp
cbrt-div frac-2neg flip3-+ clear-num flip-+
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
Counts
4 → 186
Calls
4 calls:
7.0ms
(/ 3 (/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im)))))))
4.0ms
(cbrt (sqrt (+ (* re re) (* im im))))
4.0ms
(/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im))))))
4.0ms
(sqrt (+ (* re re) (* im im)))

series100.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ 3 (/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im)))))))
25.0ms
(cbrt (sqrt (+ (* re re) (* im im))))
38.0ms
(/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im))))))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify89.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05952629
125802514
250022508

prune1.2s

Filtered
198 candidates to 133 candidates (32.8%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New18711198
Fresh7815
Picked101
Done000
Total19519214

Merged error: 6.0b

Counts
214 → 19

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (log 10.0) (log (* (* (cbrt (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (cbrt (sqrt (+ (* re re) (* im im)))))) (cbrt (cbrt (sqrt (+ (* re re) (* im im))))))))
26.7b
(sqrt (+ (* re re) (* im im)))
26.7b
(sqrt (+ (* re re) (* im im)))
26.7b
(sqrt (+ (* re re) (* im im)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
126×pow1
94×log-pow
72×times-frac
45×pow1/3 pow-prod-up
34×add-sqr-sqrt
31×add-cube-cbrt *-un-lft-identity
30×pow-plus
25×pow-prod-down
18×associate-/r*
15×pow-sqr
10×pow2
sqrt-prod
add-exp-log sqrt-div add-cbrt-cube
pow3
associate-/l* add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 151
Calls
4 calls:
18.0ms
(/ (log 10.0) (log (* (* (cbrt (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (cbrt (sqrt (+ (* re re) (* im im)))))) (cbrt (cbrt (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)))

series60.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ (log 10.0) (log (* (* (cbrt (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (cbrt (sqrt (+ (* re re) (* im im)))))) (cbrt (cbrt (sqrt (+ (* re re) (* im im))))))))
6.0ms
(sqrt (+ (* re re) (* im im)))
9.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify181.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 3 (161.0ms)

IterNodesCost
02922404
18182301
236871960
350011914

prune748.0ms

Filtered
163 candidates to 80 candidates (50.9%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New1612163
Fresh31518
Picked101
Done000
Total16517182

Merged error: 6.0b

Counts
182 → 17

regimes1.4s

Accuracy

54.9% (11.0b remaining)

Error of 18.7b against oracle of 7.7b and baseline of 32.2b

bsearch303.0ms

Steps
ItersRangePoint
6
1.3653351403313602e+73
1.322226463547956e+74
1.2936263172600616e+74
8
2.3994843959372772e-195
7.432573966013439e-193
2.676988169724194e-193
9
2.1736971780370254e-258
2.3440915256910505e-249
1.6077080132841703e-255
7
-8.271287922560956e-294
-4.441296914487316e-296
-2.3073780707255892e-294
8
-1.4022534510236193e-184
-1.2792908018706196e-188
-4.340783863196871e-187
10
-6.190653983166317e+156
-1.198940147728456e+144
-1.2150470868789148e+144

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05351
15351

end0.0ms

sample675.0ms

Algorithm
intervals
Results
453.0ms8000×body80valid

Profiling

Loading profile data...