Details

Time bar (total: 6.3s)

analyze115.0ms (1.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%1.5%98.5%0
0%1.5%98.5%1
0%1.5%98.5%2
0.8%0.8%98.5%3
0.8%0.8%98.5%4
1.2%0.4%98.5%5
1.2%0.4%98.5%6
1.4%0.2%98.5%7
1.4%0.2%98.5%8
1.4%0.1%98.5%9
1.4%0.1%98.5%10
1.5%0%98.5%11
1.5%0%98.5%12
1.5%0%98.5%13
1.5%0%98.5%14
Compiler

Compiled 27 to 21 computations (22.2% saved)

sample2.0s (32%)

Results
1.6s8256×body128valid
Compiler

Compiled 66 to 52 computations (21.2% saved)

simplify22.0ms (0.3%)

Algorithm
egg-herbie
Rules
175×fma-neg_binary32
156×fma-def_binary32
46×cancel-sign-sub-inv_binary32
46×sub-neg_binary32
29×distribute-rgt-in_binary32
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01014
12411
23811
36411
48311
511011
614411
719411
824411
929111
1031911
1136211
1240111
1347811
1449111
1544311

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
13.4b
(*.f32 s (log.f32 (/.f32 1 (-.f32 1 (*.f32 4 u)))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
Compiler

Compiled 61 to 49 computations (19.7% saved)

localize19.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 u -4))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))

series309.0ms (4.9%)

Counts
2 → 36
Calls

2 calls:

306.0ms
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
3.0ms
(log1p.f32 (*.f32 u -4))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×associate-*r*_binary32
add-sqr-sqrt_binary32
*-un-lft-identity_binary32
add-cube-cbrt_binary32
add-cbrt-cube_binary32
Counts
2 → 39
Calls

2 calls:

4.0ms
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
0.0ms
(log1p.f32 (*.f32 u -4))

simplify59.0ms (0.9%)

Algorithm
egg-herbie
Rules
715×fma-neg_binary32
622×fma-def_binary32
409×unsub-neg_binary32
304×times-frac_binary32
234×associate-+l+_binary32
Counts
75 → 100
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01571231
14411117
214151071
336451067
451071067

prune78.0ms (1.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New946100
Fresh101
Picked011
Done000
Total957102
Error
0b
Counts
102 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f32 (*.f32 s (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (log1p.f32 (*.f32 u -4))))) (neg.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
1.7b
(+.f32 (*.f32 s (*.f32 u (+.f32 4 (*.f32 u 8)))) (*.f32 s (fma.f32 64/3 (pow.f32 u 3) (*.f32 64 (pow.f32 u 4)))))
1.7b
(+.f32 (*.f32 8 (*.f32 s (pow.f32 u 2))) (+.f32 (*.f32 64/3 (*.f32 s (pow.f32 u 3))) (+.f32 (*.f32 64 (*.f32 s (pow.f32 u 4))) (*.f32 4 (*.f32 s u)))))
0.7b
(*.f32 (*.f32 (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
Compiler

Compiled 1750 to 1281 computations (26.8% saved)

localize27.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 u -4))
0.3b
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.3b
(*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4))))

series233.0ms (3.7%)

Counts
2 → 32
Calls

2 calls:

215.0ms
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
18.0ms
(*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4))))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary32
12×associate-*l*_binary32
11×associate-*r*_binary32
*-un-lft-identity_binary32
add-cube-cbrt_binary32
Counts
2 → 56
Calls

2 calls:

6.0ms
(*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4))))
6.0ms
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))

simplify74.0ms (1.2%)

Algorithm
egg-herbie
Rules
915×fma-def_binary32
715×times-frac_binary32
366×fma-neg_binary32
252×associate-+l+_binary32
224×associate-*r*_binary32
Counts
88 → 117
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01861744
15411595
217211526
344531526
455621526

