Details

Time bar (total: 4.1s)

analyze574.0ms (14.1%)

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.3s (32.6%)

Results
1.0s8256×body128valid
140.0ms1265×body128invalid
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify61.0ms (1.5%)

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
3.6b
(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)

localize7.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)
2.6b
(*.f64 (/.f64 x y) z)

series84.0ms (2.1%)

Counts
3 → 96
Calls

3 calls:

41.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
37.0ms
(*.f64 (/.f64 x y) z)
6.0ms
(/.f64 (+.f64 x 4) y)

rewrite78.0ms (1.9%)

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 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
74.0ms
(/.f64 (+.f64 x 4) y)
74.0ms
(*.f64 (/.f64 x y) z)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01030
123627
2333927
3522127
000
100

simplify88.0ms (2.2%)

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

prune131.0ms (3.2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1885193
Fresh101
Picked101
Done000
Total1905195
Error
0b
Counts
195 → 5
Alt Table
StatusErrorProgram
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x))))
2.9b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z))))
31.1b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
3.6b
(fabs.f64 (/.f64 (fma.f64 x (-.f64 1 z) 4) y))
1.3b
(fabs.f64 (-.f64 (*.f64 (+.f64 x 4) (/.f64 1 y)) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 4126 to 1986 computations (51.9% saved)

localize7.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)
2.6b
(/.f64 z (/.f64 y x))

series31.0ms (0.8%)

Counts
2 → 72
Calls

2 calls:

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

rewrite80.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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
124523
2379023
3513823
000
100

simplify81.0ms (2%)

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

prune171.0ms (4.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2331234
Fresh134
Picked011
Done000
Total2345239
Error
0b
Counts
239 → 5
Alt Table
StatusErrorProgram
3.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 x (/.f64 z y))))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x))))
2.9b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z))))
3.6b
(fabs.f64 (/.f64 (fma.f64 x (-.f64 1 z) 4) y))
1.3b
(fabs.f64 (-.f64 (*.f64 (+.f64 x 4) (/.f64 1 y)) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 5399 to 2394 computations (55.7% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (+.f64 x 4) (/.f64 1 y)) (*.f64 (/.f64 x y) z))
0.1b
(*.f64 (+.f64 x 4) (/.f64 1 y))
2.6b
(*.f64 (/.f64 x y) z)

series24.0ms (0.6%)

Counts
2 → 60
Calls

2 calls:

19.0ms
(-.f64 (*.f64 (+.f64 x 4) (/.f64 1 y)) (*.f64 (/.f64 x y) z))
5.0ms
(*.f64 (+.f64 x 4) (/.f64 1 y))

rewrite90.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
519×fma-def_binary64
291×fma-neg_binary64
279×egg-rr
242×expm1-udef_binary64
242×log1p-udef_binary64
Counts
2 → 279
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01223
127620
2363820
3507820
000
100

simplify81.0ms (2%)

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
339 → 293
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
031850
176850
2174700
3335608
4580538
51196538
61420538
71487538
81499538
91499538
101398538

prune223.0ms (5.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3170317
Fresh033
Picked011
Done011
Total3175322
Error
0b
Counts
322 → 5
Alt Table
StatusErrorProgram
3.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 x (/.f64 z y))))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x))))
2.9b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z))))
3.6b
(fabs.f64 (/.f64 (fma.f64 x (-.f64 1 z) 4) y))
1.3b
(fabs.f64 (-.f64 (*.f64 (+.f64 x 4) (/.f64 1 y)) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 7760 to 3267 computations (57.9% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series80.0ms (2%)

Counts
2 → 72
Calls

2 calls:

45.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z)))
35.0ms
(/.f64 x (/.f64 y z))

rewrite121.0ms (3%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
124523
2378923
3513723
000
100

simplify124.0ms (3.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

prune241.0ms (5.9%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2340234
Fresh022
Picked011
Done022
Total2345239
Error
0b
Counts
239 → 5
Alt Table
StatusErrorProgram
3.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 x (/.f64 z y))))
1.2b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 z (/.f64 y x))))
2.9b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (/.f64 x (/.f64 y z))))
3.6b
(fabs.f64 (/.f64 (fma.f64 x (-.f64 1 z) 4) y))
1.3b
(fabs.f64 (-.f64 (*.f64 (+.f64 x 4) (/.f64 1 y)) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 5340 to 2353 computations (55.9% saved)

regimes239.0ms (5.9%)

Accuracy

Total 0.2b remaining (95.2%)

Threshold costs 0.2b (95.2%)

Counts
35 → 3
Compiler

Compiled 2487 to 1696 computations (31.8% saved)

bsearch18.0ms (0.4%)

Steps
ItersRangePoint
2
6.42014331451214e-55
1.0293375206316548e-52
2.957230781506295e-53
5
-8.9111984633666e-19
-1.6251541098920136e-33
-6.637804509326453e-23
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02361
13961
25361
36761
48061
58561
68661
78461

end81.0ms (2%)

Compiler

Compiled 162 to 105 computations (35.2% saved)

Profiling

Loading profile data...