Details

Time bar (total: 2.5s)

analyze7.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50.1%13
49.9%0%50.1%14
Compiler

Compiled 21 to 16 computations (23.8% saved)

sample1.2s (46.6%)

Results
1.1s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 62 to 47 computations (24.2% saved)

simplify79.0ms (3.2%)

Algorithm
egg-herbie
Rules
750×div-sub_binary64
748×fma-neg_binary64
599×fma-def_binary64
502×associate-/l*_binary64
423×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01529
13729
28227
320127
452627
599125
6161425
7327325
8365325
9469425
10494225

prune4.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
Compiler

Compiled 113 to 86 computations (23.9% saved)

localize10.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1)))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))

series28.0ms (1.1%)

Counts
2 → 24
Calls

2 calls:

17.0ms
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
11.0ms
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1)))

rewrite19.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
16×distribute-lft-in_binary64
16×distribute-rgt-in_binary64
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
16×pow1_binary64
Counts
2 → 61
Calls

2 calls:

9.0ms
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
5.0ms
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1)))

simplify158.0ms (6.4%)

Algorithm
egg-herbie
Rules
640×fma-def_binary64
599×fma-neg_binary64
524×cancel-sign-sub-inv_binary64
376×distribute-rgt-in_binary64
248×associate-*r*_binary64
Counts
85 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01972874
15382641
220412536
346572530
449972530
549992530
649822530

prune118.0ms (4.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1041105
Fresh011
Picked011
Done000
Total1043107
Error
0b
Counts
107 → 3
Alt Table
StatusErrorProgram
0.3b
(-.f64 (*.f64 1/4 (sqrt.f64 2)) (*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2))))
0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
Compiler

Compiled 3221 to 2658 computations (17.5% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.0b
(-.f64 1 (*.f64 v v))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
0.2b
(*.f64 3 (*.f64 v v))

series31.0ms (1.3%)

Counts
4 → 48
Calls

4 calls:

14.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
12.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
3.0ms
(*.f64 3 (*.f64 v v))
2.0ms
(-.f64 1 (*.f64 v v))

rewrite44.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt_binary64
27×*-un-lft-identity_binary64
26×associate-*l*_binary64
25×add-cube-cbrt_binary64
23×add-cbrt-cube_binary64
Counts
4 → 148
Calls

4 calls:

11.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
10.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
7.0ms
(*.f64 3 (*.f64 v v))
3.0ms
(-.f64 1 (*.f64 v v))

simplify122.0ms (4.9%)

Algorithm
egg-herbie
Rules
597×cancel-sign-sub-inv_binary64
416×times-frac_binary64
377×associate-*l*_binary64
361×associate-*r*_binary64
248×*-commutative_binary64
Counts
196 → 251
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03165214
18744853
231234767
349734767

prune288.0ms (11.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2510251
Fresh011
Picked011
Done011
Total2513254
Error
0b
Counts
254 → 3
Alt Table
StatusErrorProgram
0.3b
(-.f64 (*.f64 1/4 (sqrt.f64 2)) (*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2))))
0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
Compiler

Compiled 7813 to 5780 computations (26% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 1/4 (sqrt.f64 2)) (*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2))))
0.1b
(*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2)))
0.3b
(*.f64 (pow.f64 v 2) (sqrt.f64 2))

series21.0ms (0.8%)

Counts
3 → 3
Calls

3 calls:

10.0ms
(*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2)))
6.0ms
(-.f64 (*.f64 1/4 (sqrt.f64 2)) (*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2))))
5.0ms
(*.f64 (pow.f64 v 2) (sqrt.f64 2))

rewrite22.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
18×add-exp-log_binary64
11×associate-*l*_binary64
10×add-cbrt-cube_binary64
10×prod-exp_binary64
Counts
3 → 73
Calls

3 calls:

5.0ms
(*.f64 (pow.f64 v 2) (sqrt.f64 2))
5.0ms
(*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2)))
4.0ms
(-.f64 (*.f64 1/4 (sqrt.f64 2)) (*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2))))

simplify115.0ms (4.6%)

Algorithm
egg-herbie
Rules
761×fma-def_binary64
403×distribute-rgt-neg-in_binary64
380×distribute-lft-neg-in_binary64
272×*-commutative_binary64
272×fma-neg_binary64
Counts
76 → 109
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01151271
12551054
28181031
318731002
443301002
548931002
649811002
747151002

prune109.0ms (4.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1090109
Fresh000
Picked011
Done022
Total1093112
Error
0b
Counts
112 → 3
Alt Table
StatusErrorProgram
0.3b
(-.f64 (*.f64 1/4 (sqrt.f64 2)) (*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2))))
0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
Compiler

Compiled 2125 to 1842 computations (13.3% saved)

regimes59.0ms (2.4%)

Accuracy

Total 0.0b remaining (36.4%)

Threshold costs 0.0b (36.4%)

Counts
22 → 1
Compiler

Compiled 925 to 768 computations (17% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
distribute-rgt-neg-in_binary64
cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01529
13129
24229
34829
45129
54929

end67.0ms (2.7%)

Compiler

Compiled 92 to 72 computations (21.7% saved)

Profiling

Loading profile data...