Optimisation.CirclePacking:place from circle-packing-0.1.0.4, C

Time bar (total: 1.7s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 7 to 7 computations (0% saved)

sample757.0ms (44%)

Memory
-15.2MiB live, 606.2MiB allocated
Samples
500.0ms8 004×0valid
Precisions
Click to see histograms. Total time spent on operations: 272.0ms
ival-sub: 132.0ms (48.5% of total)
ival-sqrt: 90.0ms (33% of total)
ival-fabs: 41.0ms (15.1% of total)
ival-true: 6.0ms (2.2% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain1.0ms (0.1%)

Memory
1.2MiB live, 1.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(fabs.f64 (-.f64 x y))
00-0-(-.f64 x y)
00-0-(sqrt.f64 (fabs.f64 (-.f64 x y)))
00-0-x
Confusion
Predicted +Predicted -
+00
-04
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-004
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
04
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
0.0ms0valid
Compiler

Compiled 51 to 24 computations (52.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-sub: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
ival-fabs: 0.0ms (0% of total)
ival-sqrt: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess18.0ms (1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01531
13527
27227
313727
418527
519727
619927
055
085
1125
2195
3275
4465
5935
61445
71655
81735
01735
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 y x)))
Symmetry

(sort x y)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.0MiB live, 0.1MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify6.0ms (0.3%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x y)
cost-diff0
(fabs.f64 (-.f64 x y))
cost-diff0
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0514
0814
11214
21914
32714
44614
59314
614414
716514
817314
017314
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs.f64 (-.f64 x y))
(-.f64 x y)
x
y
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 y x)))
(fabs.f64 (-.f64 x y))
(fabs.f64 (-.f64 y x))
(-.f64 x y)
x
y

localize0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x y)
accuracy0
(sqrt.f64 (fabs.f64 (-.f64 x y)))
accuracy0
(fabs.f64 (-.f64 x y))
Samples
0.0ms0valid
Compiler

Compiled 30 to 12 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-sub: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
ival-fabs: 0.0ms (0% of total)
ival-sqrt: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.2%)

Memory
3.4MiB live, 3.4MiB allocated
Counts
3 → 72
Calls
Call 1
Inputs
#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())
#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())
#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())
Outputs
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify135.0ms (7.8%)

Memory
-11.5MiB live, 82.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030279
179279
2186279
3541279
41596279
52435279
63316279
74901279
85409279
95785279
106306279
116970279
127705279
08082279
Stop Event
iter limit
node limit
Counts
72 → 69
Calls
Call 1
Inputs
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
x
(+ x (* -1 y))
(+ x (* -1 y))
(+ x (* -1 y))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(* -1 y)
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(sqrt (fabs (+ x (* -1 y))))
(sqrt (fabs (+ x (* -1 y))))
(sqrt (fabs (+ x (* -1 y))))
(sqrt (fabs (+ x (* -1 y))))
(fabs (+ x (* -1 y)))
(fabs (+ x (* -1 y)))
(fabs (+ x (* -1 y)))
(fabs (+ x (* -1 y)))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(* -1 y)
(- x y)
(- x y)
(- x y)
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
x
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(fabs (neg (+ y (* -1 x))))
(fabs (neg (+ y (* -1 x))))
(fabs (neg (+ y (* -1 x))))
(fabs (neg (+ y (* -1 x))))
x
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
Outputs
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
x
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(* -1 y)
(neg.f64 y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
x
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)

rewrite150.0ms (8.7%)

Memory
4.7MiB live, 162.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0512
0812
12912
218112
3167512
0837812
Stop Event
iter limit
node limit
iter limit
Counts
3 → 322
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs.f64 (-.f64 x y))
(-.f64 x y)
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>
#<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>
#<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>
#<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>

eval10.0ms (0.6%)

Memory
-16.3MiB live, 19.0MiB allocated
Compiler

Compiled 9 124 to 1 402 computations (84.6% saved)

prune1.0ms (0%)

Memory
2.3MiB live, 2.3MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New3901391
Fresh000
Picked011
Done000
Total3902392
Accuracy
100.0%
Counts
392 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
52.5%
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y))))
Compiler

Compiled 10 to 11 computations (-10% saved)

simplify7.0ms (0.4%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 y)
cost-diff0
#s(approx (- x y) (neg.f64 y))
cost-diff0
(fabs.f64 #s(approx (- x y) (neg.f64 y)))
cost-diff0
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0724
01024
11524
22024
32724
43624
55324
67924
710324
814524
916024
1016824
016824
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y))))
(fabs.f64 #s(approx (- x y) (neg.f64 y)))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
y
Outputs
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y))))
(fabs.f64 #s(approx (- x y) (neg.f64 y)))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
y

localize1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y))))
accuracy0
(neg.f64 y)
accuracy0
(fabs.f64 #s(approx (- x y) (neg.f64 y)))
accuracy30.88838088556
#s(approx (- x y) (neg.f64 y))
Samples
0.0ms0valid
Compiler

Compiled 32 to 14 computations (56.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-sub: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
ival-fabs: 0.0ms (0% of total)
ival-sqrt: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-neg: 0.0ms (0% of total)

series3.0ms (0.2%)

Memory
10.3MiB live, 10.3MiB allocated
Counts
4 → 84
Calls
Call 1
Inputs
#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())
#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())
#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())
#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())
Outputs
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y))
0.0ms
y
@-inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y))
0.0ms
x
@-inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y))
0.0ms
y
@0
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y))
0.0ms
x
@inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y))

