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

Time bar (total: 2.4s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample903.0ms (37.9%)

Memory
18.6MiB live, 961.8MiB allocated; 178ms collecting garbage
Samples
642.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 263.0ms
ival-div: 103.0ms (39.2% of total)
ival-mult: 90.0ms (34.3% of total)
ival-add: 50.0ms (19% of total)
exact: 8.0ms (3% of total)
ival-true: 6.0ms (2.3% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 2.0ms (0.8% of total)
Bogosity

explain101.0ms (4.2%)

Memory
-3.8MiB live, 98.0MiB allocated; 7ms 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
23.0ms512×0valid
Compiler

Compiled 45 to 25 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-div: 3.0ms (29.1% of total)
ival-add: 3.0ms (29.1% of total)
ival-mult: 3.0ms (29.1% of total)
exact: 1.0ms (9.7% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess289.0ms (12.1%)

Memory
-37.5MiB live, 199.1MiB allocated; 13ms 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.6MiB live, 0.6MiB 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)

simplify232.0ms (9.7%)

Memory
26.9MiB live, 196.5MiB allocated; 54ms collecting garbage
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-diff2
(/.f64 #s(literal 1 binary64) #s(literal 2 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
01113
12213
23613
36113
414213
545413
6405513
0811813
Stop Event
iter limit
node limit
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

localize50.0ms (2.1%)

Memory
9.4MiB live, 51.1MiB allocated; 13ms collecting garbage
Localize:

Found 3 expressions of interest:

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

Compiled 19 to 9 computations (52.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div: 2.0ms (39% of total)
ival-mult: 2.0ms (39% of total)
ival-add: 1.0ms (19.5% 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)

series3.0ms (0.1%)

Memory
4.6MiB live, 4.6MiB allocated; 0ms collecting garbage
Counts
3 → 14
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
#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 (* (/ 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 (* (/ 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
y
@-inf
((/ 1 2) (* (/ 1 2) (+ x y)) (+ x y))
0.0ms
x
@-inf
((/ 1 2) (* (/ 1 2) (+ x y)) (+ x y))
0.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
x
@0
((/ 1 2) (* (/ 1 2) (+ x y)) (+ x y))

simplify168.0ms (7.1%)

Memory
-26.5MiB live, 135.1MiB allocated; 55ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055118
1141118
2336118
3899118
44318118
08094118
Stop Event
iter limit
node limit
Counts
14 → 14
Calls
Call 1
Inputs
#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 (* (/ 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 (* (/ 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
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 y)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) y)
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (+ x y) (+.f64 y x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) x)
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ x y) (+.f64 y x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ x y) (+.f64 y x))

rewrite37.0ms (1.6%)

