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

Time bar (total: 925.0ms)

start0.0ms (0%)

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

analyze11.0ms (1.2%)

Memory
19.9MiB live, 19.9MiB allocated; 0ms 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)

sample569.0ms (61.5%)

Memory
-0.5MiB live, 1 089.8MiB allocated; 89ms collecting garbage
Samples
346.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 142.0ms
ival-mult: 66.0ms (46.6% of total)
ival-div: 64.0ms (45.2% of total)
exact: 7.0ms (4.9% of total)
ival-assert: 3.0ms (2.1% of total)
adjust: 2.0ms (1.4% of total)
Bogosity

explain49.0ms (5.3%)

Memory
-0.3MiB live, 94.8MiB allocated; 4ms 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
22.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

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

preprocess18.0ms (2%)

Memory
-15.4MiB live, 31.9MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01432
13230
25630
38230
411130
512730
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 x)

(negabs y)

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.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 x (*.f64 y #s(literal 3 binary64)))
Compiler

Compiled 5 to 5 computations (0% saved)

series6.0ms (0.7%)

Memory
11.1MiB live, 11.1MiB allocated; 0ms collecting garbage
Counts
5 → 4
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
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx x #s(hole binary64 x))
#s(approx (* y 3) #s(hole binary64 (* 3 y)))
#s(approx y #s(hole binary64 y))
Calls

6 calls:

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

rewrite19.0ms (2%)

Memory
-23.9MiB live, 25.9MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01535
01635
12635
25735
312735
415335
515635
015635
Stop Event
iter limit
saturated
iter limit
Counts
9 → 19
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 3 binary64)))
x
(*.f64 y #s(literal 3 binary64))
y
#s(literal 3 binary64)
#s(approx (/ x (* y 3)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx x #s(hole binary64 x))
#s(approx (* y 3) #s(hole binary64 (* 3 y)))
#s(approx y #s(hole binary64 y))
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 (neg.f64 x) (*.f64 #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 y) #s(literal -3 binary64)))
x
(*.f64 #s(literal -3 binary64) (neg.f64 y))
(*.f64 (neg.f64 y) #s(literal -3 binary64))
(*.f64 #s(literal 3 binary64) y)
(*.f64 y #s(literal 3 binary64))
(neg.f64 (*.f64 #s(literal -3 binary64) y))
y
#s(literal 3 binary64)
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx x x)
#s(approx (* y 3) (*.f64 #s(literal 3 binary64) y))
#s(approx y y)

eval2.0ms (0.2%)

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

Compiled 116 to 41 computations (64.7% saved)

prune3.0ms (0.4%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New16319
Fresh000
Picked011
Done000
Total16420
Accuracy
100.0%
Counts
20 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
99.7%
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
99.7%
(/.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 27 to 25 computations (7.4% saved)

series6.0ms (0.7%)

Memory
12.9MiB live, 12.9MiB allocated; 0ms collecting garbage
Counts
13 → 10
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))
#s(literal 3 binary64)
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (neg.f64 x) y)
(neg.f64 x)
#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 #s(hole binary64 x))
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x)))
#s(approx (/ (/ (neg x) y) -3) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ (neg x) y) #s(hole binary64 (* -1 (/ x y))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx y #s(hole binary64 y))
Calls

6 calls:

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

rewrite38.0ms (4.1%)

Memory
-7.4MiB live, 40.3MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
037125
045121
172121
2148121
3285121
0415121
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
23 → 129
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))
#s(literal 3 binary64)
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (neg.f64 x) y)
(neg.f64 x)
#s(literal -3 binary64)
#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 #s(hole binary64 x))
#s(approx (/ (/ x 3) y) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ x 3) #s(hole binary64 (* 1/3 x)))
#s(approx (/ (/ (neg x) y) -3) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (/ (neg x) y) #s(hole binary64 (* -1 (/ x y))))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx y #s(hole binary64 y))
Outputs
#s(approx (/ (/ (neg x) y) -3) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(*.f64 (/.f64 #s(literal -1/3 binary64) y) (neg.f64 x))
(*.f64 #s(literal -1/3 binary64) (/.f64 (neg.f64 x) y))
(*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(*.f64 (*.f64 #s(literal -1/3 binary64) (/.f64 x y)) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(*.f64 (/.f64 #s(literal -1 binary64) y) (*.f64 #s(literal -1/3 binary64) x))
(*.f64 (*.f64 #s(literal -1/3 binary64) x) (/.f64 #s(literal -1 binary64) y))
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal -1/3 binary64) (/.f64 x y)))
(*.f64 (/.f64 (neg.f64 x) y) #s(literal -1/3 binary64))
(*.f64 (neg.f64 x) (*.f64 (/.f64 #s(literal -1/3 binary64) y) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (/.f64 #s(literal -1/3 binary64) y))
(*.f64 (*.f64 (/.f64 x y) #s(literal 1/3 binary64)) #s(literal 1 binary64))
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(*.f64 (*.f64 #s(literal 1/3 binary64) x) (pow.f64 y #s(literal -1 binary64)))
(*.f64 #s(literal 1/3 binary64) (/.f64 x y))
(*.f64 x (*.f64 (/.f64 #s(literal -1/3 binary64) y) #s(literal -1 binary64)))
(*.f64 x (/.f64 #s(literal 1/3 binary64) y))
(/.f64 (*.f64 #s(literal -1/3 binary64) x) (neg.f64 y))
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (neg.f64 x) (*.f64 #s(literal -3 binary64) y))
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 (*.f64 #s(literal 1/3 binary64) x) y)
(/.f64 x (*.f64 #s(literal 3 binary64) y))
(neg.f64 (*.f64 #s(literal -1/3 binary64) (/.f64 x y)))
(*.f64 (pow.f64 y #s(literal -1 binary64)) x)
(*.f64 #s(literal 1 binary64) (/.f64 x y))
(*.f64 (/.f64 #s(literal -1 binary64) y) (neg.f64 x))
(*.f64 #s(literal -1 binary64) (/.f64 (neg.f64 x) y))
(*.f64 (/.f64 (neg.f64 x) y) #s(literal -1 binary64))
(*.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) y))
(*.f64 (/.f64 x y) #s(literal 1 binary64))
(*.f64 x (pow.f64 y #s(literal -1 binary64)))
(/.f64 (neg.f64 x) (neg.f64 y))
(/.f64 x y)
(neg.f64 (/.f64 (neg.f64 x) y))
x
y
#s(literal 1/3 binary64)
(*.f64 (/.f64 #s(literal -1/3 binary64) y) (neg.f64 x))
(*.f64 #s(literal -1/3 binary64) (/.f64 (neg.f64 x) y))
(*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(*.f64 (*.f64 #s(literal -1/3 binary64) (/.f64 x y)) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(*.f64 (/.f64 #s(literal -1 binary64) y) (*.f64 #s(literal -1/3 binary64) x))
(*.f64 (*.f64 #s(literal -1/3 binary64) x) (/.f64 #s(literal -1 binary64) y))
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal -1/3 binary64) (/.f64 x y)))
(*.f64 (/.f64 (neg.f64 x) y) #s(literal -1/3 binary64))
(*.f64 (neg.f64 x) (*.f64 (/.f64 #s(literal -1/3 binary64) y) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (/.f64 #s(literal -1/3 binary64) y))
(*.f64 (*.f64 (/.f64 x y) #s(literal 1/3 binary64)) #s(literal 1 binary64))
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(*.f64 (*.f64 #s(literal 1/3 binary64) x) (pow.f64 y #s(literal -1 binary64)))
(*.f64 #s(literal 1/3 binary64) (/.f64 x y))
(*.f64 x (*.f64 (/.f64 #s(literal -1/3 binary64) y) #s(literal -1 binary64)))
(*.f64 x (/.f64 #s(literal 1/3 binary64) y))
(/.f64 (*.f64 #s(literal -1/3 binary64) x) (neg.f64 y))
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (neg.f64 x) (*.f64 #s(literal -3 binary64) y))
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 (*.f64 #s(literal 1/3 binary64) x) y)
(/.f64 x (*.f64 #s(literal 3 binary64) y))
(neg.f64 (*.f64 #s(literal -1/3 binary64) (/.f64 x y)))
(*.f64 #s(literal -1/3 binary64) (neg.f64 x))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 (*.f64 #s(literal -1/3 binary64) x) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal -1/3 binary64) x))
(*.f64 (neg.f64 x) #s(literal -1/3 binary64))
(*.f64 (*.f64 #s(literal 1/3 binary64) x) #s(literal 1 binary64))
(*.f64 #s(literal 1/3 binary64) x)
(*.f64 x #s(literal 1/3 binary64))
(/.f64 (neg.f64 x) #s(literal -3 binary64))
(/.f64 x #s(literal 3 binary64))
(neg.f64 (*.f64 #s(literal -1/3 binary64) x))
#s(literal 3 binary64)
(*.f64 (/.f64 #s(literal -1/3 binary64) y) (neg.f64 x))
(*.f64 #s(literal -1/3 binary64) (/.f64 (neg.f64 x) y))
(*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(*.f64 (*.f64 #s(literal -1/3 binary64) (/.f64 x y)) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(*.f64 (/.f64 #s(literal -1 binary64) y) (*.f64 #s(literal -1/3 binary64) x))
(*.f64 (*.f64 #s(literal -1/3 binary64) x) (/.f64 #s(literal -1 binary64) y))
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal -1/3 binary64) (/.f64 x y)))
(*.f64 (/.f64 (neg.f64 x) y) #s(literal -1/3 binary64))
(*.f64 (neg.f64 x) (*.f64 (/.f64 #s(literal -1/3 binary64) y) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (/.f64 #s(literal -1/3 binary64) y))
(*.f64 (*.f64 (/.f64 x y) #s(literal 1/3 binary64)) #s(literal 1 binary64))
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(*.f64 (*.f64 #s(literal 1/3 binary64) x) (pow.f64 y #s(literal -1 binary64)))
(*.f64 #s(literal 1/3 binary64) (/.f64 x y))
(*.f64 x (*.f64 (/.f64 #s(literal -1/3 binary64) y) #s(literal -1 binary64)))
(*.f64 x (/.f64 #s(literal 1/3 binary64) y))
(/.f64 (*.f64 #s(literal -1/3 binary64) x) (neg.f64 y))
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (neg.f64 x) (*.f64 #s(literal -3 binary64) y))
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 (*.f64 #s(literal 1/3 binary64) x) y)
(/.f64 x (*.f64 #s(literal 3 binary64) y))
(neg.f64 (*.f64 #s(literal -1/3 binary64) (/.f64 x y)))
(*.f64 (pow.f64 y #s(literal -1 binary64)) (neg.f64 x))
(*.f64 #s(literal 1 binary64) (/.f64 (neg.f64 x) y))
(*.f64 (/.f64 #s(literal -1 binary64) y) x)
(*.f64 #s(literal -1 binary64) (/.f64 x y))
(*.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64))
(*.f64 (neg.f64 x) (pow.f64 y #s(literal -1 binary64)))
(*.f64 (/.f64 x y) #s(literal -1 binary64))
(*.f64 x (/.f64 #s(literal -1 binary64) y))
(/.f64 (neg.f64 x) y)
(/.f64 x (neg.f64 y))
(neg.f64 (/.f64 x y))
(*.f64 #s(literal 1 binary64) (neg.f64 x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 (neg.f64 x) #s(literal 1 binary64))
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
#s(literal -3 binary64)
#s(approx (/ (/ (neg x) y) -3) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ (/ (neg x) y) -3) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ x y) (/.f64 x y))
#s(approx x x)
#s(approx (/ (/ (neg x) y) -3) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ x 3) (*.f64 #s(literal 1/3 binary64) x))
#s(approx (/ (/ (neg x) y) -3) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ (neg x) y) (/.f64 (neg.f64 x) y))
#s(approx (neg x) (neg.f64 x))
#s(approx y y)

eval7.0ms (0.7%)

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

Compiled 808 to 191 computations (76.4% saved)

prune44.0ms (4.8%)

Memory
-18.6MiB live, 76.5MiB allocated; 2ms collecting garbage
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New81283
Fresh000
Picked123
Done011
Total82587
Accuracy
100.0%
Counts
87 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
99.7%
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
99.7%
(/.f64 x (*.f64 y #s(literal 3 binary64)))
99.5%
#s(approx (/ x (* y 3)) (*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x)))
99.6%
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
Compiler

Compiled 40 to 36 computations (10% saved)

series5.0ms (0.5%)

Memory
9.6MiB live, 9.6MiB allocated; 0ms collecting garbage
Counts
11 → 8
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
#s(approx (/ x (* y 3)) (*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x)))
(*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x))
(pow.f64 y #s(literal -1 binary64))
#s(literal -1 binary64)
(*.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 #s(hole binary64 x))
#s(approx (* (pow y -1) (* 1/3 x)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* 1/3 x) #s(hole binary64 (* 1/3 x)))
#s(approx (/ 1/3 y) #s(hole binary64 (/ 1/3 y)))
#s(approx y #s(hole binary64 y))
#s(approx (pow y -1) #s(hole binary64 (/ 1 y)))
Calls

6 calls:

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

rewrite28.0ms (3%)

Memory
-14.6MiB live, 34.4MiB allocated; 1ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
031111
038105
170105
0173105
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
19 → 79
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
#s(approx (/ x (* y 3)) (*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x)))
(*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x))
(pow.f64 y #s(literal -1 binary64))
#s(literal -1 binary64)
(*.f64 #s(literal 1/3 binary64) x)
#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 #s(hole binary64 x))
#s(approx (* (pow y -1) (* 1/3 x)) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx (* 1/3 x) #s(hole binary64 (* 1/3 x)))
#s(approx (/ 1/3 y) #s(hole binary64 (/ 1/3 y)))
#s(approx y #s(hole binary64 y))
#s(approx (pow y -1) #s(hole binary64 (/ 1 y)))
Outputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(*.f64 (*.f64 (*.f64 #s(literal 1/3 binary64) x) (pow.f64 y #s(literal -1/2 binary64))) (pow.f64 y #s(literal -1/2 binary64)))
(*.f64 (*.f64 (pow.f64 y #s(literal -1 binary64)) x) #s(literal 1/3 binary64))
(*.f64 (pow.f64 y #s(literal -1/2 binary64)) (*.f64 (pow.f64 y #s(literal -1/2 binary64)) (*.f64 #s(literal 1/3 binary64) x)))
(*.f64 (*.f64 #s(literal 1/3 binary64) x) (pow.f64 y #s(literal -1 binary64)))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 #s(literal 1/3 binary64) (*.f64 x (pow.f64 y #s(literal -1 binary64))))
(*.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 (neg.f64 x) #s(literal 1/3 binary64)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/3 binary64) x)) y)
(/.f64 (*.f64 #s(literal -1 binary64) (*.f64 #s(literal 1/3 binary64) x)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/3 binary64) (neg.f64 x)) (neg.f64 y))
(/.f64 (*.f64 x #s(literal -1/3 binary64)) (neg.f64 y))
(/.f64 (*.f64 (*.f64 #s(literal 1/3 binary64) x) #s(literal 1 binary64)) y)
(/.f64 (*.f64 (*.f64 #s(literal 1/3 binary64) x) #s(literal -1 binary64)) (neg.f64 y))
(/.f64 (neg.f64 (*.f64 #s(literal 1/3 binary64) x)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/3 binary64) x) y)
(*.f64 (pow.f64 y #s(literal -1/2 binary64)) (*.f64 (pow.f64 y #s(literal -1/2 binary64)) #s(literal 1/3 binary64)))
(*.f64 (pow.f64 y #s(literal -1 binary64)) #s(literal 1/3 binary64))
(*.f64 #s(literal 1/3 binary64) (pow.f64 y #s(literal -1 binary64)))
(/.f64 #s(literal -1/3 binary64) (neg.f64 y))
(/.f64 #s(literal 1/3 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal 1/3 binary64) y)
(neg.f64 (/.f64 #s(literal -1/3 binary64) y))
(neg.f64 (/.f64 #s(literal 1/3 binary64) (neg.f64 y)))
#s(literal 1/3 binary64)
y
x
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
(*.f64 (*.f64 (*.f64 #s(literal 1/3 binary64) x) (pow.f64 y #s(literal -1/2 binary64))) (pow.f64 y #s(literal -1/2 binary64)))
(*.f64 (*.f64 (pow.f64 y #s(literal -1 binary64)) x) #s(literal 1/3 binary64))
(*.f64 (pow.f64 y #s(literal -1/2 binary64)) (*.f64 (pow.f64 y #s(literal -1/2 binary64)) (*.f64 #s(literal 1/3 binary64) x)))
(*.f64 (*.f64 #s(literal 1/3 binary64) x) (pow.f64 y #s(literal -1 binary64)))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(*.f64 (/.f64 x y) #s(literal 1/3 binary64))
(*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x))
(*.f64 #s(literal 1/3 binary64) (*.f64 x (pow.f64 y #s(literal -1 binary64))))
(*.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 (neg.f64 x) #s(literal 1/3 binary64)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/3 binary64) x)) y)
(/.f64 (*.f64 #s(literal -1 binary64) (*.f64 #s(literal 1/3 binary64) x)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/3 binary64) (neg.f64 x)) (neg.f64 y))
(/.f64 (*.f64 x #s(literal -1/3 binary64)) (neg.f64 y))
(/.f64 (*.f64 (*.f64 #s(literal 1/3 binary64) x) #s(literal 1 binary64)) y)
(/.f64 (*.f64 (*.f64 #s(literal 1/3 binary64) x) #s(literal -1 binary64)) (neg.f64 y))
(/.f64 (neg.f64 (*.f64 #s(literal 1/3 binary64) x)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/3 binary64) x) y)
(*.f64 (neg.f64 (pow.f64 y #s(literal -1/2 binary64))) (neg.f64 (pow.f64 y #s(literal -1/2 binary64))))
(*.f64 (fabs.f64 (pow.f64 y #s(literal -1/2 binary64))) (fabs.f64 (pow.f64 y #s(literal -1/2 binary64))))
(*.f64 (pow.f64 y #s(literal -1/2 binary64)) (pow.f64 y #s(literal -1/2 binary64)))
(pow.f64 (exp.f64 (log.f64 y)) #s(literal -1 binary64))
(pow.f64 (*.f64 y y) #s(literal -1/2 binary64))
(pow.f64 (pow.f64 y #s(literal -1/2 binary64)) #s(literal 2 binary64))
(pow.f64 y #s(literal -1 binary64))
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) y)
(/.f64 #s(literal -1 binary64) (neg.f64 y))
(neg.f64 (/.f64 #s(literal -1 binary64) y))
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 y)))
(exp.f64 (*.f64 (log.f64 y) #s(literal -1 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal -1 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal -1 binary64))))
#s(literal -1 binary64)
(*.f64 #s(literal 1/3 binary64) x)
(*.f64 x #s(literal 1/3 binary64))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (* (pow y -1) (* 1/3 x)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx x x)
#s(approx (* (pow y -1) (* 1/3 x)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (* 1/3 x) (*.f64 #s(literal 1/3 binary64) x))
#s(approx (/ 1/3 y) (/.f64 #s(literal 1/3 binary64) y))
#s(approx y y)
#s(approx (pow y -1) (pow.f64 y #s(literal -1 binary64)))

eval5.0ms (0.6%)

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

Compiled 843 to 182 computations (78.4% saved)

prune37.0ms (4%)

Memory
-12.6MiB live, 82.8MiB allocated; 2ms collecting garbage
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New61061
Fresh000
Picked022
Done033
Total61566
Accuracy
100.0%
Counts
66 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
99.7%
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
99.7%
(/.f64 x (*.f64 y #s(literal 3 binary64)))
99.5%
#s(approx (/ x (* y 3)) (*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x)))
99.6%
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
Compiler

Compiled 91 to 62 computations (31.9% saved)

regimes9.0ms (1%)

Memory
23.9MiB live, 23.9MiB 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)))
#s(approx (/ x (* y 3)) (*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x)))
(/.f64 x (*.f64 y #s(literal 3 binary64)))
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
Outputs
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
Calls

4 calls:

2.0ms
y
2.0ms
(*.f64 y #s(literal 3 binary64))
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)

regimes8.0ms (0.8%)

Memory
-28.9MiB live, 18.8MiB allocated; 0ms 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)))
#s(approx (/ x (* y 3)) (*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x)))
(/.f64 x (*.f64 y #s(literal 3 binary64)))
Outputs
(/.f64 x (*.f64 y #s(literal 3 binary64)))
Calls

4 calls:

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

regimes6.0ms (0.7%)

Memory
15.6MiB live, 15.6MiB allocated; 0ms collecting garbage
Counts
3 → 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)))
#s(approx (/ x (* y 3)) (*.f64 (pow.f64 y #s(literal -1 binary64)) (*.f64 #s(literal 1/3 binary64) x)))
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.5%)

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

simplify11.0ms (1.1%)

Memory
-28.9MiB live, 19.9MiB allocated; 1ms 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))

derivations6.0ms (0.6%)

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

Compiled 32 to 17 computations (46.9% saved)

preprocess34.0ms (3.6%)

Memory
20.4MiB live, 67.5MiB allocated; 2ms collecting garbage
Remove

(negabs y)

(negabs x)

Compiler

Compiled 114 to 84 computations (26.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...