Details

Time bar (total: 2.9s)

analyze5.0ms (0.2%)

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

Compiled 33 to 24 computations (27.3% saved)

sample1.5s (52.4%)

Results
1.5s8255×body128valid
0.0msbody256valid
Compiler

Compiled 76 to 55 computations (27.6% saved)

simplify14.0ms (0.5%)

Algorithm
egg-herbie
Rules
199×fma-def_binary32
155×fma-neg_binary32
47×cancel-sign-sub-inv_binary32
34×sub-neg_binary32
26×unsub-neg_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0710
1158
2358
3728
41678
53618
66188
77658
87978
98028
Stop Event
saturated
Counts
1 → 2

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
0.1b
(-.f32 (fma.f32 ux maxCos 1) ux)
0.0b
(+.f32 (-.f32 1 ux) (*.f32 ux maxCos))
Compiler

Compiled 54 to 36 computations (33.3% saved)

localize15.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f32 ux maxCos)
0.0b
(+.f32 (-.f32 1 ux) (*.f32 ux maxCos))

series7.0ms (0.2%)

Counts
2 → 48
Calls

2 calls:

4.0ms
(+.f32 (-.f32 1 ux) (*.f32 ux maxCos))
3.0ms
(*.f32 ux maxCos)

rewrite41.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
836×log1p-expm1-u_binary32
836×expm1-log1p-u_binary32
78×add-sqr-sqrt_binary32
75×add-cbrt-cube_binary32
72×add-log-exp_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0714
115512
2217912
Stop Event
node limit
Counts
2 → 54
Calls

2 calls:

40.0ms
(*.f32 ux maxCos)
40.0ms
(+.f32 (-.f32 1 ux) (*.f32 ux maxCos))

simplify23.0ms (0.8%)

Algorithm
egg-herbie
Rules
157×fma-def_binary32
149×fma-neg_binary32
26×associate--r+_binary32
26×sub-neg_binary32
24×distribute-rgt-in_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014303
133267
270267
3145267
4280267
5476267
6646267
7726267
8737267
Stop Event
saturated
Counts
102 → 62

prune43.0ms (1.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New59362
Fresh101
Picked101
Done000
Total61364
Error
0b
Counts
64 → 3
Alt Table
StatusErrorProgram
0.4b
(/.f32 (-.f32 1 (pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)) (+.f32 1 (+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))))
0.0b
(fma.f32 ux (+.f32 maxCos -1) 1)
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 875 to 498 computations (43.1% saved)

localize13.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f32 ux (+.f32 maxCos -1) 1)

series4.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

4.0ms
(fma.f32 ux (+.f32 maxCos -1) 1)

rewrite32.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
629×log1p-expm1-u_binary32
629×expm1-log1p-u_binary32
276×log-prod_binary32
120×expm1-udef_binary32
120×log1p-udef_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
11388
216248
Stop Event
node limit
Counts
1 → 26
Calls

1 calls:

31.0ms
(fma.f32 ux (+.f32 maxCos -1) 1)

simplify19.0ms (0.6%)

Algorithm
egg-herbie
Rules
157×fma-def_binary32
149×fma-neg_binary32
26×associate--r+_binary32
26×sub-neg_binary32
24×distribute-rgt-in_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014207
133171
270171
3145171
4280171
5476171
6646171
7726171
8737171
Stop Event
saturated
Counts
50 → 34

prune25.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New34034
Fresh022
Picked011
Done000
Total34337
Error
0b
Counts
37 → 3
Alt Table
StatusErrorProgram
0.4b
(/.f32 (-.f32 1 (pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)) (+.f32 1 (+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))))
0.0b
(fma.f32 ux (+.f32 maxCos -1) 1)
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 437 to 302 computations (30.9% saved)

localize13.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))

series4.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

4.0ms
(fma.f32 ux maxCos (-.f32 1 ux))

rewrite31.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
583×log1p-expm1-u_binary32
583×expm1-log1p-u_binary32
265×log-prod_binary32
216×prod-diff_binary32
110×expm1-udef_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11248
215148
Stop Event
node limit
Counts
1 → 31
Calls

1 calls:

31.0ms
(fma.f32 ux maxCos (-.f32 1 ux))

simplify19.0ms (0.6%)

Algorithm
egg-herbie
Rules
157×fma-def_binary32
149×fma-neg_binary32
26×associate--r+_binary32
26×sub-neg_binary32
24×distribute-rgt-in_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014207
133171
270171
3145171
4280171
5476171
6646171
7726171
8737171
Stop Event
saturated
Counts
55 → 39

prune24.0ms (0.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New39039
Fresh011
Picked011
Done011
Total39342
Error
0b
Counts
42 → 3
Alt Table
StatusErrorProgram
0.4b
(/.f32 (-.f32 1 (pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)) (+.f32 1 (+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))))
0.0b
(fma.f32 ux (+.f32 maxCos -1) 1)
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 481 to 285 computations (40.7% saved)

localize40.0ms (1.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))
0.1b
(*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos)))
0.1b
(pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)
0.4b
(/.f32 (-.f32 1 (pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)) (+.f32 1 (+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))))

series143.0ms (4.9%)

Counts
4 → 96
Calls

4 calls:

106.0ms
(/.f32 (-.f32 1 (pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)) (+.f32 1 (+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))))
16.0ms
(+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))
13.0ms
(pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)
8.0ms
(*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos)))

rewrite74.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
265×log1p-udef_binary32
152×add-sqr-sqrt_binary32
150×log1p-expm1-u_binary32
150×expm1-log1p-u_binary32
148×add-cbrt-cube_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01376
131274
2464374
Stop Event
node limit
Counts
4 → 136
Calls

4 calls:

70.0ms
(+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))
70.0ms
(*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos)))
70.0ms
(pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)
70.0ms
(/.f32 (-.f32 1 (pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)) (+.f32 1 (+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))))

simplify66.0ms (2.3%)

Algorithm
egg-herbie
Rules
552×associate-+r+_binary32
327×associate-+l+_binary32
323×fma-def_binary32
286×times-frac_binary32
253×associate-/l*_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03566170
112415406
Stop Event
node limit
Counts
232 → 203

prune309.0ms (10.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2030203
Fresh000
Picked011
Done022
Total2033206
Error
0b
Counts
206 → 3
Alt Table
StatusErrorProgram
0.4b
(/.f32 (-.f32 1 (pow.f32 (-.f32 ux (*.f32 ux maxCos)) 3)) (+.f32 1 (+.f32 (*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 ux (*.f32 ux maxCos))) (-.f32 ux (*.f32 ux maxCos)))))
0.0b
(fma.f32 ux (+.f32 maxCos -1) 1)
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 11309 to 6334 computations (44% saved)

regimes383.0ms (13.1%)

Accuracy

Total 0.0b remaining (65.9%)

Threshold costs 0.0b (65.9%)

Counts
96 → 1
Compiler

Compiled 9346 to 5677 computations (39.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary32
1-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1108
Stop Event
saturated

end41.0ms (1.4%)

Compiler

Compiled 68 to 41 computations (39.7% saved)

Profiling

Loading profile data...