Details

Time bar (total: 1.9s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0.1%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample28.0ms (1.5%)

Algorithm
intervals
Results
8.0ms256×body128valid
Compiler

Compiled 16 to 12 computations (25% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
associate-*l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
199
2119
3119

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
29.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
29.4b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 21 to 15 computations (28.6% saved)

localize95.0ms (5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
28.1b
(sqrt.f64 (*.f64 2 (*.f64 x x)))

series3.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(sqrt.f64 (*.f64 2 (*.f64 x x)))

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
sqrt-pow1_binary64
pow-prod-down_binary64
*-un-lft-identity_binary64
sqrt-prod_binary64
Counts
1 → 14
Calls

1 calls:

3.0ms
(sqrt.f64 (*.f64 2 (*.f64 x x)))

simplify97.0ms (5.1%)

Algorithm
egg-herbie
Rules
1178×fma-def_binary64
437×sqr-pow_binary64
362×unswap-sqr_binary64
342×distribute-rgt-neg-in_binary64
306×distribute-lft-neg-in_binary64
Counts
26 → 17
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
023208
135202
263202
380202
487202
5114202
6145202
7203202
8415202
9774202
10787202
11955202
121220202
131628202
142596202
153178202
164810202
174912202

prune13.0ms (0.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New13417
Fresh000
Picked011
Done000
Total13518
Error
0.2b
Counts
18 → 5
Alt Table
StatusErrorProgram
32.1b
(*.f64 (sqrt.f64 2) x)
29.4b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
31.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.6b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))))
30.0b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))))
Compiler

Compiled 269 to 180 computations (33.1% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x))))
0.5b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))))
28.1b
(sqrt.f64 (*.f64 2 (*.f64 x x)))

series14.0ms (0.8%)

Counts
2 → 12
Calls

2 calls:

10.0ms
(sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x))))
4.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))))

rewrite33.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
148×sqrt-pow1_binary64
144×pow1_binary64
76×pow-prod-down_binary64
31×sqrt-prod_binary64
28×add-sqr-sqrt_binary64
Counts
2 → 112
Calls

2 calls:

16.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))))
4.0ms
(sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x))))

simplify136.0ms (7.2%)

Algorithm
egg-herbie
Rules
471×associate-*l/_binary64
383×associate-*r/_binary64
327×*-commutative_binary64
318×associate-*l*_binary64
259×associate-/l*_binary64
Counts
124 → 98
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0681215
11071155
23081105
38811005
413921005
518771005
63750991
74989991

prune97.0ms (5.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1513154
Fresh123
Picked101
Done011
Total1536159
Error
0.2b
Counts
159 → 6
Alt Table
StatusErrorProgram
31.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.5b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 (*.f64 x x))))
29.8b
(*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))))) (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x))))) (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x))))))
29.6b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x))))
32.1b
(*.f64 (sqrt.f64 2) x)
29.4b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 3032 to 1987 computations (34.5% saved)

localize11.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 2)))
0.4b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 (*.f64 x x))))
28.1b
(sqrt.f64 (*.f64 x x))
28.1b
(sqrt.f64 (*.f64 2 (*.f64 x x)))

series16.0ms (0.8%)

Counts
3 → 24
Calls

3 calls:

8.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 2)))
6.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 (*.f64 x x))))
2.0ms
(sqrt.f64 (*.f64 x x))

rewrite42.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
64×sqrt-pow1_binary64
59×pow1_binary64
41×pow-prod-down_binary64
36×add-sqr-sqrt_binary64
34×sqrt-prod_binary64
Counts
3 → 100
Calls

3 calls:

18.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 (*.f64 x x))))
12.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 2)))
2.0ms
(sqrt.f64 (*.f64 x x))

simplify129.0ms (6.8%)

Algorithm
egg-herbie
Rules
601×associate-/l/_binary64
489×associate-/l*_binary64
478×times-frac_binary64
336×*-commutative_binary64
267×fma-def_binary64
Counts
124 → 123
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01062070
12041954
26311954
38251926
410331926
513361926
622081926
747361926
848931926

prune87.0ms (4.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1382140
Fresh134
Picked101
Done011
Total1406146
Error
0.2b
Counts
146 → 6
Alt Table
StatusErrorProgram
29.6b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x))))
29.7b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (sqrt.f64 2)))) (sqrt.f64 (sqrt.f64 (*.f64 x x))))
32.1b
(*.f64 (sqrt.f64 2) x)
29.4b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
31.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.8b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (fabs.f64 x)) (cbrt.f64 (fabs.f64 x))) (cbrt.f64 (fabs.f64 x)))))
Compiler

Compiled 3153 to 1910 computations (39.4% saved)

localize13.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x))))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x)))
0.5b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x))))
28.1b
(sqrt.f64 (*.f64 2 (*.f64 x x)))

series25.0ms (1.3%)

Counts
2 → 12
Calls

2 calls:

18.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x))))
7.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x)))

rewrite31.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt_binary64
48×sqrt-prod_binary64
30×rem-sqrt-square_binary64
18×mul-fabs_binary64
16×associate-*l*_binary64
Counts
2 → 86
Calls

2 calls:

15.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x))))
8.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x)))

simplify118.0ms (6.2%)

Algorithm
egg-herbie
Rules
480×associate-/l*_binary64
464×associate-/l/_binary64
390×cube-div_binary64
390×log-div_binary64
302×*-commutative_binary64
Counts
98 → 102
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01031898
11871816
25161744
36681744
48281744
510551744
618251744
741481744
852401744

prune76.0ms (4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1383141
Fresh224
Picked101
Done011
Total1416147
Error
0.0b
Counts
147 → 6
Alt Table
StatusErrorProgram
29.4b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
0.7b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x))) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x))))
32.1b
(*.f64 (sqrt.f64 2) x)
0.4b
(*.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) (fabs.f64 x))) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (fabs.f64 x))))
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (fabs.f64 x) (sqrt.f64 (sqrt.f64 2))))
31.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 2962 to 1940 computations (34.5% saved)

regimes301.0ms (15.9%)

Accuracy

Total 0.5b remaining (96.7%)

Threshold costs 0.5b (96.7%)

Counts
59 → 1
Compiler

Compiled 6336 to 4548 computations (28.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01124
11424
21424

end1.0ms (0%)

Compiler

Compiled 15 to 12 computations (20% saved)

sample506.0ms (26.7%)

Algorithm
intervals
Results
253.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 84 to 67 computations (20.2% saved)

Profiling

Loading profile data...