simplify165.0ms (9.6%)

Memory
-37.9MiB live, 53.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030303
179303
2186303
3541303
41596303
52435303
63316303
74901303
85409303
95785303
106306303
116970303
127705303
08082303
Stop Event
iter limit
node limit
Counts
84 → 81
Calls
Call 1
Inputs
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
x
(+ x (* -1 y))
(+ x (* -1 y))
(+ x (* -1 y))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(* -1 y)
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(sqrt (fabs (+ x (* -1 y))))
(sqrt (fabs (+ x (* -1 y))))
(sqrt (fabs (+ x (* -1 y))))
(sqrt (fabs (+ x (* -1 y))))
(fabs (+ x (* -1 y)))
(fabs (+ x (* -1 y)))
(fabs (+ x (* -1 y)))
(fabs (+ x (* -1 y)))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 y)
(* -1 y)
(* -1 y)
(* -1 y)
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(* -1 y)
(- x y)
(- x y)
(- x y)
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
x
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(fabs (neg (+ y (* -1 x))))
(fabs (neg (+ y (* -1 x))))
(fabs (neg (+ y (* -1 x))))
(fabs (neg (+ y (* -1 x))))
x
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
Outputs
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
x
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(* -1 y)
(neg.f64 y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(* -1 y)
(neg.f64 y)
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
x
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)

rewrite135.0ms (7.9%)

Memory
25.4MiB live, 99.7MiB allocated
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0723
01023
13223
217023
3159519
0961419
Stop Event
iter limit
node limit
iter limit
Counts
4 → 63
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y))))
(fabs.f64 #s(approx (- x y) (neg.f64 y)))
#s(approx (- x y) (neg.f64 y))
(neg.f64 y)
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>

eval1.0ms (0.1%)

Memory
1.2MiB live, 1.2MiB allocated
Compiler

Compiled 999 to 248 computations (75.2% saved)

prune0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1431144
Fresh000
Picked101
Done011
Total1442146
Accuracy
100.0%
Counts
146 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
52.5%
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

simplify6.0ms (0.3%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- x y) y)
cost-diff0
(fabs.f64 #s(approx (- x y) y))
cost-diff0
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0619
0819
11019
21519
32119
43019
54519
67819
710519
814719
916219
1017019
017019
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
(fabs.f64 #s(approx (- x y) y))
#s(approx (- x y) y)
y
Outputs
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
(fabs.f64 #s(approx (- x y) y))
#s(approx (- x y) y)
y

localize0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
accuracy0
(fabs.f64 #s(approx (- x y) y))
accuracy63.56942242385419
#s(approx (- x y) y)
Samples
0.0ms0valid
Compiler

Compiled 25 to 12 computations (52% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-sub: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
ival-fabs: 0.0ms (0% of total)
ival-sqrt: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.2%)

Memory
4.0MiB live, 4.0MiB allocated
Counts
3 → 72
Calls
Call 1
Inputs
#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())
#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())
#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())
Outputs
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y))
0.0ms
x
@-inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y))
0.0ms
y
@-inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y))
0.0ms
x
@inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y))
0.0ms
y
@0
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y))

simplify163.0ms (9.5%)

Memory
-7.7MiB live, 110.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030279
179279
2186279
3541279
41596279
52435279
63316279
74901279
85409279
95785279
106306279
116970279
127705279
08082279
Stop Event
iter limit
node limit
Counts
72 → 69
Calls
Call 1
Inputs
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
x
(+ x (* -1 y))
(+ x (* -1 y))
(+ x (* -1 y))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(* -1 y)
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(sqrt (fabs (+ x (* -1 y))))
(sqrt (fabs (+ x (* -1 y))))
(sqrt (fabs (+ x (* -1 y))))
(sqrt (fabs (+ x (* -1 y))))
(fabs (+ x (* -1 y)))
(fabs (+ x (* -1 y)))
(fabs (+ x (* -1 y)))
(fabs (+ x (* -1 y)))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(* -1 y)
(- x y)
(- x y)
(- x y)
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(sqrt (fabs (- x y)))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
(fabs (- x y))
x
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt (fabs (neg (+ y (* -1 x)))))
(fabs (neg (+ y (* -1 x))))
(fabs (neg (+ y (* -1 x))))
(fabs (neg (+ y (* -1 x))))
(fabs (neg (+ y (* -1 x))))
x
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
Outputs
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
x
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(* -1 y)
(neg.f64 y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (+ x (* -1 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(fabs (+ x (* -1 y)))
(fabs.f64 (-.f64 x y))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (- x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
(fabs (- x y))
(fabs.f64 (-.f64 x y))
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt (fabs (neg (+ y (* -1 x)))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
(fabs (neg (+ y (* -1 x))))
(fabs.f64 (-.f64 x y))
x
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)

rewrite152.0ms (8.8%)

Memory
3.8MiB live, 154.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0818
12718
215518
3139818
0974518
Stop Event
iter limit
node limit
iter limit
Counts
3 → 43
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
(fabs.f64 #s(approx (- x y) y))
#s(approx (- x y) y)
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>

eval1.0ms (0.1%)

Memory
2.2MiB live, 2.2MiB allocated
Compiler

Compiled 784 to 149 computations (81% saved)

prune1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh000
Picked011
Done011
Total1122114
Accuracy
100.0%
Counts
114 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
52.5%
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
Compiler

Compiled 23 to 22 computations (4.3% saved)

regimes0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 3 to 3 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Calls

1 calls:

0.0ms
(-.f64 x y)

Profiling

Loading profile data...