Details

Time bar (total: 4.4s)

analyze938.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14

sample43.0ms

Algorithm
intervals
Results
22.0ms256×body80valid
1.0ms16×body80invalid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01830
11830

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.1b

Counts
2 → 1

localize19.0ms

Local error

Found 2 expressions with local error:

0.5b
(+ (* x.re y.re) (* x.im y.im))
27.6b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
flip3-+ associate-/r* flip-+ associate-/l*
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 42
Calls
2 calls:
7.0ms
(+ (* x.re y.re) (* x.im y.im))
17.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

series63.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(+ (* x.re y.re) (* x.im y.im))
47.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify97.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
051721541

prune197.0ms

Filtered
39 candidates to 48 candidates (-23.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New42648
Fresh000
Picked011
Done000
Total42749

Merged error: 27.4b

Counts
49 → 7

localize30.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* x.re y.re) (* x.im y.im))
17.6b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (pow y.re 2) (pow y.im 2))))
31.3b
(sqrt (+ (pow y.re 2) (pow y.im 2)))
31.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
28×sqrt-prod
25×add-sqr-sqrt
24×times-frac
23×add-cube-cbrt
10×unpow-prod-down distribute-lft-out
associate-/r*
pow1 add-exp-log sqrt-div add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 94
Calls
4 calls:
7.0ms
(+ (* x.re y.re) (* x.im y.im))
27.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (pow y.re 2) (pow y.im 2))))
13.0ms
(sqrt (+ (pow y.re 2) (pow y.im 2)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series91.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ (* x.re y.re) (* x.im y.im))
56.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (pow y.re 2) (pow y.im 2))))
10.0ms
(sqrt (+ (pow y.re 2) (pow y.im 2)))
9.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify126.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
054443187

prune361.0ms

Filtered
77 candidates to 106 candidates (-37.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1024106
Fresh235
Picked101
Done011
Total1058113

Merged error: 24.2b

Counts
113 → 8

localize33.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* x.re y.re) (* x.im y.im))
17.7b
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (sqrt (+ (pow y.re 2) (pow y.im 2)))))
31.3b
(sqrt (+ (pow y.re 2) (pow y.im 2)))
31.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
36×add-sqr-sqrt
30×associate-*r*
28×times-frac
25×sqrt-prod
22×add-cube-cbrt
13×add-exp-log
add-cbrt-cube
pow1 unpow-prod-down distribute-lft-out
flip3-+ sqrt-div flip-+ add-log-exp
unswap-sqr
prod-exp
associate-*l*
frac-times rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-*l/ associate-/r/ cbrt-unprod
cbrt-undiv +-commutative rec-exp 1-exp associate-*r/ pow-prod-down sum-log un-div-inv *-commutative div-inv
Counts
4 → 102
Calls
4 calls:
8.0ms
(+ (* x.re y.re) (* x.im y.im))
45.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (sqrt (+ (pow y.re 2) (pow y.im 2)))))
16.0ms
(sqrt (+ (pow y.re 2) (pow y.im 2)))
7.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series104.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* x.re y.re) (* x.im y.im))
71.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (sqrt (+ (pow y.re 2) (pow y.im 2)))))
11.0ms
(sqrt (+ (pow y.re 2) (pow y.im 2)))
12.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify126.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (90.0ms)

IterNodesCost
049452904
149452904

prune295.0ms

Filtered
78 candidates to 114 candidates (-46.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh066
Picked011
Done011
Total1148122

Merged error: 24.2b

Counts
122 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ x.im (sqrt (+ (* y.re y.re) (* y.im y.im))))
31.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity times-frac
15×sqrt-prod
associate-/r*
add-exp-log sqrt-div add-cbrt-cube
pow1 associate-/l*
flip3-+ associate-/r/ flip-+ add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
2 → 56
Calls
2 calls:
7.0ms
(/ x.im (sqrt (+ (* y.re y.re) (* y.im y.im))))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series25.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(/ x.im (sqrt (+ (* y.re y.re) (* y.im y.im))))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify84.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049921479
149921479

prune122.0ms

Filtered
45 candidates to 62 candidates (-37.8%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New57562
Fresh145
Picked101
Done022
Total591170

Merged error: 13.7b

Counts
70 → 11

regimes627.0ms

Accuracy

64.2% (4.6b remaining)

Error of 18.2b against oracle of 13.6b and baseline of 26.4b

bsearch39.0ms

Steps
ItersRangePoint
10
2.3556814982463193e+100
2.5743046736534157e+111
2.2524233065491668e+111
9
-1.1173655603820211e+122
-2.0886539785176228e+114
-3.6058658773741186e+115

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04073
14073

end0.0ms

sample756.0ms

Algorithm
intervals
Results
471.0ms8000×body80valid
25.0ms449×body80invalid

Profiling

Loading profile data...