Details

Time bar (total: 5.8s)

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1117

prune3.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: 30.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))
27.5b
(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)))

series206.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* re re) (* im im))
137.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
40.0ms
(sqrt (+ (* re re) (* im im)))

simplify89.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0256741
1895697
22846694
35001694

prune232.0ms

Filtered
83 candidates to 55 candidates (66.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New691483
Fresh000
Picked101
Done000
Total701484

Merged error: 7.3b

Counts
84 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.2b
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
0.4b
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
27.5b
(sqrt (+ (* re re) (* im im)))

rewrite57.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)))

series426.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* re re) (* im im))
141.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
218.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify80.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06482798
128782493
250022395

prune464.0ms

Filtered
217 candidates to 111 candidates (51.2%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New20710217
Fresh9413
Picked101
Done000
Total21714231

Merged error: 7.1b

Counts
231 → 14

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.2b
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
3.8b
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
27.5b
(sqrt (+ (* re re) (* im im)))

rewrite36.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))
15.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)))

series824.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* re re) (* im im))
391.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
368.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
37.0ms
(sqrt (+ (* re re) (* im im)))

simplify72.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05932050
127441681
250011554

prune422.0ms

Filtered
153 candidates to 94 candidates (61.4%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New1485153
Fresh21113
Picked011
Done000
Total15017167

Merged error: 7.1b

Counts
167 → 17

localize25.0ms

Local error

Found 4 expressions with local error:

3.8b
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
3.8b
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
27.5b
(sqrt (+ (* re re) (* im im)))
27.5b
(sqrt (+ (* re re) (* im im)))

rewrite27.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)))

series802.0ms

Counts
4 → 12
Calls
4 calls:
365.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
360.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
36.0ms
(sqrt (+ (* re re) (* im im)))
41.0ms
(sqrt (+ (* re re) (* im im)))

simplify85.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
03051184
110011106
233381032
350011028

prune551.0ms

Filtered
132 candidates to 86 candidates (65.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1302132
Fresh41115
Picked101
Done101
Total13613149

Merged error: 7.1b

Counts
149 → 13

regimes631.0ms

Accuracy

58.7% (10.0b remaining)

Error of 17.3b against oracle of 7.3b and baseline of 31.5b

bsearch221.0ms

Steps
ItersRangePoint
6
8.386220925578828e+143
4.316820422997054e+144
1.3030602997104563e+144
10
8.660844906217239e-175
7.0021986566734e-156
4.3188726636303697e-169
9
3.2439511425214304e-251
1.5200205730203393e-242
9.860139717477679e-245
9
-1.5222152192366948e+103
-1.1953863104538045e+95
-2.9954377646446586e+97

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060111
162111
262111

end0.0ms

sample500.0ms

Algorithm
intervals
Results
362.0ms8000×body80valid