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

Time bar (total: 1.5s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
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)

sample725.0ms (46.9%)

Memory
21.5MiB live, 1 044.7MiB allocated; 232ms collecting garbage
Samples
469.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 246.0ms
ival-div: 103.0ms (41.9% of total)
ival-add: 71.0ms (28.9% of total)
ival-mult: 56.0ms (22.8% of total)
exact: 9.0ms (3.7% of total)
adjust: 3.0ms (1.2% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain90.0ms (5.8%)

Memory
-1.7MiB live, 96.6MiB allocated; 9ms collecting garbage
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
56.0ms512×0valid
Compiler

Compiled 45 to 25 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-div: 4.0ms (36.2% of total)
ival-add: 3.0ms (27.1% of total)
ival-mult: 3.0ms (27.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess249.0ms (16.1%)

Memory
15.5MiB live, 148.7MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01834
15834
217930
372430
4169030
5593130
075
0115
1225
2365
3615
41425
54545
640555
081185
Stop Event
iter limit
node limit
iter limit
node limit
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.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
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)

series3.0ms (0.2%)

Memory
3.5MiB live, 3.5MiB allocated; 0ms collecting garbage
Counts
7 → 16
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
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 y)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx x #s(hole binary64 x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx y #s(hole binary64 y))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Calls

6 calls:

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

rewrite124.0ms (8%)

Memory
-8.9MiB live, 85.6MiB allocated; 22ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060183
063175
1257175
01927171
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
23 → 56
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
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 y)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx x #s(hole binary64 x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx y #s(hole binary64 y))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (+.f64 y x))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1/2 binary64)) (-.f64 x y))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/2 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (-.f64 (*.f64 (*.f64 y y) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/4 binary64))) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)))
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal -1/2 binary64) y)))))
(/.f64 (neg.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))) (neg.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 x y))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))
(/.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/4 binary64)) (*.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) y) #s(literal 1/2 binary64)))))
(/.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x)))))
(fma.f64 #s(literal 1/2 binary64) y (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 #s(literal 1/2 binary64) y))
(fma.f64 y #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) x))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) y))
(-.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (/.f64 (*.f64 (*.f64 y y) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal -1/2 binary64) y))
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal -1/2 binary64) x))
(+.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))))) (/.f64 (*.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))))))
(+.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 #s(literal 1/2 binary64) y))
(+.f64 (*.f64 #s(literal 1/2 binary64) y) (*.f64 #s(literal 1/2 binary64) x))
#s(literal 1/2 binary64)
#s(literal 1 binary64)
#s(literal 2 binary64)
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 y x)
(+.f64 x y)
x
y
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 y x))
#s(approx x x)
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ x y) x)
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (neg.f64 x) (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))
#s(approx (+ x y) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1 binary64) (/.f64 y x) #s(literal -1 binary64))))
#s(approx y y)
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx (+ x y) (fma.f64 (/.f64 x y) y y))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (neg.f64 y) (-.f64 (*.f64 (/.f64 x y) #s(literal -1/2 binary64)) #s(literal 1/2 binary64))))
#s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))

eval6.0ms (0.4%)

Memory
17.3MiB live, 17.3MiB allocated; 0ms collecting garbage
Compiler

Compiled 795 to 168 computations (78.9% saved)

prune2.0ms (0.1%)

Memory
6.8MiB live, 6.8MiB allocated; 0ms collecting garbage
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New53356
Fresh000
Picked101
Done000
Total54357
Accuracy
100.0%
Counts
57 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
50.5%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
50.8%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 27 to 25 computations (7.4% saved)

series7.0ms (0.5%)

Memory
-33.9MiB live, 8.7MiB allocated; 6ms collecting garbage
Counts
9 → 25
Calls
Call 1
Inputs
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 #s(literal 1/2 binary64) y)
y
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
Outputs
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 y)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 y)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 x))
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (* 1/2 y) #s(hole binary64 (* 1/2 y)))
#s(approx y #s(hole binary64 y))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Calls

6 calls:

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

rewrite164.0ms (10.6%)

