Details

Time bar (total: 4.3s)

analyze169.0ms (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)

sample75.0ms (1.8%)

Algorithm
intervals
Results
19.0ms256×body128valid
Compiler

Compiled 69 to 45 computations (34.8% saved)

simplify60.0ms (1.4%)

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
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
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)
0.0b
(+.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)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series105.0ms (2.5%)

Counts
4 → 96
Calls

4 calls:

43.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))
35.0ms
(pow.f64 (hypot.f64 a b) 4)
14.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
13.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))

rewrite9.0ms (0.2%)

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

4 calls:

5.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
1.0ms
(pow.f64 (hypot.f64 a b) 4)
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 (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))

simplify118.0ms (2.8%)

Algorithm
egg-herbie
Rules
821×fma-def_binary64
417×fma-neg_binary64
408×associate-+l+_binary64
315×cancel-sign-sub-inv_binary64
250×exp-prod_binary64
Counts
159 → 140
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01493218
13642814
210652628
333672622
447542618
549902618

prune188.0ms (4.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1355140
Fresh101
Picked101
Done000
Total1375142
Error
0b
Counts
142 → 5
Alt Table
StatusErrorProgram
0.4b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)))) -1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))) -1)
10.8b
(+.f64 (fma.f64 4 (cbrt.f64 (pow.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (fma.f64 a -3 1) (*.f64 b b))) 3)) (pow.f64 (hypot.f64 a b) 4)) -1)
2.3b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))) (pow.f64 (hypot.f64 a b) 4)) -1)
0.1b
(+.f64 (+.f64 (fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 2 (*.f64 a a) 4) (fma.f64 b b (*.f64 a -12))))) (pow.f64 a 4)) -1)
Compiler

Compiled 4263 to 2372 computations (44.4% saved)

localize22.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))))
0.0b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.2b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
2.2b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series44.0ms (1%)

Counts
2 → 24
Calls

2 calls:

33.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))))
11.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
16×unswap-sqr_binary64
14×unpow-prod-down_binary64
14×add-exp-log_binary64
10×sqr-pow_binary64
Counts
2 → 63
Calls

2 calls:

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

simplify80.0ms (1.9%)

Algorithm
egg-herbie
Rules
746×distribute-rgt-in_binary64
701×fma-def_binary64
420×associate-+l+_binary64
232×associate-+r+_binary64
218×*-commutative_binary64
Counts
87 → 111
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01331938
12971757
29291569
329901514
454131514

prune278.0ms (6.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1752177
Fresh314
Picked011
Done000
Total1784182
Error
0b
Counts
182 → 4
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 (fma.f64 4 (*.f64 a (fma.f64 a a a)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (-.f64 (*.f64 2 a) 12))))) (pow.f64 a 4)) -1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))) -1)
11.7b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
2.3b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 7121 to 4477 computations (37.1% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 4 (*.f64 a (fma.f64 a a a)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (-.f64 (*.f64 2 a) 12))))) (pow.f64 a 4))
0.0b
(*.f64 a (-.f64 (*.f64 2 a) 12))
0.0b
(*.f64 a (fma.f64 a a a))
1.6b
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (-.f64 (*.f64 2 a) 12))))

series61.0ms (1.4%)

Counts
4 → 72
Calls

4 calls:

29.0ms
(+.f64 (fma.f64 4 (*.f64 a (fma.f64 a a a)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (-.f64 (*.f64 2 a) 12))))) (pow.f64 a 4))
26.0ms
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (-.f64 (*.f64 2 a) 12))))
3.0ms
(*.f64 a (fma.f64 a a a))
3.0ms
(*.f64 a (-.f64 (*.f64 2 a) 12))

rewrite29.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
16×*-un-lft-identity_binary64
14×add-cube-cbrt_binary64
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
Counts
4 → 101
Calls

4 calls:

10.0ms
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (-.f64 (*.f64 2 a) 12))))
6.0ms
(*.f64 a (-.f64 (*.f64 2 a) 12))
5.0ms
(+.f64 (fma.f64 4 (*.f64 a (fma.f64 a a a)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (-.f64 (*.f64 2 a) 12))))) (pow.f64 a 4))
3.0ms
(*.f64 a (fma.f64 a a a))

simplify107.0ms (2.5%)

Algorithm
egg-herbie
Rules
758×fma-neg_binary64
574×associate-+l+_binary64
379×associate-+r+_binary64
260×associate-*l*_binary64
244×+-commutative_binary64
Counts
173 → 196
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02354061
15793056
220272979
344932979
450772979

prune294.0ms (6.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1960196
Fresh022
Picked011
Done011
Total1964200
Error
0b
Counts
200 → 4
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 (fma.f64 4 (*.f64 a (fma.f64 a a a)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (-.f64 (*.f64 2 a) 12))))) (pow.f64 a 4)) -1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))) -1)
11.7b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
2.3b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 7550 to 4456 computations (41% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (fma.f64 a a a) (exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))))
0.2b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
3.1b
(exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))
22.8b
(log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))

series334.0ms (7.8%)

Counts
3 → 72
Calls

3 calls:

307.0ms
(log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
15.0ms
(exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))
12.0ms
(fma.f64 a (fma.f64 a a a) (exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))))

rewrite14.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
15×pow1_binary64
add-exp-log_binary64
exp-prod_binary64
log-pow_binary64
pow-prod-down_binary64
Counts
3 → 43
Calls

3 calls:

9.0ms
(exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))
3.0ms
(log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.0ms
(fma.f64 a (fma.f64 a a a) (exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))))

simplify119.0ms (2.8%)

Algorithm
egg-herbie
Rules
914×fma-neg_binary64
418×sub-neg_binary64
304×fma-def_binary64
216×unsub-neg_binary64
162×associate-+l+_binary64
Counts
115 → 108
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01212013
12851652
28351635
331341635
446911635
549981635
649361635

prune178.0ms (4.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1470147
Fresh011
Picked011
Done022
Total1474151
Error
0b
Counts
151 → 4
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 (fma.f64 4 (*.f64 a (fma.f64 a a a)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (-.f64 (*.f64 2 a) 12))))) (pow.f64 a 4)) -1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))) -1)
11.7b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
2.3b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (exp.f64 (log.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 4545 to 2592 computations (43% saved)

regimes866.0ms (20.3%)

Accuracy

Total 0.0b remaining (79.2%)

Threshold costs 0.0b (79.2%)

Counts
138 → 1
Compiler

Compiled 18825 to 12777 computations (32.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01843
12343
22343

end1.0ms (0%)

Compiler

Compiled 32 to 23 computations (28.1% saved)

sample1.0s (24.6%)

Algorithm
intervals
Results
675.0ms8000×body128valid
1.0msbody128invalid
Compiler

Compiled 185 to 127 computations (31.4% saved)

Profiling

Loading profile data...