Details

Time bar (total: 6.1s)

sample19.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1117

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.0b

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

rewrite16.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:
4.0ms
(+ (* re re) (* im im))
7.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
3.0ms
(sqrt (+ (* re re) (* im im)))

series189.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (* re re) (* im im))
126.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify91.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0256741
1895697
22846694
35001694

prune221.0ms

Filtered
83 candidates to 55 candidates (66.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New711283
Fresh000
Picked101
Done000
Total721284

Merged error: 5.9b

Counts
84 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.3b
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
0.5b
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
31.4b
(sqrt (+ (* re re) (* im im)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
108×add-sqr-sqrt
78×sqrt-prod
67×*-un-lft-identity
61×add-cube-cbrt log-pow
53×pow1
46×associate-*r*
28×add-exp-log
25×associate-*l*
18×add-cbrt-cube
16×sqrt-pow1 pow1/2
15×unswap-sqr
div-exp
prod-exp
associate-/r*
associate-/l* add-log-exp
cbrt-undiv
sqrt-div cbrt-unprod
flip3-+ flip-+ div-inv
log-div rec-exp 1-exp div-sub
+-commutative frac-times rem-sqrt-square frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num sum-log *-commutative
Counts
4 → 205
Calls
4 calls:
4.0ms
(+ (* re re) (* im im))
31.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
8.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series400.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* re re) (* im im))
135.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
205.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
34.0ms
(sqrt (+ (* re re) (* im im)))

simplify87.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06482798
128782493
250022395

prune471.0ms

Filtered
217 candidates to 110 candidates (50.7%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New20413217
Fresh6511
Picked101
Done000
Total21118229

Merged error: 5.7b

Counts
229 → 18

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.3b
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
3.9b
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
31.4b
(sqrt (+ (* re re) (* im im)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
46×times-frac
44×*-un-lft-identity
42×add-cube-cbrt
38×sqrt-prod
25×pow-unpow associate-*l*
20×log-prod
18×unpow-prod-down
15×pow1
14×add-exp-log
10×distribute-rgt-in distribute-lft-in
add-cbrt-cube
log-pow
add-log-exp
unswap-sqr
associate-*r* prod-exp
pow-pow sqr-pow
sqrt-pow1 flip3-+ pow1/2 sqrt-div div-exp cbrt-unprod flip-+ div-inv
cbrt-undiv +-commutative pow-to-exp rem-sqrt-square rec-exp 1-exp pow-prod-down associate-*l/ pow-exp sum-log *-commutative sqrt-pow2
Counts
4 → 141
Calls
4 calls:
4.0ms
(+ (* re re) (* im im))
18.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
8.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
4.0ms
(sqrt (+ (* re re) (* im im)))

series758.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* re re) (* im im))
351.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
338.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify71.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05932050
127441681
250011554

prune430.0ms

Filtered
153 candidates to 92 candidates (60.1%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New1467153
Fresh51217
Picked011
Done000
Total15120171

Merged error: 5.7b

Counts
171 → 20

localize25.0ms

Local error

Found 4 expressions with local error:

3.9b
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
3.9b
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
31.4b
(sqrt (+ (* re re) (* im im)))
31.4b
(sqrt (+ (* re re) (* im im)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
50×pow-unpow
42×times-frac
40×add-sqr-sqrt
38×add-cube-cbrt *-un-lft-identity
36×sqrt-prod
16×pow1
12×unpow-prod-down
add-exp-log pow-pow log-pow
sqrt-pow1 pow1/2 sqrt-div add-cbrt-cube add-log-exp
pow-to-exp rem-sqrt-square flip3-+ pow-exp sqrt-pow2 flip-+ div-inv sqr-pow
Counts
4 → 120
Calls
4 calls:
8.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
8.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series755.0ms

Counts
4 → 12
Calls
4 calls:
341.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
340.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
34.0ms
(sqrt (+ (* re re) (* im im)))
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify79.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
03051184
110011106
233381032
350011028

prune560.0ms

Filtered
132 candidates to 86 candidates (65.2%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New1302132
Fresh31518
Picked101
Done101
Total13517152

Merged error: 5.7b

Counts
152 → 17

regimes863.0ms

Accuracy

56% (10.9b remaining)

Error of 18.5b against oracle of 7.5b and baseline of 32.4b

bsearch379.0ms

Steps
ItersRangePoint
7
1.1965702813225714e+120
7.306927196198172e+121
8.040497153778162e+120
10
3.3746055148489886e-168
6.644118788358932e-151
1.582163645573821e-167
7
2.363660519479911e-304
1.3429956514040144e-302
2.5518471897600652e-303
10
-2.5170109662579546e-211
-5.785550335923721e-221
-5.916003073595471e-212
10
-2.368742889503448e-151
-4.8620484299604695e-170
-4.942878981580837e-156
10
-1.930778967641709e+126
-1.7976808176493555e+110
-3.0511758492970502e+113

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
087165
189165
289165

end0.0ms

sample495.0ms

Algorithm
intervals
Results
356.0ms8000×body80valid