Details

Time bar (total: 4.6s)

analyze360.0ms (7.8%)

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
0%99.9%0.1%5
6.2%93.6%0.1%6
20.3%79.6%0.1%7
28.9%71%0.1%8
39.8%60.1%0.1%9
57.5%42.3%0.1%10
63.9%36%0.1%11
68.6%31.3%0.1%12
79.5%20.3%0.1%13
82.9%17%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample1.3s (28.4%)

Results
1.2s8255×body128valid
0.0msbody256valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify213.0ms (4.6%)

Algorithm
egg-herbie
Rules
2674×fma-neg_binary64
2270×div-sub_binary64
1877×fma-def_binary64
968×associate-/l/_binary64
705×associate-/r/_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
11413
22013
32813
44113
55513
67213
78513
810213
912713
1015513
1121513
1235613
1366613
14120413
15174613
16189713
17200613
18224613
19245213
20199313
21235413
22240013
23260913
24273713
25281213
26298213
27298413
28300413
29300413
30385013
31513513

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
10.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
10.4b
(/.f64 (+.f64 x y) (-.f64 1 (/.f64 y z)))
Compiler

Compiled 36 to 24 computations (33.3% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
10.4b
(/.f64 (+.f64 x y) (-.f64 1 (/.f64 y z)))

series24.0ms (0.5%)

Counts
1 → 36
Calls

1 calls:

24.0ms
(/.f64 (+.f64 x y) (-.f64 1 (/.f64 y z)))

rewrite52.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
816×prod-diff_binary64
190×expm1-udef_binary64
189×log1p-udef_binary64
105×add-sqr-sqrt_binary64
100×log1p-expm1-u_binary64
Counts
1 → 36
Calls

1 calls:

51.0ms
(/.f64 (+.f64 x y) (-.f64 1 (/.f64 y z)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
120313
2285513
3509913
000
100

simplify67.0ms (1.5%)

Algorithm
egg-herbie
Rules
338×fma-def_binary64
330×+-commutative_binary64
304×distribute-neg-in_binary64
284×sub-neg_binary64
246×times-frac_binary64
Counts
72 → 70
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0901140
12651140
29341004
33610983
44808980
54998980

prune60.0ms (1.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New64670
Fresh000
Picked101
Done000
Total65671
Error
0.0b
Counts
71 → 6
Alt Table
StatusErrorProgram
10.5b
(pow.f64 (/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y)) -1)
37.0b
(pow.f64 (sqrt.f64 (/.f64 (+.f64 x y) (-.f64 1 (/.f64 y z)))) 2)
32.2b
(neg.f64 (fma.f64 (/.f64 z y) x (+.f64 z (/.f64 z (/.f64 y z)))))
33.9b
(neg.f64 (+.f64 (/.f64 (*.f64 z x) y) (+.f64 (/.f64 (pow.f64 z 2) y) z)))
10.4b
(+.f64 (/.f64 x (-.f64 1 (/.f64 y z))) (/.f64 y (-.f64 1 (/.f64 y z))))
33.8b
(+.f64 y (+.f64 (fma.f64 (/.f64 y z) x x) (*.f64 (/.f64 y z) y)))
Compiler

Compiled 1545 to 767 computations (50.4% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 x (-.f64 1 (/.f64 y z))) (/.f64 y (-.f64 1 (/.f64 y z))))
3.3b
(/.f64 x (-.f64 1 (/.f64 y z)))
10.3b
(/.f64 y (-.f64 1 (/.f64 y z)))

series60.0ms (1.3%)

Counts
3 → 75
Calls

3 calls:

29.0ms
(+.f64 (/.f64 x (-.f64 1 (/.f64 y z))) (/.f64 y (-.f64 1 (/.f64 y z))))
23.0ms
(/.f64 x (-.f64 1 (/.f64 y z)))
8.0ms
(/.f64 y (-.f64 1 (/.f64 y z)))

rewrite83.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
495×fma-def_binary64
246×fma-neg_binary64
216×expm1-udef_binary64
215×log1p-udef_binary64
160×egg-rr
Counts
3 → 160
Calls

3 calls:

79.0ms
(+.f64 (/.f64 x (-.f64 1 (/.f64 y z))) (/.f64 y (-.f64 1 (/.f64 y z))))
79.0ms
(/.f64 x (-.f64 1 (/.f64 y z)))
79.0ms
(/.f64 y (-.f64 1 (/.f64 y z)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01042
123036
2346936
3501136
000
100

simplify84.0ms (1.8%)

Algorithm
egg-herbie
Rules
499×fma-def_binary64
466×sub-neg_binary64
426×+-commutative_binary64
256×associate--r+_binary64
244×times-frac_binary64
Counts
235 → 217
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01161974
13371974
212141695
344561671
450381671

prune165.0ms (3.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2152217
Fresh145
Picked011
Done000
Total2167223
Error
0.0b
Counts
223 → 7
Alt Table
StatusErrorProgram
10.5b
(pow.f64 (/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y)) -1)
37.0b
(pow.f64 (sqrt.f64 (/.f64 (+.f64 x y) (-.f64 1 (/.f64 y z)))) 2)
32.2b
(neg.f64 (fma.f64 (/.f64 z y) x (+.f64 z (/.f64 z (/.f64 y z)))))
33.9b
(neg.f64 (+.f64 (/.f64 (*.f64 z x) y) (+.f64 (/.f64 (pow.f64 z 2) y) z)))
32.9b
(neg.f64 (fma.f64 z (/.f64 x y) z))
23.2b
(/.f64 (fma.f64 y (/.f64 (-.f64 1 (/.f64 y z)) x) (-.f64 1 (/.f64 y z))) (*.f64 (-.f64 1 (/.f64 y z)) (/.f64 (-.f64 1 (/.f64 y z)) x)))
10.4b
(+.f64 (/.f64 x (-.f64 1 (/.f64 y z))) (/.f64 y (-.f64 1 (/.f64 y z))))
Compiler

Compiled 5314 to 2736 computations (48.5% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y)) -1)
10.4b
(/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y))

series69.0ms (1.5%)

Counts
2 → 72
Calls

2 calls:

50.0ms
(pow.f64 (/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y)) -1)
19.0ms
(/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y))

