Details

Time bar (total: 2.2s)

analyze6.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
12.5%25%62.5%4
18.7%12.5%68.8%5
21.9%6.2%71.9%6
23.4%3.1%73.5%7
24.2%1.6%74.2%8
24.6%0.8%74.6%9
24.8%0.4%74.8%10
24.9%0.2%74.9%11
24.9%0.1%75%12
25%0%75%13
25%0%75%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.8s (79.3%)

Alt Table
StatusErrorProgram
0.2b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Results
1.6s8256×body128valid
Compiler

Compiled 72 to 52 computations (27.8% saved)

localize9.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series15.0ms (0.7%)

Counts
2 → 24
Calls

2 calls:

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

rewrite108.0ms (4.8%)

Algorithm
batch-egg-rewrite
Rules
519×log-prod_binary64
399×fma-def_binary64
203×fma-neg_binary64
189×expm1-udef_binary64
188×log1p-udef_binary64
Counts
2 → 141
Calls

2 calls:

104.0ms
(+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x))
104.0ms
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01038
122338
2293136
3558236
000
100

prune102.0ms (4.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1641165
Fresh000
Picked011
Done000
Total1642166
Error
0b
Counts
166 → 2
Alt Table
StatusErrorProgram
0.2b
(+.f64 (neg.f64 (log.f64 x)) (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
0.2b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Compiler

Compiled 3374 to 2086 computations (38.2% saved)

localize8.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))
0.2b
(+.f64 (neg.f64 (log.f64 x)) (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))

series20.0ms (0.9%)

Counts
2 → 24
Calls

2 calls:

12.0ms
(+.f64 (neg.f64 (log.f64 x)) (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
8.0ms
(log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))

rewrite69.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
923×expm1-log1p-u_binary64
828×prod-diff_binary64
103×add-sqr-sqrt_binary64
101×log1p-expm1-u_binary64
97×add-log-exp_binary64
Counts
2 → 55
Calls

2 calls:

67.0ms
(log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))
67.0ms
(+.f64 (neg.f64 (log.f64 x)) (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01029
121327
2233227
3548327
000
100

prune45.0ms (2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New79079
Fresh000
Picked011
Done011
Total79281
Error
0b
Counts
81 → 2
Alt Table
StatusErrorProgram
0.2b
(+.f64 (neg.f64 (log.f64 x)) (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
0.2b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Compiler

Compiled 1527 to 1024 computations (32.9% saved)

regimes33.0ms (1.5%)

Accuracy

Total 0.2b remaining (98.8%)

Threshold costs 0.2b (98.8%)

Counts
8 → 1
Compiler

Compiled 292 to 223 computations (23.6% 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: 1 (0.0ms)

IterNodesCost
01018
12116
22916
33416
43616
53516

end47.0ms (2.1%)

Compiler

Compiled 48 to 35 computations (27.1% saved)

Profiling

Loading profile data...