Details

Time bar (total: 3.3s)

analyze180.0ms (5.4%)

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%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 34 to 22 computations (35.3% saved)

sample1.2s (36.4%)

Results
1.2s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 68 to 44 computations (35.3% saved)

preprocess37.0ms (1.1%)

Algorithm
egg-herbie
Rules
473×fma-neg_binary64
434×associate-+l+_binary64
393×associate-*l*_binary64
373×associate-+r+_binary64
313×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03184
111180
234872
3137472
4408264
022
Stop Event
saturated
node limit
Compiler

Compiled 33 to 21 computations (36.4% saved)

simplify30.0ms (0.9%)

Algorithm
egg-herbie
Rules
693×fma-def_binary64
312×+-commutative_binary64
277×fma-neg_binary64
232×associate-+l+_binary64
211×associate-*l*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02042
16340
219336
374236
4286732
5488232
Stop Event
node limit
Counts
1 → 2

prune5.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 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1)))) -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 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 172 to 109 computations (36.6% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a -3 1)
0.0b
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
0.1b
(*.f64 b (fma.f64 a -3 1))
0.1b
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))

series27.0ms (0.8%)

Counts
4 → 84
Calls

21 calls:

3.0ms
(*.f64 b (fma.f64 a -3 1))
b
inf
2.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))
b
inf
2.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))
b
-inf
2.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))
b
0
1.0ms
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
a
-inf

rewrite56.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
830×log1p-expm1-u_binary64
830×expm1-log1p-u_binary64
328×prod-diff_binary64
95×add-sqr-sqrt_binary64
87×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01043
119543
2224343
Stop Event
node limit
Counts
4 → 80

simplify41.0ms (1.2%)

Algorithm
egg-herbie
Rules
571×cancel-sign-sub-inv_binary64
533×fma-neg_binary64
446×fma-def_binary64
373×associate-*l*_binary64
266×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0301149
1861002
2240838
3695834
42639834
Stop Event
node limit
Counts
164 → 107

prune105.0ms (3.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh011
Picked011
Done000
Total1072109
Error
0.0b
Counts
109 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1)))) -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 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 2862 to 1627 computations (43.2% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.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.7b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))

series40.0ms (1.2%)

Counts
4 → 84
Calls

21 calls:

5.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
a
-inf
5.0ms
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))
b
inf
4.0ms
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))
b
-inf
3.0ms
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))
b
0
2.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
a
0

rewrite37.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
192×log1p-expm1-u_binary64
192×expm1-log1p-u_binary64
189×add-sqr-sqrt_binary64
185×add-cbrt-cube_binary64
180×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01860
141255
Stop Event
node limit
Counts
4 → 101

simplify46.0ms (1.4%)

Algorithm
egg-herbie
Rules
819×fma-def_binary64
382×cancel-sign-sub-inv_binary64
312×fma-neg_binary64
258×unswap-sqr_binary64
232×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0411383
11271250
23851160
312711126
431571122
Stop Event
node limit
Counts
185 → 136

prune165.0ms (4.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1342136
Fresh000
Picked011
Done101
Total1353138
Error
0b
Counts
138 → 3
Alt Table
StatusErrorProgram
15.2b
(-.f64 (+.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(-.f64 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 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 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 5090 to 2987 computations (41.3% saved)

localize21.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.7b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
3.0b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series11.0ms (0.3%)

Counts
1 → 0
Calls

6 calls:

3.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
b
0
2.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
a
0
2.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
b
inf
2.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
a
-inf
2.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
b
-inf

rewrite29.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
528×log1p-expm1-u_binary64
528×expm1-log1p-u_binary64
399×unpow-prod-down_binary64
296×log-prod_binary64
161×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077
11447
216077
Stop Event
node limit
Counts
1 → 18

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
18 → 18

prune174.0ms (5.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh011
Picked011
Done011
Total1193122
Error
0b
Counts
122 → 3
Alt Table
StatusErrorProgram
15.2b
(-.f64 (+.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(-.f64 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 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 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 5235 to 3739 computations (28.6% saved)

localize22.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)
0.7b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
18.1b
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2))
28.8b
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4))

series94.0ms (2.8%)

Counts
3 → 40
Calls

18 calls:

9.0ms
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2))
b
0
8.0ms
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4))
b
0
8.0ms
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4))
a
0
8.0ms
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2))
a
0
5.0ms
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4))
b
-inf

rewrite41.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
729×log1p-expm1-u_binary64
729×expm1-log1p-u_binary64
153×log1p-udef_binary64
93×add-sqr-sqrt_binary64
91×add-cube-cbrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01125
122325
2230525
Stop Event
node limit
Counts
3 → 75

simplify42.0ms (1.3%)

Algorithm
egg-herbie
Rules
542×associate-*r*_binary64
515×associate-*l*_binary64
459×fma-neg_binary64
428×distribute-rgt-neg-in_binary64
377×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0101946
1301930
2936888
34008888
Stop Event
node limit
Counts
115 → 115

prune179.0ms (5.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1410141
Fresh000
Picked011
Done022
Total1413144
Error
0b
Counts
144 → 3
Alt Table
StatusErrorProgram
15.2b
(-.f64 (+.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 2)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 b a) 2) 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(-.f64 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 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 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 6378 to 4180 computations (34.5% saved)

regimes582.0ms (17.4%)

Accuracy

Total 0.0b remaining (42.8%)

Threshold costs 0.0b (42.8%)

Counts
89 → 1
Compiler

Compiled 14190 to 10156 computations (28.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02352
13552
23652
Stop Event
saturated

end119.0ms (3.6%)

Stop Event
done
Compiler

Compiled 191 to 138 computations (27.7% saved)

Profiling

Loading profile data...