Details

Time bar (total: 3.9s)

analyze484.0ms (12.5%)

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.2s (32.2%)

Results
937.0ms8256×body128valid
170.0ms1242×body128invalid
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify63.0ms (1.6%)

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

prune3.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
5.1b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
1.1b
(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 x 4) y)
0.0b
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
2.5b
(*.f64 (/.f64 x y) z)

series36.0ms (0.9%)

Counts
3 → 96
Calls

3 calls:

18.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
12.0ms
(*.f64 (/.f64 x y) z)
5.0ms
(/.f64 (+.f64 x 4) y)

rewrite77.0ms (2%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01030
123627
2333927
3522127
000
100

simplify90.0ms (2.3%)

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

prune146.0ms (3.8%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1894193
Fresh011
Picked011
Done000
Total1896195
Error
0b
Counts
195 → 6
Alt Table
StatusErrorProgram
5.1b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
4.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z))))
1.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
23.9b
(fabs.f64 (fma.f64 (sqrt.f64 (neg.f64 (*.f64 (/.f64 x y) z))) (sqrt.f64 (neg.f64 (*.f64 (/.f64 x y) z))) (/.f64 (+.f64 x 4) y)))
5.1b
(fabs.f64 (-.f64 (+.f64 (/.f64 x y) (*.f64 4 (/.f64 1 y))) (/.f64 (*.f64 z x) y)))
1.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x))))
Compiler

Compiled 4149 to 1999 computations (51.8% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series32.0ms (0.8%)

Counts
2 → 72
Calls

2 calls:

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

rewrite82.0ms (2.1%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
124523
2379023
3513823
000
100

simplify82.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
254 → 196
Iterations

Useful iterations: 4 (0.0ms)

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

prune186.0ms (4.8%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2310231
Fresh044
Picked011
Done011
Total2316237
Error
0b
Counts
237 → 6
Alt Table
StatusErrorProgram
5.1b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
4.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z))))
1.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
23.9b
(fabs.f64 (fma.f64 (sqrt.f64 (neg.f64 (*.f64 (/.f64 x y) z))) (sqrt.f64 (neg.f64 (*.f64 (/.f64 x y) z))) (/.f64 (+.f64 x 4) y)))
5.1b
(fabs.f64 (-.f64 (+.f64 (/.f64 x y) (*.f64 4 (/.f64 1 y))) (/.f64 (*.f64 z x) y)))
1.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x))))
Compiler

Compiled 5398 to 2392 computations (55.7% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series30.0ms (0.8%)

Counts
2 → 72
Calls

2 calls:

19.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z)))
11.0ms
(/.f64 x (/.f64 y z))

rewrite83.0ms (2.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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
124523
2378923
3513723
000
100

simplify83.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
254 → 196
Iterations

Useful iterations: 4 (0.0ms)

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

prune191.0ms (4.9%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2310231
Fresh033
Picked011
Done022
Total2316237
Error
0b
Counts
237 → 6
Alt Table
StatusErrorProgram
5.1b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
4.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z))))
1.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
23.9b
(fabs.f64 (fma.f64 (sqrt.f64 (neg.f64 (*.f64 (/.f64 x y) z))) (sqrt.f64 (neg.f64 (*.f64 (/.f64 x y) z))) (/.f64 (+.f64 x 4) y)))
5.1b
(fabs.f64 (-.f64 (+.f64 (/.f64 x y) (*.f64 4 (/.f64 1 y))) (/.f64 (*.f64 z x) y)))
1.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x))))
Compiler

Compiled 5383 to 2382 computations (55.7% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series13.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

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

rewrite113.0ms (2.9%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
118011
2247911
3486811
4513911
000
100

simplify76.0ms (2%)

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

prune182.0ms (4.7%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1791180
Fresh112
Picked011
Done033
Total1806186
Error
0b
Counts
186 → 6
Alt Table
StatusErrorProgram
5.1b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
4.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z))))
1.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
23.9b
(fabs.f64 (fma.f64 (sqrt.f64 (neg.f64 (*.f64 (/.f64 x y) z))) (sqrt.f64 (neg.f64 (*.f64 (/.f64 x y) z))) (/.f64 (+.f64 x 4) y)))
5.1b
(fabs.f64 (-.f64 (/.f64 x y) (/.f64 (fma.f64 x z -4) y)))
1.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x))))
Compiler

Compiled 8359 to 4502 computations (46.1% saved)

regimes427.0ms (11.1%)

Accuracy

Total 0.2b remaining (95.5%)

Threshold costs 0.2b (95.5%)

Counts
66 → 3
Compiler

Compiled 5507 to 3776 computations (31.4% saved)

bsearch15.0ms (0.4%)

Steps
ItersRangePoint
5
3.462230524398153e-16
2.080383675192652e-13
5.121491754412143e-14
1
-3.9070892812039262e-109
-6.584657391010976e-111
-5.0757937571568445e-110
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02764
14464
26964
39064
410764
511464
611564
711464

end93.0ms (2.4%)

Compiler

Compiled 187 to 115 computations (38.5% saved)

Profiling

Loading profile data...