Details

Time bar (total: 16.2s)

analyze4.7s (28.9%)

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

Compiled 37 to 28 computations (24.3% saved)

sample2.1s (12.9%)

Results
2.1s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 51 to 39 computations (23.5% saved)

simplify18.0ms (0.1%)

Algorithm
egg-herbie
Rules
11×sub-neg_binary32
+-commutative_binary32
fma-def_binary32
*-commutative_binary32
div-sub_binary32
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
11717
22117
32717
43417
54417
65417
76917
87617
97917
108017
116017

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.3b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
Compiler

Compiled 42 to 33 computations (21.4% saved)

localize31.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f32 (/.f32 u1 (-.f32 1 u1)))
0.1b
(/.f32 u1 (-.f32 1 u1))
0.2b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.3b
(*.f32 314159265359/50000000000 u2)

series46.0ms (0.3%)

Counts
4 → 40
Calls

4 calls:

32.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
11.0ms
(sqrt.f32 (/.f32 u1 (-.f32 1 u1)))
2.0ms
(/.f32 u1 (-.f32 1 u1))
2.0ms
(*.f32 314159265359/50000000000 u2)

rewrite33.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
81×add-sqr-sqrt_binary32
69×*-un-lft-identity_binary32
56×times-frac_binary32
50×sqrt-prod_binary32
39×add-cube-cbrt_binary32
Counts
4 → 148
Calls

4 calls:

10.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
6.0ms
(sqrt.f32 (/.f32 u1 (-.f32 1 u1)))
4.0ms
(/.f32 u1 (-.f32 1 u1))
3.0ms
(*.f32 314159265359/50000000000 u2)

simplify130.0ms (0.8%)

Algorithm
egg-herbie
Rules
595×associate-/r*_binary32
481×fma-def_binary32
401×times-frac_binary32
261×associate-/l*_binary32
204×fma-neg_binary32
Counts
188 → 226
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02893681
16353497
218683373
348563373
449243373

