Details

Time bar (total: 3.0s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
50%12.5%37.5%4
50%6.2%43.8%5
50%3.1%46.9%6
50%1.6%48.5%7
50%0.8%49.2%8
50%0.4%49.6%9
50%0.2%49.8%10
50%0.1%49.9%11
50%0%50%12
50%0%50%13
50%0%50%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.4s (46.3%)

Results
594.0ms2090×body1024valid
371.0ms4338×body128valid
228.0ms1060×body512valid
79.0ms543×body256valid
74.0ms225×body2048valid
0.0msbody128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify9.0ms (0.3%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11211
21611
32311
43211
54911
68611
712311
816611
920211
1022811
1123011
Stop Event
saturated
Counts
1 → 1

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 24 to 18 computations (25% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
2.8b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

series15.0ms (0.5%)

Counts
2 → 5
Calls

2 calls:

10.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
5.0ms
(sqrt.f64 (+.f64 x 1))

rewrite51.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
832×prod-diff_binary64
742×log1p-expm1-u_binary64
742×expm1-log1p-u_binary64
114×egg-rr
72×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
115317
2202717
Stop Event
node limit
Counts
2 → 114
Calls

2 calls:

49.0ms
(sqrt.f64 (+.f64 x 1))
49.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

simplify36.0ms (1.2%)

Algorithm
egg-herbie
Rules
664×fma-def_binary64
612×associate-*l*_binary64
536×unswap-sqr_binary64
370×associate-*r*_binary64
222×fma-neg_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01848
15144
212338
339434
4112629
5374429
Stop Event
node limit
Counts
119 → 121

prune143.0ms (4.8%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New11110121
Fresh000
Picked101
Done000
Total11210122
Error
30.1b
Counts
122 → 10
Alt Table
StatusErrorProgram
31.8b
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 3/2) (pow.f64 (neg.f64 (sqrt.f64 x)) 3)) (+.f64 (+.f64 x 1) (-.f64 (*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 (sqrt.f64 x))) (*.f64 (sqrt.f64 (+.f64 x 1)) (neg.f64 (sqrt.f64 x))))))
31.5b
(fma.f64 (pow.f64 (+.f64 x 1) 1/4) (pow.f64 (+.f64 x 1) 1/4) (neg.f64 (sqrt.f64 x)))
31.1b
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
31.7b
(+.f64 (fma.f64 (pow.f64 (+.f64 x 1) 1/4) (pow.f64 (+.f64 x 1) 1/4) (neg.f64 (*.f64 (sqrt.f64 (cbrt.f64 x)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2))))) (fma.f64 (neg.f64 (sqrt.f64 (cbrt.f64 x))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (*.f64 (sqrt.f64 (cbrt.f64 x)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))))
31.4b
(+.f64 (fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x 1))) (neg.f64 (sqrt.f64 x))) (fma.f64 (neg.f64 (pow.f64 x 1/4)) (pow.f64 x 1/4) (sqrt.f64 x)))
31.5b
(+.f64 (fma.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)) (neg.f64 (sqrt.f64 x))) (fma.f64 (neg.f64 (pow.f64 x 1/4)) (pow.f64 x 1/4) (sqrt.f64 x)))
31.5b
(+.f64 (-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)) (fma.f64 (neg.f64 (pow.f64 x 1/4)) (pow.f64 x 1/4) (sqrt.f64 x)))
31.7b
(+.f64 (-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)) (fma.f64 (neg.f64 (cbrt.f64 (sqrt.f64 x))) (cbrt.f64 x) (sqrt.f64 x)))
32.6b
1
31.3b
(/.f64 (-.f64 (+.f64 x 1) (*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 (sqrt.f64 x)))) (-.f64 (sqrt.f64 (+.f64 x 1)) (neg.f64 (sqrt.f64 x))))
Compiler

Compiled 2842 to 1799 computations (36.7% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
0.0b
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
0.1b
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
2.4b
(+.f64 x (-.f64 1 x))

series21.0ms (0.7%)

Counts
3 → 14
Calls

3 calls:

11.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
9.0ms
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
1.0ms
(+.f64 x (-.f64 1 x))

rewrite81.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
689×fma-def_binary64
347×fma-neg_binary64
275×egg-rr
199×expm1-udef_binary64
199×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01038
123729
2353529
Stop Event
node limit
Counts
3 → 275
Calls

3 calls:

76.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
76.0ms
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
76.0ms
(+.f64 x (-.f64 1 x))

simplify14.0ms (0.5%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1414
Stop Event
saturated
Counts
289 → 276

prune252.0ms (8.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3044308
Fresh909
Picked101
Done000
Total3144318
Error
0.1b
Counts
318 → 4
Alt Table
StatusErrorProgram
31.5b
(fma.f64 (sqrt.f64 (+.f64 x 1)) 1 (neg.f64 (sqrt.f64 x)))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
31.1b
(cbrt.f64 (/.f64 (pow.f64 (+.f64 x (-.f64 1 x)) 3) (pow.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)) 3)))
31.5b
(-.f64 (/.f64 (+.f64 x 1) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))) (/.f64 x (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))
Compiler

