Details

Time bar (total: 3.8s)

analyze2.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 34 to 22 computations (35.3% saved)

sample1.1s (28%)

Results
1.0s8256×body128valid
Compiler

Compiled 101 to 65 computations (35.6% saved)

simplify62.0ms (1.6%)

Algorithm
egg-herbie
Rules
725×fma-def_binary64
669×unsub-neg_binary64
596×cancel-sign-sub-inv_binary64
340×+-commutative_binary64
277×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02042
16340
217036
354236
4186732
5328132
6488132
7495832

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
16.5b
Counts
3 → 2
Alt Table
StatusErrorProgram
17.8b
(-.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 1 (*.f64 3 a)))))) 1)
16.5b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 172 to 108 computations (37.2% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 a -3 1)
3.7b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
6.8b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
9.6b
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))

series65.0ms (1.7%)

Counts
4 → 84
Calls

4 calls:

39.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
14.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
11.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
2.0ms
(fma.f64 a -3 1)

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
Counts
4 → 53
Calls

4 calls:

5.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
0.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
0.0ms
(fma.f64 a -3 1)
0.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))

simplify110.0ms (2.9%)

Algorithm
egg-herbie
Rules
786×fma-def_binary64
528×fma-neg_binary64
415×associate-+l+_binary64
313×cancel-sign-sub-inv_binary64
229×associate-+r+_binary64
Counts
137 → 125
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01252832
13182352
29692192
331842169
448182143
549832143

prune138.0ms (3.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1232125
Fresh011
Picked011
Done000
Total1234127
Error
0b
Counts
127 → 4
Alt Table
StatusErrorProgram
0.7b
(+.f64 (fma.f64 4 (pow.f64 b 2) (pow.f64 (hypot.f64 a b) 4)) -1)
27.4b
(+.f64 (-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))) (*.f64 12 (*.f64 a (pow.f64 b 2)))) -1)
17.8b
(-.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 1 (*.f64 3 a)))))) 1)
16.5b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 3586 to 2072 computations (42.2% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
0.0b
(fma.f64 4 (pow.f64 b 2) (pow.f64 (hypot.f64 a b) 4))
0.0b
(pow.f64 (hypot.f64 a b) 4)

series92.0ms (2.4%)

Counts
3 → 72
Calls

3 calls:

40.0ms
(fma.f64 4 (pow.f64 b 2) (pow.f64 (hypot.f64 a b) 4))
37.0ms
(pow.f64 (hypot.f64 a b) 4)
14.0ms
(hypot.f64 a b)

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
pow1_binary64
Counts
3 → 40
Calls

3 calls:

2.0ms
(pow.f64 (hypot.f64 a b) 4)
0.0ms
(fma.f64 4 (pow.f64 b 2) (pow.f64 (hypot.f64 a b) 4))
0.0ms
(hypot.f64 a b)

simplify86.0ms (2.3%)

Algorithm
egg-herbie
Rules
526×cancel-sign-sub-inv_binary64
494×fma-neg_binary64
325×unswap-sqr_binary64
274×fma-def_binary64
224×distribute-neg-frac_binary64
Counts
112 → 103
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01101897
12661788
27321681
328681681
449551681
551101681

prune105.0ms (2.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1021103
Fresh112
Picked011
Done011
Total1034107
Error
0b
Counts
107 → 4
Alt Table
StatusErrorProgram
0.7b
(+.f64 (fma.f64 4 (pow.f64 b 2) (pow.f64 (hypot.f64 a b) 4)) -1)
17.8b
(-.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 1 (*.f64 3 a)))))) 1)
3.5b
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))) -1)
16.5b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 2150 to 1469 computations (31.7% saved)

localize12.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
2.2b
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))

series21.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

21.0ms
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))

simplify50.0ms (1.3%)

Algorithm
egg-herbie
Rules
682×associate-*l*_binary64
557×associate-*r*_binary64
452×unswap-sqr_binary64
448×distribute-rgt-out_binary64
396×distribute-lft-in_binary64
Counts
34 → 28
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
031743
154582
2135582
3499582
42962582
55252582

prune41.0ms (1.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New28028
Fresh011
Picked011
Done022
Total28432
Error
0b
Counts
32 → 4
Alt Table
StatusErrorProgram
0.7b
(+.f64 (fma.f64 4 (pow.f64 b 2) (pow.f64 (hypot.f64 a b) 4)) -1)
17.8b
(-.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 1 (*.f64 3 a)))))) 1)
3.5b
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))) -1)
16.5b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 784 to 510 computations (34.9% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
3.7b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
8.8b
(+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))
9.6b
(+.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 1 (*.f64 3 a))))))

series75.0ms (2%)

Counts
4 → 96
Calls

4 calls:

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

rewrite47.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
12×prod-diff_binary64
12×distribute-lft-in_binary64
Counts
4 → 106
Calls

4 calls:

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

simplify135.0ms (3.5%)

Algorithm
egg-herbie
Rules
616×fma-neg_binary64
431×cancel-sign-sub-inv_binary64
307×associate-*l*_binary64
280×associate-*r*_binary64
263×fma-def_binary64
Counts
202 → 210
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02344760
17214119
227483908
346723904
449843904

prune335.0ms (8.8%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2100210
Fresh000
Picked011
Done033
Total2104214
Error
0b
Counts
214 → 4
Alt Table
StatusErrorProgram
0.7b
(+.f64 (fma.f64 4 (pow.f64 b 2) (pow.f64 (hypot.f64 a b) 4)) -1)
17.8b
(-.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 1 (*.f64 3 a)))))) 1)
3.5b
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))) -1)
16.5b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 8217 to 4738 computations (42.3% saved)

regimes1.1s (29.4%)

Accuracy

Total 0.5b remaining (99.3%)

Threshold costs 0.5b (99.3%)

Counts
102 → 1
Compiler

Compiled 11923 to 8623 computations (27.7% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
11217
21217

end182.0ms (4.8%)

Compiler

Compiled 121 to 85 computations (29.8% saved)

Profiling

Loading profile data...