Details

Time bar (total: 7.0s)

analyze2.0ms (0%)

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

Compiled 32 to 20 computations (37.5% saved)

sample1.8s (25%)

Results
1.6s8256×body128valid
Compiler

Compiled 95 to 59 computations (37.9% saved)

simplify111.0ms (1.6%)

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

prune9.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
16.8b
Counts
3 → 2
Alt Table
StatusErrorProgram
16.8b
(+.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))
18.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 3 a))))) 1)
Compiler

Compiled 166 to 104 computations (37.3% saved)

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 a b) 4)
3.7b
(*.f64 (*.f64 b b) (+.f64 a 3))
7.2b
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
11.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))

series159.0ms (2.3%)

Counts
4 → 96
Calls

4 calls:

77.0ms
(+.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))
49.0ms
(pow.f64 (hypot.f64 a b) 4)
21.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
12.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))

rewrite31.0ms (0.4%)

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

4 calls:

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

simplify173.0ms (2.5%)

Algorithm
egg-herbie
Rules
574×associate-+l+_binary64
469×distribute-rgt-in_binary64
453×distribute-lft-in_binary64
338×associate--l+_binary64
219×cancel-sign-sub-inv_binary64
Counts
174 → 158
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01743413
14643143
215563045
350743045

prune413.0ms (5.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1562158
Fresh011
Picked101
Done000
Total1573160
Error
0.0b
Counts
160 → 3
Alt Table
StatusErrorProgram
0.7b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (*.f64 3 (pow.f64 b 2)) -1))
20.3b
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 b b) (*.f64 a a)) (pow.f64 a 4))) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
18.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 3 a))))) 1)
Compiler

Compiled 4792 to 2812 computations (41.3% saved)

localize16.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
0.0b
(pow.f64 (hypot.f64 a b) 4)
0.2b
(*.f64 3 (pow.f64 b 2))

series34.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

29.0ms
(hypot.f64 a b)
5.0ms
(*.f64 3 (pow.f64 b 2))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
associate-*r*_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 39
Calls

2 calls:

9.0ms
(*.f64 3 (pow.f64 b 2))
1.0ms
(hypot.f64 a b)

simplify143.0ms (2%)

Algorithm
egg-herbie
Rules
651×fma-neg_binary64
375×unswap-sqr_binary64
285×associate-*l*_binary64
278×distribute-neg-frac_binary64
265×associate-*r*_binary64
Counts
63 → 87
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0115874
1263793
2693766
32976766
44411766
54873766
64940766

prune233.0ms (3.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1190119
Fresh022
Picked011
Done000
Total1193122
Error
0.0b
Counts
122 → 3
Alt Table
StatusErrorProgram
0.7b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (*.f64 3 (pow.f64 b 2)) -1))
20.3b
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 b b) (*.f64 a a)) (pow.f64 a 4))) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
18.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 3 a))))) 1)
Compiler

Compiled 2651 to 1896 computations (28.5% saved)

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

series104.0ms (1.5%)

Counts
4 → 96
Calls

4 calls:

42.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 3 a)))))
31.0ms
(+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))
19.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
11.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite78.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
26×associate-+l+_binary64
25×*-un-lft-identity_binary64
24×add-sqr-sqrt_binary64
23×add-cube-cbrt_binary64
18×prod-diff_binary64
Counts
4 → 115
Calls

4 calls:

21.0ms
(+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))
16.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 3 a)))))
12.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
7.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify220.0ms (3.1%)

Algorithm
egg-herbie
Rules
480×cancel-sign-sub-inv_binary64
443×fma-neg_binary64
363×associate-*l*_binary64
324×associate-*r*_binary64
300×fma-def_binary64
Counts
211 → 230
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02574568
17504050
230463794
348653794
449193794

prune505.0ms (7.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2300230
Fresh011
Picked011
Done011
Total2303233
Error
0.0b
Counts
233 → 3
Alt Table
StatusErrorProgram
0.7b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (*.f64 3 (pow.f64 b 2)) -1))
20.3b
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 b b) (*.f64 a a)) (pow.f64 a 4))) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
18.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 3 a))))) 1)
Compiler

Compiled 8807 to 4597 computations (47.8% saved)

localize33.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.7b
(*.f64 (*.f64 b b) (+.f64 a 3))
7.2b
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
11.0b
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 b b) (*.f64 a a)) (pow.f64 a 4))) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
14.5b
(*.f64 (*.f64 b b) (*.f64 a a))

series80.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

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

rewrite33.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
30×pow1_binary64
14×add-cbrt-cube_binary64
14×add-exp-log_binary64
14×pow-prod-down_binary64
10×*-un-lft-identity_binary64
Counts
2 → 53
Calls

2 calls:

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

simplify156.0ms (2.2%)

Algorithm
egg-herbie
Rules
773×associate-*l*_binary64
610×associate-*r*_binary64
482×distribute-rgt-in_binary64
464×distribute-lft-in_binary64
408×fma-neg_binary64
Counts
101 → 95
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01252635
13602433
213592322
349122314
451702314

prune385.0ms (5.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1631164
Fresh000
Picked011
Done022
Total1634167
Error
0b
Counts
167 → 4
Alt Table
StatusErrorProgram
47.5b
(/.f64 (+.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4))) 3) (pow.f64 (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1) 3)) (fma.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4))) (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4))) (*.f64 (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1) (-.f64 (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1) (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)))))))
0.7b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (*.f64 3 (pow.f64 b 2)) -1))
20.3b
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 (*.f64 b b) (*.f64 a a)) (pow.f64 a 4))) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
18.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 3 a))))) 1)
Compiler

Compiled 6704 to 3655 computations (45.5% saved)

regimes1.9s (27.5%)

Accuracy

Total 0.5b remaining (99.2%)

Threshold costs 0.5b (99.2%)

Counts
182 → 1
Compiler

Compiled 25020 to 17551 computations (29.9% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01320
11520
21520

end341.0ms (4.9%)

Compiler

Compiled 241 to 149 computations (38.2% saved)

Profiling

Loading profile data...