Diagrams.Solve.Polynomial:quartForm from diagrams-solve-0.1, D

Time bar (total: 1.0s)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample729.0ms (71.5%)

Memory
-17.6MiB live, 1 116.3MiB allocated
Samples
485.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 265.0ms
ival-div: 121.0ms (45.7% of total)
ival-mult: 85.0ms (32.1% of total)
ival-sub: 40.0ms (15.1% of total)
exact: 9.0ms (3.4% of total)
ival-true: 6.0ms (2.3% of total)
ival-assert: 4.0ms (1.5% of total)
Bogosity

explain78.0ms (7.6%)

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

Compiled 88 to 40 computations (54.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-div: 7.0ms (50.3% of total)
ival-mult: 4.0ms (28.8% of total)
ival-sub: 2.0ms (14.4% of total)
exact: 1.0ms (7.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess4.0ms (0.4%)

Memory
-30.6MiB live, 8.2MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
Outputs
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
Compiler

Compiled 9 to 9 computations (0% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 9 computations (0% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 z #s(literal 8 binary64))
cost-diff0
(*.f64 x y)
cost-diff0
(/.f64 (*.f64 x y) #s(literal 2 binary64))
cost-diff0
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
Calls
Call 1
Inputs
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(*.f64 x y)
x
y
#s(literal 2 binary64)
(/.f64 z #s(literal 8 binary64))
z
#s(literal 8 binary64)
Outputs
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(*.f64 x y)
x
y
#s(literal 2 binary64)
(/.f64 z #s(literal 8 binary64))
z
#s(literal 8 binary64)

localize21.0ms (2.1%)

Memory
0.6MiB live, 39.1MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 (*.f64 x y) #s(literal 2 binary64))
accuracy0.0
(/.f64 z #s(literal 8 binary64))
accuracy0.0
(*.f64 x y)
accuracy0.00390625
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
Samples
15.0ms256×0valid
Compiler

Compiled 52 to 20 computations (61.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-div: 3.0ms (43.8% of total)
ival-mult: 2.0ms (29.2% of total)
ival-sub: 1.0ms (14.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.7%)

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

9 calls:

TimeVariablePointExpression
1.0ms
z
@0
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8))
1.0ms
x
@-inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8))
1.0ms
x
@0
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8))
1.0ms
z
@inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8))
1.0ms
y
@-inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8))

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Counts
12 → 4
Calls
Call 1
Inputs
(* -1/8 z)
(- (* 1/2 (* x y)) (* 1/8 z))
(* 1/2 (* x y))
(* x y)
(* x (+ (* -1/8 (/ z x)) (* 1/2 y)))
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x)))))
(* y (+ (* -1/8 (/ z y)) (* 1/2 x)))
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y)))))
(+ (* -1/8 z) (* 1/2 (* x y)))
(* 1/8 z)
(* z (- (* 1/2 (/ (* x y) z)) 1/8))
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z)))))
Outputs
(* -1/8 z)
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
(- (* 1/2 (* x y)) (* 1/8 z))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(* 1/2 (* x y))
(*.f64 x y)
(* x y)
(/.f64 z #s(literal 8 binary64))

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(*.f64 x y)
(/.f64 z #s(literal 8 binary64))
Outputs
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(*.f64 x y)
(/.f64 z #s(literal 8 binary64))

eval1.0ms (0.1%)

Memory
1.6MiB live, 1.6MiB allocated
Compiler

Compiled 96 to 22 computations (77.1% saved)

prune1.0ms (0.1%)

Memory
2.1MiB live, 2.1MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New628
Fresh000
Picked011
Done000
Total639
Accuracy
100.0%
Counts
9 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
64.6%
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
53.9%
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
Compiler

Compiled 37 to 33 computations (10.8% saved)

simplify0.0ms (0%)

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

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 z #s(literal 8 binary64))
cost-diff0
(*.f64 x y)
cost-diff0
#s(approx (/ (* x y) 2) (*.f64 x y))
cost-diff0
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
cost-diff0
(*.f64 x y)
cost-diff0
(/.f64 (*.f64 x y) #s(literal 2 binary64))
cost-diff0
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
Calls
Call 1
Inputs
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(*.f64 x y)
x
y
#s(literal 2 binary64)
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(*.f64 x y)
x
y
(/.f64 z #s(literal 8 binary64))
z
#s(literal 8 binary64)
Outputs
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(*.f64 x y)
x
y
#s(literal 2 binary64)
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(*.f64 x y)
x
y
(/.f64 z #s(literal 8 binary64))
z
#s(literal 8 binary64)

localize25.0ms (2.5%)

Memory
0.7MiB live, 38.4MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 z #s(literal 8 binary64))
accuracy0.0
(*.f64 x y)
accuracy0.00390625
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
accuracy40.00635559465814
#s(approx (/ (* x y) 2) (*.f64 x y))
accuracy0.0
(/.f64 (*.f64 x y) #s(literal 2 binary64))
accuracy0.0
(*.f64 x y)
accuracy29.508246072752506
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
Samples
18.0ms256×0valid
Compiler

Compiled 104 to 28 computations (73.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-div: 3.0ms (43.6% of total)
ival-mult: 2.0ms (29% of total)
ival-sub: 1.0ms (14.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.4%)

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

9 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8))
1.0ms
y
@-inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8))
0.0ms
z
@-inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8))
0.0ms
z
@inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8))
0.0ms
x
@inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8))

