Details

Time bar (total: 4.1s)

analyze103.0ms (2.5%)

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)

sample1.6s (39.7%)

Results
1.5s8256×body128valid
Compiler

Compiled 66 to 52 computations (21.2% saved)

simplify16.0ms (0.4%)

Algorithm
egg-herbie
Rules
175×fma-neg_binary32
152×fma-def_binary32
46×cancel-sign-sub-inv_binary32
46×sub-neg_binary32
30×distribute-rgt-in_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01014
12411
24111
37011
49711
512711
616711
724111
835911
943511
1051111
1160311
1274111
1385311
1486611
Stop Event
saturated
Counts
1 → 2

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
11.8b
(*.f32 s (log.f32 (/.f32 1 (-.f32 1 (*.f32 4 u)))))
0.2b
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
Compiler

Compiled 61 to 49 computations (19.7% saved)

localize19.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

series233.0ms (5.7%)

Counts
2 → 36
Calls

2 calls:

230.0ms
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
2.0ms
(log1p.f32 (*.f32 u -4))

rewrite34.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
591×expm1-log1p-u_binary32
590×log1p-expm1-u_binary32
334×log-prod_binary32
143×prod-diff_binary32
125×expm1-udef_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0817
116215
2194915
Stop Event
node limit
Counts
2 → 42
Calls

2 calls:

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

simplify35.0ms (0.8%)

Algorithm
egg-herbie
Rules
836×fma-neg_binary32
526×fma-def_binary32
364×sub-neg_binary32
212×associate-+l+_binary32
186×unsub-neg_binary32
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0106726
1336675
21065632
33590624
Stop Event
node limit
Counts
78 → 91

prune57.0ms (1.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New84791
Fresh011
Picked011
Done000
Total84993
Error
0.1b
Counts
93 → 9
Alt Table
StatusErrorProgram
11.8b
(*.f32 s (log.f32 (/.f32 1 (-.f32 1 (*.f32 4 u)))))
2.6b
(+.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)))))
3.3b
(fma.f32 4 (*.f32 s u) (*.f32 s (*.f32 (*.f32 u u) (+.f32 8 (*.f32 u 64/3)))))
0.7b
(*.f32 (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3) (neg.f32 s))
0.7b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)) (neg.f32 s))
12.0b
(*.f32 (-.f32 (log.f32 (-.f32 1 (*.f32 (*.f32 u u) 16))) (log.f32 (-.f32 1 (*.f32 u -4)))) (neg.f32 s))
11.8b
(*.f32 (-.f32 (log1p.f32 (pow.f32 (*.f32 u -4) 3)) (log.f32 (+.f32 1 (-.f32 (*.f32 (*.f32 u u) 16) (*.f32 u -4))))) (neg.f32 s))
0.2b
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
3.3b
(*.f32 (fma.f32 u (-.f32 -4 (*.f32 u 8)) (*.f32 (pow.f32 u 3) -64/3)) (neg.f32 s))
Compiler

Compiled 1629 to 1173 computations (28% saved)

localize30.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 u -4))
0.1b
(cbrt.f32 (log1p.f32 (*.f32 u -4)))
0.2b
(*.f32 (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3) (neg.f32 s))
0.7b
(pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3)

series260.0ms (6.3%)

Counts
3 → 40
Calls

3 calls:

228.0ms
(*.f32 (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3) (neg.f32 s))
19.0ms
(pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3)
13.0ms
(cbrt.f32 (log1p.f32 (*.f32 u -4)))

rewrite38.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
760×expm1-log1p-u_binary32
759×log1p-expm1-u_binary32
143×prod-diff_binary32
99×add-sqr-sqrt_binary32
93×add-cbrt-cube_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01125
122423
2246123
Stop Event
node limit
Counts
3 → 59
Calls

3 calls:

37.0ms
(cbrt.f32 (log1p.f32 (*.f32 u -4)))
37.0ms
(*.f32 (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3) (neg.f32 s))
37.0ms
(pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3)

simplify40.0ms (1%)

Algorithm
egg-herbie
Rules
310×times-frac_binary32
242×cancel-sign-sub-inv_binary32
217×associate-*l/_binary32
198×fma-def_binary32
194×associate-*r/_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01841869
16011682
220151645
Stop Event
node limit
Counts
99 → 116

prune129.0ms (3.1%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1582160
Fresh077
Picked011
Done011
Total15811169
Error
0.1b
Counts
169 → 11
Alt Table
StatusErrorProgram
11.8b
(*.f32 s (log.f32 (/.f32 1 (-.f32 1 (*.f32 4 u)))))
2.6b
(+.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)))))
3.6b
(*.f32 (pow.f32 (log.f32 (exp.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))) 3) (neg.f32 s))
3.3b
(*.f32 (fma.f32 u (-.f32 -4 (*.f32 u 8)) (*.f32 (pow.f32 u 3) -64/3)) (neg.f32 s))
3.3b
(fma.f32 4 (*.f32 s u) (*.f32 s (*.f32 (*.f32 u u) (+.f32 8 (*.f32 u 64/3)))))
3.2b
(fma.f32 8 (*.f32 u (*.f32 u s)) (*.f32 s (+.f32 (*.f32 u 4) (*.f32 64/3 (pow.f32 u 3)))))
0.7b
(*.f32 (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3) (neg.f32 s))
0.7b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)) (neg.f32 s))
12.0b
(*.f32 (-.f32 (log.f32 (-.f32 1 (*.f32 (*.f32 u u) 16))) (log.f32 (-.f32 1 (*.f32 u -4)))) (neg.f32 s))
11.8b
(*.f32 (-.f32 (log1p.f32 (pow.f32 (*.f32 u -4) 3)) (log.f32 (+.f32 1 (-.f32 (*.f32 (*.f32 u u) 16) (*.f32 u -4))))) (neg.f32 s))
0.2b
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
Compiler

