Details

Time bar (total: 3.8s)

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

sample99.0ms (2.6%)

Algorithm
intervals
Results
21.0ms256×body128valid
Compiler

Compiled 65 to 41 computations (36.9% saved)

simplify58.0ms (1.5%)

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

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

Compiled 166 to 104 computations (37.3% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series68.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

35.0ms
(pow.f64 (hypot.f64 a b) 4)
12.0ms
(hypot.f64 a b)
12.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
8.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))

rewrite10.0ms (0.3%)

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

4 calls:

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

simplify85.0ms (2.3%)

Algorithm
egg-herbie
Rules
510×times-frac_binary64
492×fma-def_binary64
347×distribute-rgt-in_binary64
332×distribute-lft-in_binary64
329×fma-neg_binary64
Counts
162 → 150
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01622428
14002268
213112221
348422221
449902221

prune171.0ms (4.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1473150
Fresh101
Picked101
Done000
Total1493152
Error
0b
Counts
152 → 3
Alt Table
StatusErrorProgram
3.5b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (exp.f64 (+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3))))) -1))
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 4588 to 2653 computations (42.2% saved)

localize22.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.1b
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
0.9b
(*.f64 (*.f64 b b) (+.f64 a 3))
1.4b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series30.0ms (0.8%)

Counts
2 → 0
Calls

2 calls:

17.0ms
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
12.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite15.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
37×add-exp-log_binary64
28×prod-exp_binary64
23×add-sqr-sqrt_binary64
16×unswap-sqr_binary64
14×unpow-prod-down_binary64
Counts
2 → 80
Calls

2 calls:

6.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
5.0ms
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))

simplify74.0ms (2%)

Algorithm
egg-herbie
Rules
957×fma-def_binary64
325×*-commutative_binary64
288×associate-/l*_binary64
285×associate-/l/_binary64
273×log-prod_binary64
Counts
80 → 100
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0106987
1188882
2593877
31121805
42025795
54769795
64923795

prune255.0ms (6.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1730173
Fresh022
Picked011
Done000
Total1733176
Error
0b
Counts
176 → 3
Alt Table
StatusErrorProgram
3.5b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (exp.f64 (+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3))))) -1))
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 7167 to 4683 computations (34.7% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series31.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

13.0ms
(-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3))
9.0ms
(*.f64 (+.f64 3 a) (*.f64 b b))
9.0ms
(fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b)))

rewrite21.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt_binary64
36×prod-diff_binary64
33×*-un-lft-identity_binary64
29×add-cube-cbrt_binary64
13×cube-prod_binary64
Counts
3 → 104
Calls

3 calls:

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

simplify134.0ms (3.6%)

Algorithm
egg-herbie
Rules
623×fma-neg_binary64
509×distribute-rgt-in_binary64
508×distribute-lft-in_binary64
351×exp-prod_binary64
267×cancel-sign-sub-inv_binary64
Counts
176 → 142
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01783305
13092999
211732771
344292763
448072763
549202763

prune224.0ms (5.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1760176
Fresh011
Picked011
Done011
Total1763179
Error
0b
Counts
179 → 3
Alt Table
StatusErrorProgram
3.5b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (exp.f64 (+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3))))) -1))
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 6159 to 3628 computations (41.1% saved)

localize21.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 a b) 4)
0.2b
(+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3)))
3.2b
(exp.f64 (+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3))))
22.8b
(log.f64 (*.f64 b b))

series642.0ms (17%)

Counts
3 → 60
Calls

3 calls:

356.0ms
(exp.f64 (+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3))))
260.0ms
(+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3)))
25.0ms
(log.f64 (*.f64 b b))

rewrite21.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
37×pow1_binary64
26×log-pow_binary64
18×*-un-lft-identity_binary64
13×distribute-lft-out_binary64
fma-def_binary64
Counts
3 → 76
Calls

3 calls:

9.0ms
(+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3)))
6.0ms
(exp.f64 (+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3))))
2.0ms
(log.f64 (*.f64 b b))

simplify99.0ms (2.6%)

Algorithm
egg-herbie
Rules
587×fma-neg_binary64
489×fma-def_binary64
289×associate-+r+_binary64
279×associate-*l*_binary64
271×sub-neg_binary64
Counts
136 → 132
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01591607
13821470
212011445
336401444
449651444
550891444

prune182.0ms (4.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1660166
Fresh000
Picked011
Done022
Total1663169
Error
0b
Counts
169 → 3
Alt Table
StatusErrorProgram
3.5b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (exp.f64 (+.f64 (log.f64 (*.f64 b b)) (log.f64 (+.f64 a 3))))) -1))
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 5354 to 3214 computations (40% saved)

regimes296.0ms (7.8%)

Accuracy

Total 0.0b remaining (11.1%)

Threshold costs 0.0b (11.1%)

Counts
53 → 1
Compiler

Compiled 7709 to 5406 computations (29.9% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02348
13448
23748
33948
44048
53948

end1.0ms (0%)

Compiler

Compiled 35 to 25 computations (28.6% saved)

sample1.0s (26.9%)

Algorithm
intervals
Results
676.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 159 to 111 computations (30.2% saved)

Profiling

Loading profile data...