Details

Time bar (total: 2.4s)

analyze50.0ms (2.1%)

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
25%74.9%0.1%4
37.5%62.4%0.1%5
62.4%37.5%0.1%6
87.4%12.5%0.1%7
87.4%12.5%0.1%8
93.7%6.2%0.1%9
93.7%6.2%0.1%10
96.8%3.1%0.1%11
96.8%3.1%0.1%12
98.3%1.6%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample114.0ms (4.8%)

Algorithm
intervals
Results
9.0ms256×body128valid
Compiler

Compiled 23 to 15 computations (34.8% saved)

simplify77.0ms (3.2%)

Algorithm
egg-herbie
Rules
694×fma-def_binary64
621×fma-neg_binary64
457×times-frac_binary64
316×div-sub_binary64
141×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0712
11812
23812
37112
415212
520712
659710
793710
8131410
9133710
10134210
11136910
12137910
13137910
14127410

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 35 to 18 computations (48.6% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))

series9.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

rewrite9.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
20×times-frac_binary64
12×add-cube-cbrt_binary64
distribute-lft-out_binary64
Counts
1 → 47
Calls

1 calls:

6.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

simplify78.0ms (3.3%)

Algorithm
egg-herbie
Rules
360×cancel-sign-sub-inv_binary64
305×neg-mul-1_binary64
284×div-sub_binary64
252×fma-def_binary64
243×fma-neg_binary64
Counts
71 → 57
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01081291
12741214
27951163
325941145
444361145
551071145

prune79.0ms (3.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New53457
Fresh000
Picked011
Done000
Total53558
Error
0b
Counts
58 → 5
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
31.6b
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 n f))) (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))))
32.6b
(*.f64 (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(cbrt.f64 (pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3))
31.4b
(fma.f64 (/.f64 n f) -2 -1)
Compiler

Compiled 974 to 337 computations (65.4% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(cbrt.f64 (pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.1b
(pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3)

series73.0ms (3%)

Counts
2 → 48
Calls

2 calls:

56.0ms
(pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3)
17.0ms
(cbrt.f64 (pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3))

rewrite35.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
116×*-un-lft-identity_binary64
80×times-frac_binary64
76×add-sqr-sqrt_binary64
58×cbrt-prod_binary64
52×cube-prod_binary64
Counts
2 → 144
Calls

2 calls:

9.0ms
(cbrt.f64 (pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3))
9.0ms
(pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3)

simplify210.0ms (8.7%)

Algorithm
egg-herbie
Rules
413×fma-def_binary64
329×unswap-sqr_binary64
283×distribute-rgt-in_binary64
228×log-prod_binary64
219×distribute-lft-in_binary64
Counts
192 → 144
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02274212
16303868
220803747
345903741
449743741

prune120.0ms (5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2010201
Fresh033
Picked011
Done011
Total2015206
Error
0b
Counts
206 → 5
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
31.6b
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 n f))) (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))))
32.6b
(*.f64 (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(cbrt.f64 (pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3))
31.4b
(fma.f64 (/.f64 n f) -2 -1)
Compiler

Compiled 3831 to 1506 computations (60.7% saved)

localize4.0ms (0.2%)

prune3.0ms (0.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done022
Total055
Error
0b
Counts
5 → 5
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
31.6b
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 n f))) (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))))
32.6b
(*.f64 (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(cbrt.f64 (pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3))
31.4b
(fma.f64 (/.f64 n f) -2 -1)
Compiler

Compiled 101 to 51 computations (49.5% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (-.f64 n f))
0.1b
(/.f64 1 (sqrt.f64 (-.f64 n f)))
0.1b
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 n f))) (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))))
0.3b
(/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f)))

series113.0ms (4.7%)

Counts
4 → 44
Calls

4 calls:

39.0ms
(/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f)))
35.0ms
(/.f64 1 (sqrt.f64 (-.f64 n f)))
20.0ms
(sqrt.f64 (-.f64 n f))
19.0ms
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 n f))) (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))))

rewrite71.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
154×add-sqr-sqrt_binary64
147×*-un-lft-identity_binary64
134×times-frac_binary64
96×sqrt-prod_binary64
73×add-cube-cbrt_binary64
Counts
4 → 247
Calls

4 calls:

27.0ms
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 n f))) (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))))
7.0ms
(/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f)))
5.0ms
(/.f64 1 (sqrt.f64 (-.f64 n f)))
5.0ms
(sqrt.f64 (-.f64 n f))

simplify301.0ms (12.6%)

Algorithm
egg-herbie
Rules
493×distribute-rgt-in_binary64
225×associate-*r*_binary64
201×cancel-sign-sub-inv_binary64
193×associate-/l*_binary64
178×fma-def_binary64
Counts
291 → 342
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03446758
19295972
233525898
351945898

prune180.0ms (7.5%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New3750375
Fresh011
Picked011
Done033
Total3755380
Error
0b
Counts
380 → 5
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
31.6b
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 n f))) (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))))
32.6b
(*.f64 (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(cbrt.f64 (pow.f64 (/.f64 (+.f64 f n) (-.f64 n f)) 3))
31.4b
(fma.f64 (/.f64 n f) -2 -1)
Compiler

Compiled 9738 to 3160 computations (67.5% saved)

regimes186.0ms (7.8%)

Accuracy

Total 0.0b remaining (57.3%)

Threshold costs 0.0b (57.3%)

Counts
49 → 1
Compiler

Compiled 1944 to 1260 computations (35.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
1910
21410
31610
41710
51710

end0.0ms (0%)

Compiler

Compiled 9 to 5 computations (44.4% saved)

sample659.0ms (27.5%)

Algorithm
intervals
Results
375.0ms8000×body128valid
Compiler

Compiled 87 to 49 computations (43.7% saved)

Profiling

Loading profile data...