Details

Time bar (total: 3.9s)

sample24.0ms

Algorithm
intervals
Results
6.0ms199×body80valid
4.0ms20×body2560valid
2.0ms15×body1280valid
1.0ms10×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0178
1248
2308
3358
4358

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.6b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.6b
(- (sqrt (+ (* re re) (* im im))) re)
31.6b
(sqrt (+ (* re re) (* im im)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-log-exp
*-un-lft-identity
pow1 add-cube-cbrt sqrt-prod
add-exp-log add-cbrt-cube
flip3-+ sqrt-div flip-+ difference-of-squares
+-commutative sub-neg rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log sum-log flip-- distribute-lft-out--
Counts
3 → 41
Calls
3 calls:
3.0ms
(+ (* re re) (* im im))
17.0ms
(- (sqrt (+ (* re re) (* im im))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))

series121.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* re re) (* im im))
53.0ms
(- (sqrt (+ (* re re) (* im im))) re)
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify62.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0172305
1661282
21936278
35002276

prune155.0ms

Filtered
50 candidates to 38 candidates (76.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 16.2b

localize14.0ms

Local error

Found 4 expressions with local error:

31.6b
(sqrt (* (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))) (cbrt (+ (* re re) (* im im)))))
32.5b
(cbrt (+ (* re re) (* im im)))
32.5b
(cbrt (+ (* re re) (* im im)))
32.5b
(cbrt (+ (* re re) (* im im)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-+ flip-+
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
33.0ms
(sqrt (* (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))) (cbrt (+ (* re re) (* im im)))))
2.0ms
(cbrt (+ (* re re) (* im im)))
2.0ms
(cbrt (+ (* re re) (* im im)))
2.0ms
(cbrt (+ (* re re) (* im im)))

series330.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(sqrt (* (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))) (cbrt (+ (* re re) (* im im)))))
96.0ms
(cbrt (+ (* re re) (* im im)))
96.0ms
(cbrt (+ (* re re) (* im im)))
101.0ms
(cbrt (+ (* re re) (* im im)))

simplify192.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (179.0ms)

IterNodesCost
02871509
17091463
230771446
350011379

prune289.0ms

Filtered
101 candidates to 65 candidates (64.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 16.2b

localize17.0ms

Local error

Found 4 expressions with local error:

32.5b
(cbrt (+ (* re re) (* im im)))
32.5b
(cbrt (+ (* re re) (* im im)))
32.5b
(cbrt (+ (* re re) (* im im)))
32.5b
(cbrt (+ (* re re) (* im im)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
2.0ms
(cbrt (+ (* re re) (* im im)))
2.0ms
(cbrt (+ (* re re) (* im im)))
2.0ms
(cbrt (+ (* re re) (* im im)))
2.0ms
(cbrt (+ (* re re) (* im im)))

series389.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(cbrt (+ (* re re) (* im im)))
96.0ms
(cbrt (+ (* re re) (* im im)))
96.0ms
(cbrt (+ (* re re) (* im im)))
97.0ms
(cbrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0123488
1408452
21386444
35001444

prune292.0ms

Filtered
64 candidates to 60 candidates (93.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 16.2b

localize13.0ms

Local error

Found 4 expressions with local error:

1.5b
(+ (sqrt (+ (* re re) (* im im))) re)
4.1b
(sqrt (* 2.0 (/ (pow im 2) (+ (sqrt (+ (* re re) (* im im))) re))))
23.5b
(/ (pow im 2) (+ (sqrt (+ (* re re) (* im im))) re))
31.6b
(sqrt (+ (* re re) (* im im)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
32×times-frac
25×add-sqr-sqrt
24×add-cube-cbrt
15×unpow-prod-down
10×distribute-lft-out
add-exp-log
pow1 associate-/l*
add-cbrt-cube add-log-exp
unpow2 sqr-pow
associate-/r* sqrt-prod
sqrt-pow1 flip3-+ sqrt-div div-exp flip-+
pow1/2 associate-/r/
cbrt-undiv +-commutative pow-to-exp rem-sqrt-square frac-2neg associate-*r/ pow-prod-down pow-exp clear-num sum-log div-inv
Counts
4 → 99
Calls
4 calls:
13.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
12.0ms
(sqrt (* 2.0 (/ (pow im 2) (+ (sqrt (+ (* re re) (* im im))) re))))
23.0ms
(/ (pow im 2) (+ (sqrt (+ (* re re) (* im im))) re))
4.0ms
(sqrt (+ (* re re) (* im im)))

series377.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
219.0ms
(sqrt (* 2.0 (/ (pow im 2) (+ (sqrt (+ (* re re) (* im im))) re))))
69.0ms
(/ (pow im 2) (+ (sqrt (+ (* re re) (* im im))) re))
41.0ms
(sqrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04171078
11461985
25001978

prune286.0ms

Filtered
111 candidates to 78 candidates (70.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 6.0b

regimes255.0ms

Accuracy

48.3% (17.6b remaining)

Error of 24.3b against oracle of 6.7b and baseline of 40.8b

bsearch193.0ms

Steps
ItersRangePoint
6
1.272440175084956e+89
8.312320725607927e+89
7.788470368286171e+89
6
3.0530874406240013e-131
3.4548165133222533e-130
3.103597257167775e-130
4
-5.906043100963754e-260
-3.955409345523615e-260
-5.84508579610625e-260
9
-5.759922189643687e-102
-3.8856404091163327e-107
-1.3179842623367683e-105
9
-5.968619231634867e+127
-5.005393495068343e+122
-4.312262875779433e+124

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06038
16538
26638
36638

end0.0ms

sample651.0ms

Algorithm
intervals
Results
198.0ms6029×body80valid
132.0ms707×body2560valid
77.0ms491×body1280valid
62.0ms260×body5120valid
36.0ms275×body640valid
13.0ms143×body320valid
6.0ms95×body160valid