rewrite94.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
918×prod-diff_binary64
170×egg-rr
125×add-sqr-sqrt_binary64
119×log1p-expm1-u_binary64
119×expm1-log1p-u_binary64
Counts
2 → 170
Calls

2 calls:

85.0ms
(pow.f64 (/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y)) -1)
85.0ms
(/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01129
124726
2332926
3520426
000
100

simplify100.0ms (2.2%)

Algorithm
egg-herbie
Rules
435×associate-+r+_binary64
354×sub-neg_binary64
308×+-commutative_binary64
297×associate-+l+_binary64
291×times-frac_binary64
Counts
242 → 252
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03243973
19853940
243553931
352483931

prune218.0ms (4.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2520252
Fresh055
Picked011
Done011
Total2527259
Error
0.0b
Counts
259 → 7
Alt Table
StatusErrorProgram
10.5b
(pow.f64 (/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y)) -1)
37.0b
(pow.f64 (sqrt.f64 (/.f64 (+.f64 x y) (-.f64 1 (/.f64 y z)))) 2)
32.2b
(neg.f64 (fma.f64 (/.f64 z y) x (+.f64 z (/.f64 z (/.f64 y z)))))
33.9b
(neg.f64 (+.f64 (/.f64 (*.f64 z x) y) (+.f64 (/.f64 (pow.f64 z 2) y) z)))
32.9b
(neg.f64 (fma.f64 z (/.f64 x y) z))
23.2b
(/.f64 (fma.f64 y (/.f64 (-.f64 1 (/.f64 y z)) x) (-.f64 1 (/.f64 y z))) (*.f64 (-.f64 1 (/.f64 y z)) (/.f64 (-.f64 1 (/.f64 y z)) x)))
10.4b
(+.f64 (/.f64 x (-.f64 1 (/.f64 y z))) (/.f64 y (-.f64 1 (/.f64 y z))))
Compiler

Compiled 11486 to 4975 computations (56.7% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (-.f64 1 (/.f64 y z)) (/.f64 (-.f64 1 (/.f64 y z)) x))
3.3b
(/.f64 (-.f64 1 (/.f64 y z)) x)
4.4b
(fma.f64 y (/.f64 (-.f64 1 (/.f64 y z)) x) (-.f64 1 (/.f64 y z)))
22.7b
(/.f64 (fma.f64 y (/.f64 (-.f64 1 (/.f64 y z)) x) (-.f64 1 (/.f64 y z))) (*.f64 (-.f64 1 (/.f64 y z)) (/.f64 (-.f64 1 (/.f64 y z)) x)))

series156.0ms (3.4%)

Counts
4 → 136
Calls

4 calls:

89.0ms
(/.f64 (fma.f64 y (/.f64 (-.f64 1 (/.f64 y z)) x) (-.f64 1 (/.f64 y z))) (*.f64 (-.f64 1 (/.f64 y z)) (/.f64 (-.f64 1 (/.f64 y z)) x)))
26.0ms
(fma.f64 y (/.f64 (-.f64 1 (/.f64 y z)) x) (-.f64 1 (/.f64 y z)))
24.0ms
(*.f64 (-.f64 1 (/.f64 y z)) (/.f64 (-.f64 1 (/.f64 y z)) x))
16.0ms
(/.f64 (-.f64 1 (/.f64 y z)) x)

rewrite105.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
539×prod-diff_binary64
227×log1p-udef_binary64
193×egg-rr
126×add-sqr-sqrt_binary64
117×log1p-expm1-u_binary64
Counts
4 → 193
Calls

4 calls:

99.0ms
(*.f64 (-.f64 1 (/.f64 y z)) (/.f64 (-.f64 1 (/.f64 y z)) x))
99.0ms
(/.f64 (-.f64 1 (/.f64 y z)) x)
99.0ms
(fma.f64 y (/.f64 (-.f64 1 (/.f64 y z)) x) (-.f64 1 (/.f64 y z)))
99.0ms
(/.f64 (fma.f64 y (/.f64 (-.f64 1 (/.f64 y z)) x) (-.f64 1 (/.f64 y z))) (*.f64 (-.f64 1 (/.f64 y z)) (/.f64 (-.f64 1 (/.f64 y z)) x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01190
124578
2359778
3516978
000
100

simplify112.0ms (2.4%)

Algorithm
egg-herbie
Rules
452×fma-def_binary64
354×times-frac_binary64
316×associate-/l*_binary64
237×fma-neg_binary64
234×distribute-rgt-in_binary64
Counts
329 → 264
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01473699
14263607
214562995
347992987
449792987

prune271.0ms (5.9%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New3500350
Fresh044
Picked011
Done022
Total3507357
Error
0.0b
Counts
357 → 7
Alt Table
StatusErrorProgram
10.5b
(pow.f64 (/.f64 (-.f64 1 (/.f64 y z)) (+.f64 x y)) -1)
37.0b
(pow.f64 (sqrt.f64 (/.f64 (+.f64 x y) (-.f64 1 (/.f64 y z)))) 2)
32.2b
(neg.f64 (fma.f64 (/.f64 z y) x (+.f64 z (/.f64 z (/.f64 y z)))))
33.9b
(neg.f64 (+.f64 (/.f64 (*.f64 z x) y) (+.f64 (/.f64 (pow.f64 z 2) y) z)))
32.9b
(neg.f64 (fma.f64 z (/.f64 x y) z))
23.2b
(/.f64 (fma.f64 y (/.f64 (-.f64 1 (/.f64 y z)) x) (-.f64 1 (/.f64 y z))) (*.f64 (-.f64 1 (/.f64 y z)) (/.f64 (-.f64 1 (/.f64 y z)) x)))
10.4b
(+.f64 (/.f64 x (-.f64 1 (/.f64 y z))) (/.f64 y (-.f64 1 (/.f64 y z))))
Compiler

Compiled 14738 to 6764 computations (54.1% saved)

regimes844.0ms (18.4%)

Accuracy

Total 0.1b remaining (91.4%)

Threshold costs 0.1b (91.4%)

Counts
106 → 3
Compiler

Compiled 7208 to 4796 computations (33.5% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify4.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
02581
13181
23881
34381
44681
54781
64681

end115.0ms (2.5%)

Compiler

Compiled 237 to 135 computations (43% saved)

Profiling

Loading profile data...