Details

Time bar (total: 2.4s)

sample15.0ms

Algorithm
intervals
Results
8.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: 33.2b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
4.0ms
(+ (* re re) (* im im))
6.0ms
(sqrt (+ (* re re) (* im im)))

series63.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0125177
1530163
21540163
35001162

prune61.0ms

Filtered
32 candidates to 25 candidates (78.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New28432
Fresh000
Picked011
Done000
Total28533

Merged error: 8.4b

Counts
33 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* re re) (* im im))))
0.3b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
32.2b
(cbrt (+ (* re re) (* im im)))
32.2b
(cbrt (+ (* re re) (* im im)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×cbrt-prod sqrt-prod
12×add-cube-cbrt *-un-lft-identity
associate-*r*
cbrt-div
pow1
add-exp-log add-cbrt-cube
flip3-+ sqrt-div flip-+ add-log-exp
pow1/3 associate-*l* unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r/
pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 74
Calls
4 calls:
4.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
11.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
3.0ms
(cbrt (+ (* re re) (* im im)))
3.0ms
(cbrt (+ (* re re) (* im im)))

series391.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
112.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
92.0ms
(cbrt (+ (* re re) (* im im)))
93.0ms
(cbrt (+ (* re re) (* im im)))

simplify122.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0277855
11061799
24305786
35001779

prune211.0ms

Filtered
86 candidates to 72 candidates (83.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New85186
Fresh033
Picked011
Done011
Total85691

Merged error: 8.4b

Counts
91 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.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:
3.0ms
(cbrt (+ (* re re) (* im im)))
3.0ms
(cbrt (+ (* re re) (* im im)))
3.0ms
(cbrt (+ (* re re) (* im im)))
3.0ms
(cbrt (+ (* re re) (* im im)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(cbrt (+ (* re re) (* im im)))
93.0ms
(cbrt (+ (* re re) (* im im)))
92.0ms
(cbrt (+ (* re re) (* im im)))
94.0ms
(cbrt (+ (* re re) (* im im)))

simplify50.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0123488
1408452
21386444
35001444

prune224.0ms

Filtered
64 candidates to 60 candidates (93.8%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh033
Picked011
Done022
Total64670

Merged error: 8.4b

Counts
70 → 6

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

prune0.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done033
Total066

Merged error: 8.4b

Counts
6 → 6

regimes280.0ms

Accuracy

54.6% (10.7b remaining)

Error of 18.1b against oracle of 7.4b and baseline of 31.0b

bsearch106.0ms

Steps
ItersRangePoint
9
9.092643328338922e+123
2.512579933221449e+133
2.131858430038115e+127
8
1.8262583030760354e-113
5.043517582814353e-109
1.8637666906269956e-113
9
9.929777800337937e-288
5.34670244842392e-280
4.7499823253112636e-281
9
-2.423146045177123e+82
-4.950444471151729e+75
-1.4268239453600389e+82

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0239
1239

end0.0ms

sample390.0ms

Algorithm
intervals
Results
252.0ms8000×body80valid