Details

Time bar (total: 7.0s)

sample19.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

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.1b

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

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

series214.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0256741
1895697
22846694
35001694

prune233.0ms

Filtered
83 candidates to 55 candidates (66.3%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 7.2b

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

rewrite183.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:
157.0ms
(/ (log (* (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im)))))) (log 10.0))
5.0ms
(sqrt (+ (* re re) (* im im)))
3.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series261.0ms

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

simplify140.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
04803562
19863468
230563076
350033048

prune428.0ms

Filtered
189 candidates to 90 candidates (47.6%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 7.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (+ 1 1) 1) (/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im)))))))
0.6b
(cbrt (sqrt (+ (* re re) (* im im))))
0.6b
(/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im))))))
31.6b
(sqrt (+ (* re re) (* im im)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
700×times-frac
578×*-un-lft-identity
354×add-sqr-sqrt
278×add-cube-cbrt
225×distribute-lft-out
224×log-pow
160×pow1
125×distribute-rgt-out distribute-lft1-in
70×pow1/3
50×count-2 distribute-rgt1-in
29×associate-/r*
19×associate-/l*
18×div-inv
11×add-exp-log add-cbrt-cube
cbrt-prod sqrt-prod
cbrt-undiv sqrt-div div-exp add-log-exp
flip3-+ flip-+
cbrt-div frac-2neg clear-num associate-/l/
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
Counts
4 → 488
Calls
4 calls:
51.0ms
(/ (+ (+ 1 1) 1) (/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im)))))))
2.0ms
(cbrt (sqrt (+ (* re re) (* im im))))
3.0ms
(/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im))))))
3.0ms
(sqrt (+ (* re re) (* im im)))

series512.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(/ (+ (+ 1 1) 1) (/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im)))))))
99.0ms
(cbrt (sqrt (+ (* re re) (* im im))))
180.0ms
(/ (log 10.0) (log (cbrt (sqrt (+ (* re re) (* im im))))))
45.0ms
(sqrt (+ (* re re) (* im im)))

simplify195.0ms

Algorithm
egg-herbie
Counts
500 → 500
Iterations

Useful iterations: 2 (126.0ms)

IterNodesCost
08727987
146287465
250017318

prune646.0ms

Filtered
500 candidates to 151 candidates (30.2%)
Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 7.1b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
3271×times-frac
1219×sqrt-prod
1206×add-sqr-sqrt
1205×add-cube-cbrt *-un-lft-identity
874×log-pow
689×pow1
191×sqrt-pow1 pow1/2
75×div-inv
52×associate-/r*
32×associate-/l*
28×add-exp-log
18×add-cbrt-cube
17×div-exp
cbrt-undiv
add-log-exp
rec-exp frac-2neg flip3-+ sqrt-div 1-exp clear-num flip-+
+-commutative rem-sqrt-square sum-log associate-/r/ associate-/l/
Counts
4 → 1338
Calls
4 calls:
3.0ms
(+ (* re re) (* im im))
41.0ms
(/ (/ 1 (sqrt (log 10.0))) (/ (sqrt (log 10.0)) (log (sqrt (+ (* re re) (* im im))))))
4.0ms
(/ (sqrt (log 10.0)) (log (sqrt (+ (* re re) (* im im)))))
4.0ms
(sqrt (+ (* re re) (* im im)))

series420.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* re re) (* im im))
150.0ms
(/ (/ 1 (sqrt (log 10.0))) (/ (sqrt (log 10.0)) (log (sqrt (+ (* re re) (* im im))))))
201.0ms
(/ (sqrt (log 10.0)) (log (sqrt (+ (* re re) (* im im)))))
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify283.0ms

Algorithm
egg-herbie
Counts
1350 → 1350
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
0312330962
1500128693

prune1.3s

Filtered
1350 candidates to 295 candidates (21.9%)
Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 7.0b

regimes935.0ms

Accuracy

56% (10.7b remaining)

Error of 18.4b against oracle of 7.7b and baseline of 32.0b

bsearch233.0ms

Steps
ItersRangePoint
5
1.3859668012923316e+39
5.407361050114019e+39
5.156219500915728e+39
6
1.2888602883193277e-191
1.0756529683068688e-190
1.3057340609530177e-191
9
3.7751008726876715e-235
1.6016645181124128e-228
1.1342785571534004e-228
9
-6.806283990879702e-262
-7.541756626495359e-267
-2.968956980813959e-266
4
-2.1257158676027876e-194
-1.276837797885082e-194
-1.3504253849915568e-194
9
-5.613835374986806e+74
-5.067726987112932e+69
-1.103215696956926e+72

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06583
16583

end0.0ms

sample486.0ms

Algorithm
intervals
Results
348.0ms8000×body80valid