Details

Time bar (total: 2.2s)

analyze87.0ms (3.9%)

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

sample18.0ms (0.8%)

Algorithm
intervals
Results
11.0ms256×body80valid

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
178

prune5.0ms (0.2%)

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
(+ (* x x) (* y y))
30.1b
(sqrt (+ (* x x) (* y y)))

rewrite7.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
(+ (* x x) (* y y))
3.0ms
(sqrt (+ (* x x) (* y y)))

series11.0ms (0.5%)

Counts
2 → 6
Calls

2 calls:

6.0ms
(sqrt (+ (* x x) (* y y)))
5.0ms
(+ (* x x) (* y y))

simplify59.0ms (2.7%)

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
04909295
14909295

prune55.0ms (2.5%)

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.4%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt (sqrt (+ (* x x) (* y y))))
0.5b
(* (sqrt (sqrt (+ (* x x) (* y y)))) (sqrt (sqrt (+ (* x x) (* y y)))))
30.1b
(sqrt (+ (* x x) (* y y)))
30.1b
(sqrt (+ (* x x) (* y y)))

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 (+ (* x x) (* y y)))) (sqrt (sqrt (+ (* x x) (* y y)))))
4.0ms
(sqrt (sqrt (+ (* x x) (* y y))))
4.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series39.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

19.0ms
(sqrt (sqrt (+ (* x x) (* y y))))
8.0ms
(sqrt (+ (* x x) (* y y)))
6.0ms
(* (sqrt (sqrt (+ (* x x) (* y y)))) (sqrt (sqrt (+ (* x x) (* y y)))))
5.0ms
(sqrt (+ (* x x) (* y y)))

simplify94.0ms (4.2%)

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
052011559

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

localize12.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* x x) (* y y)))) (cbrt (pow (sqrt (sqrt (+ (* x x) (* y y)))) 3)))
20.7b
(cbrt (pow (sqrt (sqrt (+ (* x x) (* y y)))) 3))
30.1b
(sqrt (+ (* x x) (* y y)))
30.1b
(sqrt (+ (* x x) (* y y)))

rewrite42.0ms (1.9%)

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:

22.0ms
(* (sqrt (sqrt (+ (* x x) (* y y)))) (cbrt (pow (sqrt (sqrt (+ (* x x) (* y y)))) 3)))
6.0ms
(cbrt (pow (sqrt (sqrt (+ (* x x) (* y y)))) 3))
4.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series37.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

20.0ms
(cbrt (pow (sqrt (sqrt (+ (* x x) (* y y)))) 3))
6.0ms
(* (sqrt (sqrt (+ (* x x) (* y y)))) (cbrt (pow (sqrt (sqrt (+ (* x x) (* y y)))) 3)))
6.0ms
(sqrt (+ (* x x) (* y y)))
5.0ms
(sqrt (+ (* x x) (* y y)))

simplify67.0ms (3%)

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049032306
149032306

prune239.0ms (10.7%)

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.8%)

Local error

Found 4 expressions with local error:

20.7b
(cbrt (pow (sqrt (* (cbrt (+ (* x x) (* y y))) (cbrt (sqrt (+ (* x x) (* y y)))))) 3))
30.1b
(sqrt (+ (* x x) (* y y)))
30.1b
(sqrt (+ (* x x) (* y y)))
31.1b
(cbrt (+ (* x x) (* y y)))

rewrite21.0ms (0.9%)

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:

6.0ms
(cbrt (+ (* x x) (* y y)))
5.0ms
(cbrt (pow (sqrt (* (cbrt (+ (* x x) (* y y))) (cbrt (sqrt (+ (* x x) (* y y)))))) 3))
4.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series51.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

20.0ms
(cbrt (+ (* x x) (* y y)))
20.0ms
(cbrt (pow (sqrt (* (cbrt (+ (* x x) (* y y))) (cbrt (sqrt (+ (* x x) (* y y)))))) 3))
6.0ms
(sqrt (+ (* x x) (* y y)))
5.0ms
(sqrt (+ (* x x) (* y y)))

simplify47.0ms (2.1%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
048811435
148811435

prune157.0ms (7%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New85186
Fresh145
Picked011
Done022
Total86894

Merged error: 5.2b

Counts
94 → 8

regimes555.0ms (24.8%)

Accuracy

Total 10.7b remaining (56.7%)

Threshold costs 0b (0%)

bsearch41.0ms (1.8%)

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 (1.0ms)

IterNodesCost
02736
12736

end0.0ms (0%)

sample352.0ms (15.7%)

Algorithm
intervals
Results
231.0ms8000×body80valid

Profiling

Loading profile data...