Memory
-14.4MiB live, 123.2MiB allocated; 140ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074314
075302
1277302
02013296
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
34 → 77
Calls
Call 1
Inputs
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 #s(literal 1/2 binary64) y)
y
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 y)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 y)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 x)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (+ y x) #s(hole binary64 x))
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (* 1/2 y) #s(hole binary64 (* 1/2 y)))
#s(approx y #s(hole binary64 y))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 x #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 y #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) y)
y
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (+.f64 y x))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 x y)) #s(literal 1/2 binary64)) (-.f64 x y))
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 1/2 binary64)) (-.f64 y x))
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 1/2 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 1/2 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (+.f64 y x) (-.f64 x y))) (-.f64 x y))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x))
(/.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (*.f64 #s(literal 1/2 binary64) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(/.f64 (-.f64 (*.f64 (*.f64 y y) #s(literal 1/4 binary64)) (*.f64 (*.f64 x x) #s(literal 1/4 binary64))) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64))))
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (pow.f64 (*.f64 #s(literal -1/2 binary64) y) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (*.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) y)))))
(/.f64 (neg.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))) (neg.f64 (*.f64 #s(literal 1/2 binary64) (-.f64 x y))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))))))
(/.f64 (*.f64 (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (*.f64 #s(literal 1/2 binary64) (-.f64 x y)))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 (*.f64 y y) #s(literal 1/4 binary64) (-.f64 (*.f64 (*.f64 x x) #s(literal 1/4 binary64)) (*.f64 (*.f64 (*.f64 x #s(literal 1/2 binary64)) y) #s(literal 1/2 binary64)))))
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64) (*.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64))))))
(fma.f64 y #s(literal 1/2 binary64) (*.f64 x #s(literal 1/2 binary64)))
(fma.f64 x #s(literal 1/2 binary64) (*.f64 y #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) y (*.f64 x #s(literal 1/2 binary64)))
(fma.f64 #s(literal 1/2 binary64) x (*.f64 y #s(literal 1/2 binary64)))
(-.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))) (/.f64 (*.f64 (*.f64 y y) #s(literal 1/4 binary64)) (*.f64 #s(literal 1/2 binary64) (-.f64 x y))))
(-.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 (neg.f64 y) #s(literal 1/2 binary64)))
(-.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) y))
(-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 (neg.f64 x) #s(literal 1/2 binary64)))
(-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 #s(literal -1/2 binary64) x))
(+.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))))) (/.f64 (*.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 (*.f64 x x) #s(literal 1/4 binary64) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))))))
(+.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64)))
(+.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y))))
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y))
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))))
(+.f64 y x)
(+.f64 x y)
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* 1/2 x) (*.f64 x #s(literal 1/2 binary64)))
#s(approx x x)
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) y)
#s(approx (+ y x) (+.f64 y x))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) x))
#s(approx (+ y x) x)
#s(approx (+ y x) (fma.f64 (/.f64 y x) x x))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (neg.f64 x) (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (neg.f64 x) (-.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) #s(literal 1/2 binary64))))
#s(approx (+ y x) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1 binary64) (/.f64 y x) #s(literal -1 binary64))))
#s(approx (* 1/2 y) (*.f64 y #s(literal 1/2 binary64)))
#s(approx y y)
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) y))
#s(approx (+ y x) (fma.f64 (/.f64 x y) y y))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (neg.f64 y) (-.f64 (*.f64 (/.f64 x y) #s(literal -1/2 binary64)) #s(literal 1/2 binary64))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (neg.f64 y) (-.f64 (*.f64 (/.f64 x y) #s(literal -1/2 binary64)) #s(literal 1/2 binary64))))
#s(approx (+ y x) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))

eval7.0ms (0.5%)

Memory
13.5MiB live, 13.5MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 022 to 198 computations (80.6% saved)

prune20.0ms (1.3%)

Memory
-45.1MiB live, 7.0MiB allocated; 22ms collecting garbage
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh000
Picked033
Done000
Total74377
Accuracy
100.0%
Counts
77 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
50.5%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
50.8%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 61 to 44 computations (27.9% saved)

regimes8.0ms (0.5%)

Memory
15.8MiB live, 15.8MiB allocated; 0ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#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))
(*.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:

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

Compiled 12 to 14 computations (-16.7% saved)

regimes5.0ms (0.4%)

Memory
15.3MiB live, 15.3MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#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))
Outputs
#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))
Calls

4 calls:

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

Compiled 12 to 14 computations (-16.7% saved)

regimes15.0ms (1%)

Memory
-36.0MiB live, 10.3MiB allocated; 4ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
Outputs
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
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
50.8%1y
50.8%1x
50.8%1(+.f64 x y)
50.8%1(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y))
Compiler

Compiled 12 to 14 computations (-16.7% saved)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-7.386729799730696e-243
4.681830054124883e-283
Compiler

Compiled 10 to 12 computations (-20% saved)

simplify59.0ms (3.8%)

Memory
13.9MiB live, 58.8MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02042
13342
26242
323742
4119942
5490742
Stop Event
node limit
Calls
Call 1
Inputs
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(if (<=.f64 (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #s(literal -75075168288047/15015033657609400459942315391018513722623519187099007073355798781525263125238463415894820397160662761697108038369410925238365381332604486523522921813279810320079453845181805154673256699778290824639959535835805252308660678089369234238529227774479195332149248 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 #s(literal 1/2 binary64) x))
Outputs
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(if (<=.f64 (*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y)) #s(literal -75075168288047/15015033657609400459942315391018513722623519187099007073355798781525263125238463415894820397160662761697108038369410925238365381332604486523522921813279810320079453845181805154673256699778290824639959535835805252308660678089369234238529227774479195332149248 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 #s(literal 1/2 binary64) x))

derivations17.0ms (1.1%)

Memory
32.0MiB live, 32.0MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 48 to 22 computations (54.2% saved)

preprocess45.0ms (2.9%)

Memory
-28.2MiB live, 61.6MiB allocated; 23ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 130 to 78 computations (40% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...