Details

Time bar (total: 1.3s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
174

prune2.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.6b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
10×distribute-lft-out
associate-*l* sqrt-prod
add-sqr-sqrt swap-sqr add-log-exp
pow1 add-cube-cbrt
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 36
Calls
2 calls:
16.0ms
(+ (* re re) (* im im))
16.0ms
(sqrt (+ (* re re) (* im im)))

series66.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(+ (* re re) (* im im))
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify49.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0122211
1510197
21472197
35002197

prune61.0ms

Filtered
42 candidates to 26 candidates (61.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New38442
Fresh000
Picked011
Done000
Total38543

Merged error: 7.1b

Counts
43 → 5

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
202×sqrt-prod
174×*-un-lft-identity
74×associate-*l*
67×distribute-lft-out
54×swap-sqr
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt pow1/2
14×associate-*r*
flip3-+ pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube add-log-exp
pow-prod-down pow-sqr
frac-times
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 174
Calls
4 calls:
16.0ms
(+ (* re re) (* im im))
45.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
16.0ms
(sqrt (+ (* re re) (* im im)))
16.0ms
(sqrt (+ (* re re) (* im im)))

series147.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (* re re) (* im im))
41.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
37.0ms
(sqrt (+ (* re re) (* im im)))
41.0ms
(sqrt (+ (* re re) (* im im)))

simplify49.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02391159
19721093
250021072

prune176.0ms

Filtered
186 candidates to 72 candidates (38.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1860186
Fresh033
Picked011
Done011
Total1865191

Merged error: 7.1b

Counts
191 → 5

localize1.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune2.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done022
Total055

Merged error: 7.1b

Counts
5 → 5

localize2.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done033
Total055

Merged error: 7.1b

Counts
5 → 5

regimes248.0ms

Accuracy

54.9% (10.5b remaining)

Error of 18.4b against oracle of 7.9b and baseline of 31.3b

bsearch83.0ms

Steps
ItersRangePoint
9
5.740869535250374e+139
2.108882011704695e+145
3.4869680177679364e+141
6
7.176613572123634e-217
1.1089116705920598e-215
1.0888489179947855e-216
8
-6.0728879748155805e-236
-1.5672228375524547e-238
-3.489099908496165e-238
7
-2.368357192809402e+37
-1.5412000392698586e+35
-2.3080563981284436e+37

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0239
1239

end0.0ms

sample289.0ms

Algorithm
intervals
Results
168.0ms8000×body80valid