Details

Time bar (total: 6.5s)

analyze424.0ms (6.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 32 to 20 computations (37.5% saved)

sample59.0ms (0.9%)

Algorithm
intervals
Results
42.0ms256×body128valid
Compiler

Compiled 65 to 41 computations (36.9% saved)

simplify81.0ms (1.2%)

Algorithm
egg-herbie
Rules
620×fma-def_binary64
556×cancel-sign-sub-inv_binary64
552×unswap-sqr_binary64
357×unsub-neg_binary64
344×+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01939
15737
216837
349237
4160433
5289133
6430933
7521433

prune9.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 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1)
Compiler

Compiled 166 to 104 computations (37.3% saved)

localize29.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 a b) 4)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
0.1b
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
1.1b
(*.f64 (*.f64 b b) (+.f64 a 3))

rewrite30.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-exp-log_binary64
10×pow1_binary64
add-cube-cbrt_binary64
Counts
4 → 78
Calls

4 calls:

13.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))
7.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
3.0ms
(pow.f64 (hypot.f64 a b) 4)
1.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))

series258.0ms (4%)

Counts
4 → 96
Calls

4 calls:

99.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
77.0ms
(pow.f64 (hypot.f64 a b) 4)
45.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))
36.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))

simplify165.0ms (2.5%)

Algorithm
egg-herbie
Rules
574×associate-+l+_binary64
469×distribute-rgt-in_binary64
453×distribute-lft-in_binary64
338×associate--l+_binary64
219×cancel-sign-sub-inv_binary64
Counts
174 → 315
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01743413
14643143
215563045
350743045

prune384.0ms (5.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3114315
Fresh011
Picked101
Done000
Total3125317
Error
0.0b
Counts
317 → 5
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) -1)
43.6b
(*.f64 (sqrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (sqrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
15.1b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 -1)) 3))
15.1b
(cbrt.f64 (*.f64 (*.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1)
Compiler

Compiled 5287 to 3101 computations (41.3% saved)

localize26.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 a b) 4)
0.0b
(-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3))
0.0b
(fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4))
1.1b
(*.f64 (+.f64 3 a) (*.f64 b b))

rewrite38.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt_binary64
36×prod-diff_binary64
33×*-un-lft-identity_binary64
29×add-cube-cbrt_binary64
13×cube-prod_binary64
Counts
3 → 104
Calls

3 calls:

15.0ms
(*.f64 (+.f64 3 a) (*.f64 b b))
10.0ms
(-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3))
1.0ms
(fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4))

series148.0ms (2.3%)

Counts
3 → 72
Calls

3 calls:

70.0ms
(fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4))
39.0ms
(-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3))
38.0ms
(*.f64 (+.f64 3 a) (*.f64 b b))

simplify301.0ms (4.6%)

Algorithm
egg-herbie
Rules
548×distribute-rgt-in_binary64
515×fma-neg_binary64
502×exp-prod_binary64
458×cancel-sign-sub-inv_binary64
247×unswap-sqr_binary64
Counts
176 → 337
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02214043
14473644
216993331
342743318
448693318
549533318
649063318

prune616.0ms (9.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New4111412
Fresh134
Picked011
Done000
Total4125417
Error
0.0b
Counts
417 → 5
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) -1)
43.6b
(*.f64 (sqrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (sqrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
15.1b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 -1)) 3))
15.1b
(cbrt.f64 (*.f64 (*.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
0.2b
(+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))) -1)
Compiler

Compiled 7093 to 4264 computations (39.9% saved)

localize34.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3))
0.0b
(fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)))
0.3b
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))
1.1b
(*.f64 (+.f64 3 a) (*.f64 b b))

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×unpow-prod-down_binary64
pow-unpow_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 39
Calls

2 calls:

5.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))
1.0ms
(fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)))

series159.0ms (2.4%)

Counts
2 → 48
Calls

2 calls:

81.0ms
(fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)))
77.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))

simplify178.0ms (2.7%)

Algorithm
egg-herbie
Rules
650×fma-neg_binary64
596×fma-def_binary64
403×cancel-sign-sub-inv_binary64
379×associate-+l+_binary64
310×distribute-lft-out_binary64
Counts
87 → 160
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01112093
12711834
27261645
327971631
445091628
549411628

prune389.0ms (6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New4350435
Fresh033
Picked011
Done011
Total4355440
Error
0.0b
Counts
440 → 5
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) -1)
43.6b
(*.f64 (sqrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (sqrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
15.1b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 -1)) 3))
15.1b
(cbrt.f64 (*.f64 (*.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
0.2b
(+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))) -1)
Compiler

Compiled 8002 to 5047 computations (36.9% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.1b
(*.f64 (*.f64 b b) (+.f64 a 3))
1.1b
(*.f64 (*.f64 b b) (+.f64 a 3))
1.1b
(*.f64 (*.f64 b b) (+.f64 a 3))
14.2b
(cbrt.f64 (*.f64 (*.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))

rewrite25.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
28×frac-times_binary64
27×flip-+_binary64
27×flip3-+_binary64
26×cbrt-div_binary64
14×associate-*l/_binary64
Counts
1 → 38
Calls

1 calls:

18.0ms
(cbrt.f64 (*.f64 (*.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))

series46.0ms (0.7%)

Counts
1 → 24
Calls

1 calls:

46.0ms
(cbrt.f64 (*.f64 (*.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))

simplify209.0ms (3.2%)

Algorithm
egg-herbie
Rules
676×associate-+l+_binary64
458×*-commutative_binary64
457×fma-neg_binary64
386×associate-+r+_binary64
325×associate--l+_binary64
Counts
62 → 116
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01718493
14726945
218726762
341506740
449136740

prune432.0ms (6.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New7871788
Fresh112
Picked101
Done022
Total7894793
Error
0.0b
Counts
793 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) -1)
43.6b
(*.f64 (sqrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))) (sqrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
0.2b
(+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))) -1)
15.1b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) 3))
Compiler

Compiled 18983 to 10619 computations (44.1% saved)

regimes1.2s (19%)

Accuracy

Total 0.0b remaining (41.1%)

Threshold costs 0.0b (41.1%)

Compiler

Compiled 15147 to 10845 computations (28.4% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01633
12233
22633
32833
42933
52933

end2.0ms (0%)

Compiler

Compiled 25 to 17 computations (32% saved)

sample1.2s (18.5%)

Algorithm
intervals
Results
818.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 191 to 128 computations (33% saved)

Profiling

Loading profile data...