Details

Time bar (total: 4.4s)

analyze714.0ms (16.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
0%99.9%0.1%5
18.7%81.1%0.1%6
25%74.9%0.1%7
31.2%68.6%0.1%8
45.2%53.8%0.9%9
50.3%47.8%1.9%10
54%43.6%2.4%11
61.7%32.9%5.4%12
64.1%28.3%7.6%13
66.2%24.7%9.2%14
Compiler

Compiled 16 to 11 computations (31.3% saved)

sample1.5s (33.7%)

Results
1.1s8256×body128valid
187.0ms1233×body128invalid
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify63.0ms (1.4%)

Algorithm
egg-herbie
Rules
1167×fma-def_binary64
1073×fma-neg_binary64
225×cancel-sign-sub-inv_binary64
222×distribute-rgt-in_binary64
163×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
01118
12218
24318
37518
412316
521316
630216
747216
8100913
9132813
10154213
11155913
12155613
13155613
14145313

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
4.3b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 78 to 51 computations (34.6% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
0.0b
(/.f64 (+.f64 x 4) y)
3.0b
(*.f64 (/.f64 x y) z)

series38.0ms (0.9%)

Counts
3 → 96
Calls

3 calls:

19.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
13.0ms
(*.f64 (/.f64 x y) z)
6.0ms
(/.f64 (+.f64 x 4) y)

rewrite76.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
334×fma-def_binary64
220×expm1-udef_binary64
220×log1p-udef_binary64
202×fma-neg_binary64
199×log-div_binary64
Counts
3 → 176
Calls

3 calls:

72.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
72.0ms
(/.f64 (+.f64 x 4) y)
72.0ms
(*.f64 (/.f64 x y) z)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01030
123627
2333927
3522127

simplify93.0ms (2.1%)

Algorithm
egg-herbie
Rules
755×fma-neg_binary64
323×fma-def_binary64
185×distribute-rgt-in_binary64
180×cancel-sign-sub-inv_binary64
160×unsub-neg_binary64
Counts
272 → 193
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0311102
1761102
2174952
3335860
4580790
51196790
61420790
71487790
81499790
91499790
101398790

prune130.0ms (3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1903193
Fresh011
Picked011
Done000
Total1905195
Error
0b
Counts
195 → 5
Alt Table
StatusErrorProgram
33.3b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 (/.f64 (*.f64 x z) (sqrt.f64 y)) (sqrt.f64 y))))
4.3b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x))))
32.6b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 4115 to 1974 computations (52% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x)))
0.0b
(/.f64 (+.f64 x 4) y)
3.4b
(/.f64 z (/.f64 y x))

series32.0ms (0.7%)

Counts
2 → 72
Calls

2 calls:

18.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x)))
13.0ms
(/.f64 z (/.f64 y x))

rewrite86.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
425×fma-def_binary64
256×fma-neg_binary64
234×expm1-udef_binary64
234×log1p-udef_binary64
182×egg-rr
Counts
2 → 182
Calls

2 calls:

81.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x)))
81.0ms
(/.f64 z (/.f64 y x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
124523
2379023
3513823

simplify85.0ms (1.9%)

Algorithm
egg-herbie
Rules
755×fma-neg_binary64
323×fma-def_binary64
185×distribute-rgt-in_binary64
180×cancel-sign-sub-inv_binary64
160×unsub-neg_binary64
Counts
254 → 196
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
030880
176880
2174730
3335638
4580631
51196631
61420631
71487631
81499631
91499631
101398631

prune153.0ms (3.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2331234
Fresh123
Picked101
Done011
Total2354239
Error
0b
Counts
239 → 4
Alt Table
StatusErrorProgram
4.3b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (pow.f64 (/.f64 (/.f64 y x) z) -1)))
32.6b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 5365 to 2370 computations (55.8% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 (+.f64 x 4) y) (pow.f64 (/.f64 (/.f64 y x) z) -1))
0.0b
(/.f64 (+.f64 x 4) y)
0.4b
(pow.f64 (/.f64 (/.f64 y x) z) -1)
3.4b
(/.f64 (/.f64 y x) z)

series93.0ms (2.1%)

Counts
3 → 108
Calls

3 calls:

41.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (pow.f64 (/.f64 (/.f64 y x) z) -1))
34.0ms
(pow.f64 (/.f64 (/.f64 y x) z) -1)
17.0ms
(/.f64 (/.f64 y x) z)

rewrite86.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
342×fma-def_binary64
254×expm1-udef_binary64
254×log1p-udef_binary64
223×fma-neg_binary64
194×egg-rr
Counts
3 → 194
Calls

3 calls:

82.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (pow.f64 (/.f64 (/.f64 y x) z) -1))
81.0ms
(pow.f64 (/.f64 (/.f64 y x) z) -1)
81.0ms
(/.f64 (/.f64 y x) z)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01236
128130
2391830
3516430

simplify92.0ms (2.1%)

Algorithm
egg-herbie
Rules
758×fma-neg_binary64
336×fma-def_binary64
186×distribute-rgt-in_binary64
183×cancel-sign-sub-inv_binary64
161×unsub-neg_binary64
Counts
302 → 209
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0311132
1791132
2176982
3337890
4585883
51202883
61420883
71487883
81499883
91499883
101398883

prune155.0ms (3.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2470247
Fresh022
Picked011
Done011
Total2474251
Error
0b
Counts
251 → 4
Alt Table
StatusErrorProgram
4.3b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (pow.f64 (/.f64 (/.f64 y x) z) -1)))
32.6b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 5323 to 2565 computations (51.8% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
4.1b
(/.f64 (-.f64 x (fma.f64 x z -4)) y)

series15.0ms (0.4%)

Counts
1 → 36
Calls

1 calls:

15.0ms
(/.f64 (-.f64 x (fma.f64 x z -4)) y)

rewrite115.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
731×prod-diff_binary64
209×fma-def_binary64
171×expm1-udef_binary64
171×log1p-udef_binary64
169×egg-rr
Counts
1 → 169
Calls

1 calls:

108.0ms
(/.f64 (-.f64 x (fma.f64 x z -4)) y)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
118011
2247911
3486811
4513911

simplify80.0ms (1.8%)

Algorithm
egg-herbie
Rules
922×fma-neg_binary64
291×fma-def_binary64
275×cancel-sign-sub-inv_binary64
202×distribute-rgt-in_binary64
164×div-sub_binary64
Counts
205 → 180
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
028619
167619
2139469
3286379
4566379
51039379
61297379
71478379
81489379
91497379
101497379
111396379

prune166.0ms (3.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1800180
Fresh011
Picked011
Done022
Total1804184
Error
0b
Counts
184 → 4
Alt Table
StatusErrorProgram
4.3b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (pow.f64 (/.f64 (/.f64 y x) z) -1)))
32.6b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 8321 to 4482 computations (46.1% saved)

regimes471.0ms (10.8%)

Accuracy

Total 0.2b remaining (94.3%)

Threshold costs 0.2b (94.3%)

Counts
30 → 3
Compiler

Compiled 2072 to 1436 computations (30.7% saved)

bsearch24.0ms (0.5%)

Steps
ItersRangePoint
7
2.512129695118171e+67
3.2725002446697765e+69
3.883658016843068e+67
1
-2.0192965836964857e+34
-1.671665335275408e+31
-5.829815448466412e+32
Compiler

Compiled 4 to 3 computations (25% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
03063
14661
26161
37661
48661
59461
610261
710661
810761
910661

end75.0ms (1.7%)

Compiler

Compiled 145 to 93 computations (35.9% saved)

Profiling

Loading profile data...