Details

Time bar (total: 2.0s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
50%50%0.1%2
74.9%25%0.1%3
87.4%12.5%0.1%4
93.7%6.2%0.1%5
96.8%3.1%0.1%6
98.3%1.6%0.1%7
99.1%0.8%0.1%8
99.5%0.4%0.1%9
99.7%0.2%0.1%10
99.8%0.1%0.1%11
99.9%0%0.1%12
99.9%0%0.1%13
99.9%0%0.1%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample855.0ms (43.6%)

Results
827.0ms8256×body128valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
179

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.9b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.9b
(/.f64 (atan2.f64 im re) (log.f64 10))
Compiler

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.9b
(/.f64 (atan2.f64 im re) (log.f64 10))

series53.0ms (2.7%)

Counts
1 → 0
Calls

1 calls:

53.0ms
(/.f64 (atan2.f64 im re) (log.f64 10))

rewrite43.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
633×log1p-expm1-u_binary64
633×expm1-log1p-u_binary64
323×log-prod_binary64
128×expm1-udef_binary64
127×log1p-udef_binary64
Counts
1 → 37
Calls

1 calls:

42.0ms
(/.f64 (atan2.f64 im re) (log.f64 10))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
11409
216569
350149
000
100

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune29.0ms (1.5%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New32537
Fresh000
Picked101
Done000
Total33538
Error
0b
Counts
38 → 5
Alt Table
StatusErrorProgram
0.1b
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 1/10)))
1.0b
(pow.f64 (/.f64 (log.f64 10) (atan2.f64 im re)) -1)
32.4b
(*.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 10)))
2.0b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (atan2.f64 im re)) 2) (sqrt.f64 (log.f64 10))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 10))))
0.9b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 10))))
Compiler

Compiled 583 to 387 computations (33.6% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.9b
(/.f64 (atan2.f64 im re) (log.f64 1/10))
1.0b
(log.f64 1/10)

series48.0ms (2.4%)

Counts
2 → 0
Calls

2 calls:

48.0ms
(/.f64 (atan2.f64 im re) (log.f64 1/10))
0.0ms
(log.f64 1/10)

rewrite43.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
634×log1p-expm1-u_binary64
634×expm1-log1p-u_binary64
323×log-prod_binary64
128×expm1-udef_binary64
127×log1p-udef_binary64
Counts
2 → 55
Calls

2 calls:

42.0ms
(/.f64 (atan2.f64 im re) (log.f64 1/10))
42.0ms
(log.f64 1/10)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
114012
2165612
3501912
000
100

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune29.0ms (1.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New54155
Fresh134
Picked011
Done000
Total55560
Error
0b
Counts
60 → 5
Alt Table
StatusErrorProgram
0.1b
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 1/10)))
1.0b
(pow.f64 (/.f64 (log.f64 10) (atan2.f64 im re)) -1)
0.2b
(neg.f64 (pow.f64 (/.f64 (log.f64 1/10) (atan2.f64 im re)) -1))
32.4b
(*.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 10)))
0.9b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 10))))
Compiler

Compiled 771 to 531 computations (31.1% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (/.f64 (log.f64 1/10) (atan2.f64 im re)) -1)
0.9b
(/.f64 (log.f64 1/10) (atan2.f64 im re))
1.0b
(log.f64 1/10)

series123.0ms (6.3%)

Counts
2 → 24
Calls

2 calls:

72.0ms
(pow.f64 (/.f64 (log.f64 1/10) (atan2.f64 im re)) -1)
51.0ms
(/.f64 (log.f64 1/10) (atan2.f64 im re))

rewrite46.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
782×log1p-expm1-u_binary64
782×expm1-log1p-u_binary64
154×log1p-udef_binary64
90×add-sqr-sqrt_binary64
84×add-log-exp_binary64
Counts
2 → 77
Calls

2 calls:

44.0ms
(pow.f64 (/.f64 (log.f64 1/10) (atan2.f64 im re)) -1)
44.0ms
(/.f64 (log.f64 1/10) (atan2.f64 im re))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
118218
2204418
3501318
000
100

simplify12.0ms (0.6%)

Algorithm
egg-herbie
Counts
101 → 77
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07216
17216

prune54.0ms (2.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh033
Picked011
Done011
Total955100
Error
0b
Counts
100 → 5
Alt Table
StatusErrorProgram
0.1b
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 1/10)))
1.0b
(pow.f64 (/.f64 (log.f64 10) (atan2.f64 im re)) -1)
0.2b
(neg.f64 (pow.f64 (/.f64 (log.f64 1/10) (atan2.f64 im re)) -1))
32.4b
(*.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) 1) (/.f64 (sqrt.f64 (atan2.f64 im re)) (log.f64 10)))
0.9b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 10))))
Compiler

Compiled 1366 to 963 computations (29.5% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 10)))
0.8b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 10))))

series103.0ms (5.3%)

Counts
2 → 48
Calls

2 calls:

53.0ms
(/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 10)))
50.0ms
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 10))))

rewrite55.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
503×log-prod_binary64
259×pow2_binary64
186×pow1/3_binary64
181×expm1-udef_binary64
180×log1p-udef_binary64
Counts
2 → 110
Calls

2 calls:

53.0ms
(/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 10)))
53.0ms
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 10))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
122020
2253920
3489920
000
100

simplify14.0ms (0.7%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Counts
158 → 111
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011552
114552
213552

prune56.0ms (2.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1101111
Fresh112
Picked101
Done022
Total1124116
Error
0b
Counts
116 → 4
Alt Table
StatusErrorProgram
0.1b
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 1/10)))
1.0b
(pow.f64 (/.f64 (log.f64 10) (atan2.f64 im re)) -1)
0.2b
(neg.f64 (pow.f64 (/.f64 (log.f64 1/10) (atan2.f64 im re)) -1))
0.9b
(/.f64 (pow.f64 (log.f64 10) -1/2) (/.f64 (sqrt.f64 (log.f64 10)) (atan2.f64 im re)))
Compiler

Compiled 1773 to 1341 computations (24.4% saved)

regimes250.0ms (12.8%)

Accuracy

Total 0.1b remaining (89.1%)

Threshold costs 0.1b (89.1%)

Counts
30 → 1
Compiler

Compiled 1845 to 1408 computations (23.7% saved)

simplify34.0ms (1.7%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11411
21811
32111
42211
52211

end68.0ms (3.5%)

Compiler

Compiled 62 to 50 computations (19.4% saved)

Profiling

Loading profile data...