Memory
6.4MiB live, 52.9MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
0119
1369
02009
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
3 → 27
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
#s(literal 1/2 binary64)
(*.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 x #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64))) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64)))) (-.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 x #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 y #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)) (-.f64 (*.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64))) (*.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #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 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 x #s(literal 1/2 binary64)))
(+.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/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)

eval3.0ms (0.1%)

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

Compiled 424 to 101 computations (76.2% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New30333
Fresh000
Picked101
Done000
Total31334
Accuracy
100.0%
Counts
34 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
47.9%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
54.4%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 27 to 25 computations (7.4% saved)

simplify148.0ms (6.2%)

Memory
-1.4MiB live, 138.7MiB allocated; 23ms collecting garbage
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 #s(literal 1/2 binary64) y)
cost-diff0
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
cost-diff0
(*.f64 #s(literal 1/2 binary64) x)
cost-diff0
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01439
01839
12639
23839
36339
414439
545639
6405739
0813139
Stop Event
iter limit
node limit
iter limit
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)
#s(literal 1/2 binary64)
y
(*.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 #s(literal 1/2 binary64) x))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
#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 y #s(literal 1/2 binary64)))
(*.f64 #s(literal 1/2 binary64) y)
(*.f64 y #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
y
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
y
x
#s(literal 1/2 binary64)

localize27.0ms (1.1%)

Memory
9.0MiB live, 55.5MiB allocated; 3ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 y x)
accuracy0.0
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
accuracy0.0
(*.f64 #s(literal 1/2 binary64) y)
accuracy33.34418036783881
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
accuracy0.0
(*.f64 #s(literal 1/2 binary64) x)
accuracy29.196038362988357
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
Samples
20.0ms256×0valid
Compiler

Compiled 37 to 14 computations (62.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 6.0ms (56.4% of total)
ival-div: 2.0ms (18.8% of total)
ival-add: 2.0ms (18.8% 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)

series3.0ms (0.1%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Counts
6 → 23
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(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 #s(literal 1/2 binary64) 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 (* (+ 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 (* (/ 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
1.0ms
x
@-inf
((* (/ 1 2) (+ x y)) (* 1/2 x) (* (/ 1 2) (+ x y)) (* 1/2 y) (* (+ y x) 1/2) (+ y x))
1.0ms
x
@inf
((* (/ 1 2) (+ x y)) (* 1/2 x) (* (/ 1 2) (+ x y)) (* 1/2 y) (* (+ y x) 1/2) (+ y x))
0.0ms
x
@0
((* (/ 1 2) (+ x y)) (* 1/2 x) (* (/ 1 2) (+ x y)) (* 1/2 y) (* (+ y x) 1/2) (+ y x))
0.0ms
y
@-inf
((* (/ 1 2) (+ x y)) (* 1/2 x) (* (/ 1 2) (+ x y)) (* 1/2 y) (* (+ y x) 1/2) (+ y x))
0.0ms
y
@inf
((* (/ 1 2) (+ x y)) (* 1/2 x) (* (/ 1 2) (+ x y)) (* 1/2 y) (* (+ y x) 1/2) (+ y x))

simplify109.0ms (4.6%)

Memory
4.3MiB live, 148.2MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066205
1155205
2348205
3911205
44342205
08096205
Stop Event
iter limit
node limit
Counts
23 → 23
Calls
Call 1
Inputs
#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 (* (+ 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 (* (/ 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)) #s(hole binary64 (* 1/2 y)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* 1/2 x) #s(hole binary64 (* 1/2 x)))
#s(approx (* 1/2 x) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 y)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 y #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (+ (* 1/2 x) (* 1/2 y))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 y))
#s(approx (+ y x) y)
#s(approx (+ y x) #s(hole binary64 (+ x y)))
#s(approx (+ y x) (+.f64 y x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* 1/2 x)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* 1/2 x)))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* x (+ 1/2 (* 1/2 (/ y x))))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 x))
#s(approx (+ y x) x)
#s(approx (+ y x) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ y x) (+.f64 y x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y x)) 1/2)))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ y x) (+.f64 y x))
#s(approx (* 1/2 y) #s(hole binary64 (* 1/2 y)))
#s(approx (* 1/2 y) (*.f64 y #s(literal 1/2 binary64)))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* y (+ 1/2 (* 1/2 (/ x y))))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ y x) (+.f64 y x))
#s(approx (* (/ 1 2) (+ x y)) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (* (+ y x) 1/2) #s(hole binary64 (* -1 (* y (- (* -1/2 (/ x y)) 1/2)))))
#s(approx (* (/ 1 2) (+ x y)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64)))
#s(approx (+ y x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
#s(approx (+ y x) (+.f64 y x))

rewrite34.0ms (1.4%)

Memory
8.3MiB live, 55.4MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01432
01832
14832
026132
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
6 → 40
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(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 #s(literal 1/2 binary64) y)
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
(+.f64 y x)
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(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)
(*.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 x #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64))) (*.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64)))) (-.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64))))
(/.f64 (+.f64 (pow.f64 (*.f64 x #s(literal 1/2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 y #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 x #s(literal 1/2 binary64)) (-.f64 (*.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 y #s(literal 1/2 binary64))) (*.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #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 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 x #s(literal 1/2 binary64)))
(+.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y #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)

eval51.0ms (2.1%)

Memory
-18.4MiB live, 29.6MiB allocated; 46ms collecting garbage
Compiler

Compiled 606 to 125 computations (79.4% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New46046
Fresh000
Picked033
Done000
Total46349
Accuracy
100.0%
Counts
49 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (+.f64 y x) #s(literal 1/2 binary64))
47.9%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) y))
54.4%
#s(approx (* (/ 1 2) (+ x y)) (*.f64 #s(literal 1/2 binary64) x))
Compiler

Compiled 61 to 44 computations (27.9% saved)

regimes11.0ms (0.5%)

Memory
-25.7MiB live, 24.9MiB allocated; 6ms 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:

5.0ms
x
2.0ms
(+.f64 x y)
2.0ms
(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y))
2.0ms
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.2%)

Memory
17.0MiB live, 17.0MiB 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
y
1.0ms
(+.f64 x y)
1.0ms
x
Results
AccuracySegmentsBranch
98.6%2(+.f64 x y)
98.6%2(*.f64 (/.f64 #s(literal 1 binary64) #s(literal 2 binary64)) (+.f64 x y))
84.6%2x
84.3%2y
Compiler

Compiled 12 to 14 computations (-16.7% saved)

regimes4.0ms (0.2%)

Memory
14.1MiB live, 14.1MiB allocated; 0ms 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
54.4%1y
54.4%1x
54.4%1(+.f64 x y)
54.4%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
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.2648342303630795e-251
3.912752994983455e-268
Compiler

Compiled 10 to 12 computations (-20% saved)

simplify44.0ms (1.8%)

Memory
-38.6MiB live, 55.6MiB allocated; 5ms 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 -5159126280621731/515912628062173092140956821207535748553561841832149923953086629908861232965551620580485601452790222553392963860602664725471042538576841344971229471155214430574596371092778402508526872730885196340843977449424988675925808879640197010584371971452184059071815020407947264 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 -5159126280621731/515912628062173092140956821207535748553561841832149923953086629908861232965551620580485601452790222553392963860602664725471042538576841344971229471155214430574596371092778402508526872730885196340843977449424988675925808879640197010584371971452184059071815020407947264 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))

derivations113.0ms (4.7%)

Memory
5.9MiB live, 98.6MiB allocated; 13ms collecting garbage
Stop Event
done
Compiler

Compiled 48 to 22 computations (54.2% saved)

preprocess38.0ms (1.6%)

Memory
-2.5MiB live, 44.2MiB allocated; 5ms 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...