Details

Time bar (total: 4.5s)

analyze116.0ms (2.6%)

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

Results
1.5s8256×body128valid
Compiler

Compiled 66 to 52 computations (21.2% saved)

simplify17.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

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

Compiled 61 to 49 computations (19.7% saved)

localize17.0ms (0.4%)

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))

series245.0ms (5.5%)

Counts
2 → 36
Calls

2 calls:

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

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

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

simplify41.0ms (0.9%)

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

prune56.0ms (1.3%)

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

Compiled 1629 to 1173 computations (28% saved)

localize27.0ms (0.6%)

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)

series298.0ms (6.7%)

Counts
3 → 48
Calls

3 calls:

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

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

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

simplify58.0ms (1.3%)

Algorithm
egg-herbie
Rules
372×fma-def_binary32
275×associate-+r+_binary32
228×+-commutative_binary32
224×sub-neg_binary32
222×associate-/r*_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03052700
110372419
240502407
Stop Event
node limit
Counts
107 → 132

prune142.0ms (3.2%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1742176
Fresh167
Picked011
Done011
Total17510185
Error
0.1b
Counts
185 → 10
Alt Table
StatusErrorProgram
3.3b
(*.f32 (fma.f32 u (-.f32 -4 (*.f32 u 8)) (*.f32 (pow.f32 u 3) -64/3)) (neg.f32 s))
0.2b
(*.f32 (log1p.f32 (*.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))
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))
3.3b
(fma.f32 4 (*.f32 s u) (*.f32 s (*.f32 (*.f32 u u) (+.f32 8 (*.f32 u 64/3)))))
11.8b
(*.f32 s (log.f32 (/.f32 1 (-.f32 1 (*.f32 4 u)))))
2.6b
(fma.f32 8 (*.f32 u (*.f32 u s)) (fma.f32 (*.f32 s 64/3) (pow.f32 u 3) (fma.f32 4 (*.f32 u s) (*.f32 s (*.f32 (pow.f32 u 4) 64)))))
Compiler

Compiled 5344 to 4115 computations (23% saved)

localize39.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))) (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)

series285.0ms (6.4%)

Counts
3 → 48
Calls

3 calls:

260.0ms
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (pow.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) 2)) (neg.f32 s))
22.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))

rewrite42.0ms (1%)

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:

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

simplify42.0ms (0.9%)

Algorithm
egg-herbie
Rules
292×times-frac_binary32
222×fma-def_binary32
218×cancel-sign-sub-inv_binary32
200×associate-*l/_binary32
175×distribute-neg-in_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01961629
16381428
222231287
Stop Event
node limit
Counts
95 → 120

prune193.0ms (4.3%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2084212
Fresh437
Picked101
Done022
Total2139222
Error
0.1b
Counts
222 → 9
Alt Table
StatusErrorProgram
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))
3.6b
(*.f32 (pow.f32 (log.f32 (exp.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))) 3) (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))
0.2b
(*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))
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.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))))
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))
2.6b
(fma.f32 8 (*.f32 u (*.f32 u s)) (fma.f32 (*.f32 s 64/3) (pow.f32 u 3) (fma.f32 4 (*.f32 u s) (*.f32 s (*.f32 (pow.f32 u 4) 64)))))
Compiler

Compiled 6656 to 5262 computations (20.9% saved)

localize40.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)

series251.0ms (5.6%)

Counts
3 → 48
Calls

3 calls:

242.0ms
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2))) (neg.f32 s))
6.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)))

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

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

simplify39.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

prune144.0ms (3.2%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1691170
Fresh156
Picked011
Done022
Total1709179
Error
0.1b
Counts
179 → 9
Alt Table
StatusErrorProgram
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))
3.6b
(*.f32 (pow.f32 (log.f32 (exp.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))) 3) (neg.f32 s))
0.8b
(*.f32 (*.f32 (pow.f32 (cbrt.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4)))) 3) (cbrt.f32 (pow.f32 (log1p.f32 (*.f32 u -4)) 2))) (neg.f32 s))
0.2b
(*.f32 (log1p.f32 (*.f32 u -4)) (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))
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.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))))
2.6b
(fma.f32 8 (*.f32 u (*.f32 u s)) (fma.f32 (*.f32 s 64/3) (pow.f32 u 3) (fma.f32 4 (*.f32 u s) (*.f32 s (*.f32 (pow.f32 u 4) 64)))))
Compiler

Compiled 4652 to 3592 computations (22.8% saved)

regimes455.0ms (10.2%)

Accuracy

Total 0.2b remaining (71.9%)

Threshold costs 0.2b (71.9%)

Counts
67 → 1
Compiler

Compiled 8423 to 6785 computations (19.4% 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

end118.0ms (2.6%)

Compiler

Compiled 184 to 145 computations (21.2% saved)

Profiling

Loading profile data...