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

Time bar (total: 1.0s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample722.0ms (70.7%)

Memory
16.9MiB live, 1 138.6MiB allocated
Samples
446.0ms8 255×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 232.0ms
ival-div: 107.0ms (46.1% of total)
ival-mult: 67.0ms (28.9% of total)
ival-sub: 41.0ms (17.7% of total)
exact: 8.0ms (3.4% of total)
ival-true: 6.0ms (2.6% of total)
ival-assert: 3.0ms (1.3% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain88.0ms (8.6%)

Memory
-23.1MiB live, 135.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
32.0ms512×0valid
Compiler

Compiled 88 to 40 computations (54.5% saved)

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

preprocess3.0ms (0.3%)

Memory
6.9MiB live, 6.9MiB 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.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB 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.6MiB live, 0.6MiB 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)

localize23.0ms (2.3%)

Memory
-3.9MiB live, 34.1MiB allocated
Localize:

Found 4 expressions of interest:

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

Compiled 52 to 20 computations (61.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-div: 6.0ms (62.6% of total)
ival-mult: 2.0ms (20.9% of total)
ival-sub: 1.0ms (10.4% 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
12.2MiB live, 12.2MiB 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
y
@-inf
((- (/ (* 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))

simplify0.0ms (0%)

Memory
0.5MiB live, 0.5MiB 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
2.3MiB live, 2.3MiB allocated
Compiler

Compiled 96 to 22 computations (77.1% saved)

prune1.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB 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)))
65.1%
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
55.8%
#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
2.6MiB live, 40.6MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 z #s(literal 8 binary64))
accuracy0.0
(*.f64 x y)
accuracy0.01171875
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
accuracy39.52118431516882
#s(approx (/ (* x y) 2) (*.f64 x y))
accuracy0.0
(*.f64 x y)
accuracy0.0078125
(/.f64 (*.f64 x y) #s(literal 2 binary64))
accuracy28.286818577198193
#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: 6.0ms
ival-div: 3.0ms (46.3% of total)
ival-mult: 2.0ms (30.8% of total)
ival-sub: 1.0ms (15.4% 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
-29.4MiB live, 9.1MiB 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
3.0ms
y
@-inf
((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8))
1.0ms
x
@-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
@0
((- (/ (* 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))

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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
0.8MiB live, 0.8MiB 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
3.3MiB live, 3.3MiB 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)))
65.1%
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
55.8%
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
23.1%
#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.7MiB live, 0.7MiB 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

localize21.0ms (2.1%)

Memory
-0.9MiB live, 42.5MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x y)
accuracy28.286818577198193
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
accuracy39.52118431516882
#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-div: 6.0ms (65.4% of total)
ival-mult: 2.0ms (21.8% of total)
ival-sub: 1.0ms (10.9% 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
10.4MiB live, 10.4MiB 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
1.0MiB live, 1.0MiB 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.9MiB live, 0.9MiB 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)

eval1.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated
Compiler

Compiled 86 to 13 computations (84.9% saved)

prune3.0ms (0.3%)

Memory
8.7MiB live, 8.7MiB 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)))
65.1%
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64)))
55.8%
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64)))
23.1%
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y)))
Compiler

Compiled 112 to 64 computations (42.9% saved)

regimes16.0ms (1.6%)

Memory
-27.7MiB live, 50.9MiB 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:

3.0ms
(/.f64 z #s(literal 8 binary64))
3.0ms
y
2.0ms
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
2.0ms
x
2.0ms
z
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.3%)

Memory
0.3MiB live, 39.5MiB 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
y
2.0ms
(/.f64 z #s(literal 8 binary64))
2.0ms
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
2.0ms
x
2.0ms
z
Results
AccuracySegmentsBranch
79.8%3x
74.1%3y
77.7%3z
65.1%1(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
83.0%3(/.f64 (*.f64 x y) #s(literal 2 binary64))
83.0%3(*.f64 x y)
77.7%3(/.f64 z #s(literal 8 binary64))
Compiler

Compiled 23 to 33 computations (-43.5% saved)

regimes12.0ms (1.2%)

Memory
-5.1MiB live, 36.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:

3.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
x
1.0ms
y
1.0ms
z
Results
AccuracySegmentsBranch
55.8%1(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
55.8%1y
55.8%1z
55.8%1(/.f64 z #s(literal 8 binary64))
55.8%1x
55.8%1(/.f64 (*.f64 x y) #s(literal 2 binary64))
55.8%1(*.f64 x y)
Compiler

Compiled 23 to 33 computations (-43.5% saved)

regimes8.0ms (0.8%)

Memory
26.2MiB live, 26.2MiB 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
(/.f64 (*.f64 x y) #s(literal 2 binary64))
1.0ms
y
1.0ms
z
Results
AccuracySegmentsBranch
23.1%1z
23.1%1(/.f64 z #s(literal 8 binary64))
23.1%1x
23.1%1(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64)))
23.1%1y
23.1%1(/.f64 (*.f64 x y) #s(literal 2 binary64))
23.1%1(*.f64 x y)
Compiler

Compiled 23 to 33 computations (-43.5% saved)

bsearch26.0ms (2.6%)

Memory
-27.1MiB live, 50.4MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
1.114056189606516e+42
1.7547097807333287e+49
11.0ms
-1.2602144186918737e+75
-3.768439600403073e+72
Samples
12.0ms272×0valid
Compiler

Compiled 420 to 423 computations (-0.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-div: 3.0ms (61.3% of total)
ival-sub: 1.0ms (20.4% 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
14.7MiB live, 14.7MiB 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 -8500000000000000405032824603505836118894292735252769282518787460234739712 binary64)) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) (if (<=.f64 (*.f64 x y) #s(literal 1399999999999999969994494802902762882334720 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 -8500000000000000405032824603505836118894292735252769282518787460234739712 binary64)) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) (if (<=.f64 (*.f64 x y) #s(literal 1399999999999999969994494802902762882334720 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
3.7MiB live, 3.7MiB allocated
Stop Event
done
Compiler

Compiled 98 to 25 computations (74.5% saved)

preprocess27.0ms (2.6%)

Memory
18.2MiB live, 56.3MiB allocated
Compiler

Compiled 214 to 68 computations (68.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...