Details

Time bar (total: 2.8s)

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

sample1.1s (40.4%)

Results
1.0s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 62 to 47 computations (24.2% saved)

simplify75.0ms (2.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.1%)

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)

localize11.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
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
0.1b
(*.f64 3 (*.f64 v v))

series30.0ms (1.1%)

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

rewrite64.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt_binary64
26×associate-*l*_binary64
25×*-un-lft-identity_binary64
24×add-cube-cbrt_binary64
23×add-cbrt-cube_binary64
Counts
4 → 143
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)))))
4.0ms
(*.f64 3 (*.f64 v v))
4.0ms
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))

simplify168.0ms (5.9%)

Algorithm
egg-herbie
Rules
674×cancel-sign-sub-inv_binary64
427×times-frac_binary64
389×associate-*l*_binary64
374×associate-*r*_binary64
274×fma-neg_binary64
Counts
191 → 252
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03415429
19675084
234345016
354135016

prune235.0ms (8.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2511252
Fresh011
Picked011
Done000
Total2513254
Error
0b
Counts
254 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 (sqrt.f64 (/.f64 (sqrt.f64 2) 4)) (*.f64 (sqrt.f64 (/.f64 (sqrt.f64 2) 4)) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))) (-.f64 1 (*.f64 v v)))
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 8015 to 6003 computations (25.1% saved)

localize10.0ms (0.4%)

Local error

Found 3 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))))
0.0b
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1)))

series31.0ms (1.1%)

Counts
3 → 36
Calls

3 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))))
11.0ms
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1)))
5.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -3) 1))

rewrite20.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
18×pow1_binary64
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
16×distribute-lft-in_binary64
16×distribute-rgt-in_binary64
Counts
3 → 76
Calls

3 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)))
1.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -3) 1))

simplify113.0ms (4%)

Algorithm
egg-herbie
Rules
766×fma-def_binary64
672×fma-neg_binary64
569×cancel-sign-sub-inv_binary64
256×associate-*r*_binary64
230×sub-neg_binary64
Counts
112 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02333324
16443084
223502985
343642978
449882978

prune158.0ms (5.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1451146
Fresh101
Picked101
Done011
Total1472149
Error
0b
Counts
149 → 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)))
1.0b
(*.f64 (sqrt.f64 2) (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))) 3)))
Compiler

Compiled 4206 to 3459 computations (17.8% saved)

localize15.0ms (0.5%)

Local error

Found 4 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) (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))) 3)))
0.0b
(pow.f64 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))) 3)
1.0b
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))) 3))

series133.0ms (4.7%)

Counts
3 → 36
Calls

3 calls:

61.0ms
(*.f64 (sqrt.f64 2) (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))) 3)))
48.0ms
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))) 3))
23.0ms
(pow.f64 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))) 3)

rewrite21.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
20×cbrt-prod_binary64
19×add-sqr-sqrt_binary64
11×associate-*r*_binary64
11×add-exp-log_binary64
11×pow1_binary64
Counts
3 → 82
Calls

3 calls:

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

simplify140.0ms (4.9%)

Algorithm
egg-herbie
Rules
678×fma-neg_binary64
324×sub-neg_binary64
310×associate-*r*_binary64
230×associate-*l*_binary64
223×fma-def_binary64
Counts
118 → 181
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02744419
17824102
233054066
348824066
450564066

prune232.0ms (8.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2310231
Fresh000
Picked011
Done011
Total2312233
Error
0b
Counts
233 → 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)))
1.0b
(*.f64 (sqrt.f64 2) (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -3) 1)) (*.f64 -1/4 (fma.f64 v v -1))) 3)))
Compiler

Compiled 7853 to 6608 computations (15.9% saved)

regimes156.0ms (5.5%)

Accuracy

Total 0.0b remaining (48.1%)

Threshold costs 0.0b (48.1%)

Counts
60 → 1
Compiler

Compiled 2977 to 2451 computations (17.7% 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

end64.0ms (2.2%)

Compiler

Compiled 81 to 62 computations (23.5% saved)

Profiling

Loading profile data...