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

Time bar (total: 943.0ms)

start0.0ms (0%)

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

analyze36.0ms (3.8%)

Memory
-18.7MiB live, 32.1MiB allocated; 42ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
87.5%87.4%12.5%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
93.8%93.7%6.2%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
96.9%96.8%3.1%0.1%0%0%0%12
Compiler

Compiled 7 to 7 computations (0% saved)

sample546.0ms (57.9%)

Memory
51.2MiB live, 986.5MiB allocated; 106ms collecting garbage
Samples
328.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 162.0ms
ival-mult: 79.0ms (48.8% of total)
ival-div: 65.0ms (40.1% of total)
ival-true: 6.0ms (3.7% of total)
exact: 6.0ms (3.7% of total)
ival-assert: 3.0ms (1.9% of total)
adjust: 2.0ms (1.2% of total)
Bogosity

explain48.0ms (5.1%)

Memory
-5.1MiB live, 87.7MiB allocated; 8ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 y #s(literal 3 binary64))
00-0-y
00-0-#s(literal 3 binary64)
00-0-(/.f64 x (*.f64 y #s(literal 3 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
25.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-mult: 8.0ms (61.4% of total)
ival-div: 4.0ms (30.7% 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)

preprocess21.0ms (2.2%)

Memory
-11.2MiB live, 35.1MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01331
13025
25525
38225
411125
512925
055
075
1105
2125
0125
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 3 binary64)))
Outputs
(/.f64 x (*.f64 y #s(literal 3 binary64)))
(/.f64 x (*.f64 #s(literal 3 binary64) y))
Symmetry

(negabs y)

(negabs x)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(/.f64 x (*.f64 y #s(literal 3 binary64)))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify3.0ms (0.4%)

Memory
6.1MiB live, 6.1MiB allocated; 0ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y #s(literal 3 binary64))
cost-diff0
(/.f64 x (*.f64 y #s(literal 3 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
11011
21211
01211
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 3 binary64)))
x
(*.f64 y #s(literal 3 binary64))
y
#s(literal 3 binary64)
Outputs
(/.f64 x (*.f64 y #s(literal 3 binary64)))
(/.f64 x (*.f64 #s(literal 3 binary64) y))
x
(*.f64 y #s(literal 3 binary64))
(*.f64 #s(literal 3 binary64) y)
y
#s(literal 3 binary64)

localize20.0ms (2.1%)

Memory
-11.3MiB live, 36.2MiB allocated; 10ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 y #s(literal 3 binary64))
accuracy0.24609375
(/.f64 x (*.f64 y #s(literal 3 binary64)))
Samples
16.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

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

series5.0ms (0.5%)

Memory
10.6MiB live, 10.6MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 3 binary64)))
(*.f64 y #s(literal 3 binary64))
Outputs
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* y 3) #s(hole binary64 (* 3 y)))
Calls

6 calls:

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

simplify4.0ms (0.4%)

Memory
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11618
22018
32218
42318
02318
Stop Event
iter limit
saturated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* y 3) #s(hole binary64 (* 3 y)))
Outputs
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (* y 3) #s(hole binary64 (* 3 y)))
#s(approx (* y 3) (*.f64 #s(literal 3 binary64) y))

rewrite19.0ms (2.1%)

Memory
-23.7MiB live, 21.5MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1138
2328
3698
4858
0858
Stop Event
iter limit
saturated
iter limit
Counts
2 → 12
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 3 binary64)))
(*.f64 y #s(literal 3 binary64))
Outputs
(/.f64 (/.f64 x #s(literal -3 binary64)) (neg.f64 y))
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 (neg.f64 x) (*.f64 y #s(literal -3 binary64)))
(/.f64 x (*.f64 y #s(literal 3 binary64)))
(neg.f64 (/.f64 (/.f64 x y) #s(literal -3 binary64)))
(*.f64 y #s(literal 3 binary64))
(*.f64 (neg.f64 y) #s(literal -3 binary64))
(*.f64 #s(literal -3 binary64) (neg.f64 y))
(*.f64 #s(literal 3 binary64) y)
(neg.f64 (*.f64 y #s(literal -3 binary64)))

eval2.0ms (0.2%)

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

Compiled 87 to 36 computations (58.6% saved)

prune1.0ms (0.1%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New11314
Fresh000
Picked011
Done000
Total11415
Accuracy
100.0%
Counts
15 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (/.f64 x y) #s(literal 3 binary64))
99.7%
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
99.6%
(/.f64 x (*.f64 y #s(literal 3 binary64)))
99.6%
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
Compiler

Compiled 26 to 24 computations (7.7% saved)

simplify4.0ms (0.4%)

Memory
7.7MiB live, 7.7MiB allocated; 0ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 x y)
cost-diff0
(/.f64 (/.f64 x y) #s(literal 3 binary64))
cost-diff0
(/.f64 x #s(literal 3 binary64))
cost-diff0
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
cost-diff0
(/.f64 x y)
cost-diff0
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
cost-diff0
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01244
01744
12244
22644
32744
02744
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(/.f64 x y)
x
y
#s(literal 1/3 binary64)
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
y
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 x y)
x
y
#s(literal 3 binary64)
Outputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ x (* y 3)) (*.f64 #s(literal 1/3 binary64) (/.f64 x y)))
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(*.f64 #s(literal 1/3 binary64) (/.f64 x y))
(/.f64 x y)
x
y
#s(literal 1/3 binary64)
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 x (*.f64 #s(literal 3 binary64) y))
(/.f64 x #s(literal 3 binary64))
x
#s(literal 3 binary64)
y
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 x (*.f64 #s(literal 3 binary64) y))
(/.f64 x y)
x
y
#s(literal 3 binary64)

localize36.0ms (3.8%)

Memory
17.1MiB live, 62.9MiB allocated; 6ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 x y)
accuracy0.22265625
(/.f64 (/.f64 x y) #s(literal 3 binary64))
accuracy0.0
(/.f64 x #s(literal 3 binary64))
accuracy0.203125
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
accuracy0.0
(/.f64 x y)
accuracy0.0
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
accuracy0.28515625
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
Samples
29.0ms256×0valid
Compiler

Compiled 40 to 13 computations (67.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 19.0ms
ival-mult: 8.0ms (41.3% of total)
ival-div: 7.0ms (36.1% of total)
const: 3.0ms (15.5% of total)
ival-true: 1.0ms (5.2% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.5%)

Memory
9.7MiB live, 9.7MiB allocated; 0ms collecting garbage
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(/.f64 x y)
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 x #s(literal 3 binary64))
(/.f64 (/.f64 x y) #s(literal 3 binary64))
Outputs
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* (/ x y) 1/3) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x)))
#s(approx (/ (/ x y) 3) #s(hole binary64 (* 1/3 (/ x y))))
Calls

6 calls:

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

simplify9.0ms (0.9%)

Memory
-38.4MiB live, 7.2MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01958
12558
22758
32858
02858
Stop Event
iter limit
saturated
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* (/ x y) 1/3) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x)))
#s(approx (/ (/ x y) 3) #s(hole binary64 (* 1/3 (/ x y))))
Outputs
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (* (/ x y) 1/3) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* (/ x y) 1/3) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ x y) #s(hole binary64 (/ x y)))
#s(approx (/ x y) (/.f64 x y))
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x)))
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
#s(approx (/ (/ x y) 3) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))

rewrite10.0ms (1.1%)

Memory
18.8MiB live, 18.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01232
01732
13432
28332
313532
415532
515732
015732
Stop Event
iter limit
saturated
iter limit
Counts
6 → 32
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(/.f64 x y)
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 x #s(literal 3 binary64))
(/.f64 (/.f64 x y) #s(literal 3 binary64))
Outputs
#s(approx (/ x (* y 3)) (*.f64 #s(literal 1/3 binary64) (/.f64 x y)))
(*.f64 (/.f64 #s(literal -1/3 binary64) y) (neg.f64 x))
(*.f64 #s(literal -1/3 binary64) (/.f64 (neg.f64 x) y))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(*.f64 (/.f64 (neg.f64 x) y) #s(literal -1/3 binary64))
(*.f64 (neg.f64 x) (/.f64 #s(literal -1/3 binary64) y))
(*.f64 #s(literal 1/3 binary64) (/.f64 x y))
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(*.f64 x (/.f64 #s(literal 1/3 binary64) y))
(/.f64 (*.f64 #s(literal 1/3 binary64) x) y)
(/.f64 (*.f64 #s(literal -1/3 binary64) x) (neg.f64 y))
(neg.f64 (*.f64 #s(literal -1/3 binary64) (/.f64 x y)))
(/.f64 (neg.f64 x) (neg.f64 y))
(/.f64 x y)
(neg.f64 (/.f64 (neg.f64 x) y))
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (/.f64 x #s(literal -3 binary64)) (neg.f64 y))
(/.f64 (neg.f64 x) (*.f64 #s(literal -3 binary64) y))
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 x (*.f64 #s(literal 3 binary64) y))
(neg.f64 (/.f64 (/.f64 x #s(literal -3 binary64)) y))
(/.f64 (neg.f64 x) #s(literal -3 binary64))
(/.f64 x #s(literal 3 binary64))
(neg.f64 (/.f64 x #s(literal -3 binary64)))
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (/.f64 x #s(literal -3 binary64)) (neg.f64 y))
(/.f64 (neg.f64 x) (*.f64 #s(literal -3 binary64) y))
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 x (*.f64 #s(literal 3 binary64) y))
(neg.f64 (/.f64 (/.f64 x #s(literal -3 binary64)) y))

eval3.0ms (0.3%)

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

Compiled 311 to 78 computations (74.9% saved)

prune3.0ms (0.4%)

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

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New31233
Fresh000
Picked033
Done011
Total31637
Accuracy
100.0%
Counts
37 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (/.f64 x y) #s(literal 3 binary64))
99.7%
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
99.5%
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
99.6%
(/.f64 x (*.f64 y #s(literal 3 binary64)))
99.6%
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
99.1%
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
Compiler

Compiled 46 to 41 computations (10.9% saved)

simplify4.0ms (0.4%)

Memory
7.8MiB live, 7.8MiB allocated; 0ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 1/3 binary64) x)
cost-diff0
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
cost-diff0
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
cost-diff0
(/.f64 #s(literal 1/3 binary64) y)
cost-diff0
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
cost-diff0
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01344
01744
12344
22544
32644
02644
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(/.f64 #s(literal 1/3 binary64) y)
#s(literal 1/3 binary64)
y
x
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 #s(literal 1/3 binary64) x)
#s(literal 1/3 binary64)
x
y
Outputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(/.f64 #s(literal 1/3 binary64) y)
#s(literal 1/3 binary64)
y
x
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 #s(literal 1/3 binary64) x)
#s(literal 1/3 binary64)
x
y

localize42.0ms (4.5%)

Memory
-33.4MiB live, 65.4MiB allocated; 15ms collecting garbage
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
accuracy0.203125
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
accuracy0.32421875
(*.f64 #s(literal 1/3 binary64) x)
accuracy0.0
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
accuracy0.3984375
(/.f64 #s(literal 1/3 binary64) y)
accuracy0.402575053982714
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
Samples
33.0ms256×0valid
Compiler

Compiled 32 to 13 computations (59.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 19.0ms
ival-div: 10.0ms (52.7% of total)
ival-mult: 5.0ms (26.3% of total)
const: 4.0ms (21.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)

series3.0ms (0.4%)

Memory
8.1MiB live, 8.1MiB allocated; 0ms collecting garbage
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(/.f64 #s(literal 1/3 binary64) y)
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 #s(literal 1/3 binary64) x)
Outputs
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* (/ 1/3 y) x) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x)))
#s(approx (* 1/3 x) #s(hole binary64 (* 1/3 x)))
#s(approx (/ 1/3 y) #s(hole binary64 (/ 1/3 y)))
Calls

6 calls:

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

simplify4.0ms (0.4%)

Memory
7.7MiB live, 7.7MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01954
12754
02754
Stop Event
iter limit
saturated
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* (/ 1/3 y) x) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x)))
#s(approx (* 1/3 x) #s(hole binary64 (* 1/3 x)))
#s(approx (/ 1/3 y) #s(hole binary64 (/ 1/3 y)))
Outputs
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (* (/ 1/3 y) x) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* (/ 1/3 y) x) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ (/ x 3) y) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x)))
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
#s(approx (* 1/3 x) #s(hole binary64 (* 1/3 x)))
#s(approx (* 1/3 x) (*.f64 #s(literal 1/3 binary64) x))
#s(approx (/ 1/3 y) #s(hole binary64 (/ 1/3 y)))
#s(approx (/ 1/3 y) (/.f64 #s(literal 1/3 binary64) y))

rewrite16.0ms (1.7%)

Memory
-26.0MiB live, 20.0MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01338
01738
13538
27638
314238
415838
515838
015838
Stop Event
iter limit
saturated
iter limit
Counts
6 → 25
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(/.f64 #s(literal 1/3 binary64) y)
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 #s(literal 1/3 binary64) x)
Outputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
(*.f64 (/.f64 #s(literal -1/3 binary64) y) (neg.f64 x))
(*.f64 (/.f64 (neg.f64 x) y) #s(literal -1/3 binary64))
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(*.f64 #s(literal -1/3 binary64) (/.f64 (neg.f64 x) y))
(*.f64 (neg.f64 x) (/.f64 #s(literal -1/3 binary64) y))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(*.f64 #s(literal 1/3 binary64) (/.f64 x y))
(*.f64 x (/.f64 #s(literal 1/3 binary64) y))
(/.f64 (*.f64 #s(literal -1/3 binary64) x) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/3 binary64) x) y)
(neg.f64 (*.f64 (/.f64 #s(literal -1/3 binary64) y) x))
(/.f64 #s(literal -1/3 binary64) (neg.f64 y))
(/.f64 #s(literal 1/3 binary64) y)
(neg.f64 (/.f64 #s(literal -1/3 binary64) y))
(/.f64 (neg.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))) (neg.f64 y))
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
(neg.f64 (/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) (neg.f64 y)))
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
(neg.f64 (neg.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))))
(*.f64 #s(literal -1/3 binary64) (neg.f64 x))
(*.f64 (neg.f64 x) #s(literal -1/3 binary64))
(*.f64 #s(literal 1/3 binary64) x)
(*.f64 x #s(literal 1/3 binary64))
(neg.f64 (*.f64 #s(literal -1/3 binary64) x))

eval4.0ms (0.4%)

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

Compiled 328 to 79 computations (75.9% saved)

prune4.0ms (0.5%)

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

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New29029
Fresh000
Picked022
Done044
Total29635
Accuracy
100.0%
Counts
35 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (/.f64 x y) #s(literal 3 binary64))
99.7%
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
99.5%
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
99.6%
(/.f64 x (*.f64 y #s(literal 3 binary64)))
99.6%
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
99.1%
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
Compiler

Compiled 92 to 63 computations (31.5% saved)

regimes9.0ms (1%)

Memory
23.1MiB live, 23.1MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(/.f64 x (*.f64 y #s(literal 3 binary64)))
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 (/.f64 x y) #s(literal 3 binary64))
Outputs
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
Calls

4 calls:

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

Compiled 10 to 13 computations (-30% saved)

regimes11.0ms (1.2%)

Memory
-26.1MiB live, 20.1MiB allocated; 3ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(/.f64 x (*.f64 y #s(literal 3 binary64)))
(/.f64 #s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x)) y)
Outputs
(/.f64 x (*.f64 y #s(literal 3 binary64)))
Calls

4 calls:

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

Compiled 10 to 13 computations (-30% saved)

regimes5.0ms (0.5%)

Memory
14.9MiB live, 14.9MiB allocated; 0ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
Outputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
Calls

4 calls:

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

Compiled 10 to 13 computations (-30% saved)

regimes4.0ms (0.4%)

Memory
13.3MiB live, 13.3MiB allocated; 0ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

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

Compiled 10 to 13 computations (-30% saved)

simplify17.0ms (1.8%)

Memory
-41.8MiB live, 22.0MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01632
11932
22132
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 x (*.f64 y #s(literal 3 binary64)))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
Outputs
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 x (*.f64 y #s(literal 3 binary64)))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))

derivations3.0ms (0.3%)

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

Compiled 32 to 17 computations (46.9% saved)

preprocess40.0ms (4.3%)

Memory
-9.9MiB live, 83.6MiB allocated; 7ms collecting garbage
Remove

(negabs x)

(negabs y)

Compiler

Compiled 124 to 94 computations (24.2% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...