sqrt sqr

Time bar (total: 2.5s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze4.0ms (0.2%)

Memory
-32.6MiB 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 (70.2%)

Memory
54.6MiB live, 1 682.8MiB allocated
Samples
963.0ms4 184×2valid
383.0ms4 072×0valid
Precisions
Click to see histograms. Total time spent on operations: 1.1s
ival-sub: 368.0ms (33.5% of total)
ival-div: 346.0ms (31.5% of total)
ival-mult: 184.0ms (16.7% of total)
adjust: 106.0ms (9.6% of total)
ival-sqrt: 83.0ms (7.5% of total)
ival-true: 5.0ms (0.5% of total)
exact: 5.0ms (0.5% of total)
ival-assert: 3.0ms (0.3% of total)
Bogosity

explain184.0ms (7.5%)

Memory
-6.4MiB live, 161.9MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1420-6(-3.57074849145406e-156)(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-rescue660
(*.f64 x x)underflow66
Confusion
Predicted +Predicted -
+13613
-0107
Precision
1.0
Recall
0.912751677852349
Confusion?
Predicted +Predicted MaybePredicted -
+136013
-00107
Precision?
1.0
Recall?
0.912751677852349
Freqs
test
numberfreq
0120
1136
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
42.0ms244×2valid
25.0ms268×0valid
Compiler

Compiled 87 to 28 computations (67.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 49.0ms
ival-div: 14.0ms (28.5% of total)
ival-sub: 13.0ms (26.5% of total)
ival-mult: 10.0ms (20.4% of total)
adjust: 6.0ms (12.2% of total)
ival-sqrt: 5.0ms (10.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess61.0ms (2.5%)

Memory
10.7MiB live, 46.0MiB 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 13 to 8 computations (38.5% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

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

Compiled 13 to 8 computations (38.5% saved)

simplify14.0ms (0.6%)

Memory
21.6MiB live, 21.6MiB 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)

localize58.0ms (2.4%)

Memory
10.0MiB live, 82.6MiB 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.1328125
(*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x)))
accuracy32.17586374132549
(sqrt.f64 (*.f64 x x))
Samples
40.0ms122×2valid
11.0ms134×0valid
Compiler

Compiled 37 to 10 computations (73% saved)

Precisions
Click to see histograms. Total time spent on operations: 20.0ms
ival-div: 7.0ms (35.7% of total)
ival-mult: 5.0ms (25.5% of total)
adjust: 3.0ms (15.3% of total)
ival-sqrt: 3.0ms (15.3% of total)
ival-sub: 2.0ms (10.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series21.0ms (0.9%)

Memory
-44.2MiB live, 5.3MiB 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))

simplify4.0ms (0.2%)

Memory
5.4MiB live, 5.4MiB 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)

rewrite69.0ms (2.8%)

Memory
24.4MiB live, 95.3MiB 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)))

eval12.0ms (0.5%)

Memory
-3.8MiB live, 33.7MiB allocated
Compiler

Compiled 1 081 to 199 computations (81.6% saved)

prune11.0ms (0.5%)

Memory
-21.9MiB live, 24.8MiB 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
53.8%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
49.3%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify17.0ms (0.7%)

Memory
6.6MiB live, 43.4MiB 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)

localize35.0ms (1.4%)

Memory
14.8MiB live, 92.0MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy29.546875000000004
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
accuracy32.45312500000001
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Samples
19.0ms122×2valid
10.0ms134×0valid
Compiler

Compiled 28 to 12 computations (57.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 21.0ms
ival-div: 7.0ms (32.8% of total)
ival-mult: 6.0ms (28.1% of total)
adjust: 3.0ms (14% of total)
ival-sqrt: 3.0ms (14% of total)
ival-sub: 2.0ms (9.4% 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.4MiB live, 1.4MiB 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)

rewrite82.0ms (3.3%)

Memory
-23.2MiB live, 58.6MiB 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))

eval5.0ms (0.2%)

Memory
11.7MiB live, 11.7MiB allocated
Compiler

Compiled 53 to 3 computations (94.3% saved)

prune2.0ms (0.1%)

Memory
5.0MiB live, 5.0MiB 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
53.8%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 2 binary64))
49.3%
#s(approx (- (/ x x) (* (/ 1 x) (sqrt (* x x)))) #s(literal 0 binary64))
Compiler

Compiled 23 to 14 computations (39.1% saved)

regimes4.0ms (0.2%)

Memory
11.9MiB live, 11.9MiB 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:

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%2x
88.6%2(-.f64 (/.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) x) (sqrt.f64 (*.f64 x x))))
Compiler

Compiled 15 to 9 computations (40% saved)

regimes3.0ms (0.1%)

Memory
8.5MiB live, 8.5MiB 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:

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

Compiled 15 to 9 computations (40% saved)

bsearch23.0ms (0.9%)

Memory
4.7MiB live, 41.2MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
21.0ms
-7.530014354980204e-305
1.7487429767116715e-305
Samples
9.0ms64×2valid
7.0ms80×0valid
Compiler

Compiled 88 to 66 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-div: 5.0ms (42.6% of total)
ival-mult: 3.0ms (25.6% of total)
adjust: 1.0ms (8.5% of total)
ival-sub: 1.0ms (8.5% of total)
ival-sqrt: 1.0ms (8.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

simplify75.0ms (3.1%)

Memory
-45.8MiB live, 44.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))

soundness5.0ms (0.2%)

Memory
1.9MiB live, 1.9MiB 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 17 to 12 computations (29.4% saved)

preprocess39.0ms (1.6%)

Memory
12.2MiB live, 50.0MiB allocated
Compiler

Compiled 62 to 38 computations (38.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...