prune434.0ms (2.7%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New21412226
Fresh000
Picked101
Done000
Total21512227
Error
0.1b
Counts
227 → 12
Alt Table
StatusErrorProgram
2.1b
(*.f32 (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (sqrt.f32 (-.f32 1 u1)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (sqrt.f32 (-.f32 1 u1)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))))
6.7b
(log.f32 (exp.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))))
0.4b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (sqrt.f32 314159265359/50000000000) (sqrt.f32 u2)) (*.f32 (sqrt.f32 314159265359/50000000000) (sqrt.f32 u2)))))
2.4b
(-.f32 (+.f32 (*.f32 9740909103402808085817682884085781839780052161/150000000000000000000000000000000000000000000 (*.f32 (pow.f32 u2 4) (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (*.f32 98696044010906577398881/5000000000000000000000 (*.f32 (pow.f32 u2 2) (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.5b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (*.f32 (cbrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))) (cbrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))) (cbrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.6b
(*.f32 (sqrt.f32 (/.f32 1 (*.f32 (cbrt.f32 (-.f32 1 u1)) (cbrt.f32 (-.f32 1 u1))))) (*.f32 (sqrt.f32 (/.f32 u1 (cbrt.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.4b
(*.f32 (sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (*.f32 u1 u1))) (+.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.6b
(*.f32 (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (+.f32 1 (sqrt.f32 u1)))) (sqrt.f32 (/.f32 (sqrt.f32 u1) (-.f32 1 (sqrt.f32 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.4b
(*.f32 (sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
1.0b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))))
0.3b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
Compiler

Compiled 5345 to 3929 computations (26.5% saved)

localize43.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f32 (/.f32 u1 (-.f32 1 u1)))
0.1b
(/.f32 u1 (-.f32 1 u1))
0.2b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
0.2b
(*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))

series49.0ms (0.3%)

Counts
2 → 32
Calls

2 calls:

34.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
14.0ms
(*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))

rewrite28.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary32
28×associate-*l*_binary32
26×sqrt-prod_binary32
23×*-un-lft-identity_binary32
19×times-frac_binary32
Counts
2 → 71
Calls

2 calls:

14.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
8.0ms
(*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))

simplify88.0ms (0.5%)

Algorithm
egg-herbie
Rules
402×fma-neg_binary32
320×*-commutative_binary32
299×associate-/r*_binary32
291×distribute-neg-frac_binary32
286×fma-def_binary32
Counts
103 → 126
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02012028
14341904
212851784
334541784
449411784

prune448.0ms (2.8%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2308238
Fresh7411
Picked101
Done000
Total23812250
Error
0.0b
Counts
250 → 12
Alt Table
StatusErrorProgram
6.7b
(*.f32 (log.f32 (exp.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
0.5b
(*.f32 (*.f32 (sqrt.f32 (/.f32 1 (+.f32 1 (sqrt.f32 u1)))) (sqrt.f32 (/.f32 u1 (-.f32 1 (sqrt.f32 u1))))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
2.4b
(-.f32 (+.f32 (*.f32 9740909103402808085817682884085781839780052161/150000000000000000000000000000000000000000000 (*.f32 (pow.f32 u2 4) (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (*.f32 98696044010906577398881/5000000000000000000000 (*.f32 (pow.f32 u2 2) (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))))
1.0b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))))
2.1b
(*.f32 (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (sqrt.f32 (-.f32 1 u1)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (sqrt.f32 (-.f32 1 u1)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
6.7b
(log.f32 (exp.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))))
0.4b
(*.f32 (sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.3b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))
0.4b
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 (/.f32 1 u1) -1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
0.4b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (*.f32 (cbrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))) (cbrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))
1.7b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (sqrt.f32 (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))
Compiler

Compiled 6990 to 5547 computations (20.6% saved)

localize44.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f32 u1 (-.f32 1 u1))
0.2b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))
0.2b
(*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2))
0.2b
(*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))

series72.0ms (0.4%)

Counts
3 → 44
Calls

3 calls:

42.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))
16.0ms
(*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))
14.0ms
(*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2))

rewrite33.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
39×associate-*l*_binary32
35×add-sqr-sqrt_binary32
28×*-un-lft-identity_binary32
26×sqrt-prod_binary32
19×times-frac_binary32
Counts
3 → 96
Calls

3 calls:

12.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))
7.0ms
(*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))
5.0ms
(*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2))

simplify105.0ms (0.7%)

Algorithm
egg-herbie
Rules
402×fma-neg_binary32
378×*-commutative_binary32
302×unswap-sqr_binary32
299×associate-/r*_binary32
291×distribute-neg-frac_binary32
Counts
140 → 170
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02173208
14752924
213972179
335722171
451142171

prune397.0ms (2.5%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2321233
Fresh2911
Picked101
Done000
Total23510245
Error
0.0b
Counts
245 → 10
Alt Table
StatusErrorProgram
6.7b
(*.f32 (log.f32 (exp.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
0.5b
(*.f32 (*.f32 (sqrt.f32 (/.f32 1 (+.f32 1 (sqrt.f32 u1)))) (sqrt.f32 (/.f32 u1 (-.f32 1 (sqrt.f32 u1))))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
1.7b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (sqrt.f32 (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))
0.5b
(*.f32 (sqrt.f32 (/.f32 1 (sqrt.f32 (-.f32 1 u1)))) (*.f32 (sqrt.f32 (/.f32 u1 (sqrt.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))))
2.4b
(-.f32 (+.f32 (*.f32 9740909103402808085817682884085781839780052161/150000000000000000000000000000000000000000000 (*.f32 (pow.f32 u2 4) (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (*.f32 98696044010906577398881/5000000000000000000000 (*.f32 (pow.f32 u2 2) (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))))
1.0b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))))
2.1b
(*.f32 (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (sqrt.f32 (-.f32 1 u1)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (sqrt.f32 (-.f32 1 u1)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.4b
(*.f32 (sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.4b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (*.f32 (cbrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))) (cbrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))
Compiler

Compiled 6479 to 5183 computations (20% saved)

localize65.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1)))))
0.2b
(*.f32 (sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.3b
(*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1))))
0.3b
(*.f32 314159265359/50000000000 u2)

series85.0ms (0.5%)

Counts
3 → 40
Calls

3 calls:

71.0ms
(*.f32 (sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
10.0ms
(sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1)))))
3.0ms
(*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1))))

rewrite69.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt_binary32
46×associate-*l*_binary32
41×*-un-lft-identity_binary32
37×times-frac_binary32
24×difference-of-squares_binary32
Counts
3 → 114
Calls

3 calls:

21.0ms
(*.f32 (sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
21.0ms
(*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1))))
13.0ms
(sqrt.f32 (*.f32 (/.f32 u1 (-.f32 1 (pow.f32 u1 3))) (+.f32 (*.f32 1 1) (+.f32 (*.f32 u1 u1) (*.f32 1 u1)))))

simplify167.0ms (1%)

Algorithm
egg-herbie
Rules
772×times-frac_binary32
249×distribute-rgt-in_binary32
237×distribute-lft-in_binary32
232×associate-*l*_binary32
207×cancel-sign-sub-inv_binary32
Counts
154 → 225
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02824633
18744297
231844289
346734241
449184241
549414241

prune496.0ms (3.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2461247
Fresh189
Picked101
Done000
Total2489257
Error
0.0b
Counts
257 → 9
Alt Table
StatusErrorProgram
6.7b
(*.f32 (log.f32 (exp.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
0.5b
(*.f32 (*.f32 (sqrt.f32 (/.f32 1 (+.f32 1 (sqrt.f32 u1)))) (sqrt.f32 (/.f32 u1 (-.f32 1 (sqrt.f32 u1))))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))
1.0b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))))
1.7b
(*.f32 (*.f32 (sqrt.f32 (/.f32 (+.f32 (fma.f32 u1 u1 u1) (pow.f32 u1 3)) (-.f32 1 (pow.f32 u1 3)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))
2.4b
(-.f32 (+.f32 (*.f32 9740909103402808085817682884085781839780052161/150000000000000000000000000000000000000000000 (*.f32 (pow.f32 u2 4) (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (*.f32 98696044010906577398881/5000000000000000000000 (*.f32 (pow.f32 u2 2) (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))))
2.1b
(*.f32 (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (sqrt.f32 (-.f32 1 u1)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (sqrt.f32 (-.f32 1 u1)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))))) (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.4b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (*.f32 (cbrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))) (cbrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (cbrt.f32 314159265359/50000000000)) (*.f32 (cbrt.f32 314159265359/50000000000) u2)))))
0.5b
(*.f32 (sqrt.f32 (/.f32 1 (sqrt.f32 (-.f32 1 u1)))) (*.f32 (sqrt.f32 (/.f32 u1 (sqrt.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) (*.f32 (cbrt.f32 314159265359/50000000000) u2))))))
Compiler

Compiled 9001 to 6433 computations (28.5% saved)

regimes6.3s (39%)

Accuracy

Total 0.3b remaining (75.5%)

Threshold costs 0.3b (75.5%)

Counts
500 → 1
Compiler

Compiled 115147 to 91103 computations (20.9% 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
01735
12435
22835
33035
43135
53035

end227.0ms (1.4%)

Compiler

Compiled 359 to 292 computations (18.7% saved)

Profiling

Loading profile data...