prune112.0ms (1.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1512153
Fresh235
Picked011
Done011
Total1537160
Error
0b
Counts
160 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f32 (*.f32 s (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (log1p.f32 (*.f32 u -4))))) (neg.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
1.7b
(+.f32 (*.f32 s (*.f32 u (+.f32 4 (*.f32 u 8)))) (*.f32 s (fma.f32 64/3 (pow.f32 u 3) (*.f32 64 (pow.f32 u 4)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))) (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
1.6b
(fma.f32 s (*.f32 (*.f32 u u) 8) (fma.f32 s (*.f32 (pow.f32 u 3) 64/3) (*.f32 s (+.f32 (*.f32 4 u) (*.f32 64 (pow.f32 u 4))))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
Compiler

Compiled 3106 to 1934 computations (37.7% saved)

localize26.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 u -4))
0.2b
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
0.5b
(*.f32 (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))) (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
1.0b
(sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s)))

series517.0ms (8.2%)

Counts
3 → 44
Calls

3 calls:

358.0ms
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
125.0ms
(*.f32 (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))) (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
34.0ms
(sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s)))

rewrite21.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
57×pow1_binary32
30×sqrt-pow1_binary32
22×pow-prod-down_binary32
15×add-sqr-sqrt_binary32
14×associate-*r*_binary32
Counts
3 → 92
Calls

3 calls:

9.0ms
(*.f32 (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))) (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
4.0ms
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
2.0ms
(sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s)))

simplify118.0ms (1.9%)

Algorithm
egg-herbie
Rules
785×fma-def_binary32
254×unswap-sqr_binary32
203×associate-*l*_binary32
191×associate-*r*_binary32
160×distribute-rgt-neg-out_binary32
Counts
136 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02362993
16132629
222262382
346602331
448822331
549442331

prune300.0ms (4.8%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New3190319
Fresh044
Picked011
Done022
Total3197326
Error
0b
Counts
326 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f32 (*.f32 s (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (log1p.f32 (*.f32 u -4))))) (neg.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
1.7b
(+.f32 (*.f32 s (*.f32 u (+.f32 4 (*.f32 u 8)))) (*.f32 s (fma.f32 64/3 (pow.f32 u 3) (*.f32 64 (pow.f32 u 4)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))) (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
1.6b
(fma.f32 s (*.f32 (*.f32 u u) 8) (fma.f32 s (*.f32 (pow.f32 u 3) 64/3) (*.f32 s (+.f32 (*.f32 4 u) (*.f32 64 (pow.f32 u 4))))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
Compiler

Compiled 9086 to 6321 computations (30.4% saved)

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 u -4))
0.1b
(sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))
0.2b
(*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.3b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))

series686.0ms (11%)

Counts
3 → 48
Calls

3 calls:

355.0ms
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
319.0ms
(*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
12.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
31×sqrt-prod_binary32
26×associate-*r*_binary32
20×add-sqr-sqrt_binary32
15×*-un-lft-identity_binary32
15×add-cube-cbrt_binary32
Counts
3 → 83
Calls

3 calls:

7.0ms
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
5.0ms
(*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
1.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))

simplify180.0ms (2.9%)

Algorithm
egg-herbie
Rules
435×times-frac_binary32
418×fma-neg_binary32
366×cancel-sign-sub-inv_binary32
291×associate-/r*_binary32
291×associate-/l*_binary32
Counts
131 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02583444
17372979
223592881
347012859
449462859

prune238.0ms (3.8%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New2560256
Fresh033
Picked011
Done033
Total2567263
Error
0b
Counts
263 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f32 (*.f32 s (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (log1p.f32 (*.f32 u -4))))) (neg.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
1.7b
(+.f32 (*.f32 s (*.f32 u (+.f32 4 (*.f32 u 8)))) (*.f32 s (fma.f32 64/3 (pow.f32 u 3) (*.f32 64 (pow.f32 u 4)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))) (sqrt.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
1.6b
(fma.f32 s (*.f32 (*.f32 u u) 8) (fma.f32 s (*.f32 (pow.f32 u 3) 64/3) (*.f32 s (+.f32 (*.f32 4 u) (*.f32 64 (pow.f32 u 4))))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
Compiler

Compiled 7462 to 5990 computations (19.7% saved)

regimes960.0ms (15.3%)

Accuracy

Total 0.2b remaining (91.6%)

Threshold costs 0.2b (91.6%)

Counts
136 → 1
Compiler

Compiled 18146 to 13734 computations (24.3% saved)

simplify3.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
01129
12029
22729
33329
43629
53729
63729

end97.0ms (1.6%)

Compiler

Compiled 171 to 131 computations (23.4% saved)

Profiling

Loading profile data...