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

Time bar (total: 881.0ms)

start0.0ms (0%)

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

analyze17.0ms (1.9%)

Memory
-20.1MiB live, 26.6MiB allocated; 8ms 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)

sample520.0ms (59%)

Memory
-6.6MiB live, 942.4MiB allocated; 143ms collecting garbage
Samples
318.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 140.0ms
ival-div!: 86.0ms (61.4% of total)
ival-mult!: 53.0ms (37.9% of total)
adjust: 1.0ms (0.7% of total)
Bogosity

preprocess18.0ms (2%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01432
13830
28930
314530
415130
Stop Event
saturated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(/.f64 x (*.f64 y #s(literal 3 binary64)))
Symmetry

(negabs x)

(negabs y)

Compiler

Compiled 10 to 10 computations (0% saved)

series43.0ms (4.9%)

Memory
-37.5MiB live, 9.2MiB allocated; 3ms 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
38.0ms
y
@-inf
((/ x (* y 3)) x (* y 3) y 3)
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
@0
((/ x (* y 3)) x (* y 3) y 3)

rewrite18.0ms (2%)

Memory
39.7MiB live, 39.7MiB allocated; 0ms 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 x (*.f64 #s(literal -3 binary64) y)))
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)

eval1.0ms (0.2%)

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

Compiled 50 to 40 computations (20% saved)

prune31.0ms (3.5%)

Memory
-26.4MiB live, 4.2MiB allocated; 8ms collecting garbage
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12315
Fresh000
Picked011
Done000
Total12416
Accuracy
100.0%
Counts
16 → 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.8%
(/.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 24 to 24 computations (0% saved)

series6.0ms (0.7%)

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

6 calls:

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

rewrite49.0ms (5.5%)

Memory
-27.0MiB live, 33.0MiB allocated; 83ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027100
034100
152100
299100
3151100
4172100
5174100
0174100
Stop Event
iter-limit
saturated
iter-limit
Counts
18 → 44
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 x y) #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 (/ (/ x y) 3) #s(hole binary64 (* 1/3 (/ x y))))
#s(approx y #s(hole binary64 y))
Outputs
#s(approx (/ 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 (/.f64 #s(literal 1/3 binary64) y) x)
(*.f64 (neg.f64 x) (/.f64 #s(literal -1/3 binary64) y))
(*.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 x y))
(*.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))
x
y
#s(literal 1/3 binary64)
(/.f64 (neg.f64 x) (*.f64 #s(literal -3 binary64) y))
(/.f64 (/.f64 x #s(literal -3 binary64)) (neg.f64 y))
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 x (*.f64 #s(literal 3 binary64) y))
(neg.f64 (/.f64 x (*.f64 #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)))
#s(literal 3 binary64)
(/.f64 (neg.f64 x) (*.f64 #s(literal -3 binary64) y))
(/.f64 (/.f64 x #s(literal -3 binary64)) (neg.f64 y))
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -3 binary64))
(/.f64 (/.f64 x y) #s(literal 3 binary64))
(/.f64 (/.f64 x #s(literal 3 binary64)) y)
(/.f64 x (*.f64 #s(literal 3 binary64) y))
(neg.f64 (/.f64 x (*.f64 #s(literal -3 binary64) y)))
#s(approx (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (* (/ x y) 1/3) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx (/ x y) (/.f64 x y))
#s(approx x x)
#s(approx (/ 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 (/ x (* y 3)) (*.f64 (/.f64 x y) #s(literal 1/3 binary64)))
#s(approx y y)

eval4.0ms (0.4%)

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

Compiled 123 to 86 computations (30.1% saved)

prune2.0ms (0.3%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New30131
Fresh000
Picked033
Done011
Total30535
Accuracy
100.0%
Counts
35 → 5
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.8%
(/.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.6%
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
Compiler

Compiled 33 to 33 computations (0% saved)

series3.0ms (0.4%)

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

6 calls:

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

rewrite10.0ms (1.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01857
02157
13657
27757
316357
418057
518057
018057
Stop Event
iter-limit
saturated
iter-limit
Counts
11 → 23
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)) #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 (/ 1/3 y) #s(hole binary64 (/ 1/3 y)))
#s(approx y #s(hole binary64 y))
Outputs
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
(*.f64 (/.f64 (neg.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 (neg.f64 x) (/.f64 #s(literal -1/3 binary64) y))
(*.f64 (/.f64 #s(literal 1/3 binary64) y) x)
(*.f64 (/.f64 x y) #s(literal 1/3 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 #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))
#s(literal 1/3 binary64)
y
x
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
#s(approx (* (/ 1/3 y) x) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
#s(approx x x)
#s(approx (/ 1/3 y) (/.f64 #s(literal 1/3 binary64) y))
#s(approx y y)

eval18.0ms (2%)

Memory
-29.7MiB live, 4.2MiB allocated; 20ms collecting garbage
Compiler

Compiled 68 to 56 computations (17.6% saved)

prune2.0ms (0.3%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New15015
Fresh000
Picked011
Done044
Total15520
Accuracy
100.0%
Counts
20 → 5
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.8%
(/.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.6%
#s(approx (/ x (* y 3)) (*.f64 (/.f64 #s(literal 1/3 binary64) y) x))
Compiler

Compiled 52 to 51 computations (1.9% saved)

regimes8.0ms (0.9%)

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

Compiled 10 to 13 computations (-30% saved)

regimes17.0ms (1.9%)

Memory
-22.4MiB live, 19.6MiB allocated; 15ms 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:

12.0ms
x
1.0ms
(/.f64 x (*.f64 y #s(literal 3 binary64)))
1.0ms
y
1.0ms
(*.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
16.7MiB live, 16.7MiB 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
y
1.0ms
(/.f64 x (*.f64 y #s(literal 3 binary64)))
1.0ms
x
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)

derivations3.0ms (0.3%)

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

Compiled 15 to 15 computations (0% saved)

preprocess106.0ms (12.1%)

Memory
-16.8MiB live, 127.5MiB allocated; 80ms collecting garbage
Remove

(negabs y)

(negabs x)

Compiler

Compiled 112 to 112 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...