Details

Time bar (total: 1.8s)

analyze6.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.1s (62.4%)

Results
997.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 62 to 47 computations (24.2% saved)

simplify75.0ms (4.3%)

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

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 v (*.f64 v -3) 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))))

series19.0ms (1.1%)

Counts
2 → 24
Calls

2 calls:

15.0ms
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
4.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -3) 1))

rewrite12.0ms (0.7%)

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

2 calls:

7.0ms
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
1.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -3) 1))

simplify139.0ms (7.9%)

Algorithm
egg-herbie
Rules
552×fma-def_binary64
389×cancel-sign-sub-inv_binary64
359×distribute-rgt-in_binary64
332×distribute-lft-in_binary64
238×associate-*r*_binary64
Counts
73 → 93
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01922202
15082049
218321967
349411967

prune97.0ms (5.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New92193
Fresh101
Picked011
Done000
Total93295
Error
0b
Counts
95 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
0.0b
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (fma.f64 v (*.f64 v -3) 1))) (*.f64 -1/4 (fma.f64 v v -1)))
Compiler

Compiled 2723 to 2250 computations (17.4% saved)

localize10.0ms (0.6%)

Local error

Found 2 expressions with local error:

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

series9.0ms (0.5%)

Counts
1 → 12
Calls

1 calls:

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

rewrite7.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
10×sqrt-prod_binary64
associate-*r*_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
Counts
1 → 33
Calls

1 calls:

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

simplify52.0ms (3%)

Algorithm
egg-herbie
Rules
515×distribute-rgt-neg-in_binary64
485×distribute-lft-neg-in_binary64
353×associate-*l*_binary64
333×associate-*r*_binary64
298×times-frac_binary64
Counts
45 → 57
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0971023
1243991
2830965
33314965
44931965

prune84.0ms (4.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh000
Picked011
Done011
Total95297
Error
0b
Counts
97 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))))
0.0b
(*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (fma.f64 v (*.f64 v -3) 1))) (*.f64 -1/4 (fma.f64 v v -1)))
Compiler

Compiled 2463 to 2003 computations (18.7% saved)

regimes49.0ms (2.8%)

Accuracy

Total -0.0b remaining (-16.7%)

Threshold costs -0.0b (-16.7%)

Counts
15 → 1
Compiler

Compiled 821 to 644 computations (21.6% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01423
12023
21923

end86.0ms (4.9%)

Compiler

Compiled 70 to 54 computations (22.9% saved)

Profiling

Loading profile data...