Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, G

Time bar (total: 3.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB 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 9 to 9 computations (0% saved)

sample914.0ms (28.4%)

Memory
8.6MiB live, 399.3MiB allocated
Samples
567.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 271.0ms
ival-div: 155.0ms (57.1% of total)
ival-mult: 58.0ms (21.4% of total)
ival-add: 41.0ms (15.1% of total)
exact: 8.0ms (2.9% of total)
ival-true: 6.0ms (2.2% of total)
ival-assert: 4.0ms (1.5% of total)
Bogosity

explain227.0ms (7%)

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

Compiled 45 to 25 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 103.0ms
ival-mult: 96.0ms (92.9% of total)
ival-div: 3.0ms (2.9% of total)
ival-add: 3.0ms (2.9% of total)
exact: 1.0ms (1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess32.0ms (1%)

Memory
-1.8MiB live, 36.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01627
15625
217025
328325
438825
544525
645625
075
0115
1215
2235
0235
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y))
Outputs
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
Symmetry

(sort x y)

Compiler

Compiled 7 to 7 computations (0% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 7 computations (0% saved)

simplify3.0ms (0.1%)

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

Found 3 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
01113
12113
22313
02313
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y))
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
#s(literal 1 binary64)
#s(literal 2 binary64)
(+.f64 x y)
x
y
Outputs
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y))
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
#s(literal 1/2 binary64)
#s(literal 1 binary64)
#s(literal 2 binary64)
(+.f64 x y)
(+.f64 y x)
x
y

localize42.0ms (1.3%)

Memory
-4.6MiB live, 33.6MiB allocated
Localize:

Found 3 expressions of interest:

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

Compiled 19 to 9 computations (52.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 30.0ms
ival-mult: 26.0ms (86.6% of total)
ival-div: 2.0ms (6.7% of total)
ival-add: 1.0ms (3.3% 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
7.4MiB live, 7.4MiB allocated
Counts
3 → 48
Calls
Call 1
Inputs
#s(alt (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (patch (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<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 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.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 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 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<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 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<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 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<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 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.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 (/ 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 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) (patch (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.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 (- (* -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
((/ 1 2) (* (/ 1 2) (+ x y)) (+ x y))
0.0ms
y
@-inf
((/ 1 2) (* (/ 1 2) (+ x y)) (+ x y))
0.0ms
y
@inf
((/ 1 2) (* (/ 1 2) (+ x y)) (+ x y))
0.0ms
x
@inf
((/ 1 2) (* (/ 1 2) (+ x y)) (+ x y))
0.0ms
y
@0
((/ 1 2) (* (/ 1 2) (+ x y)) (+ x y))

simplify208.0ms (6.5%)

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

rewrite263.0ms (8.2%)

Memory
-19.1MiB live, 184.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
0119
1349
21829
315299
084039
Stop Event
iter limit
node limit
iter limit
Counts
3 → 254
Calls
Call 1
Inputs
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.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>

eval48.0ms (1.5%)

Memory
18.8MiB live, 57.4MiB allocated
Compiler

Compiled 6 704 to 798 computations (88.1% saved)

prune18.0ms (0.6%)

Memory
-28.9MiB live, 17.3MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2933296
Fresh000
Picked101
Done000
Total2943297
Accuracy
100.0%
Counts
297 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
44.9%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64)))
54.8%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
Compiler

Compiled 13 to 15 computations (-15.4% saved)

simplify4.0ms (0.1%)

Memory
4.9MiB live, 4.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 (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64)))
cost-diff0
(*.f64 x #s(literal 1/2 binary64))
cost-diff0
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01439
01839
12539
22639
02639
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(approx (* (/ 1 2) (+ x y)) (*.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 (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(approx (* (/ 1 2) (+ x y)) (*.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)

localize65.0ms (2%)

Memory
1.3MiB live, 40.7MiB 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))
accuracy35.249651917496806
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64)))
accuracy0
(*.f64 x #s(literal 1/2 binary64))
accuracy28.917146795718214
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
Samples
58.0ms256×0valid
Compiler

Compiled 37 to 14 computations (62.2% saved)

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

series5.0ms (0.2%)

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

simplify370.0ms (11.5%)

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

rewrite171.0ms (5.3%)

Memory
-2.2MiB live, 195.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01432
01832
14632
225732
3265832
0836032
Stop Event
iter limit
node limit
iter limit
Counts
6 → 262
Calls
Call 1
Inputs
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 x #s(literal 1/2 binary64))
#s(approx (* (/ 1 2) (+ x y)) (*.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>

eval143.0ms (4.4%)

Memory
9.4MiB live, 172.2MiB allocated
Compiler

Compiled 7 044 to 936 computations (86.7% saved)

prune11.0ms (0.4%)

Memory
8.3MiB live, 46.6MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3760376
Fresh000
Picked033
Done000
Total3763379
Accuracy
100.0%
Counts
379 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
44.9%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64)))
54.8%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
Compiler

Compiled 33 to 29 computations (12.1% saved)

regimes11.0ms (0.3%)

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

4 calls:

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

Compiled 12 to 14 computations (-16.7% saved)

regimes8.0ms (0.2%)

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

4 calls:

3.0ms
(+.f64 x y)
2.0ms
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y))
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
84.1%2x
76.0%2y
96.2%2(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y))
96.2%2(+.f64 x y)
Compiler

Compiled 12 to 14 computations (-16.7% saved)

regimes7.0ms (0.2%)

Memory
-18.2MiB live, 20.8MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

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

Compiled 12 to 14 computations (-16.7% saved)

bsearch0.0ms (0%)

Memory
1.6MiB live, 1.6MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.087114076945593e-271
1.128881170465991e-268
Compiler

Compiled 10 to 12 computations (-20% saved)

simplify24.0ms (0.7%)

Memory
34.9MiB live, 74.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01838
12538
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(if (<=.f64 (+.f64 x y) #s(literal -7613526571406249/76135265714062492815260799905274908678720522324960996303655519196976161646612703925512617702203205150197694658057880220183274764571899172238890525752442604840088107030909945545865544183516044127756246824056393584950668733792147460513643465745851293850216709399252168336576785859311828992 binary64)) #s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64))) #s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64))))
#s(approx (* (/ 1 2) (+ x y)) (*.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 -7613526571406249/76135265714062492815260799905274908678720522324960996303655519196976161646612703925512617702203205150197694658057880220183274764571899172238890525752442604840088107030909945545865544183516044127756246824056393584950668733792147460513643465745851293850216709399252168336576785859311828992 binary64)) #s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64))) #s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64))))
(if (<=.f64 (+.f64 x y) #s(literal -7613526571406249/76135265714062492815260799905274908678720522324960996303655519196976161646612703925512617702203205150197694658057880220183274764571899172238890525752442604840088107030909945545865544183516044127756246824056393584950668733792147460513643465745851293850216709399252168336576785859311828992 binary64)) #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))

soundness570.0ms (17.7%)

Memory
-20.9MiB live, 296.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
0119
1349
21829
315299
084039
038168
1115168
2264168
3783168
41814168
52648168
63320168
73621168
83783168
93819168
106057168
08007168
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 58 to 36 computations (37.9% saved)

preprocess64.0ms (2%)

Memory
-1.0MiB live, 162.4MiB allocated
Remove

(sort x y)

Compiler

Compiled 100 to 78 computations (22% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...