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

Time bar (total: 793.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 9 computations (0% saved)

sample633.0ms (79.8%)

Memory
-48.2MiB live, 1 070.6MiB allocated
Samples
350.0ms7 600×0valid
21.0ms220×2valid
20.0ms302×1valid
14.0ms134×3valid
Precisions
Click to see histograms. Total time spent on operations: 219.0ms
ival-sub: 68.0ms (31% of total)
ival-div: 65.0ms (29.6% of total)
ival-mult: 57.0ms (26% of total)
adjust: 12.0ms (5.5% of total)
exact: 8.0ms (3.6% of total)
ival-true: 6.0ms (2.7% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

explain68.0ms (8.5%)

Memory
15.6MiB live, 136.3MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-#s(literal 8 binary64)
00-0-y
00-0-#s(literal 3 binary64)
00-0-(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
00-0-(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
00-0-(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
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
24.0ms470×0valid
2.0ms18×2valid
2.0ms22×1valid
0.0ms3valid
Compiler

Compiled 68 to 32 computations (52.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-div: 6.0ms (42.5% of total)
ival-mult: 3.0ms (21.3% of total)
ival-sub: 3.0ms (21.3% of total)
adjust: 1.0ms (7.1% of total)
ival-true: 1.0ms (7.1% of total)
ival-assert: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess3.0ms (0.3%)

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

Compiled 7 to 7 computations (0% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 7 computations (0% saved)

simplify0.0ms (0%)

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

Found 3 expressions of interest:

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

localize19.0ms (2.4%)

Memory
-2.8MiB live, 35.9MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
accuracy0.0
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
accuracy0.08984375
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
Samples
12.0ms235×0valid
1.0ms2valid
1.0ms11×1valid
0.0ms3valid
Compiler

Compiled 40 to 16 computations (60% saved)

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

series3.0ms (0.3%)

Memory
6.3MiB live, 6.3MiB allocated
Counts
3 → 9
Calls
Call 1
Inputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
Outputs
(* -3/8 y)
(- x (* 3/8 y))
x
(* x (+ 1 (* -3/8 (/ y x))))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(+ x (* -3/8 y))
(* 3/8 y)
(* y (- (/ x y) 3/8))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((- x (* (/ 3 8) y)) (* (/ 3 8) y) (/ 3 8))
1.0ms
y
@inf
((- x (* (/ 3 8) y)) (* (/ 3 8) y) (/ 3 8))
0.0ms
y
@0
((- x (* (/ 3 8) y)) (* (/ 3 8) y) (/ 3 8))
0.0ms
x
@inf
((- x (* (/ 3 8) y)) (* (/ 3 8) y) (/ 3 8))
0.0ms
x
@0
((- x (* (/ 3 8) y)) (* (/ 3 8) y) (/ 3 8))

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated
Compiler

Compiled 60 to 15 computations (75% saved)

prune1.0ms (0.2%)

Memory
3.6MiB live, 3.6MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New426
Fresh000
Picked011
Done000
Total437
Accuracy
99.9%
Counts
7 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
3.1%
#s(approx (- x (* (/ 3 8) y)) (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)))
2.3%
#s(approx (- x (* (/ 3 8) y)) (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
Compiler

Compiled 31 to 30 computations (3.2% saved)

simplify0.0ms (0.1%)

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

Found 5 expressions of interest:

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

localize20.0ms (2.6%)

Memory
0.3MiB live, 39.3MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
accuracy62.00321606538932
#s(approx (- x (* (/ 3 8) y)) (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)))
accuracy0.0
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
accuracy0.0
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
accuracy62.542164435869196
#s(approx (- x (* (/ 3 8) y)) (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
Samples
11.0ms235×0valid
2.0ms11×1valid
1.0ms2valid
0.0ms3valid
Compiler

Compiled 72 to 22 computations (69.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-div: 2.0ms (35% of total)
ival-mult: 2.0ms (35% of total)
ival-sub: 1.0ms (17.5% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series2.0ms (0.2%)

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

6 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval2.0ms (0.2%)

Memory
-37.0MiB live, 2.2MiB allocated
Compiler

Compiled 101 to 15 computations (85.1% saved)

prune2.0ms (0.3%)

Memory
5.1MiB live, 5.1MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New707
Fresh000
Picked022
Done011
Total7310
Accuracy
99.9%
Counts
10 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
3.1%
#s(approx (- x (* (/ 3 8) y)) (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)))
2.3%
#s(approx (- x (* (/ 3 8) y)) (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
Compiler

Compiled 62 to 44 computations (29% saved)

regimes7.0ms (0.9%)

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

4 calls:

2.0ms
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
2.0ms
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
99.9%1x
99.9%1y
99.9%1(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
99.9%1(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
Compiler

Compiled 14 to 17 computations (-21.4% saved)

regimes8.0ms (0.9%)

Memory
-25.0MiB live, 16.7MiB allocated
Accuracy

Total -1.0b remaining (-1.6%)

Threshold costs -1b (-1.6%)

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

4 calls:

3.0ms
x
1.0ms
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
1.0ms
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
1.0ms
y
Results
AccuracySegmentsBranch
3.1%1x
3.1%1y
3.1%1(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
3.1%1(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
Compiler

Compiled 14 to 17 computations (-21.4% saved)

simplify4.0ms (0.6%)

Memory
11.3MiB live, 11.3MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
#s(approx (- x (* (/ 3 8) y)) (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)))
Outputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
#s(approx (- x (* (/ 3 8) y)) (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)))

soundness1.0ms (0.1%)

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

Compiled 18 to 13 computations (27.8% saved)

preprocess17.0ms (2.2%)

Memory
0.4MiB live, 39.5MiB allocated
Compiler

Compiled 50 to 40 computations (20% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...