Details

Time bar (total: 2.8s)

analyze170.0ms (6.1%)

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.3s (45.2%)

Results
1.2s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 101 to 65 computations (35.6% saved)

simplify29.0ms (1.1%)

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.2%)

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.1b
(-.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)

localize14.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series27.0ms (1%)

Counts
4 → 84
Calls

4 calls:

11.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))
9.0ms
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
5.0ms
(*.f64 b (fma.f64 a -3 1))
1.0ms
(fma.f64 a -3 1)

rewrite50.0ms (1.8%)

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
2224443
Stop Event
node limit
Counts
4 → 80
Calls

4 calls:

48.0ms
(fma.f64 a -3 1)
48.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))
48.0ms
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
48.0ms
(*.f64 b (fma.f64 a -3 1))

simplify39.0ms (1.4%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
0301077
1861002
2240838
3691834
42627834
Stop Event
node limit
Counts
164 → 107

prune107.0ms (3.9%)

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.1b
(-.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 2892 to 1590 computations (45% saved)

localize16.0ms (0.6%)

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

series47.0ms (1.7%)

Counts
4 → 84
Calls

4 calls:

23.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))))))
11.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
10.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
3.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))

rewrite43.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
209×log1p-expm1-u_binary64
209×expm1-log1p-u_binary64
205×add-sqr-sqrt_binary64
202×add-cbrt-cube_binary64
195×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01973
144265
Stop Event
node limit
Counts
4 → 82
Calls

4 calls:

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

simplify45.0ms (1.6%)

Algorithm
egg-herbie
Rules
589×fma-def_binary64
528×cancel-sign-sub-inv_binary64
408×associate--l+_binary64
384×associate-+l+_binary64
323×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0541606
11801537
26111321
328571298
Stop Event
node limit
Counts
166 → 124

prune145.0ms (5.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1231124
Fresh000
Picked011
Done011
Total1233126
Error
0b
Counts
126 → 3
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.1b
(-.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)
46.0b
(-.f64 (+.f64 (/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (+.f64 (pow.f64 a 6) (pow.f64 b 6))) (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 4470 to 2831 computations (36.7% saved)

localize28.0ms (1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))))
0.2b
(pow.f64 (*.f64 a b) 2)
0.6b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
47.6b
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (+.f64 (pow.f64 a 6) (pow.f64 b 6))) (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)))))

series73.0ms (2.6%)

Counts
3 → 72
Calls

3 calls:

50.0ms
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (+.f64 (pow.f64 a 6) (pow.f64 b 6))) (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)))))
16.0ms
(*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))))
7.0ms
(pow.f64 (*.f64 a b) 2)

rewrite41.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
259×log1p-expm1-u_binary64
259×expm1-log1p-u_binary64
247×add-cbrt-cube_binary64
238×add-log-exp_binary64
237×add-cube-cbrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02293
154293
Stop Event
node limit
Counts
3 → 49
Calls

3 calls:

38.0ms
(*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))))
38.0ms
(pow.f64 (*.f64 a b) 2)
38.0ms
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (+.f64 (pow.f64 a 6) (pow.f64 b 6))) (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)))))

simplify52.0ms (1.9%)

Algorithm
egg-herbie
Rules
824×unswap-sqr_binary64
692×fma-def_binary64
379×cancel-sign-sub-inv_binary64
328×fma-neg_binary64
213×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0301218
1881194
22681155
310921146
439801146
Stop Event
node limit
Counts
121 → 72

prune113.0ms (4.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New92092
Fresh000
Picked011
Done022
Total92395
Error
0b
Counts
95 → 3
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.1b
(-.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)
46.0b
(-.f64 (+.f64 (/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (+.f64 (pow.f64 a 6) (pow.f64 b 6))) (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 5537 to 3409 computations (38.4% saved)

regimes359.0ms (13%)

Accuracy

Total 0.0b remaining (64.1%)

Threshold costs 0.0b (64.1%)

Counts
56 → 1
Compiler

Compiled 8236 to 5729 computations (30.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01732
12032
Stop Event
saturated

end110.0ms (4%)

Compiler

Compiled 169 to 112 computations (33.7% saved)

Profiling

Loading profile data...