Details

Time bar (total: 3.7s)

analyze329.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14

sample33.0ms

Algorithm
intervals
Results
9.0ms206×body80valid
4.0ms15×body2560valid
3.0ms14×body1280valid
3.0ms256×pre80true
2.0msbody5120valid
2.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01515
11515

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.6b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
0.8b
(- (sqrt (+ (* re re) (* im im))) re)
28.9b
(sqrt (+ (* re re) (* im im)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1
*-un-lft-identity
sqrt-prod add-log-exp
add-cube-cbrt sqrt-div
add-exp-log sqrt-pow1 add-cbrt-cube
flip3-- pow1/2 associate-*r/ flip-- difference-of-squares
sub-neg rem-sqrt-square flip3-+ diff-log pow-prod-down flip-+ distribute-lft-out--
Counts
3 → 42
Calls
3 calls:
11.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
6.0ms
(- (sqrt (+ (* re re) (* im im))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))

series44.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
14.0ms
(sqrt (+ (* re re) (* im im)))

simplify32.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
05393599

prune105.0ms

Filtered
42 candidates to 51 candidates (-21.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New44751
Fresh000
Picked101
Done000
Total45752

Merged error: 7.5b

Counts
52 → 7

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(sqrt (* 2.0 (- im re)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
Counts
1 → 13
Calls
1 calls:
5.0ms
(sqrt (* 2.0 (- im re)))

series14.0ms

Counts
1 → 3
Calls
1 calls:
14.0ms
(sqrt (* 2.0 (- im re)))

simplify33.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05318162

prune47.0ms

Filtered
13 candidates to 16 candidates (-23.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New14216
Fresh066
Picked011
Done000
Total14923

Merged error: 7.5b

Counts
23 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (sqrt (* 2.0 (- im re)))) (cbrt (sqrt (* 2.0 (- im re)))))
0.4b
(cbrt (sqrt (* 2.0 (- im re))))
0.4b
(cbrt (sqrt (* 2.0 (- im re))))
0.4b
(cbrt (sqrt (* 2.0 (- im re))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod
23×add-sqr-sqrt
20×associate-*r/
18×cbrt-div sqrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
swap-sqr associate-*r* associate-*l* sqrt-prod
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 93
Calls
4 calls:
8.0ms
(* (cbrt (sqrt (* 2.0 (- im re)))) (cbrt (sqrt (* 2.0 (- im re)))))
5.0ms
(cbrt (sqrt (* 2.0 (- im re))))
5.0ms
(cbrt (sqrt (* 2.0 (- im re))))
5.0ms
(cbrt (sqrt (* 2.0 (- im re))))

series190.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (cbrt (sqrt (* 2.0 (- im re)))) (cbrt (sqrt (* 2.0 (- im re)))))
48.0ms
(cbrt (sqrt (* 2.0 (- im re))))
47.0ms
(cbrt (sqrt (* 2.0 (- im re))))
52.0ms
(cbrt (sqrt (* 2.0 (- im re))))

simplify77.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
051341363

prune267.0ms

Filtered
82 candidates to 105 candidates (-28.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1041105
Fresh077
Picked101
Done011
Total1059114

Merged error: 7.5b

Counts
114 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (sqrt (* 2.0 (- im re))))
0.5b
(cbrt (pow (cbrt (sqrt (* 2.0 (- im re)))) 2))
0.5b
(cbrt (pow (cbrt (sqrt (* 2.0 (- im re)))) 2))
0.5b
(cbrt (pow (cbrt (sqrt (* 2.0 (- im re)))) 2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
52×cbrt-prod
21×unpow-prod-down
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow1/3 sqrt-prod add-cbrt-cube add-log-exp
unpow2 sqr-pow
cbrt-div sqrt-div associate-*r/
flip3-- flip--
Counts
4 → 74
Calls
4 calls:
5.0ms
(cbrt (sqrt (* 2.0 (- im re))))
6.0ms
(cbrt (pow (cbrt (sqrt (* 2.0 (- im re)))) 2))
4.0ms
(cbrt (pow (cbrt (sqrt (* 2.0 (- im re)))) 2))
4.0ms
(cbrt (pow (cbrt (sqrt (* 2.0 (- im re)))) 2))

series179.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(cbrt (sqrt (* 2.0 (- im re))))
43.0ms
(cbrt (pow (cbrt (sqrt (* 2.0 (- im re)))) 2))
44.0ms
(cbrt (pow (cbrt (sqrt (* 2.0 (- im re)))) 2))
42.0ms
(cbrt (pow (cbrt (sqrt (* 2.0 (- im re)))) 2))

simplify59.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049391208
149391208

prune364.0ms

Filtered
69 candidates to 86 candidates (-24.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New84286
Fresh077
Picked101
Done011
Total851095

Merged error: 7.5b

Counts
95 → 10

regimes327.0ms

Accuracy

45.2% (10.6b remaining)

Error of 19.9b against oracle of 9.4b and baseline of 28.6b

bsearch148.0ms

Steps
ItersRangePoint
6
9.455217976743407e+164
6.054425216238732e+165
5.828409004054647e+165
9
1.5309169041329428e-75
2.2285262272569004e-69
1.9400859152886943e-72
9
-1.0488877131575525e-120
-2.993879734672821e-126
-3.046798939941476e-126
8
-2.417395872741667e+89
-2.3322219335648337e+86
-2.2927799014051263e+89

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05789
15789

end0.0ms

analyze320.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14

sample996.0ms

Algorithm
intervals
Results
288.0ms6087×body80valid
183.0ms682×body2560valid
111.0ms493×body1280valid
101.0ms8000×pre80true
90.0ms270×body5120valid
47.0ms256×body640valid
17.0ms130×body320valid
7.0ms82×body160valid

Profiling

Loading profile data...