sqrt sqr

Time bar (total: 2.6s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze5.0ms (0.2%)

Memory
-34.1MiB live, 2.0MiB 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.7s (67.5%)

Memory
64.8MiB live, 1 619.4MiB allocated
Samples
1.1s4 051×2valid
295.0ms4 205×0valid
Precisions
Click to see histograms. Total time spent on operations: 855.0ms
ival-mult: 316.0ms (37% of total)
ival-div: 242.0ms (28.3% of total)
ival-sqrt: 114.0ms (13.3% of total)
adjust: 92.0ms (10.8% of total)
ival-sub: 78.0ms (9.1% of total)
ival-true: 5.0ms (0.6% of total)
exact: 5.0ms (0.6% of total)
ival-assert: 3.0ms (0.4% of total)
Bogosity

explain201.0ms (7.8%)

Memory
20.4MiB live, 209.9MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1280-1(-1.8593576802818857e-157)(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-rescue670
(*.f64 x x)overflow67
sqrt.f64(sqrt.f64 (*.f64 x x))uflow-rescue600
(*.f64 x x)underflow60
Confusion
Predicted +Predicted -
+1276
-0123
Precision
1.0
Recall
0.9548872180451128
Confusion?
Predicted +Predicted MaybePredicted -
+12706
-00123
Precision?
1.0
Recall?
0.9548872180451128
Freqs
test
numberfreq
0129
1127
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
101.0ms232×2valid
33.0ms280×0valid
Compiler

Compiled 86 to 28 computations (67.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 81.0ms
ival-div: 36.0ms (44.5% of total)
ival-sub: 22.0ms (27.2% of total)
ival-mult: 11.0ms (13.6% of total)
adjust: 5.0ms (6.2% of total)
ival-sqrt: 5.0ms (6.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess42.0ms (1.6%)

Memory
-27.7MiB live, 26.5MiB allocated
Algorithm
egg-herbie
Rules
152×lower-fma.f64
152×lower-fma.f32
120×lower-*.f32
116×lower-*.f64
56×lower-+.f64
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 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
Compiler

Compiled 12 to 8 computations (33.3% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0%)

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

Compiled 12 to 8 computations (33.3% saved)

simplify19.0ms (0.7%)

Memory
-10.1MiB live, 28.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
cost-diff320
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
cost-diff704
(/.f64 x x)
cost-diff832
(sqrt.f64 (*.f64 x x))
Rules
152×lower-fma.f64
152×lower-fma.f32
120×lower-*.f32
116×lower-*.f64
56×lower-+.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0835
01425
12821
25121
37921
410221
513421
615721
718321
820221
920921
1021621
1123121
1231121
1333121
1433621
033621
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(/.f64 x x)
x
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
(sqrt.f64 (*.f64 x x))
(*.f64 x x)
Outputs
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(-.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x))
(/.f64 x x)
#s(literal 1 binary64)
x
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
(/.f64 (fabs.f64 x) x)
(/.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
(sqrt.f64 (*.f64 x x))
(fabs.f64 x)
(*.f64 x x)

localize68.0ms (2.6%)

Memory
26.5MiB live, 62.7MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
accuracy0
(*.f64 x x)
accuracy0.16796875
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
accuracy29.54764760288351
(sqrt.f64 (*.f64 x x))
Samples
43.0ms140×0valid
18.0ms116×2valid
Compiler

Compiled 37 to 10 computations (73% saved)

Precisions
Click to see histograms. Total time spent on operations: 52.0ms
ival-div: 39.0ms (75.6% of total)
ival-mult: 5.0ms (9.7% of total)
adjust: 3.0ms (5.8% of total)
ival-sub: 2.0ms (3.9% of total)
ival-sqrt: 2.0ms (3.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
12.4MiB live, 12.4MiB allocated
Counts
5 → 60
Calls
Call 1
Inputs
#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())
#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())
#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())
#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (sqrt.f64 (*.f64 x x)) (patch (sqrt.f64 (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor -inf x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor -inf x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor -inf x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor -inf x) (#s(alt (/.f64 x x) (patch (/.f64 x x) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt -1 (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) (patch (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) (patch (-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify6.0ms (0.2%)

Memory
-29.2MiB live, 7.7MiB allocated
Algorithm
egg-herbie
Rules
12×lower-+.f64
12×lower-+.f32
lower-*.f64
lower-fma.f64
lower-fma.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0788
11188
21288
31388
41588
51788
62188
73088
83388
03388
Stop Event
iter limit
saturated
Counts
60 → 52
Calls
Call 1
Inputs
x
x
x
x
1
1
1
1
1
1
1
1
0
0
0
0
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
x
x
x
x
1
1
1
1
1
1
1
1
0
0
0
0
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
1
1
1
1
-1
-1
-1
-1
2
2
2
2
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
x
x
x
x
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
x
x
x
x
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
-1
#s(literal -1 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)

rewrite63.0ms (2.5%)

Memory
12.6MiB live, 95.4MiB allocated
Rules
206×lower-*.f32
204×lower-*.f64
108×lower-/.f32
106×lower-/.f64
84×lower-pow.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0830
01415
1667
23737
07197
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 51
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 x x))
(/.f64 x x)
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
(*.f64 x x)
Outputs
(*.f64 (neg.f64 x) #s(literal -1 binary64))
(*.f64 (sqrt.f64 x) (sqrt.f64 x))
(*.f64 #s(literal -1 binary64) (neg.f64 x))
(*.f64 #s(literal 1 binary64) x)
(*.f64 x #s(literal 1 binary64))
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/4 binary64))
(pow.f64 (sqrt.f64 x) #s(literal 2 binary64))
(pow.f64 (pow.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64))
(pow.f64 x #s(literal 1 binary64))
(/.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1/2 binary64))) (pow.f64 x #s(literal -1/2 binary64)))
(/.f64 (neg.f64 x) #s(literal -1 binary64))
(/.f64 #s(literal -1 binary64) (/.f64 #s(literal -1 binary64) x))
(/.f64 #s(literal 1 binary64) (fabs.f64 (pow.f64 x #s(literal -1 binary64))))
(/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64)))
(/.f64 x #s(literal 1 binary64))
(neg.f64 (neg.f64 x))
(sqrt.f64 (*.f64 x x))
(-.f64 #s(literal 0 binary64) (neg.f64 x))
(fabs.f64 (-.f64 x #s(literal 0 binary64)))
(fabs.f64 (neg.f64 x))
(fabs.f64 x)
(exp.f64 (neg.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 x)) #s(literal 2 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 1 binary64)))
(exp.f64 (log.f64 x))
x
#s(literal 1 binary64)
#s(literal 1 binary64)
#s(literal 0 binary64)
(*.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) x))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(*.f64 x x)
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 1/2 binary64))
(pow.f64 (sqrt.f64 x) #s(literal 4 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(/.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))
(/.f64 (*.f64 x (neg.f64 x)) #s(literal -1 binary64))
(/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x))
(/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64)))
(/.f64 (*.f64 x x) #s(literal 1 binary64))
(/.f64 x (pow.f64 x #s(literal -1 binary64)))
(sqrt.f64 (*.f64 (*.f64 x x) (*.f64 x x)))
(fabs.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval13.0ms (0.5%)

Memory
-0.6MiB live, 33.9MiB allocated
Compiler

Compiled 1 080 to 211 computations (80.5% saved)

prune4.0ms (0.2%)

Memory
13.9MiB live, 13.9MiB allocated
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1012103
Fresh000
Picked101
Done000
Total1022104
Accuracy
100.0%
Counts
104 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.1%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
47.0%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Compiler

Compiled 4 to 6 computations (-50% saved)

simplify29.0ms (1.1%)

Memory
-19.0MiB live, 19.2MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
cost-diff0
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Rules
152×lower-fma.f64
152×lower-fma.f32
120×lower-*.f64
120×lower-*.f32
56×lower-+.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01230
01222
12418
24718
37518
49918
513118
615418
718018
819918
920618
1021318
1122818
1230618
1332618
1433118
033118
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(literal 0 binary64)
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(literal 0 binary64)
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
#s(literal 2 binary64)

localize59.0ms (2.3%)

Memory
16.6MiB live, 62.2MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy28.093750000000004
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
accuracy33.90625000000001
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Samples
42.0ms116×2valid
11.0ms140×0valid
Compiler

Compiled 28 to 12 computations (57.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 45.0ms
ival-sqrt: 27.0ms (59.4% of total)
ival-div: 5.0ms (11% of total)
ival-mult: 5.0ms (11% of total)
ival-sub: 5.0ms (11% of total)
adjust: 3.0ms (6.6% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series1.0ms (0%)

Memory
1.9MiB live, 1.9MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())
Outputs
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 2 (taylor -inf x) (#s(alt #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) (patch #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

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

simplify2.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0224
0224
Stop Event
saturated
saturated
Counts
24 → 24
Calls
Call 1
Inputs
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2
2
2
2
2
2
2
Outputs
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
0
#s(literal 0 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)
2
#s(literal 2 binary64)

rewrite117.0ms (4.6%)

Memory
-16.9MiB live, 57.9MiB allocated
Rules
206×lower-*.f64
206×lower-*.f32
108×lower-/.f64
108×lower-/.f32
84×lower-pow.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01228
01220
1616
23696
07166
Stop Event
iter limit
iter limit
iter limit
unsound
saturated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
Outputs
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))

eval2.0ms (0.1%)

Memory
5.5MiB live, 5.5MiB allocated
Compiler

Compiled 52 to 5 computations (90.4% saved)

prune3.0ms (0.1%)

Memory
7.1MiB live, 7.1MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh000
Picked022
Done000
Total26228
Accuracy
100.0%
Counts
28 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.1%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
47.0%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Compiler

Compiled 20 to 18 computations (10% saved)

regimes78.0ms (3%)

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

2 calls:

74.0ms
x
3.0ms
(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Results
AccuracySegmentsBranch
100.0%2x
89.4%2(-.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)

regimes5.0ms (0.2%)

Memory
18.4MiB live, 18.4MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

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

Compiled 13 to 9 computations (30.8% saved)

bsearch30.0ms (1.2%)

Memory
-24.8MiB live, 51.4MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
28.0ms
-1.1110343752759026e-307
1.4149060871502373e-306
Samples
16.0ms80×2valid
3.0ms48×0valid
Compiler

Compiled 47 to 76 computations (-61.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-mult: 8.0ms (52.1% of total)
ival-div: 3.0ms (19.5% of total)
adjust: 2.0ms (13% of total)
ival-sub: 1.0ms (6.5% of total)
ival-sqrt: 1.0ms (6.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

simplify22.0ms (0.8%)

Memory
33.2MiB live, 69.9MiB allocated
Algorithm
egg-herbie
Rules
1-exp-binary32-exp.f32
1-exp-binary64-exp.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01546
11746
Stop Event
saturated
Calls
Call 1
Inputs
(if (<=.f64 x #s(literal -20240225330731/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392 binary64)) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Outputs
(if (<=.f64 x #s(literal -20240225330731/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392 binary64)) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64)) #s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64)))
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))

soundness6.0ms (0.2%)

Memory
-25.4MiB live, 11.8MiB allocated
Rules
12×lower-+.f64
12×lower-+.f32
lower-*.f64
lower-fma.f64
lower-fma.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0788
11188
21288
31388
41588
51788
62188
73088
83388
03388
Stop Event
done
iter limit
saturated
Compiler

Compiled 13 to 14 computations (-7.7% saved)

preprocess54.0ms (2.1%)

Memory
9.4MiB live, 96.9MiB allocated
Compiler

Compiled 56 to 42 computations (25% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...