Details

Time bar (total: 5.9s)

sample34.0ms

Algorithm
intervals
Results
25.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1117

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.9b

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

rewrite20.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))
11.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
4.0ms
(sqrt (+ (* re re) (* im im)))

series192.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0256741
1895697
22846694
35001694

prune232.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 7.5b

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

rewrite70.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:
3.0ms
(+ (* re re) (* im im))
39.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
12.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series539.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))))
344.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify81.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06482798
128782493
250022395

prune454.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 7.4b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0)))))
0.3b
(* (/ 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)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
47×*-un-lft-identity
46×times-frac
45×add-cube-cbrt
41×sqrt-prod
30×log-prod
25×pow-unpow associate-*l*
24×unpow-prod-down
16×add-exp-log
15×pow1
10×distribute-rgt-in distribute-lft-in
add-cbrt-cube
log-pow
unswap-sqr
associate-*r* prod-exp add-log-exp sqr-pow
pow-pow rem-log-exp
pow-to-exp sqrt-pow1 pow1/2 sqrt-div div-exp pow-exp cbrt-unprod div-inv
cbrt-undiv rem-sqrt-square rec-exp flip3-+ 1-exp pow-prod-down associate-*l/ *-commutative sqrt-pow2 flip-+
Counts
4 → 151
Calls
4 calls:
6.0ms
(log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0)))))
24.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
9.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
4.0ms
(sqrt (+ (* re re) (* im im)))

series1.0s

Counts
4 → 12
Calls
4 calls:
294.0ms
(log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0)))))
358.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
331.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify62.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05582291
123431895
250021744

prune430.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 7.3b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
78×add-exp-log
47×add-sqr-sqrt
46×times-frac
40×prod-exp
36×*-un-lft-identity
34×add-cube-cbrt
31×associate-*l*
30×add-cbrt-cube
29×sqrt-prod
26×associate-*r*
20×pow1 div-exp
12×cbrt-unprod
10×rec-exp 1-exp
log-pow
cbrt-undiv add-log-exp
associate-*r/ unswap-sqr
pow-prod-down
un-div-inv
frac-times sqrt-pow1 flip3-+ pow1/2 sqrt-div *-commutative flip-+ div-inv
+-commutative rem-sqrt-square associate-*l/ sum-log
Counts
4 → 146
Calls
4 calls:
3.0ms
(+ (* re re) (* im im))
16.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (/ 1 (sqrt (log 10.0))))
34.0ms
(* (/ 1 (sqrt (log 10.0))) (* (log (sqrt (+ (* re re) (* im im)))) (/ 1 (sqrt (log 10.0)))))
4.0ms
(sqrt (+ (* re re) (* im im)))

series423.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* re re) (* im im))
214.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (/ 1 (sqrt (log 10.0))))
139.0ms
(* (/ 1 (sqrt (log 10.0))) (* (log (sqrt (+ (* re re) (* im im)))) (/ 1 (sqrt (log 10.0)))))
42.0ms
(sqrt (+ (* re re) (* im im)))

simplify62.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05721845
126851498
250011322

prune336.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 7.3b

regimes727.0ms

Accuracy

58.1% (10.4b remaining)

Error of 17.9b against oracle of 7.5b and baseline of 32.2b

bsearch85.0ms

Steps
ItersRangePoint
10
1.1178430778396202e+52
1.7237094648712378e+70
4.734467921936515e+65
5
-8.37183507800966e+147
-3.3081908876611885e+147
-4.0084779007164915e+147

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03632
13632

end0.0ms

sample914.0ms

Algorithm
intervals
Results
768.0ms8000×body80valid