Details

Time bar (total: 7.5s)

analyze2.0ms (0%)

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

Compiled 11 to 8 computations (27.3% saved)

sample921.0ms (12.2%)

Results
754.0ms7943×body128valid
40.0ms127×body1024valid
26.0ms79×body2048valid
15.0ms71×body512valid
6.0ms36×body256valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify36.0ms (0.5%)

Algorithm
egg-herbie
Rules
97×fma-neg_binary64
32×cancel-sign-sub-inv_binary64
30×fma-def_binary64
29×sub-neg_binary64
17×distribute-rgt-neg-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
0812
11312
22012
32912
44512
57912
69712
712312
817410
918810
1022910
1126310
1228310
1329110
1429610
1525610

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
Compiler

Compiled 35 to 21 computations (40% saved)

localize10.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)

series19.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

19.0ms
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

1.0ms
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)

simplify114.0ms (1.5%)

Algorithm
egg-herbie
Rules
557×distribute-rgt-neg-out_binary64
515×neg-mul-1_binary64
507×neg-sub0_binary64
481×distribute-rgt-out_binary64
469×*-commutative_binary64
Counts
34 → 21
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019374
126353
255353
3125353
4320353
5990353
61892353
72461353
83898353
95066353

prune18.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New19221
Fresh000
Picked011
Done000
Total19322
Error
0.0b
Counts
22 → 3
Alt Table
StatusErrorProgram
0.1b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
17.4b
(expm1.f64 (log1p.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))
18.1b
(*.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)) (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))
Compiler

Compiled 311 to 148 computations (52.4% saved)

localize19.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
3.4b
(expm1.f64 (log1p.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))

series12.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

12.0ms
(expm1.f64 (log1p.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 11
Calls

1 calls:

1.0ms
(expm1.f64 (log1p.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))

simplify122.0ms (1.6%)

Algorithm
egg-herbie
Rules
557×distribute-rgt-neg-out_binary64
515×neg-mul-1_binary64
507×neg-sub0_binary64
481×distribute-rgt-out_binary64
471×*-commutative_binary64
Counts
35 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
021379
128358
257358
3127358
4322358
5992358
61894358
72463358
83900358
95068358

prune38.0ms (0.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New44044
Fresh011
Picked011
Done011
Total44347
Error
0.0b
Counts
47 → 3
Alt Table
StatusErrorProgram
0.1b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
17.4b
(expm1.f64 (log1p.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))
18.1b
(*.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)) (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))
Compiler

Compiled 631 to 321 computations (49.1% saved)

localize14.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
0.0b
(sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))
0.3b
(*.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)) (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))

series58.0ms (0.8%)

Counts
2 → 40
Calls

2 calls:

46.0ms
(sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))
12.0ms
(*.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)) (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
Counts
2 → 68
Calls

2 calls:

11.0ms
(*.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)) (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))
2.0ms
(sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))

simplify175.0ms (2.3%)

Algorithm
egg-herbie
Rules
682×times-frac_binary64
581×fma-def_binary64
306×distribute-lft-in_binary64
304×distribute-rgt-in_binary64
283×fma-neg_binary64
Counts
108 → 99
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0891747
11801580
24991518
318041478
449261478
550561478

prune223.0ms (3%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1685173
Fresh000
Picked011
Done022
Total1688176
Error
0.0b
Counts
176 → 8
Alt Table
StatusErrorProgram
17.4b
(expm1.f64 (log1p.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))
18.4b
(*.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)) (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)))))
0.1b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
18.4b
(*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))) (sqrt.f64 (cbrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))))
18.5b
(*.f64 (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (pow.f64 (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))) 3))
19.2b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (cbrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))) (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (cbrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))))) (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (cbrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))))
18.5b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))) (*.f64 (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))))
18.1b
(*.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)) (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))
Compiler

Compiled 4507 to 2240 computations (50.3% saved)

localize26.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))) (sqrt.f64 (cbrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))))
0.2b
(*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)))
0.6b
(cbrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))
0.6b
(cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))

series4.6s (61.3%)

Counts
4 → 96
Calls

4 calls:

2.3s
(*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))) (sqrt.f64 (cbrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))))
950.0ms
(*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)))
695.0ms
(cbrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))
652.0ms
(cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))

rewrite40.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64
15×associate-*r*_binary64
14×cbrt-prod_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
Counts
4 → 83
Calls

4 calls:

15.0ms
(*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)))
14.0ms
(*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))) (sqrt.f64 (cbrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))))
1.0ms
(cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))
1.0ms
(cbrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))

simplify211.0ms (2.8%)

Algorithm
egg-herbie
Rules
477×fma-def_binary64
385×times-frac_binary64
237×associate-/r*_binary64
237×unswap-sqr_binary64
235×associate-/l*_binary64
Counts
179 → 174
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02515288
16304803
219664573
348054536
449944536
549164536

prune246.0ms (3.3%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1722174
Fresh224
Picked011
Done033
Total1748182
Error
0b
Counts
182 → 8
Alt Table
StatusErrorProgram
0.1b
(fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)
17.4b
(expm1.f64 (log1p.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))
18.4b
(*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))) (sqrt.f64 (cbrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))))
18.4b
(*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))) (sqrt.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (cbrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))))))
18.5b
(*.f64 (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (pow.f64 (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))) 3))
20.4b
(*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x)) (expm1.f64 (log1p.f64 (cbrt.f64 (fma.f64 1/2 (fabs.f64 (-.f64 y x)) x))))) (sqrt.f64 (cbrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))))
18.5b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))) (*.f64 (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x))) (sqrt.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))))
18.1b
(*.f64 (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)) (sqrt.f64 (fma.f64 (fabs.f64 (-.f64 y x)) 1/2 x)))
Compiler

Compiled 6806 to 3596 computations (47.2% saved)

regimes212.0ms (2.8%)

Accuracy

Total 0.0b remaining (60.8%)

Threshold costs 0.0b (60.8%)

Counts
31 → 1
Compiler

Compiled 2384 to 1438 computations (39.7% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11110
21810
32310
42610
52710
62710

end356.0ms (4.7%)

Compiler

Compiled 221 to 131 computations (40.7% saved)

Profiling

Loading profile data...