Details

Time bar (total: 20.5s)

analyze1.5s (7.2%)

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
0%87.4%12.6%5
0%81.2%18.8%6
0%74.9%25.1%7
0%71.8%28.2%8
3.1%60.9%36%9
3.1%58.1%38.7%10
4.7%52.2%43.1%11
4.7%51%44.3%12
5.8%47.6%46.6%13
5.8%47%47.1%14
Compiler

Compiled 16 to 12 computations (25% saved)

sample12.0s (58.8%)

Results
4.0s807×body8192exit
2.3s2784×body1024valid
1.8s1526×body1024invalid
1.7s1758×body2048valid
742.0ms1278×body512valid
557.0ms758×body512invalid
354.0ms1849×body128valid
239.0ms587×body256valid
201.0ms1073×body128invalid
159.0ms378×body256invalid
12.0msbody2048invalid
Compiler

Compiled 31 to 23 computations (25.8% saved)

simplify51.0ms (0.2%)

Algorithm
egg-herbie
Rules
436×unswap-sqr_binary64
377×fma-def_binary64
359×sub-neg_binary64
289×unsub-neg_binary64
253×distribute-rgt-neg-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
12019
24119
310219
424819
579019
6211019
7440519
8504819

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
33.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
33.4b
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))
Compiler

Compiled 45 to 33 computations (26.7% saved)

localize7.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 x (/.f64 1 n))
1.9b
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))

series81.0ms (0.4%)

Counts
2 → 48
Calls

2 calls:

41.0ms
(pow.f64 x (/.f64 1 n))
40.0ms
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))

rewrite26.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
72×unpow-prod-down_binary64
67×*-un-lft-identity_binary64
56×add-sqr-sqrt_binary64
56×prod-diff_binary64
44×add-cube-cbrt_binary64
Counts
2 → 125
Calls

2 calls:

10.0ms
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))
3.0ms
(pow.f64 x (/.f64 1 n))

simplify160.0ms (0.8%)

Algorithm
egg-herbie
Rules
492×cancel-sign-sub-inv_binary64
340×fma-neg_binary64
253×sub-neg_binary64
187×fma-def_binary64
175×unswap-sqr_binary64
Counts
173 → 195
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03597938
18676269
229994427
345914427
448624427

prune264.0ms (1.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1914195
Fresh000
Picked101
Done000
Total1924196
Error
1.2b
Counts
196 → 4
Alt Table
StatusErrorProgram
36.5b
(-.f64 (fma.f64 1/2 (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 (*.f64 x x) (*.f64 n n))) (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 x n))) (*.f64 1/2 (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 x (*.f64 x n)))))
27.5b
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (pow.f64 (log.f64 (+.f64 1 x)) 2) (pow.f64 n 2))) (/.f64 (log.f64 (+.f64 1 x)) n)) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 (log.f64 x) 2) (pow.f64 n 2))) (/.f64 (log.f64 x) n)))
20.5b
(/.f64 (-.f64 (log1p.f64 x) (log.f64 x)) n)
33.2b
(-.f64 (exp.f64 (/.f64 (log1p.f64 x) n)) (pow.f64 x (/.f64 1 n)))
Compiler

Compiled 7599 to 5230 computations (31.2% saved)

localize6.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (log1p.f64 x) (log.f64 x)) n)
2.4b
(-.f64 (log1p.f64 x) (log.f64 x))

series575.0ms (2.8%)

Counts
2 → 36
Calls

2 calls:

570.0ms
(/.f64 (-.f64 (log1p.f64 x) (log.f64 x)) n)
4.0ms
(-.f64 (log1p.f64 x) (log.f64 x))

rewrite16.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity_binary64
33×add-sqr-sqrt_binary64
23×add-cube-cbrt_binary64
18×times-frac_binary64
12×prod-diff_binary64
Counts
2 → 83
Calls

2 calls:

6.0ms
(/.f64 (-.f64 (log1p.f64 x) (log.f64 x)) n)
4.0ms
(-.f64 (log1p.f64 x) (log.f64 x))

simplify161.0ms (0.8%)

Algorithm
egg-herbie
Rules
869×fma-neg_binary64
399×fma-def_binary64
386×associate-*l*_binary64
296×associate-*r*_binary64
171×associate-/l*_binary64
Counts
119 → 118
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01892225
14261862
212171802
340711801
449621801
549711801
649341801

