atan(y/x)

Time bar (total: 969.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze61.0ms (6.3%)

Memory
-2.7MiB live, 5.2MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
87.5%87.4%12.5%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
93.8%93.7%6.2%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
96.9%96.8%3.1%0.1%0%0%0%12
Compiler

Compiled 20 to 14 computations (30% saved)

sample701.0ms (72.3%)

Memory
13.8MiB live, 246.7MiB allocated
Samples
432.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 245.0ms
ival-<=: 84.0ms (34.3% of total)
ival-div: 78.0ms (31.9% of total)
ival-atan: 47.0ms (19.2% of total)
ival-and: 23.0ms (9.4% of total)
exact: 10.0ms (4.1% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain40.0ms (4.1%)

Memory
3.4MiB live, 19.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(atan.f64 (/.f64 y x))
00-0-y
00-0-(/.f64 y x)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
20.0ms512×0valid
Compiler

Compiled 28 to 16 computations (42.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 4.0ms (51.9% of total)
ival-atan: 3.0ms (38.9% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess17.0ms (1.7%)

Memory
-1.7MiB live, 5.9MiB allocated
Algorithm
egg-herbie
Rules
30×sub-neg
20×+-commutative
14×div-sub
10×*-commutative
10×neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01226
12426
23626
34626
45426
56826
68826
79826
810026
044
064
064
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
Outputs
(atan.f64 (/.f64 y x))
Compiler

Compiled 6 to 4 computations (33.3% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Memory
0.5MiB live, 0.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(atan.f64 (/.f64 y x))
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify4.0ms (0.4%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 y x)
cost-diff0
(atan.f64 (/.f64 y x))
Rules
lift-/.f64
lower-atan.f32
lift-atan.f64
lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049
069
069
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
(/.f64 y x)
y
x
Outputs
(atan.f64 (/.f64 y x))
(/.f64 y x)
y
x

localize19.0ms (2%)

Memory
-32.2MiB live, 5.3MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 y x)
accuracy0
(atan.f64 (/.f64 y x))
Samples
13.0ms256×0valid
Compiler

Compiled 11 to 6 computations (45.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 2.0ms (50.7% of total)
ival-atan: 1.0ms (25.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.3%)

Memory
1.3MiB live, 1.3MiB allocated
Counts
2 → 48
Calls
Call 1
Inputs
#<alt (atan.f64 (/.f64 y x))>
#<alt (/.f64 y x)>
Outputs
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (atan (/ y x))>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
#<alt (/ y x)>
Calls

12 calls:

TimeVariablePointExpression
1.0ms
y
@inf
(/ y x)
0.0ms
x
@inf
(/ y x)
0.0ms
y
@-inf
(/ y x)
0.0ms
y
@0
(/ y x)
0.0ms
x
@0
(/ y x)

simplify4.0ms (0.4%)

Memory
1.2MiB live, 1.2MiB allocated
Algorithm
egg-herbie
Rules
lower-atan.f32
lower-/.f32
lower-/.f64
lower-atan.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04168
04168
Stop Event
iter limit
saturated
Counts
48 → 48
Calls
Call 1
Inputs
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(atan (/ y x))
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
(/ y x)
Outputs
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(atan (/ y x))
(atan.f64 (/.f64 y x))
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)
(/ y x)
(/.f64 y x)

rewrite76.0ms (7.9%)

Memory
1.6MiB live, 16.7MiB allocated
Rules
522×lower-*.f64
522×lower-*.f32
470×lower-/.f32
468×lower-/.f64
136×lower--.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
067
1147
2497
32247
012187
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
2 → 62
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
(/.f64 y x)
Outputs
(-.f64 #s(literal 0 binary64) (atan.f64 (/.f64 y (neg.f64 x))))
(atan.f64 (/.f64 y x))
(neg.f64 (atan.f64 (/.f64 y (neg.f64 x))))
(*.f64 #s(literal -1 binary64) (atan.f64 (/.f64 y (neg.f64 x))))
(+.f64 #s(literal 0 binary64) (/.f64 y x))
(+.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 0 binary64)) (/.f64 y x))
(exp.f64 (*.f64 #s(literal -1 binary64) (log.f64 (/.f64 x y))))
(-.f64 #s(literal 0 binary64) (/.f64 y (neg.f64 x)))
(fma.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 0 binary64) (/.f64 y x))
(neg.f64 (/.f64 y (neg.f64 x)))
(/.f64 y x)
(/.f64 (/.f64 y x) #s(literal 1 binary64))
(/.f64 (neg.f64 y) (neg.f64 x))
(/.f64 #s(literal 1 binary64) (/.f64 x y))
(/.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y))
(/.f64 #s(literal -1 binary64) (/.f64 x (neg.f64 y)))
(/.f64 (/.f64 #s(literal -1 binary64) x) (/.f64 #s(literal -1 binary64) y))
(/.f64 (/.f64 y (neg.f64 x)) #s(literal -1 binary64))
(/.f64 (neg.f64 (*.f64 y (*.f64 y y))) (*.f64 (neg.f64 x) (*.f64 y y)))
(/.f64 (neg.f64 (*.f64 y y)) (*.f64 (neg.f64 x) y))
(/.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 x (neg.f64 y))) (neg.f64 x)) (*.f64 (neg.f64 x) (/.f64 x (neg.f64 y))))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (neg.f64 x) y)) (*.f64 x x))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (neg.f64 x) (neg.f64 y))) (*.f64 (neg.f64 x) x))
(/.f64 (*.f64 (neg.f64 (*.f64 y (*.f64 y y))) #s(literal 1 binary64)) (*.f64 (*.f64 y y) (neg.f64 x)))
(/.f64 (*.f64 (neg.f64 (*.f64 y (*.f64 y y))) #s(literal -1 binary64)) (*.f64 (*.f64 y y) x))
(/.f64 (*.f64 (neg.f64 (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y (neg.f64 x)))
(/.f64 (*.f64 (neg.f64 (*.f64 y y)) #s(literal -1 binary64)) (*.f64 y x))
(/.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (*.f64 y (*.f64 y y)))) (*.f64 (neg.f64 x) (*.f64 y y)))
(/.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (*.f64 y y))) (*.f64 (neg.f64 x) y))
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (*.f64 y (*.f64 y y)))) (*.f64 x (*.f64 y y)))
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (*.f64 y y))) (*.f64 x y))
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 (/.f64 y (neg.f64 x)) #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 (/.f64 y (neg.f64 x)) (/.f64 y (neg.f64 x)) (*.f64 #s(literal 0 binary64) (/.f64 y (neg.f64 x))))))
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (/.f64 y (neg.f64 x)) (/.f64 y (neg.f64 x)))) (/.f64 y (neg.f64 x)))
(/.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) (neg.f64 (*.f64 y (*.f64 y y)))) (*.f64 y y))
(/.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) (neg.f64 (*.f64 y y))) y)
(/.f64 (*.f64 (neg.f64 (*.f64 y (*.f64 y y))) (/.f64 #s(literal -1 binary64) x)) (*.f64 y y))
(/.f64 (*.f64 (neg.f64 (*.f64 y y)) (/.f64 #s(literal -1 binary64) x)) y)
(pow.f64 (/.f64 y x) #s(literal 1 binary64))
(pow.f64 (/.f64 x y) #s(literal -1 binary64))
(pow.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) #s(literal 2 binary64))
(pow.f64 (*.f64 (/.f64 x y) (/.f64 x y)) #s(literal -1/2 binary64))
(pow.f64 (exp.f64 (log.f64 (/.f64 x y))) #s(literal -1 binary64))
(*.f64 y (/.f64 #s(literal 1 binary64) x))
(*.f64 (/.f64 y x) #s(literal 1 binary64))
(*.f64 (neg.f64 y) (/.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal 1 binary64) (/.f64 y x))
(*.f64 (/.f64 #s(literal 1 binary64) x) y)
(*.f64 #s(literal -1 binary64) (/.f64 y (neg.f64 x)))
(*.f64 (/.f64 #s(literal -1 binary64) x) (neg.f64 y))
(*.f64 (/.f64 #s(literal -1 binary64) x) (pow.f64 (/.f64 #s(literal -1 binary64) y) #s(literal -1 binary64)))
(*.f64 (/.f64 y (neg.f64 x)) #s(literal -1 binary64))
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (/.f64 (pow.f64 x #s(literal -1/2 binary64)) (/.f64 #s(literal 1 binary64) y)))
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (*.f64 (pow.f64 x #s(literal -1/2 binary64)) y))
(*.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) (*.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) (/.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) y) #s(literal -1 binary64)) (/.f64 #s(literal -1 binary64) x))
(*.f64 (/.f64 (pow.f64 x #s(literal -1/2 binary64)) #s(literal 1 binary64)) (/.f64 (pow.f64 x #s(literal -1/2 binary64)) (/.f64 #s(literal 1 binary64) y)))
(*.f64 (*.f64 y (pow.f64 x #s(literal -1/2 binary64))) (pow.f64 x #s(literal -1/2 binary64)))
(*.f64 (*.f64 #s(literal 1 binary64) (pow.f64 (/.f64 y x) #s(literal 1/2 binary64))) (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)))
(*.f64 (/.f64 (neg.f64 y) (neg.f64 (*.f64 x (*.f64 x x)))) (*.f64 x x))
(*.f64 (/.f64 (neg.f64 y) (neg.f64 (*.f64 x x))) x)

eval11.0ms (1.1%)

Memory
1.4MiB live, 9.0MiB allocated
Compiler

Compiled 868 to 197 computations (77.3% saved)

prune10.0ms (1%)

Memory
-0.4MiB live, 8.2MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1100110
Fresh000
Picked011
Done000
Total1101111
Accuracy
100.0%
Counts
111 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(atan.f64 (/.f64 y x))
Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify7.0ms (0.7%)

Memory
-4.0MiB live, 3.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
Stop Event
saturated
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
Outputs
(atan.f64 (/.f64 y x))

soundness0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Stop Event
done
Compiler

Compiled 6 to 4 computations (33.3% saved)

preprocess16.0ms (1.7%)

Memory
5.4MiB live, 20.8MiB allocated
Compiler

Compiled 24 to 16 computations (33.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...