sqrt sqr

Time bar (total: 2.5s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze2.0ms (0.1%)

Memory
2.1MiB live, 2.1MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
50%50%50%0%0%0%0%2
75%75%25%0%0%0%0%3
87.5%87.5%12.5%0%0%0%0%4
93.8%93.7%6.2%0%0%0%0%5
96.9%96.8%3.1%0%0%0%0%6
98.4%98.4%1.6%0%0%0%0%7
99.2%99.2%0.8%0%0%0%0%8
99.6%99.6%0.4%0%0%0%0%9
99.8%99.8%0.2%0%0%0%0%10
99.9%99.9%0.1%0%0%0%0%11
100%99.9%0%0%0%0%0%12
Compiler

Compiled 14 to 10 computations (28.6% saved)

sample1.6s (64.4%)

Memory
26.3MiB live, 1 592.6MiB allocated
Samples
788.0ms4 157×2valid
454.0ms4 099×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.0s
ival-div: 396.0ms (39.3% of total)
ival-mult: 299.0ms (29.7% of total)
adjust: 120.0ms (11.9% of total)
ival-sqrt: 102.0ms (10.1% of total)
ival-sub: 77.0ms (7.6% of total)
ival-true: 6.0ms (0.6% of total)
exact: 5.0ms (0.5% of total)
ival-assert: 3.0ms (0.3% of total)
Bogosity

explain168.0ms (6.6%)

Memory
-12.9MiB live, 232.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1310-1(-3.9444058082652477e-162)(sqrt.f64 (*.f64 x x))
00-0-(/.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
00-0-(/.f64 x x)
00-0-(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (*.f64 x x))oflow-rescue700
(*.f64 x x)overflow70
sqrt.f64(sqrt.f64 (*.f64 x x))uflow-rescue600
(*.f64 x x)underflow60
Confusion
Predicted +Predicted -
+1306
-0120
Precision
1.0
Recall
0.9558823529411765
Confusion?
Predicted +Predicted MaybePredicted -
+13006
-00120
Precision?
1.0
Recall?
0.9558823529411765
Freqs
test
numberfreq
0126
1130
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
66.0ms272×2valid
29.0ms240×0valid
Compiler

Compiled 121 to 36 computations (70.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 69.0ms
ival-mult: 24.0ms (34.6% of total)
adjust: 22.0ms (31.8% of total)
ival-div: 11.0ms (15.9% of total)
ival-sqrt: 6.0ms (8.7% of total)
ival-sub: 5.0ms (7.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess46.0ms (1.8%)

Memory
3.5MiB live, 39.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01021
13914
211112
322012
431312
536412
637512
737612
0812
0148
1286
2516
3796
41026
51346
61576
71836
82026
92096
102166
112316
123116
133316
143366
03366
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Outputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Compiler

Compiled 12 to 8 computations (33.3% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 6 to 5 computations (16.7% saved)

prune1.0ms (0%)

Memory
1.9MiB live, 1.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify11.0ms (0.5%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fabs.f64 x)
cost-diff0
(/.f64 (fabs.f64 x) x)
cost-diff0
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0514
0814
11214
22014
32914
44414
55814
67314
79314
810814
911614
1014814
1119514
1226214
1328014
1429914
1531214
031214
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
#s(literal 1 binary64)
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
x
Outputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
#s(literal 1 binary64)
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
x

localize44.0ms (1.7%)

Memory
-4.0MiB live, 34.3MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 (fabs.f64 x) x)
accuracy0
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
accuracy0
(fabs.f64 x)
Samples
39.0ms256×0valid
Compiler

Compiled 30 to 12 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div: 2.0ms (44.1% of total)
ival-sub: 1.0ms (22% of total)
ival-fabs: 1.0ms (22% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB allocated
Counts
3 → 36
Calls
Call 1
Inputs
#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())
#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (fabs.f64 x) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fabs.f64 x) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify35.0ms (1.4%)

Memory
-19.4MiB live, 17.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09133
120133
230133
345133
469133
597133
6136133
7268133
8560133
9581133
10599133
11623133
12624133
0624133
Stop Event
iter limit
saturated
Counts
36 → 36
Calls
Call 1
Inputs
(* -1 (/ (fabs x) x))
(/ (- x (fabs x)) x)
(/ (- x (fabs x)) x)
(/ (- x (fabs x)) x)
(/ (fabs x) x)
(/ (fabs x) x)
(/ (fabs x) x)
(/ (fabs x) x)
(fabs x)
(fabs x)
(fabs x)
(fabs x)
1
(+ 1 (* -1 (/ (fabs x) x)))
(+ 1 (* -1 (/ (fabs x) x)))
(+ 1 (* -1 (/ (fabs x) x)))
(/ (fabs x) x)
(/ (fabs x) x)
(/ (fabs x) x)
(/ (fabs x) x)
(fabs x)
(fabs x)
(fabs x)
(fabs x)
1
(+ 1 (* -1 (/ (fabs x) x)))
(+ 1 (* -1 (/ (fabs x) x)))
(+ 1 (* -1 (/ (fabs x) x)))
(/ (fabs x) x)
(/ (fabs x) x)
(/ (fabs x) x)
(/ (fabs x) x)
(fabs x)
(fabs x)
(fabs x)
(fabs x)
Outputs
(/.f64 (fabs.f64 x) (neg.f64 x))
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
(fabs.f64 x)
(fabs.f64 x)
(fabs.f64 x)
#s(literal 1 binary64)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
(fabs.f64 x)
(fabs.f64 x)
(fabs.f64 x)
#s(literal 1 binary64)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
(fabs.f64 x)
(fabs.f64 x)
(fabs.f64 x)

rewrite122.0ms (4.8%)

Memory
11.6MiB live, 95.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0512
0812
13312
223312
0468712
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
3 → 97
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
(/.f64 (fabs.f64 x) x)
(fabs.f64 x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval39.0ms (1.5%)

Memory
-1.4MiB live, 35.5MiB allocated
Compiler

Compiled 2 537 to 279 computations (89% saved)

prune5.0ms (0.2%)

Memory
15.8MiB live, 15.8MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1321133
Fresh000
Picked011
Done000
Total1322134
Accuracy
100.0%
Counts
134 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
10.5%
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
Compiler

Compiled 14 to 12 computations (14.3% saved)

simplify13.0ms (0.5%)

Memory
-24.0MiB live, 12.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
069
1109
2189
3279
4439
5579
6729
7929
81079
91159
101479
111949
122599
132779
142969
153099
03099
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
#s(literal 1 binary64)

localize13.0ms (0.5%)

Memory
32.2MiB live, 32.2MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy57.31175116580205
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
Samples
9.0ms256×0valid
Compiler

Compiled 18 to 14 computations (22.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 2.0ms (45.5% of total)
ival-sub: 1.0ms (22.8% of total)
ival-fabs: 1.0ms (22.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series1.0ms (0%)

Memory
2.0MiB live, 2.0MiB allocated
Counts
1 → 12
Calls
Call 1
Inputs
#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((- 1 (/ (fabs x) x)))
0.0ms
x
@0
((- 1 (/ (fabs x) x)))
0.0ms
x
@inf
((- 1 (/ (fabs x) x)))

simplify51.0ms (2%)

Memory
-36.6MiB live, 12.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0961
12061
23061
34561
46961
59761
613661
726761
856161
958261
1060061
1162461
1262561
062561
Stop Event
iter limit
saturated
Counts
12 → 12
Calls
Call 1
Inputs
(* -1 (/ (fabs x) x))
(/ (- x (fabs x)) x)
(/ (- x (fabs x)) x)
(/ (- x (fabs x)) x)
1
(+ 1 (* -1 (/ (fabs x) x)))
(+ 1 (* -1 (/ (fabs x) x)))
(+ 1 (* -1 (/ (fabs x) x)))
1
(+ 1 (* -1 (/ (fabs x) x)))
(+ 1 (* -1 (/ (fabs x) x)))
(+ 1 (* -1 (/ (fabs x) x)))
Outputs
(/.f64 (fabs.f64 x) (neg.f64 x))
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
#s(literal 1 binary64)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
#s(literal 1 binary64)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)
(/.f64 (-.f64 x (fabs.f64 x)) x)

rewrite85.0ms (3.3%)

Memory
19.2MiB live, 127.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
068
1318
22318
047018
Stop Event
iter limit
iter limit
node limit
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
Outputs
#<batchref>

eval1.0ms (0%)

Memory
3.6MiB live, 3.6MiB allocated
Compiler

Compiled 153 to 14 computations (90.8% saved)

prune3.0ms (0.1%)

Memory
7.8MiB live, 7.8MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New13013
Fresh000
Picked011
Done011
Total13215
Accuracy
100.0%
Counts
15 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
10.5%
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
Compiler

Compiled 40 to 28 computations (30% saved)

regimes4.0ms (0.1%)

Memory
10.2MiB live, 10.2MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Outputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Calls

2 calls:

2.0ms
x
2.0ms
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes14.0ms (0.6%)

Memory
-20.1MiB live, 22.4MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
Outputs
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
Calls

2 calls:

13.0ms
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
1.0ms
x
Results
AccuracySegmentsBranch
10.5%1x
10.5%1(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Compiler

Compiled 13 to 9 computations (30.8% saved)

simplify26.0ms (1%)

Memory
12.6MiB live, 83.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11414
22214
32814
43314
53514
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))
Outputs
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
#s(approx (- 1 (/ (fabs x) x)) #s(literal 1 binary64))

soundness150.0ms (5.9%)

Memory
-19.1MiB live, 79.0MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0812
0148
1286
2516
3796
41026
51346
61576
71836
82026
92096
102166
112316
123116
133316
143366
03366
09133
120133
230133
345133
469133
597133
6136133
7268133
8560133
9581133
10599133
11623133
12624133
0624133
Stop Event
done
iter limit
saturated
iter limit
saturated
iter limit
Compiler

Compiled 87 to 40 computations (54% saved)

preprocess72.0ms (2.8%)

Memory
16.7MiB live, 92.0MiB allocated
Compiler

Compiled 64 to 46 computations (28.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...