Details

Time bar (total: 5.0s)

analyze1.3s (25.5%)

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)

sample2.3s (45.6%)

Results
980.0ms6241×body128valid
596.0ms857×body2048valid
292.0ms510×body1024valid
201.0ms263×body4096valid
109.0ms255×body512valid
43.0ms130×body256valid
Compiler

Compiled 75 to 54 computations (28% saved)

simplify8.0ms (0.2%)

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

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
12.4b
Counts
3 → 1
Alt Table
StatusErrorProgram
12.4b
(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)

localize12.0ms (0.2%)

Local error

Found 3 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.7b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
11.7b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series90.0ms (1.8%)

Counts
3 → 72
Calls

3 calls:

43.0ms
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
32.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
14.0ms
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
sqrt-prod_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
3 → 40
Calls

3 calls:

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)

simplify98.0ms (2%)

Algorithm
egg-herbie
Rules
586×associate-/l*_binary64
524×associate-/r*_binary64
449×fma-def_binary64
357×fma-neg_binary64
304×cancel-sign-sub-inv_binary64
Counts
112 → 149
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01952620
15442498
217422405
348652405
449612405

prune127.0ms (2.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1445149
Fresh000
Picked101
Done000
Total1455150
Error
2.0b
Counts
150 → 5
Alt Table
StatusErrorProgram
12.4b
(sqrt.f64 (log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
56.5b
(sqrt.f64 (fma.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) (fma.f64 (/.f64 p x) (/.f64 p x) (fma.f64 (/.f64 (pow.f64 p 8) (pow.f64 x 8)) -35 (*.f64 (/.f64 (pow.f64 p 4) (pow.f64 x 4)) -3)))))
51.8b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
53.1b
(sqrt.f64 (/.f64 (pow.f64 p 2) (pow.f64 x 2)))
53.7b
(neg.f64 (/.f64 p x))
Compiler

Compiled 3417 to 2360 computations (30.9% saved)

localize17.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
0.7b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
0.7b
(log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))
11.7b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series68.0ms (1.4%)

Counts
2 → 48
Calls

2 calls:

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

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
log-pow_binary64
sqrt-prod_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
exp-prod_binary64
Counts
2 → 37
Calls

2 calls:

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

simplify62.0ms (1.2%)

Algorithm
egg-herbie
Rules
972×times-frac_binary64
475×associate-/l*_binary64
434×associate-/r*_binary64
332×fma-def_binary64
222×cancel-sign-sub-inv_binary64
Counts
85 → 115
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01772261
14332132
213712055
351522055

prune178.0ms (3.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2140214
Fresh044
Picked011
Done000
Total2145219
Error
2.0b
Counts
219 → 5
Alt Table
StatusErrorProgram
12.4b
(sqrt.f64 (log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
56.5b
(sqrt.f64 (fma.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) (fma.f64 (/.f64 p x) (/.f64 p x) (fma.f64 (/.f64 (pow.f64 p 8) (pow.f64 x 8)) -35 (*.f64 (/.f64 (pow.f64 p 4) (pow.f64 x 4)) -3)))))
51.8b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
53.1b
(sqrt.f64 (/.f64 (pow.f64 p 2) (pow.f64 x 2)))
53.7b
(neg.f64 (/.f64 p x))
Compiler

Compiled 5184 to 3687 computations (28.9% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 p (/.f64 (*.f64 x x) p))
0.1b
(/.f64 (*.f64 x x) p)
21.9b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

series59.0ms (1.2%)

Counts
3 → 72
Calls

3 calls:

37.0ms
(/.f64 p (/.f64 (*.f64 x x) p))
12.0ms
(/.f64 (*.f64 x x) p)
10.0ms
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

rewrite23.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
69×times-frac_binary64
40×add-sqr-sqrt_binary64
35×*-un-lft-identity_binary64
35×add-cube-cbrt_binary64
26×sqrt-prod_binary64
Counts
3 → 114
Calls

3 calls:

7.0ms
(/.f64 p (/.f64 (*.f64 x x) p))
5.0ms
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
4.0ms
(/.f64 (*.f64 x x) p)

simplify151.0ms (3.1%)

Algorithm
egg-herbie
Rules
676×times-frac_binary64
393×associate-/l*_binary64
381×associate-/l/_binary64
365×unswap-sqr_binary64
334×fma-neg_binary64
Counts
186 → 192
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01702504
13002325
28532121
330292022
442001918
549631918
649931918

prune57.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1911192
Fresh213
Picked101
Done011
Total1943197
Error
0b
Counts
197 → 3
Alt Table
StatusErrorProgram
53.2b
(/.f64 p x)
12.4b
(sqrt.f64 (log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
53.7b
(neg.f64 (/.f64 p x))
Compiler

Compiled 2757 to 771 computations (72% saved)

localize2.0ms (0%)

prune2.0ms (0%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
53.2b
(/.f64 p x)
12.4b
(sqrt.f64 (log.f64 (exp.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
53.7b
(neg.f64 (/.f64 p x))
Compiler

Compiled 30 to 21 computations (30% saved)

regimes381.0ms (7.7%)

Accuracy

Total 5.9b remaining (98.7%)

Threshold costs 0b (0%)

Counts
52 → 2
Compiler

Compiled 5143 to 3968 computations (22.8% saved)

bsearch1.0ms (0%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02661
12861
22861

end73.0ms (1.5%)

Compiler

Compiled 114 to 75 computations (34.2% saved)

Profiling

Loading profile data...