Details

Time bar (total: 2.0s)

analyze93.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

sample15.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify2.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: 31.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* re re) (* im im))
29.3b
(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

prune53.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New27532
Fresh000
Picked011
Done000
Total27633

Merged error: 6.7b

Counts
33 → 6

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

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

series96.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)))))
20.0ms
(cbrt (+ (* re re) (* im im)))
22.0ms
(cbrt (+ (* re re) (* im im)))

simplify79.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
049091291
149091291

prune105.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh044
Picked101
Done011
Total86692

Merged error: 6.7b

Counts
92 → 6

localize18.0ms

Local error

Found 4 expressions with local error:

30.3b
(cbrt (+ (* re re) (* im im)))
30.3b
(cbrt (+ (* re re) (* im im)))
30.3b
(cbrt (+ (* re re) (* im im)))
30.3b
(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)))
4.0ms
(cbrt (+ (* re re) (* im im)))
3.0ms
(cbrt (+ (* re re) (* im im)))

series84.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05263772

prune105.0ms

Filtered
56 candidates to 64 candidates (-14.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New64064
Fresh044
Picked011
Done011
Total64670

Merged error: 6.7b

Counts
70 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
5.8b
(exp (log (sqrt (+ (* re re) (* im im)))))
29.3b
(sqrt (+ (* re re) (* im im)))

rewrite15.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:
3.0ms
(+ (* re re) (* im im))
7.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
3.0ms
(sqrt (+ (* re re) (* im im)))

series17.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* re re) (* im im))
6.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify27.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
05150528

prune65.0ms

Filtered
39 candidates to 57 candidates (-46.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New53457
Fresh033
Picked101
Done022
Total54963

Merged error: 6.7b

Counts
63 → 9

regimes557.0ms

Accuracy

56.9% (10.3b remaining)

Error of 18.3b against oracle of 8.1b and baseline of 31.8b

bsearch64.0ms

Steps
ItersRangePoint
4
2.6834769184993053e+82
4.998544483666294e+82
4.248447698762122e+82
9
-1.7282300677483333e+60
-1.2856088546635049e+53
-1.6909860742079586e+60

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01419
11419

end0.0ms

analyze89.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

sample367.0ms

Algorithm
intervals
Results
242.0ms8000×body80valid

Profiling

Loading profile data...