Compiled 3995 to 3111 computations (22.1% saved)

localize35.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(cbrt.f32 (log1p.f32 (*.f32 u -4)))
0.2b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)) (neg.f32 s))
0.4b
(*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2))
0.5b
(pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)

series248.0ms (6%)

Counts
3 → 44
Calls

3 calls:

227.0ms
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)) (neg.f32 s))
18.0ms
(pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)
3.0ms
(*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2))

rewrite39.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
800×expm1-log1p-u_binary32
799×log1p-expm1-u_binary32
143×prod-diff_binary32
107×add-sqr-sqrt_binary32
100×add-cbrt-cube_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01228
124826
2264326
Stop Event
node limit
Counts
3 → 47
Calls

3 calls:

38.0ms
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)) (neg.f32 s))
38.0ms
(*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2))
38.0ms
(pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)

simplify39.0ms (0.9%)

Algorithm
egg-herbie
Rules
234×times-frac_binary32
229×cancel-sign-sub-inv_binary32
206×associate-/r*_binary32
197×fma-def_binary32
173×distribute-rgt-in_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01821616
15891468
220651416
Stop Event
node limit
Counts
91 → 111

prune173.0ms (4.2%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1834187
Fresh448
Picked101
Done022
Total18810198
Error
0.0b
Counts
198 → 10
Alt Table
StatusErrorProgram
0.4b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2))) (neg.f32 s))
2.6b
(+.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)))))
2.5b
(+.f32 (*.f32 s (fma.f32 64 (pow.f32 u 4) (*.f32 (pow.f32 u 3) 64/3))) (*.f32 s (*.f32 u (+.f32 (*.f32 8 u) 4))))
3.2b
(fma.f32 8 (*.f32 u (*.f32 u s)) (*.f32 s (+.f32 (*.f32 u 4) (*.f32 64/3 (pow.f32 u 3)))))
0.2b
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
0.9b
(*.f32 (*.f32 (pow.f32 (cbrt.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4)))) 3) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)) (neg.f32 s))
3.2b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (log.f32 (exp.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))) 2)) (neg.f32 s))
0.7b
(*.f32 (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3) (neg.f32 s))
12.0b
(*.f32 (-.f32 (log.f32 (-.f32 1 (*.f32 (*.f32 u u) 16))) (log.f32 (-.f32 1 (*.f32 u -4)))) (neg.f32 s))
3.6b
(*.f32 (pow.f32 (log.f32 (exp.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))) 3) (neg.f32 s))
Compiler

Compiled 6297 to 5066 computations (19.5% saved)

localize35.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(cbrt.f32 (log1p.f32 (*.f32 u -4)))
0.2b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2))) (neg.f32 s))
0.4b
(*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2)))
0.5b
(pow.f32 (log1p.f32 (*.f32 u -4)) 2)

series239.0ms (5.8%)

Counts
3 → 48
Calls

3 calls:

232.0ms
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2))) (neg.f32 s))
5.0ms
(pow.f32 (log1p.f32 (*.f32 u -4)) 2)
3.0ms
(*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2)))

rewrite45.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
863×expm1-log1p-u_binary32
862×log1p-expm1-u_binary32
143×prod-diff_binary32
116×add-sqr-sqrt_binary32
112×add-cbrt-cube_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01352
126424
2295524
Stop Event
node limit
Counts
3 → 52
Calls

3 calls:

44.0ms
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2))) (neg.f32 s))
44.0ms
(*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2)))
44.0ms
(pow.f32 (log1p.f32 (*.f32 u -4)) 2)

simplify36.0ms (0.9%)

Algorithm
egg-herbie
Rules
286×cancel-sign-sub-inv_binary32
282×fma-def_binary32
243×sub-neg_binary32
196×associate-*l*_binary32
173×associate-/r*_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02051385
16711304
223721214
Stop Event
node limit
Counts
100 → 124

prune131.0ms (3.2%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1620162
Fresh077
Picked011
Done022
Total16210172
Error
0.0b
Counts
172 → 10
Alt Table
StatusErrorProgram
0.4b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2))) (neg.f32 s))
2.6b
(+.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)))))
2.5b
(+.f32 (*.f32 s (fma.f32 64 (pow.f32 u 4) (*.f32 (pow.f32 u 3) 64/3))) (*.f32 s (*.f32 u (+.f32 (*.f32 8 u) 4))))
3.2b
(fma.f32 8 (*.f32 u (*.f32 u s)) (*.f32 s (+.f32 (*.f32 u 4) (*.f32 64/3 (pow.f32 u 3)))))
0.2b
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
0.9b
(*.f32 (*.f32 (pow.f32 (cbrt.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4)))) 3) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)) (neg.f32 s))
3.2b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (log.f32 (exp.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))) 2)) (neg.f32 s))
0.7b
(*.f32 (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 3) (neg.f32 s))
12.0b
(*.f32 (-.f32 (log.f32 (-.f32 1 (*.f32 (*.f32 u u) 16))) (log.f32 (-.f32 1 (*.f32 u -4)))) (neg.f32 s))
3.6b
(*.f32 (pow.f32 (log.f32 (exp.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))) 3) (neg.f32 s))
Compiler

Compiled 4549 to 3546 computations (22% saved)

regimes338.0ms (8.2%)

Accuracy

Total 0.2b remaining (72.6%)

Threshold costs 0.2b (72.6%)

Counts
52 → 1
Compiler

Compiled 6351 to 5070 computations (20.2% 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
0811
11611
22411
33011
43311
53411
Stop Event
saturated

end125.0ms (3%)

Compiler

Compiled 207 to 164 computations (20.8% saved)

Profiling

Loading profile data...