Details

Time bar (total: 3.1s)

sample21.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
174

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.4b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* re re) (* im im))
26.7b
(sqrt (+ (* re re) (* im im)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 26
Calls
2 calls:
3.0ms
(+ (* re re) (* im im))
3.0ms
(sqrt (+ (* re re) (* im im)))

series78.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ (* re re) (* im im))
44.0ms
(sqrt (+ (* re re) (* im im)))

simplify49.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0125177
1530163
21540163
35001162

prune76.0ms

Filtered
32 candidates to 25 candidates (21.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New27532
Fresh000
Picked011
Done000
Total27633

Merged error: 7.8b

Counts
33 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (sqrt (+ (* re re) (* im im))))
0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
26.7b
(sqrt (+ (* re re) (* im im)))
26.7b
(sqrt (+ (* re re) (* im im)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
54×add-sqr-sqrt
38×sqrt-pow1
32×sqrt-div
31×pow1
20×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times rem-sqrt-square add-log-exp
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 134
Calls
4 calls:
4.0ms
(sqrt (sqrt (+ (* re re) (* im im))))
14.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
3.0ms
(sqrt (+ (* re re) (* im im)))
3.0ms
(sqrt (+ (* re re) (* im im)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(sqrt (sqrt (+ (* re re) (* im im))))
42.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
44.0ms
(sqrt (+ (* re re) (* im im)))
46.0ms
(sqrt (+ (* re re) (* im im)))

simplify48.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
02661058
11073988
25001967

prune268.0ms

Filtered
146 candidates to 76 candidates (47.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1460146
Fresh044
Picked011
Done011
Total1466152

Merged error: 7.8b

Counts
152 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
5.6b
(exp (log (sqrt (+ (* re re) (* im im)))))
26.7b
(sqrt (+ (* re re) (* im im)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 log-prod exp-prod exp-sum sqrt-prod
add-log-exp
sqrt-div
add-exp-log flip3-+ log-pow add-cbrt-cube flip-+
log-div sqrt-pow1 pow1/2 exp-diff
+-commutative rem-sqrt-square sum-log rem-exp-log
Counts
3 → 48
Calls
3 calls:
4.0ms
(+ (* re re) (* im im))
5.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
3.0ms
(sqrt (+ (* re re) (* im im)))

series122.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (* re re) (* im im))
43.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
46.0ms
(sqrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0172330
1601313
21676304
35001296

prune149.0ms

Filtered
57 candidates to 38 candidates (33.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New54357
Fresh033
Picked101
Done022
Total55863

Merged error: 7.8b

Counts
63 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

5.8b
(pow (exp (* (cbrt (log (sqrt (+ (* re re) (* im im))))) (cbrt (log (sqrt (+ (* re re) (* im im))))))) (cbrt (log (sqrt (+ (* re re) (* im im))))))
26.7b
(sqrt (+ (* re re) (* im im)))
26.7b
(sqrt (+ (* re re) (* im im)))
26.7b
(sqrt (+ (* re re) (* im im)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×pow1 add-cube-cbrt *-un-lft-identity
pow-unpow sqrt-prod
cbrt-prod sqrt-div
add-log-exp
add-exp-log sqrt-pow1 pow1/2 add-cbrt-cube
unpow-prod-down rem-sqrt-square pow-pow flip3-+ log-pow flip-+
pow-to-exp exp-prod exp-to-pow pow-exp sqr-pow
Counts
4 → 70
Calls
4 calls:
4.0ms
(pow (exp (* (cbrt (log (sqrt (+ (* re re) (* im im))))) (cbrt (log (sqrt (+ (* re re) (* im im))))))) (cbrt (log (sqrt (+ (* re re) (* im im))))))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
3.0ms
(sqrt (+ (* re re) (* im im)))

series463.0ms

Counts
4 → 12
Calls
4 calls:
329.0ms
(pow (exp (* (cbrt (log (sqrt (+ (* re re) (* im im))))) (cbrt (log (sqrt (+ (* re re) (* im im))))))) (cbrt (log (sqrt (+ (* re re) (* im im))))))
45.0ms
(sqrt (+ (* re re) (* im im)))
43.0ms
(sqrt (+ (* re re) (* im im)))
45.0ms
(sqrt (+ (* re re) (* im im)))

simplify53.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0189925
1499852
21541846
35002842

prune295.0ms

Filtered
82 candidates to 63 candidates (23.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh055
Picked101
Done022
Total82890

Merged error: 7.8b

Counts
90 → 8

regimes560.0ms

Accuracy

58.1% (9.8b remaining)

Error of 17.6b against oracle of 7.8b and baseline of 31.2b

bsearch52.0ms

Steps
ItersRangePoint
5
2.2866843337900248e+77
5.514542683406611e+77
4.325223030489154e+77
8
-3.719641692260901e+158
-1.2498419091925624e+154
-1.269258234578637e+154

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0175
1175

end0.0ms

sample426.0ms

Algorithm
intervals
Results
223.0ms8000×body80valid

Profiling

Loading profile data...