Details

Time bar (total: 6.4s)

analyze1.2s (18.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%48.6%51.4%0
0%48.6%51.4%1
24.3%24.3%51.4%2
24.3%24.3%51.4%3
30.4%18.2%51.4%4
30.4%18.2%51.4%5
33.4%15.2%51.4%6
33.4%15.2%51.4%7
34.6%14.1%51.4%8
34.8%13.9%51.4%9
35.4%13.2%51.4%10
35.6%13.1%51.4%11
35.9%12.7%51.4%12
36%12.6%51.4%13
36.2%12.4%51.4%14
Compiler

Compiled 28 to 20 computations (28.6% saved)

sample63.0ms (1%)

Algorithm
intervals
Results
14.0ms206×body128valid
6.0ms19×body2048valid
5.0ms256×pre128true
4.0ms11×body1024valid
3.0msbody4096valid
1.0msbody512valid
1.0msbody256valid
Compiler

Compiled 49 to 36 computations (26.5% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
associate-/l*_binary64
distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01524
13124
23922
34522
44722
54922
65022
74722

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
11.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
Compiler

Compiled 68 to 48 computations (29.4% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.0b
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
1.7b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
16.6b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series179.0ms (2.8%)

Counts
4 → 96
Calls

4 calls:

62.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
57.0ms
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))
32.0ms
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
28.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64
21×add-cube-cbrt_binary64
18×times-frac_binary64
18×sqrt-prod_binary64
Counts
4 → 81
Calls

4 calls:

3.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
1.0ms
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))
1.0ms
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)

simplify101.0ms (1.6%)

Algorithm
egg-herbie
Rules
716×associate-/l*_binary64
593×fma-def_binary64
419×cancel-sign-sub-inv_binary64
284×fma-neg_binary64
229×sub-neg_binary64
Counts
177 → 241
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02734370
17344162
222944048
352264048

prune229.0ms (3.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2374241
Fresh000
Picked011
Done000
Total2375242
Error
1.9b
Counts
242 → 5
Alt Table
StatusErrorProgram
11.7b
(*.f64 (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
55.1b
(-.f64 (*.f64 3/2 (pow.f64 (/.f64 p x) 3)) (/.f64 p x))
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
11.2b
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
52.8b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 5786 to 3894 computations (32.7% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
1.2b
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
1.7b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
16.6b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series35.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

34.0ms
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
log-pow_binary64
exp-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 20
Calls

1 calls:

2.0ms
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))

simplify90.0ms (1.4%)

Algorithm
egg-herbie
Rules
816×times-frac_binary64
697×fma-neg_binary64
385×associate-/l*_binary64
330×associate-/r*_binary64
233×associate-*r*_binary64
Counts
44 → 61
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01241298
12971206
29381153
347201151
453031151

prune321.0ms (5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2502252
Fresh123
Picked101
Done011
Total2525257
Error
1.9b
Counts
257 → 5
Alt Table
StatusErrorProgram
11.2b
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))))
55.1b
(-.f64 (*.f64 3/2 (pow.f64 (/.f64 p x) 3)) (/.f64 p x))
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
11.7b
(*.f64 (sqrt.f64 (log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))) (sqrt.f64 (log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))))
52.8b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 6617 to 4624 computations (30.1% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
1.2b
(log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))))
1.7b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
16.6b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series93.0ms (1.5%)

Counts
1 → 24
Calls

1 calls:

93.0ms
(log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
log-pow_binary64
sqrt-pow1_binary64
log-prod_binary64
sqrt-prod_binary64
exp-prod_binary64
Counts
1 → 25
Calls

1 calls:

3.0ms
(log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))))

simplify96.0ms (1.5%)

Algorithm
egg-herbie
Rules
610×associate-/r*_binary64
555×associate-/l*_binary64
474×fma-def_binary64
317×fma-neg_binary64
249×associate-*l/_binary64
Counts
49 → 68
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01802209
14421819
214641680
345231656
448901656
549221656

prune690.0ms (10.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New5171518
Fresh033
Picked101
Done011
Total5185523
Error
1.8b
Counts
523 → 5
Alt Table
StatusErrorProgram
55.1b
(-.f64 (*.f64 3/2 (pow.f64 (/.f64 p x) 3)) (/.f64 p x))
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
11.1b
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2))))))))
11.7b
(*.f64 (sqrt.f64 (log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))) (sqrt.f64 (log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))))
52.8b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 24351 to 17608 computations (27.7% saved)

localize31.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.7b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
1.7b
(log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)))
16.6b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))
16.6b
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

series42.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

29.0ms
(log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)))
12.0ms
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
log-prod_binary64
log-pow_binary64
Counts
2 → 33
Calls

2 calls:

1.0ms
(log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)))
1.0ms
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

simplify79.0ms (1.2%)

Algorithm
egg-herbie
Rules
522×times-frac_binary64
275×unswap-sqr_binary64
268×associate-/l*_binary64
261×sub-neg_binary64
249×fma-def_binary64
Counts
81 → 104
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01491778
13591674
210081640
344211622
451241622

prune265.0ms (4.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2030203
Fresh033
Picked011
Done011
Total2035208
Error
1.8b
Counts
208 → 5
Alt Table
StatusErrorProgram
55.1b
(-.f64 (*.f64 3/2 (pow.f64 (/.f64 p x) 3)) (/.f64 p x))
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
11.1b
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2))))))))
11.7b
(*.f64 (sqrt.f64 (log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))) (sqrt.f64 (log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))))
52.8b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 9288 to 6699 computations (27.9% saved)

regimes1.1s (17.4%)

Accuracy

Total 3.0b remaining (50.1%)

Threshold costs 0b (0%)

Counts
153 → 2
Compiler

Compiled 22430 to 16726 computations (25.4% saved)

bsearch6.0ms (0.1%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02457
12657
22657

end1.0ms (0%)

Compiler

Compiled 40 to 25 computations (37.5% saved)

sample1.7s (26.1%)

Algorithm
intervals
Results
439.0ms6051×body128valid
275.0ms806×body2048valid
176.0ms8000×pre128true
136.0ms481×body1024valid
122.0ms280×body4096valid
53.0ms254×body512valid
20.0ms128×body256valid
Compiler

Compiled 190 to 133 computations (30% saved)

Profiling

Loading profile data...