prune108.0ms (0.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1135118
Fresh033
Picked101
Done000
Total1148122
Error
0.0b
Counts
122 → 8
Alt Table
StatusErrorProgram
36.5b
(-.f64 (fma.f64 1/2 (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 (*.f64 x x) (*.f64 n n))) (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 x n))) (*.f64 1/2 (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 x (*.f64 x n)))))
20.7b
(/.f64 (*.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))) (/.f64 n (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))))
20.7b
(/.f64 (-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log.f64 x) (log.f64 x))) (*.f64 n (+.f64 (log1p.f64 x) (log.f64 x))))
40.5b
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))) n)
27.5b
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (pow.f64 (log.f64 (+.f64 1 x)) 2) (pow.f64 n 2))) (/.f64 (log.f64 (+.f64 1 x)) n)) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 (log.f64 x) 2) (pow.f64 n 2))) (/.f64 (log.f64 x) n)))
21.4b
(/.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log.f64 x) 3)) (*.f64 n (+.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (+.f64 (*.f64 (log.f64 x) (log.f64 x)) (*.f64 (log1p.f64 x) (log.f64 x))))))
33.2b
(-.f64 (exp.f64 (/.f64 (log1p.f64 x) n)) (pow.f64 x (/.f64 1 n)))
32.9b
(/.f64 (-.f64 (-.f64 (log1p.f64 x) (*.f64 2 (log.f64 (cbrt.f64 x)))) (log.f64 (cbrt.f64 x))) n)
Compiler

Compiled 2334 to 824 computations (64.7% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (log1p.f64 x) (log1p.f64 x))
0.4b
(/.f64 (-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log.f64 x) (log.f64 x))) (*.f64 n (+.f64 (log1p.f64 x) (log.f64 x))))
0.5b
(*.f64 (log.f64 x) (log.f64 x))
2.4b
(-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log.f64 x) (log.f64 x)))

series1.1s (5.4%)

Counts
4 → 60
Calls

4 calls:

1.1s
(/.f64 (-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log.f64 x) (log.f64 x))) (*.f64 n (+.f64 (log1p.f64 x) (log.f64 x))))
27.0ms
(*.f64 (log.f64 x) (log.f64 x))
9.0ms
(-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log.f64 x) (log.f64 x)))
7.0ms
(*.f64 (log1p.f64 x) (log1p.f64 x))

rewrite29.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×pow1_binary64
22×add-sqr-sqrt_binary64
20×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
13×add-cbrt-cube_binary64
Counts
4 → 118
Calls

4 calls:

11.0ms
(/.f64 (-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log.f64 x) (log.f64 x))) (*.f64 n (+.f64 (log1p.f64 x) (log.f64 x))))
4.0ms
(-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log.f64 x) (log.f64 x)))
4.0ms
(*.f64 (log.f64 x) (log.f64 x))
3.0ms
(*.f64 (log1p.f64 x) (log1p.f64 x))

simplify130.0ms (0.6%)

Algorithm
egg-herbie
Rules
321×fma-def_binary64
311×associate-/r*_binary64
240×associate-*r*_binary64
232×fma-neg_binary64
215×associate-*l*_binary64
Counts
178 → 242
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04395412
113165007
249125005
350495005

prune257.0ms (1.3%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2411242
Fresh077
Picked011
Done000
Total2419250
Error
0.0b
Counts
250 → 9
Alt Table
StatusErrorProgram
40.5b
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))) n)
40.5b
(/.f64 (+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 (/.f64 -1 x) (/.f64 (log.f64 x) x) (/.f64 (*.f64 2 (log.f64 x)) x))) (*.f64 n (+.f64 (log1p.f64 x) (log.f64 x))))
36.5b
(-.f64 (fma.f64 1/2 (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 (*.f64 x x) (*.f64 n n))) (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 x n))) (*.f64 1/2 (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 x (*.f64 x n)))))
20.7b
(/.f64 (*.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))) (/.f64 n (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))))
20.7b
(/.f64 (-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log.f64 x) (log.f64 x))) (*.f64 n (+.f64 (log1p.f64 x) (log.f64 x))))
27.5b
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (pow.f64 (log.f64 (+.f64 1 x)) 2) (pow.f64 n 2))) (/.f64 (log.f64 (+.f64 1 x)) n)) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 (log.f64 x) 2) (pow.f64 n 2))) (/.f64 (log.f64 x) n)))
21.4b
(/.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log.f64 x) 3)) (*.f64 n (+.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (+.f64 (*.f64 (log.f64 x) (log.f64 x)) (*.f64 (log1p.f64 x) (log.f64 x))))))
33.2b
(-.f64 (exp.f64 (/.f64 (log1p.f64 x) n)) (pow.f64 x (/.f64 1 n)))
32.9b
(/.f64 (-.f64 (-.f64 (log1p.f64 x) (*.f64 2 (log.f64 (cbrt.f64 x)))) (log.f64 (cbrt.f64 x))) n)
Compiler

