Details

Time bar (total: 2.2s)

analyze5.0ms (0.2%)

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)

sample970.0ms (43.6%)

Results
866.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 62 to 47 computations (24.2% saved)

simplify82.0ms (3.7%)

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.5%)

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))))

series27.0ms (1.2%)

Counts
2 → 24
Calls

2 calls:

16.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)))

rewrite18.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:

8.0ms
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
6.0ms
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1)))

simplify140.0ms (6.3%)

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

prune107.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.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.3b
(-.f64 (*.f64 1/4 (sqrt.f64 2)) (*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2))))
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.5%)

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))

series30.0ms (1.4%)

Counts
4 → 48
Calls

4 calls:

13.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
11.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))

rewrite42.0ms (1.9%)

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)))
9.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
6.0ms
(*.f64 3 (*.f64 v v))
2.0ms
(-.f64 1 (*.f64 v v))

simplify136.0ms (6.1%)

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

prune250.0ms (11.3%)

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.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.3b
(-.f64 (*.f64 1/4 (sqrt.f64 2)) (*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2))))
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)

localize11.0ms (0.5%)

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))

series19.0ms (0.9%)

Counts
3 → 3
Calls

3 calls:

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

rewrite20.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:

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

simplify111.0ms (5%)

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

prune108.0ms (4.9%)

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.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.3b
(-.f64 (*.f64 1/4 (sqrt.f64 2)) (*.f64 5/8 (*.f64 (pow.f64 v 2) (sqrt.f64 2))))
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)

regimes55.0ms (2.5%)

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

end65.0ms (2.9%)

Compiler

Compiled 92 to 72 computations (21.7% saved)

Profiling

Loading profile data...