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

Time bar (total: 2.8s)

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)

sample723.0ms (25.5%)

Memory
3.3MiB live, 956.8MiB allocated
Samples
442.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 275.0ms
ival-sub: 125.0ms (45.5% of total)
ival-fabs: 72.0ms (26.2% of total)
ival-sqrt: 68.0ms (24.8% of total)
ival-true: 6.0ms (2.2% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain50.0ms (1.8%)

Memory
5.8MiB live, 90.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
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
22.0ms512×0valid
Compiler

Compiled 51 to 24 computations (52.9% saved)

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

preprocess19.0ms (0.7%)

Memory
-2.2MiB live, 36.8MiB 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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0%)

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

simplify8.0ms (0.3%)

Memory
-31.6MiB live, 7.4MiB 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

localize15.0ms (0.5%)

Memory
32.9MiB live, 33.0MiB 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
11.0ms256×0valid
Compiler

Compiled 30 to 12 computations (60% saved)

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

series6.0ms (0.2%)

Memory
-35.4MiB live, 6.6MiB 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
3.0ms
y
@-inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y))
1.0ms
x
@-inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y))
1.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))

simplify132.0ms (4.6%)

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

rewrite222.0ms (7.8%)

Memory
7.4MiB live, 167.0MiB 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>

eval141.0ms (5%)

Memory
-2.8MiB live, 84.8MiB allocated
Compiler

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

prune34.0ms (1.2%)

Memory
-13.3MiB live, 24.7MiB 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)))
50.9%
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y))))
Compiler

Compiled 10 to 11 computations (-10% saved)

simplify7.0ms (0.2%)

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

localize61.0ms (2.2%)

Memory
-12.3MiB live, 25.3MiB 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)))
accuracy32.38944963047957
#s(approx (- x y) (neg.f64 y))
Samples
13.0ms256×0valid
Compiler

Compiled 32 to 14 computations (56.3% saved)

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

series3.0ms (0.1%)

Memory
4.3MiB live, 4.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
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))
0.0ms
x
@inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y))

simplify193.0ms (6.8%)

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

rewrite335.0ms (11.8%)

Memory
-7.6MiB live, 152.8MiB 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>

eval14.0ms (0.5%)

Memory
17.1MiB live, 17.1MiB allocated
Compiler

Compiled 999 to 248 computations (75.2% saved)

prune75.0ms (2.7%)

Memory
-26.3MiB live, 12.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)))
50.9%
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

simplify6.0ms (0.2%)

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

localize16.0ms (0.6%)

Memory
22.6MiB live, 22.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))
accuracy62.62440350207929
#s(approx (- x y) y)
Samples
11.0ms256×0valid
Compiler

Compiled 25 to 12 computations (52% saved)

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

series65.0ms (2.3%)

Memory
-33.3MiB live, 3.9MiB 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
61.0ms
y
@0
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y))
1.0ms
y
@-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
x
@inf
((sqrt (fabs (- x y))) (fabs (- x y)) (- x y))

simplify163.0ms (5.7%)

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

rewrite142.0ms (5%)

Memory
-6.2MiB live, 188.3MiB 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>

eval11.0ms (0.4%)

Memory
29.7MiB live, 29.7MiB allocated
Compiler

Compiled 784 to 149 computations (81% saved)

prune6.0ms (0.2%)

Memory
-23.1MiB live, 16.0MiB 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)))
50.9%
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
Compiler

Compiled 23 to 22 computations (4.3% saved)

regimes10.0ms (0.3%)

Memory
27.4MiB live, 27.4MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Calls

5 calls:

2.0ms
(-.f64 x y)
2.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))
2.0ms
(fabs.f64 (-.f64 x y))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(sqrt.f64 (fabs.f64 (-.f64 x y)))
100.0%1(fabs.f64 (-.f64 x y))
100.0%1(-.f64 x y)
Compiler

Compiled 14 to 16 computations (-14.3% saved)

regimes11.0ms (0.4%)

Memory
-22.0MiB live, 23.9MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y))))
Outputs
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
Calls

5 calls:

4.0ms
(-.f64 x y)
2.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))
2.0ms
(fabs.f64 (-.f64 x y))
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
50.9%1x
50.9%1y
50.9%1(sqrt.f64 (fabs.f64 (-.f64 x y)))
50.9%1(fabs.f64 (-.f64 x y))
50.9%1(-.f64 x y)
Compiler

Compiled 14 to 16 computations (-14.3% saved)

simplify22.0ms (0.8%)

Memory
15.8MiB live, 55.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11312
22012
32512
42812
52912
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 y x)))
(sqrt.f64 (fabs.f64 #s(approx (- x y) y)))

soundness323.0ms (11.4%)

Memory
-6.5MiB live, 149.4MiB allocated
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0723
01023
13223
217023
3159519
0961419
030279
179279
2186279
3541279
41596279
52435279
63316279
74901279
85409279
95785279
106306279
116970279
127705279
08082279
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 18 to 19 computations (-5.6% saved)

preprocess25.0ms (0.9%)

Memory
-1.6MiB live, 75.8MiB allocated
Remove

(sort x y)

Compiler

Compiled 48 to 46 computations (4.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...