Compiled 9297 to 4263 computations (54.1% saved)

localize10.0ms (0%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (*.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))) (/.f64 n (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))))
0.2b
(cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))
0.3b
(*.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))))
2.4b
(-.f64 (log1p.f64 x) (log.f64 x))

series544.0ms (2.7%)

Counts
3 → 48
Calls

3 calls:

517.0ms
(/.f64 (*.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))) (/.f64 n (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))))
15.0ms
(*.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))))
11.0ms
(cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))

rewrite58.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
93×*-un-lft-identity_binary64
87×times-frac_binary64
82×cbrt-prod_binary64
74×add-sqr-sqrt_binary64
44×add-cube-cbrt_binary64
Counts
3 → 179
Calls

3 calls:

18.0ms
(/.f64 (*.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))) (/.f64 n (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))))
12.0ms
(*.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))))
3.0ms
(cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))

simplify242.0ms (1.2%)

Algorithm
egg-herbie
Rules
792×fma-def_binary64
282×associate-/l*_binary64
226×fma-neg_binary64
195×associate-*r*_binary64
178×sub-neg_binary64
Counts
227 → 299
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
04028079
19827032
234956268
347726141
449906141
549486141

prune515.0ms (2.5%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New5570557
Fresh077
Picked011
Done011
Total5579566
Error
0.0b
Counts
566 → 9
Alt Table
StatusErrorProgram
40.5b
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))) n)
40.5b
(/.f64 (+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 (/.f64 -1 x) (/.f64 (log.f64 x) x) (/.f64 (*.f64 2 (log.f64 x)) x))) (*.f64 n (+.f64 (log1p.f64 x) (log.f64 x))))
36.5b
(-.f64 (fma.f64 1/2 (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 (*.f64 x x) (*.f64 n n))) (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 x n))) (*.f64 1/2 (/.f64 (pow.f64 x (/.f64 1 n)) (*.f64 x (*.f64 x n)))))
20.7b
(/.f64 (*.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x))) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))) (/.f64 n (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 x)))))
20.7b
(/.f64 (-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log.f64 x) (log.f64 x))) (*.f64 n (+.f64 (log1p.f64 x) (log.f64 x))))
27.5b
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (pow.f64 (log.f64 (+.f64 1 x)) 2) (pow.f64 n 2))) (/.f64 (log.f64 (+.f64 1 x)) n)) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 (log.f64 x) 2) (pow.f64 n 2))) (/.f64 (log.f64 x) n)))
21.4b
(/.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log.f64 x) 3)) (*.f64 n (+.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (+.f64 (*.f64 (log.f64 x) (log.f64 x)) (*.f64 (log1p.f64 x) (log.f64 x))))))
33.2b
(-.f64 (exp.f64 (/.f64 (log1p.f64 x) n)) (pow.f64 x (/.f64 1 n)))
32.9b
(/.f64 (-.f64 (-.f64 (log1p.f64 x) (*.f64 2 (log.f64 (cbrt.f64 x)))) (log.f64 (cbrt.f64 x))) n)
Compiler

Compiled 18781 to 4739 computations (74.8% saved)

regimes2.3s (11.4%)

Accuracy

Total 6.9b remaining (97.3%)

Threshold costs 0b (0%)

Counts
213 → 2
Compiler

Compiled 19573 to 10526 computations (46.2% saved)

bsearch101.0ms (0.5%)

Steps
ItersRangePoint
9
0.03365737498385137
1019306.2919526637
105986.23398746474
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01631
12031
21931

end162.0ms (0.8%)

Compiler

Compiled 271 to 163 computations (39.9% saved)

Profiling

Loading profile data...