Data.Colour.RGB:hslsv from colour-2.3.3, A

Time bar (total: 2.9s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample945.0ms (32.8%)

Memory
-83.5MiB live, 928.9MiB allocated
Samples
548.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 218.0ms
ival-add: 111.0ms (51% of total)
ival-div: 92.0ms (42.2% of total)
ival-true: 6.0ms (2.8% of total)
exact: 6.0ms (2.8% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

explain76.0ms (2.6%)

Memory
7.2MiB live, 51.1MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 (+.f64 x y) #s(literal 2 binary64))
00-0-y
00-0-#s(literal 2 binary64)
00-0-(+.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
54.0ms512×0valid
Compiler

Compiled 42 to 24 computations (42.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 4.0ms (52.2% of total)
ival-add: 3.0ms (39.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess55.0ms (1.9%)

Memory
-13.7MiB live, 25.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01327
13525
26625
313925
434825
552325
655525
757225
055
075
185
085
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) #s(literal 2 binary64))
Outputs
(/.f64 (+.f64 x y) #s(literal 2 binary64))
(/.f64 (+.f64 y x) #s(literal 2 binary64))
Symmetry

(sort x y)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 (+.f64 x y) #s(literal 2 binary64))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify3.0ms (0.1%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x y)
cost-diff0
(/.f64 (+.f64 x y) #s(literal 2 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
1811
0811
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) #s(literal 2 binary64))
(+.f64 x y)
x
y
#s(literal 2 binary64)
Outputs
(/.f64 (+.f64 x y) #s(literal 2 binary64))
(/.f64 (+.f64 y x) #s(literal 2 binary64))
(+.f64 x y)
(+.f64 y x)
x
y
#s(literal 2 binary64)

localize14.0ms (0.5%)

Memory
15.6MiB live, 15.6MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 (+.f64 x y) #s(literal 2 binary64))
accuracy0
(+.f64 x y)
Samples
10.0ms256×0valid
Compiler

Compiled 24 to 12 computations (50% saved)

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

series3.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Counts
2 → 48
Calls
Call 1
Inputs
#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())
#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 x) (taylor 0 y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt y (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt y (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt 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 (* 1/2 x) (taylor inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ 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
((/ (+ x y) 2) (+ x y))
0.0ms
y
@inf
((/ (+ x y) 2) (+ x y))
0.0ms
y
@-inf
((/ (+ x y) 2) (+ x y))
0.0ms
x
@inf
((/ (+ x y) 2) (+ x y))
0.0ms
y
@0
((/ (+ x y) 2) (+ x y))

simplify231.0ms (8%)

Memory
-6.2MiB live, 147.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038168
1115168
2264168
3783168
41814168
52648168
63320168
73621168
83783168
93819168
106057168
08007168
Stop Event
iter limit
node limit
Counts
48 → 42
Calls
Call 1
Inputs
(* 1/2 x)
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
x
(+ x y)
(+ x y)
(+ x y)
(* 1/2 y)
(* y (+ 1/2 (* 1/2 (/ x y))))
(* y (+ 1/2 (* 1/2 (/ x y))))
(* y (+ 1/2 (* 1/2 (/ x y))))
y
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* 1/2 y)
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* 1/2 y)
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
y
(+ x y)
(+ x y)
(+ x y)
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (/ y x))))
(* x (+ 1/2 (* 1/2 (/ y x))))
(* x (+ 1/2 (* 1/2 (/ y x))))
x
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* 1/2 x)
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
Outputs
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
x
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
y
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
y
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)

rewrite226.0ms (7.8%)

Memory
-16.1MiB live, 305.8MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1318
21828
317318
081758
Stop Event
iter limit
node limit
iter limit
Counts
2 → 370
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) #s(literal 2 binary64))
(+.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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval52.0ms (1.8%)

Memory
-2.5MiB live, 154.2MiB allocated
Compiler

Compiled 8 500 to 1 091 computations (87.2% saved)

prune7.0ms (0.2%)

Memory
29.0MiB live, 28.9MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New4093412
Fresh000
Picked101
Done000
Total4103413
Accuracy
100.0%
Counts
413 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
49.3%
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
51.6%
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
Compiler

Compiled 13 to 15 computations (-15.4% saved)

simplify139.0ms (4.8%)

Memory
-31.8MiB live, 6.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y x)
cost-diff0
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
cost-diff0
(*.f64 y #s(literal 1/2 binary64))
cost-diff0
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
cost-diff0
(*.f64 x #s(literal 1/2 binary64))
cost-diff0
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01239
01639
12039
22239
02239
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 y #s(literal 1/2 binary64))
y
#s(literal 1/2 binary64)
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
y
x
#s(literal 1/2 binary64)
Outputs
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 x #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) x)
x
#s(literal 1/2 binary64)
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 y #s(literal 1/2 binary64))
y
#s(literal 1/2 binary64)
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
y
x
#s(literal 1/2 binary64)

localize26.0ms (0.9%)

Memory
30.7MiB live, 69.2MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 y x)
accuracy0
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
accuracy0
(*.f64 y #s(literal 1/2 binary64))
accuracy32.427134390638194
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
accuracy0
(*.f64 x #s(literal 1/2 binary64))
accuracy30.964337207552163
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
Samples
20.0ms256×0valid
Compiler

Compiled 62 to 21 computations (66.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 5.0ms (51.5% of total)
ival-add: 3.0ms (30.9% of total)
ival-div: 2.0ms (20.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series8.0ms (0.3%)

Memory
-29.6MiB live, 16.6MiB allocated
Counts
6 → 120
Calls
Call 1
Inputs
#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())
#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 x) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt y (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt y (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x))
1.0ms
y
@inf
((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x))
1.0ms
y
@-inf
((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x))
0.0ms
x
@inf
((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x))
0.0ms
y
@0
((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x))

simplify167.0ms (5.8%)

Memory
14.6MiB live, 185.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038456
1115456
2264456
3783456
41814456
52648456
63320456
73621456
83783456
93819456
106057456
08007456
Stop Event
iter limit
node limit
Counts
120 → 114
Calls
Call 1
Inputs
(* 1/2 x)
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(* 1/2 x)
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(* 1/2 y)
(* 1/2 y)
(* 1/2 y)
(* 1/2 y)
(* 1/2 x)
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
x
(+ x y)
(+ x y)
(+ x y)
(* 1/2 y)
(* y (+ 1/2 (* 1/2 (/ x y))))
(* y (+ 1/2 (* 1/2 (/ x y))))
(* y (+ 1/2 (* 1/2 (/ x y))))
(* 1/2 y)
(* y (+ 1/2 (* 1/2 (/ x y))))
(* y (+ 1/2 (* 1/2 (/ x y))))
(* y (+ 1/2 (* 1/2 (/ x y))))
(* 1/2 y)
(* 1/2 y)
(* 1/2 y)
(* 1/2 y)
(* 1/2 y)
(* y (+ 1/2 (* 1/2 (/ x y))))
(* y (+ 1/2 (* 1/2 (/ x y))))
(* y (+ 1/2 (* 1/2 (/ x y))))
y
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* 1/2 y)
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* 1/2 y)
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* 1/2 y)
(* 1/2 y)
(* 1/2 y)
(* 1/2 y)
(* 1/2 y)
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* 1/2 y)
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 y)
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(* 1/2 y)
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
(+ (* 1/2 x) (* 1/2 y))
y
(+ x y)
(+ x y)
(+ x y)
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (/ y x))))
(* x (+ 1/2 (* 1/2 (/ y x))))
(* x (+ 1/2 (* 1/2 (/ y x))))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (/ y x))))
(* x (+ 1/2 (* 1/2 (/ y x))))
(* x (+ 1/2 (* 1/2 (/ y x))))
(* 1/2 x)
(* x (+ 1/2 (* 1/2 (/ y x))))
(* x (+ 1/2 (* 1/2 (/ y x))))
(* x (+ 1/2 (* 1/2 (/ y x))))
x
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* 1/2 x)
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* 1/2 x)
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
Outputs
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
x
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* y (+ 1/2 (* 1/2 (/ x y))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
y
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* y (- (* -1/2 (/ x y)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 y)
(*.f64 y #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+ (* 1/2 x) (* 1/2 y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
y
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* x (+ 1/2 (* 1/2 (/ y x))))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(* -1 (* x (- (* -1/2 (/ y x)) 1/2)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)

rewrite172.0ms (6%)

Memory
6.0MiB live, 192.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01232
01632
15032
230432
3321332
0850232
Stop Event
iter limit
node limit
iter limit
Counts
6 → 454
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 x #s(literal 1/2 binary64))
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 y #s(literal 1/2 binary64))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval73.0ms (2.6%)

Memory
-14.6MiB live, 180.5MiB allocated
Compiler

Compiled 10 735 to 1 355 computations (87.4% saved)

prune12.0ms (0.4%)

Memory
27.5MiB live, 27.5MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New5680568
Fresh000
Picked033
Done000
Total5683571
Accuracy
100.0%
Counts
571 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
49.3%
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
51.6%
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
Compiler

Compiled 31 to 27 computations (12.9% saved)

regimes23.0ms (0.8%)

Memory
-29.1MiB live, 9.5MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(/.f64 (+.f64 x y) #s(literal 2 binary64))
Outputs
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
Calls

4 calls:

16.0ms
y
2.0ms
x
2.0ms
(/.f64 (+.f64 x y) #s(literal 2 binary64))
2.0ms
(+.f64 x y)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(/.f64 (+.f64 x y) #s(literal 2 binary64))
100.0%1(+.f64 x y)
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes7.0ms (0.2%)

Memory
8.0MiB live, 8.0MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
Outputs
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))
Calls

4 calls:

2.0ms
(/.f64 (+.f64 x y) #s(literal 2 binary64))
2.0ms
x
2.0ms
(+.f64 x y)
2.0ms
y
Results
AccuracySegmentsBranch
83.4%2x
84.5%2y
97.6%2(/.f64 (+.f64 x y) #s(literal 2 binary64))
97.6%2(+.f64 x y)
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes6.0ms (0.2%)

Memory
7.4MiB live, 7.4MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
Outputs
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
Calls

4 calls:

1.0ms
(/.f64 (+.f64 x y) #s(literal 2 binary64))
1.0ms
(+.f64 x y)
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
51.6%1x
51.6%1y
51.6%1(/.f64 (+.f64 x y) #s(literal 2 binary64))
51.6%1(+.f64 x y)
Compiler

Compiled 10 to 12 computations (-20% saved)

bsearch0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.3103294966649834e-257
5.583423581789808e-225
Compiler

Compiled 8 to 10 computations (-25% saved)

simplify30.0ms (1.1%)

Memory
-17.3MiB live, 29.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01638
12038
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(if (<=.f64 (+.f64 x y) #s(literal -1352433999707303/135243399970730303066198984938628251268824915465247109664757941510828519054521564025450817507240240101036645118273824941793880975232687497536137978486512531688546991103745301547195268525165168909574203624502064231461895242944399805142629606084361337981321876709820927574016 binary64)) #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))))
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
Outputs
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(*.f64 (+.f64 x y) #s(literal 1/2 binary64))
(if (<=.f64 (+.f64 x y) #s(literal -1352433999707303/135243399970730303066198984938628251268824915465247109664757941510828519054521564025450817507240240101036645118273824941793880975232687497536137978486512531688546991103745301547195268525165168909574203624502064231461895242944399805142629606084361337981321876709820927574016 binary64)) #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))))
(if (<=.f64 (+.f64 x y) #s(literal -1352433999707303/135243399970730303066198984938628251268824915465247109664757941510828519054521564025450817507240240101036645118273824941793880975232687497536137978486512531688546991103745301547195268525165168909574203624502064231461895242944399805142629606084361337981321876709820927574016 binary64)) #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x))

soundness557.0ms (19.3%)

Memory
-12.4MiB live, 277.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038168
1115168
2264168
3783168
41814168
52648168
63320168
73621168
83783168
93819168
106057168
08007168
058
078
1318
21828
317318
081758
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 42 to 32 computations (23.8% saved)

preprocess44.0ms (1.5%)

Memory
30.3MiB live, 111.6MiB allocated
Remove

(sort x y)

Compiler

Compiled 86 to 64 computations (25.6% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.1MiB allocated

Profiling

Loading profile data...