simplify0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
egg-herbie
Counts
12 → 6
Calls
Call 1
Inputs
(* -1/8 z)
(- (* 1/2 (* x y)) (* 1/8 z))
(* 1/2 (* x y))
(* x y)
(* x (+ (* -1/8 (/ z x)) (* 1/2 y)))
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x)))))
(* y (+ (* -1/8 (/ z y)) (* 1/2 x)))
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y)))))
(+ (* -1/8 z) (* 1/2 (* x y)))
(* 1/8 z)
(* z (- (* 1/2 (/ (* x y) z)) 1/8))
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z)))))
Outputs
(* -1/8 z)
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
(- (* 1/2 (* x y)) (* 1/8 z))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(* 1/2 (* x y))
(*.f64 x y)
(* x y)
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
(* x (+ (* -1/8 (/ z x)) (* 1/2 y)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x)))))
(/.f64 z #s(literal 8 binary64))

rewrite0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(*.f64 x y)
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(/.f64 z #s(literal 8 binary64))
Outputs
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
(/.f64 (*.f64 x y) #s(literal 2 binary64))
(*.f64 x y)
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(/.f64 z #s(literal 8 binary64))

eval1.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Compiler

Compiled 216 to 25 computations (88.4% saved)

prune2.0ms (0.2%)

Memory
4.4MiB live, 4.4MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New11112
Fresh000
Picked022
Done011
Total11415
Accuracy
100.0%
Counts
15 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
64.6%
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
53.9%
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
20.5%
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
Compiler

Compiled 56 to 45 computations (19.6% saved)

simplify0.0ms (0%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
#s(approx (/ (* x y) 2) (*.f64 x y))
cost-diff0
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
Calls
Call 1
Inputs
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(*.f64 x y)
x
y
Outputs
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(*.f64 x y)
x
y

localize22.0ms (2.1%)

Memory
-6.7MiB live, 34.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x y)
accuracy29.508246072752506
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
accuracy40.00635559465814
#s(approx (/ (* x y) 2) (*.f64 x y))
Samples
16.0ms256×0valid
Compiler

Compiled 54 to 23 computations (57.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-sub: 4.0ms (42.2% of total)
ival-div: 3.0ms (31.7% of total)
ival-mult: 2.0ms (21.1% 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.3%)

Memory
7.2MiB live, 7.2MiB allocated
Counts
3 → 11
Calls
Call 1
Inputs
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(*.f64 x y)
Outputs
(* -1/8 z)
(- (* 1/2 (* x y)) (* 1/8 z))
(* 1/2 (* x y))
(* x y)
(* x (+ (* -1/8 (/ z x)) (* 1/2 y)))
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x)))))
(* y (+ (* -1/8 (/ z y)) (* 1/2 x)))
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y)))))
(+ (* -1/8 z) (* 1/2 (* x y)))
(* z (- (* 1/2 (/ (* x y) z)) 1/8))
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z)))))
Calls

9 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y))
0.0ms
y
@-inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y))
0.0ms
x
@0
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y))
0.0ms
x
@inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y))
0.0ms
y
@inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y))

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Counts
11 → 3
Calls
Call 1
Inputs
(* -1/8 z)
(- (* 1/2 (* x y)) (* 1/8 z))
(* 1/2 (* x y))
(* x y)
(* x (+ (* -1/8 (/ z x)) (* 1/2 y)))
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x)))))
(* y (+ (* -1/8 (/ z y)) (* 1/2 x)))
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y)))))
(+ (* -1/8 z) (* 1/2 (* x y)))
(* z (- (* 1/2 (/ (* x y) z)) 1/8))
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z)))))
Outputs
(* -1/8 z)
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
(- (* 1/2 (* x y)) (* 1/8 z))
#s(approx (/ (* x y) 2) (*.f64 x y))
(* 1/2 (* x y))
(*.f64 x y)

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(*.f64 x y)
Outputs
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
#s(approx (/ (* x y) 2) (*.f64 x y))
(*.f64 x y)

