Details

Time bar (total: 25.7s)

analyze3.3s (12.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%0.1%99.9%0
0%0.1%99.9%1
0%0.1%99.9%2
0%0.1%99.9%3
0%0.1%99.9%4
0%0.1%99.9%5
0%0.1%99.9%6
0%0.1%99.9%7
0%0.1%99.9%8
0%0.1%99.9%9
0%0.1%99.9%10
0%0.1%99.9%11
0%0.1%99.9%12
0%0.1%99.9%13
0%0.1%99.9%14
Compiler

Compiled 33 to 24 computations (27.3% saved)

sample1.6s (6.4%)

Results
1.6s8254×body128valid
1.0msbody256valid
Compiler

Compiled 43 to 31 computations (27.9% saved)

simplify18.0ms (0.1%)

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
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0710
1158
2358
3638
41428
52628
63818
74348
84588
94638
104288

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 34 to 22 computations (35.3% saved)

localize15.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0%)

Counts
1 → 24
Calls

1 calls:

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

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
add-cbrt-cube_binary32
add-exp-log_binary32
Counts
1 → 10
Calls

1 calls:

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

simplify59.0ms (0.2%)

Algorithm
egg-herbie
Rules
555×fma-neg_binary32
470×times-frac_binary32
313×distribute-rgt-in_binary32
309×neg-sub0_binary32
301×distribute-lft-in_binary32
Counts
34 → 26
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
025331
145278
299277
3292277
41097277
52072277
64492277
75251277

prune15.0ms (0.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New25126
Fresh000
Picked011
Done000
Total25227
Error
0.0b
Counts
27 → 2
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 268 to 160 computations (40.3% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f32 maxCos ux)
0.0b
(-.f32 (*.f32 maxCos ux) ux)
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
0.0b
(log1p.f32 (-.f32 (*.f32 maxCos ux) ux))

series10.2s (39.5%)

Counts
4 → 63
Calls

4 calls:

10.1s
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
18.0ms
(log1p.f32 (-.f32 (*.f32 maxCos ux) ux))
4.0ms
(-.f32 (*.f32 maxCos ux) ux)
4.0ms
(*.f32 maxCos ux)

rewrite11.0ms (0%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary32
10×*-un-lft-identity_binary32
add-cube-cbrt_binary32
add-log-exp_binary32
add-cbrt-cube_binary32
Counts
4 → 66
Calls

4 calls:

3.0ms
(-.f32 (*.f32 maxCos ux) ux)
3.0ms
(*.f32 maxCos ux)
2.0ms
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
1.0ms
(log1p.f32 (-.f32 (*.f32 maxCos ux) ux))

simplify76.0ms (0.3%)

Algorithm
egg-herbie
Rules
370×fma-neg_binary32
309×sub-neg_binary32
275×cancel-sign-sub-inv_binary32
225×fma-def_binary32
216×unswap-sqr_binary32
Counts
129 → 173
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02792491
17682188
231792084
349202084

prune180.0ms (0.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1721173
Fresh000
Picked011
Done011
Total1723175
Error
0b
Counts
175 → 3
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
0.0b
(pow.f32 (E.f32) (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 3127 to 1605 computations (48.7% saved)

localize23.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f32 maxCos ux)
0.0b
(-.f32 (*.f32 maxCos ux) ux)
0.0b
(pow.f32 (E.f32) (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
0.0b
(log1p.f32 (-.f32 (*.f32 maxCos ux) ux))

series9.9s (38.4%)

Counts
1 → 24
Calls

1 calls:

9.9s
(pow.f32 (E.f32) (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
pow-unpow_binary32
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
unpow-prod-down_binary32
add-cube-cbrt_binary32
Counts
1 → 20
Calls

1 calls:

2.0ms
(pow.f32 (E.f32) (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))

simplify102.0ms (0.4%)

Algorithm
egg-herbie
Rules
680×fma-neg_binary32
642×fma-def_binary32
512×div-sub_binary32
422×log-prod_binary32
335×log-div_binary32
Counts
44 → 47
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
078592
1169515
2355509
3940509
42625509
54705509
64925509
74962509
84772509

prune102.0ms (0.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1780178
Fresh000
Picked011
Done022
Total1783181
Error
0b
Counts
181 → 3
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
0.0b
(pow.f32 (E.f32) (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 3362 to 1594 computations (52.6% saved)

regimes83.0ms (0.3%)

Accuracy

Total 0.0b remaining (89.1%)

Threshold costs 0.0b (89.1%)

Counts
21 → 1
Compiler

Compiled 1238 to 873 computations (29.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary32
*-commutative_binary32
sub-neg_binary32
neg-sub0_binary32
neg-mul-1_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11011
21511
31711
41811
51811

end37.0ms (0.1%)

Compiler

Compiled 50 to 35 computations (30% saved)

Profiling

Loading profile data...