Details

Time bar (total: 1.4s)

analyze88.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
56.2%43.7%0.1%7
65.6%34.3%0.1%8
76.5%23.4%0.1%9
82%18%0.1%10
87.8%12.1%0.1%11
90.7%9.2%0.1%12
93.8%6.1%0.1%13
95.3%4.6%0.1%14

sample14.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
178

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.2b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.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)))

series11.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (* re re) (* im im))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify23.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05008295

prune47.0ms

Filtered
25 candidates to 32 candidates (-28.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New28432
Fresh000
Picked011
Done000
Total28533

Merged error: 7.9b

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)))))
31.1b
(cbrt (+ (* re re) (* im im)))
31.1b
(cbrt (+ (* re re) (* im im)))

rewrite20.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))))
8.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
3.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series95.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
33.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
22.0ms
(cbrt (+ (* re re) (* im im)))
20.0ms
(cbrt (+ (* re re) (* im im)))

simplify79.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049091291
149091291

prune92.0ms

Filtered
68 candidates to 86 candidates (-26.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh033
Picked011
Done011
Total86591

Merged error: 7.9b

Counts
91 → 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

prune4.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done022
Total055

Merged error: 7.9b

Counts
5 → 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

prune0.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done033
Total055

Merged error: 7.9b

Counts
5 → 5

regimes383.0ms

Accuracy

58.4% (10.1b remaining)

Error of 18.1b against oracle of 8.0b and baseline of 32.2b

bsearch102.0ms

Steps
ItersRangePoint
9
6.219156266182838e+106
4.898909803873127e+113
3.4873064248462076e+112
6
-1.3613046351752988e+137
-1.0364698661434163e+136
-6.776539092584124e+136

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01419
11419

end0.0ms

analyze87.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
56.2%43.7%0.1%7
65.6%34.3%0.1%8
76.5%23.4%0.1%9
82%18%0.1%10
87.8%12.1%0.1%11
90.7%9.2%0.1%12
93.8%6.1%0.1%13
95.3%4.6%0.1%14

sample363.0ms

Algorithm
intervals
Results
241.0ms8000×body80valid

Profiling

Loading profile data...