Details

Time bar (total: 3.0s)

analyze249.0ms (8.2%)

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)

sample32.0ms (1.1%)

Algorithm
intervals
Results
24.0ms256×body128valid
Compiler

Compiled 65 to 41 computations (36.9% saved)

simplify65.0ms (2.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

prune8.0ms (0.3%)

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

Compiled 166 to 104 computations (37.3% saved)

localize14.0ms (0.5%)

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)))
0.4b
(*.f64 (*.f64 b b) (+.f64 a 3))

rewrite17.0ms (0.6%)

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:

6.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))
4.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))
2.0ms
(pow.f64 (hypot.f64 a b) 4)
0.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))

series129.0ms (4.3%)

Counts
4 → 96
Calls

4 calls:

46.0ms
(pow.f64 (hypot.f64 a b) 4)
42.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))
22.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))
19.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))

simplify102.0ms (3.4%)

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

prune181.0ms (6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3141315
Fresh011
Picked011
Done000
Total3143317
Error
0b
Counts
317 → 3
Alt Table
StatusErrorProgram
11.0b
(fma.f64 (*.f64 a a) 4 (+.f64 (*.f64 (pow.f64 a 3) (-.f64 a 4)) -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)
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))
Compiler

Compiled 4988 to 2916 computations (41.5% saved)

localize14.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.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)))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
0.4b
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite39.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity_binary64
29×add-sqr-sqrt_binary64
24×add-cube-cbrt_binary64
18×prod-diff_binary64
15×distribute-lft-in_binary64
Counts
4 → 121
Calls

4 calls:

15.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
6.0ms
(+.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)))))
6.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
4.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series92.0ms (3%)

Counts
4 → 84
Calls

4 calls:

40.0ms
(+.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)))))
25.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
17.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
10.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))

simplify114.0ms (3.7%)

Algorithm
egg-herbie
Rules
511×associate-+l+_binary64
383×associate-*l*_binary64
299×associate-*r*_binary64
268×cancel-sign-sub-inv_binary64
211×unswap-sqr_binary64
Counts
205 → 374
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02413743
16003419
223883054
348823054

prune218.0ms (7.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3731374
Fresh101
Picked011
Done011
Total3743377
Error
0b
Counts
377 → 3
Alt Table
StatusErrorProgram
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)
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))
11.0b
(-.f64 (fma.f64 4 (*.f64 a a) (*.f64 (pow.f64 a 3) (+.f64 a -4))) 1)
Compiler

Compiled 7651 to 3925 computations (48.7% saved)

localize9.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite9.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64
12×associate-*l*_binary64
*-un-lft-identity_binary64
add-exp-log_binary64
add-cube-cbrt_binary64
Counts
2 → 48
Calls

2 calls:

6.0ms
(*.f64 (pow.f64 a 3) (+.f64 a -4))
0.0ms
(fma.f64 4 (*.f64 a a) (*.f64 (pow.f64 a 3) (+.f64 a -4)))

series17.0ms (0.6%)

Counts
2 → 24
Calls

2 calls:

10.0ms
(*.f64 (pow.f64 a 3) (+.f64 a -4))
7.0ms
(fma.f64 4 (*.f64 a a) (*.f64 (pow.f64 a 3) (+.f64 a -4)))

simplify92.0ms (3%)

Algorithm
egg-herbie
Rules
626×exp-prod_binary64
451×fma-neg_binary64
446×fma-def_binary64
368×*-commutative_binary64
321×distribute-rgt-in_binary64
Counts
72 → 124
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0871006
1213941
2933923
32703899
44465899
55047899

prune75.0ms (2.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1240124
Fresh000
Picked011
Done022
Total1243127
Error
0b
Counts
127 → 3
Alt Table
StatusErrorProgram
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)
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))
11.0b
(-.f64 (fma.f64 4 (*.f64 a a) (*.f64 (pow.f64 a 3) (+.f64 a -4))) 1)
Compiler

Compiled 1501 to 1027 computations (31.6% saved)

regimes571.0ms (18.9%)

Accuracy

Total 0.0b remaining (55%)

Threshold costs 0.0b (55%)

Compiler

Compiled 12410 to 8892 computations (28.3% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
*-lft-identity_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01937
13337
23737
33937
44037
53837

end1.0ms (0%)

Compiler

Compiled 27 to 19 computations (29.6% saved)

sample974.0ms (32.2%)

Algorithm
intervals
Results
652.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 133 to 89 computations (33.1% saved)

Profiling

Loading profile data...