eval3.0ms (0.3%)

Memory
-36.6MiB live, 1.1MiB allocated
Compiler

Compiled 86 to 13 computations (84.9% saved)

prune3.0ms (0.3%)

Memory
5.9MiB live, 5.9MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New404
Fresh000
Picked011
Done033
Total448
Accuracy
100.0%
Counts
8 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
64.6%
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
53.9%
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
20.5%
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
Compiler

Compiled 112 to 64 computations (42.9% saved)

regimes17.0ms (1.6%)

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

7 calls:

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

Compiled 23 to 33 computations (-43.5% saved)

regimes13.0ms (1.2%)

Memory
28.7MiB live, 28.7MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
Outputs
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
Calls

7 calls:

2.0ms
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
2.0ms
(/.f64 z #s(literal 8 binary64))
2.0ms
y
2.0ms
x
2.0ms
(/.f64 (*.f64 x y) #s(literal 2 binary64))
Results
AccuracySegmentsBranch
78.2%3x
73.9%3y
80.4%3z
66.4%2(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
83.3%3(/.f64 (*.f64 x y) #s(literal 2 binary64))
83.3%3(*.f64 x y)
80.4%3(/.f64 z #s(literal 8 binary64))
Compiler

Compiled 23 to 33 computations (-43.5% saved)

regimes11.0ms (1.1%)

Memory
-12.3MiB live, 26.5MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
Outputs
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
Calls

7 calls:

1.0ms
x
1.0ms
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
1.0ms
(/.f64 z #s(literal 8 binary64))
1.0ms
y
1.0ms
z
Results
AccuracySegmentsBranch
53.9%1(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
53.9%1y
53.9%1x
53.9%1z
53.9%1(/.f64 z #s(literal 8 binary64))
53.9%1(/.f64 (*.f64 x y) #s(literal 2 binary64))
53.9%1(*.f64 x y)
Compiler

Compiled 23 to 33 computations (-43.5% saved)

regimes8.0ms (0.8%)

Memory
21.9MiB live, 21.9MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
Outputs
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
Calls

7 calls:

1.0ms
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
1.0ms
(/.f64 z #s(literal 8 binary64))
1.0ms
y
1.0ms
(/.f64 (*.f64 x y) #s(literal 2 binary64))
1.0ms
z
Results
AccuracySegmentsBranch
20.5%1(/.f64 (*.f64 x y) #s(literal 2 binary64))
20.5%1(*.f64 x y)
20.5%1z
20.5%1(/.f64 z #s(literal 8 binary64))
20.5%1x
20.5%1(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
20.5%1y
Compiler

Compiled 23 to 33 computations (-43.5% saved)

bsearch32.0ms (3.2%)

Memory
-36.7MiB live, 46.9MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
3.012123076288364e+66
1.1970569479655456e+76
17.0ms
-2.1029462587458457e-54
-9.001316759714246e-65
Samples
13.0ms304×0valid
Compiler

Compiled 468 to 471 computations (-0.6% saved)

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

simplify5.0ms (0.4%)

Memory
11.1MiB live, 11.1MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
(if (<=.f64 (*.f64 x y) #s(literal -1811708416032523/862718293348820473429344482784628181556388621521298319395315527974912 binary64)) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) (if (<=.f64 (*.f64 x y) #s(literal 12500000000000000523519069552643224487392923333004228539292846397587456 binary64)) (-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))))
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
Outputs
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
(if (<=.f64 (*.f64 x y) #s(literal -1811708416032523/862718293348820473429344482784628181556388621521298319395315527974912 binary64)) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) (if (<=.f64 (*.f64 x y) #s(literal 12500000000000000523519069552643224487392923333004228539292846397587456 binary64)) (-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))))
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))

soundness1.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB allocated
Stop Event
done
Compiler

Compiled 98 to 25 computations (74.5% saved)

preprocess25.0ms (2.5%)

Memory
12.3MiB live, 50.8MiB allocated
Compiler

Compiled 214 to 68 computations (68.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...