Details

Time bar (total: 3.4s)

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

sample38.0ms

Algorithm
intervals
Results
9.0ms193×body80valid
7.0ms25×body2560valid
3.0ms256×pre80true
3.0ms14×body1280valid
3.0msbody5120valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
026515
126515

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.2b

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.2b
(sqrt (+ (* re re) (* im im)))

rewrite20.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:
8.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
4.0ms
(sqrt (+ (* re re) (* im im)))

series39.0ms

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

simplify25.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05010608

prune123.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852

Merged error: 9.2b

Counts
52 → 8

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:
4.0ms
(sqrt (* 2.0 (- im re)))

series17.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05758162

prune53.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New14216
Fresh167
Picked011
Done000
Total15924

Merged error: 9.2b

Counts
24 → 9

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

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

series197.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (cbrt (sqrt (* 2.0 (- im re)))) (cbrt (sqrt (* 2.0 (- im re)))))
49.0ms
(cbrt (sqrt (* 2.0 (- im re))))
53.0ms
(cbrt (sqrt (* 2.0 (- im re))))
51.0ms
(cbrt (sqrt (* 2.0 (- im re))))

simplify50.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
048851381
148851381

prune299.0ms

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

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1041105
Fresh077
Picked011
Done011
Total10410114

Merged error: 9.2b

Counts
114 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (exp (* (log (cbrt (sqrt (* 2.0 (- im re))))) 2)) (cbrt (sqrt (* 2.0 (- im re)))))
0.4b
(cbrt (sqrt (* 2.0 (- im re))))
0.4b
(cbrt (sqrt (* 2.0 (- im re))))
3.2b
(exp (* (log (cbrt (sqrt (* 2.0 (- im re))))) 2))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
14×cbrt-prod
add-cube-cbrt *-un-lft-identity
associate-*r/
pow1 associate-*r*
cbrt-div sqrt-div
add-exp-log add-cbrt-cube add-log-exp
associate-*l* exp-lft-sqr unswap-sqr
flip3-- exp-to-pow sqrt-prod flip--
pow1/3
exp-prod pow-plus pow-prod-down prod-exp *-commutative pow-prod-up cbrt-unprod rem-exp-log
Counts
4 → 69
Calls
4 calls:
8.0ms
(* (exp (* (log (cbrt (sqrt (* 2.0 (- im re))))) 2)) (cbrt (sqrt (* 2.0 (- im re)))))
5.0ms
(cbrt (sqrt (* 2.0 (- im re))))
5.0ms
(cbrt (sqrt (* 2.0 (- im re))))
3.0ms
(exp (* (log (cbrt (sqrt (* 2.0 (- im re))))) 2))

series200.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (exp (* (log (cbrt (sqrt (* 2.0 (- im re))))) 2)) (cbrt (sqrt (* 2.0 (- im re)))))
49.0ms
(cbrt (sqrt (* 2.0 (- im re))))
50.0ms
(cbrt (sqrt (* 2.0 (- im re))))
85.0ms
(exp (* (log (cbrt (sqrt (* 2.0 (- im re))))) 2))

simplify34.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
053181034

prune207.0ms

Filtered
65 candidates to 81 candidates (-24.6%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New80181
Fresh077
Picked101
Done022
Total811091

Merged error: 9.2b

Counts
91 → 10

regimes345.0ms

Accuracy

41.8% (11.2b remaining)

Error of 21.1b against oracle of 9.9b and baseline of 29.1b

bsearch125.0ms

Steps
ItersRangePoint
8
1.0634574758951388e+176
2.9113785642110137e+179
8.594773102387256e+176
8
8.044368432194986e+105
2.3450186355547416e+110
2.301551743401769e+110
6
9.85587108249642e-76
1.2948029472325614e-74
3.6532567719110757e-75
8
-3.7709465126161785e-159
-3.630089800523016e-162
-5.686701427801653e-162
9
-4.571955507717494e+85
-9.644960619417434e+78
-1.6385368300839155e+81

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06984
16984

end0.0ms

sample1.1s

Algorithm
intervals
Results
298.0ms6061×body80valid
204.0ms716×body2560valid
111.0ms467×body1280valid
111.0ms8000×pre80true
99.0ms275×body5120valid
47.0ms241×body640valid
21.0ms150×body320valid
8.0ms90×body160valid

Profiling

Loading profile data...