Details

Time bar (total: 2.3s)

analyze93.0ms (4%)

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 (0.6%)

Algorithm
intervals
Results
7.0ms256×body80valid

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
178

prune9.0ms (0.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.1b

Counts
2 → 1

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite8.0ms (0.3%)

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:

4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(+ (* re re) (* im im))

series15.0ms (0.7%)

Counts
2 → 6
Calls

2 calls:

9.0ms
(+ (* re re) (* im im))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify62.0ms (2.7%)

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04909295
14909295

prune56.0ms (2.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New27532
Fresh000
Picked011
Done000
Total27633

Merged error: 5.2b

Counts
33 → 6

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt (sqrt (+ (* re re) (* im im))))
0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
30.1b
(sqrt (+ (* re re) (* im im)))
30.1b
(sqrt (+ (* re re) (* im im)))

rewrite30.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
54×add-sqr-sqrt
38×sqrt-pow1
32×sqrt-div
31×pow1
20×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times rem-sqrt-square add-log-exp
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 134
Calls

4 calls:

14.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
4.0ms
(sqrt (sqrt (+ (* re re) (* im im))))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series41.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

23.0ms
(sqrt (sqrt (+ (* re re) (* im im))))
7.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify96.0ms (4.1%)

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
052011559

prune180.0ms (7.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1451146
Fresh044
Picked011
Done011
Total1457152

Merged error: 5.2b

Counts
152 → 7

localize11.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (cbrt (pow (sqrt (sqrt (+ (* re re) (* im im)))) 3)))
20.7b
(cbrt (pow (sqrt (sqrt (+ (* re re) (* im im)))) 3))
30.1b
(sqrt (+ (* re re) (* im im)))
30.1b
(sqrt (+ (* re re) (* im im)))

rewrite39.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
96×sqrt-prod
77×add-sqr-sqrt
72×cbrt-prod
32×sqrt-div
27×unpow-prod-down cube-prod associate-*r* unswap-sqr
24×add-cube-cbrt *-un-lft-identity
flip3-+ associate-*l* flip-+
pow1 cube-div cbrt-div
add-exp-log
add-cbrt-cube sqr-pow
frac-times add-log-exp
cube-mult rem-sqrt-square sqrt-pow1 pow1/2 unpow3 associate-*r/ associate-*l/
pow1/3 pow-prod-down prod-exp *-commutative rem-cbrt-cube cbrt-unprod
Counts
4 → 147
Calls

4 calls:

19.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (cbrt (pow (sqrt (sqrt (+ (* re re) (* im im)))) 3)))
6.0ms
(cbrt (pow (sqrt (sqrt (+ (* re re) (* im im)))) 3))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series40.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

23.0ms
(cbrt (pow (sqrt (sqrt (+ (* re re) (* im im)))) 3))
6.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (cbrt (pow (sqrt (sqrt (+ (* re re) (* im im)))) 3)))
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify63.0ms (2.7%)

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049032306
149032306

prune234.0ms (10.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1572159
Fresh044
Picked101
Done022
Total1588166

Merged error: 5.2b

Counts
166 → 8

localize17.0ms (0.7%)

Local error

Found 4 expressions with local error:

20.7b
(cbrt (pow (sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (sqrt (+ (* re re) (* im im)))))) 3))
30.1b
(sqrt (+ (* re re) (* im im)))
30.1b
(sqrt (+ (* re re) (* im im)))
31.1b
(cbrt (+ (* re re) (* im im)))

rewrite19.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
22×cbrt-div
18×sqrt-div
17×cbrt-prod
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
flip3-+ flip-+
cube-div sqrt-prod
pow1
add-exp-log frac-times unpow-prod-down cube-prod add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3 associate-*r/ associate-*l/
cube-mult unpow3 rem-cbrt-cube sqr-pow
Counts
4 → 74
Calls

4 calls:

5.0ms
(cbrt (pow (sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (sqrt (+ (* re re) (* im im)))))) 3))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series53.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

22.0ms
(cbrt (+ (* re re) (* im im)))
20.0ms
(cbrt (pow (sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (sqrt (+ (* re re) (* im im)))))) 3))
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify45.0ms (1.9%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
048791435
148791435

prune154.0ms (6.6%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New85186
Fresh145
Picked011
Done022
Total86894

Merged error: 5.2b

Counts
94 → 8

regimes561.0ms (24.2%)

Accuracy

Total 10.7b remaining (56.7%)

Threshold costs 0b (0%)

bsearch43.0ms (1.9%)

Steps
ItersRangePoint
7
6.395471245595238e+116
6.569570556200689e+118
5.63142386051803e+118
9
-5.1104012668249873e-113
-2.112445118291879e-120
-5.047961066574088e-113
7
-7.472276120275499e-54
-4.459269101237006e-56
-4.576170092116779e-56
9
-1.838124499293251e+119
-1.1182452024942966e+113
-2.7569446232380357e+114

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02736
12736

end0.0ms (0%)

sample417.0ms (18%)

Algorithm
intervals
Results
274.0ms8000×body80valid

Profiling

Loading profile data...