Compiled 6663 to 4225 computations (36.6% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
0.0b
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))

series9.0ms (0.3%)

Counts
1 → 1
Calls

1 calls:

9.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))

rewrite38.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
845×log1p-expm1-u_binary64
845×expm1-log1p-u_binary64
84×add-sqr-sqrt_binary64
82×add-cbrt-cube_binary64
79×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
117814
2238514
Stop Event
node limit
Counts
1 → 25
Calls

1 calls:

37.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
141
Stop Event
saturated
Counts
26 → 26

prune155.0ms (5.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New989107
Fresh303
Picked101
Done000
Total1029111
Error
0.0b
Counts
111 → 9
Alt Table
StatusErrorProgram
0.2b
(/.f64 1 (fma.f64 (pow.f64 x 1/4) (pow.f64 x 1/4) (sqrt.f64 (+.f64 x 1))))
14.4b
(*.f64 (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) 3/2) (pow.f64 x 3/2))) (-.f64 (+.f64 (+.f64 1 x) x) (sqrt.f64 (*.f64 (+.f64 1 x) x))))
0.3b
(/.f64 1 (fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (sqrt.f64 (cbrt.f64 x)) (sqrt.f64 (+.f64 x 1))))
0.5b
(*.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)))
0.2b
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
0.3b
(pow.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) 2)
0.5b
(*.f64 (pow.f64 (hypot.f64 (pow.f64 (+.f64 1 x) 1/4) (pow.f64 x 1/4)) -1) (pow.f64 (hypot.f64 (pow.f64 (+.f64 1 x) 1/4) (pow.f64 x 1/4)) -1))
0.7b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 2) -1) (pow.f64 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) -1))
7.9b
(cbrt.f64 (pow.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 3))
Compiler

Compiled 1869 to 1364 computations (27% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 1 x))
0.0b
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
0.1b
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
0.3b
(pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)

series35.0ms (1.2%)

Counts
4 → 7
Calls

4 calls:

13.0ms
(pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)
9.0ms
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
8.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
5.0ms
(sqrt.f64 (+.f64 1 x))

rewrite52.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
439×fma-def_binary64
414×log-prod_binary64
218×fma-neg_binary64
171×expm1-udef_binary64
171×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01045
121745
2267545
Stop Event
node limit
Counts
4 → 134
Calls

4 calls:

50.0ms
(sqrt.f64 (+.f64 1 x))
50.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
50.0ms
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
50.0ms
(pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)

simplify27.0ms (0.9%)

Algorithm
egg-herbie
Rules
664×fma-def_binary64
612×associate-*l*_binary64
536×unswap-sqr_binary64
370×associate-*r*_binary64
222×fma-neg_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01850
15146
212340
339436
4112631
5374431
Stop Event
node limit
Counts
141 → 141

prune171.0ms (5.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1383141
Fresh448
Picked011
Done000
Total1428150
Error
0b
Counts
150 → 8
Alt Table
StatusErrorProgram
0.3b
(/.f64 1 (fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (sqrt.f64 (cbrt.f64 x)) (sqrt.f64 (+.f64 x 1))))
0.5b
(*.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)))
0.2b
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
0.3b
(pow.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) 2)
0.4b
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 (pow.f64 (+.f64 1 x) 1/4) (pow.f64 x 1/4)) 2) -2))
14.4b
(*.f64 (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) 3/2) (pow.f64 x 3/2))) (-.f64 (+.f64 (+.f64 1 x) x) (sqrt.f64 (*.f64 (+.f64 1 x) x))))
20.2b
(sqrt.f64 (cbrt.f64 (pow.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2) 3)))
7.9b
(cbrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -3))
Compiler

Compiled 2371 to 1773 computations (25.2% saved)

regimes329.0ms (11%)

Accuracy

Total 0.1b remaining (84.7%)

Threshold costs 0.1b (84.7%)

Counts
181 → 1
Compiler

Compiled 5781 to 4506 computations (22.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
fabs-div_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11616
Stop Event
saturated

end122.0ms (4.1%)

Compiler

Compiled 148 to 119 computations (19.6% saved)

Profiling

Loading profile data...