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

Time bar (total: 1.5s)

analyze0.0ms (0%)

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 8 computations (27.3% saved)

sample854.0ms (57.5%)

Results
764.0ms7242×body256valid
80.0ms1014×body256infinite
Bogosity

preprocess64.0ms (4.3%)

Algorithm
egg-herbie
Rules
1164×fma-def
232×associate-*r*
200×cancel-sign-sub-inv
186×distribute-lft-neg-in
156×fma-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
027145
189135
2207109
3568109
41124109
51626109
61699109
71711109
81713109
91713109
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 x (*.f64 (*.f64 y 4) z))
(-.f64 (neg.f64 x) (*.f64 (*.f64 y 4) z))
(-.f64 x (*.f64 (*.f64 (neg.f64 y) 4) z))
(-.f64 x (*.f64 (*.f64 y 4) (neg.f64 z)))
(-.f64 y (*.f64 (*.f64 x 4) z))
(-.f64 z (*.f64 (*.f64 y 4) x))
(-.f64 x (*.f64 (*.f64 z 4) y))
Outputs
(-.f64 x (*.f64 (*.f64 y 4) z))
(-.f64 x (*.f64 y (*.f64 4 z)))
(-.f64 x (*.f64 4 (*.f64 z y)))
(fma.f64 z (*.f64 y -4) x)
(fma.f64 y (*.f64 z -4) x)
(-.f64 (neg.f64 x) (*.f64 (*.f64 y 4) z))
(-.f64 (neg.f64 x) (*.f64 y (*.f64 4 z)))
(fma.f64 -1 x (*.f64 z (*.f64 y -4)))
(-.f64 (*.f64 z (*.f64 y -4)) x)
(fma.f64 z (*.f64 y -4) (neg.f64 x))
(-.f64 x (*.f64 (*.f64 (neg.f64 y) 4) z))
(-.f64 x (*.f64 z (neg.f64 (*.f64 y 4))))
(+.f64 x (*.f64 4 (*.f64 z y)))
(fma.f64 (*.f64 y 4) z x)
(fma.f64 y (*.f64 4 z) x)
(-.f64 x (*.f64 (*.f64 y 4) (neg.f64 z)))
(-.f64 x (*.f64 z (neg.f64 (*.f64 y 4))))
(+.f64 x (*.f64 4 (*.f64 z y)))
(fma.f64 (*.f64 y 4) z x)
(fma.f64 y (*.f64 4 z) x)
(-.f64 y (*.f64 (*.f64 x 4) z))
(-.f64 y (*.f64 x (*.f64 4 z)))
(-.f64 y (*.f64 z (*.f64 x 4)))
(fma.f64 z (*.f64 x -4) y)
(-.f64 z (*.f64 (*.f64 y 4) x))
(-.f64 z (*.f64 x (*.f64 y 4)))
(+.f64 z (*.f64 x (*.f64 y -4)))
(fma.f64 x (*.f64 y -4) z)
(-.f64 x (*.f64 (*.f64 z 4) y))
(-.f64 x (*.f64 y (*.f64 4 z)))
(-.f64 x (*.f64 4 (*.f64 z y)))
(fma.f64 z (*.f64 y -4) x)
(fma.f64 y (*.f64 z -4) x)
Symmetry

(sort y z)

Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify25.0ms (1.7%)

Algorithm
egg-herbie
Rules
738×fma-def
90×cancel-sign-sub-inv
86×distribute-lft-neg-in
54×sub-neg
46×fma-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0919
11919
24915
310715
415915
522015
631415
738715
851315
972515
1081115
1182315
Stop Event
saturated
Counts
1 → 5
Calls
Call 1
Inputs
(-.f64 x (*.f64 (*.f64 y 4) z))
Outputs
(-.f64 x (*.f64 (*.f64 y 4) z))
(-.f64 x (*.f64 4 (*.f64 y z)))
(fma.f64 y (*.f64 z -4) x)
(fma.f64 -4 (*.f64 y z) x)
(fma.f64 z (*.f64 y -4) x)

eval1.0ms (0.1%)

Compiler

Compiled 35 to 19 computations (45.7% saved)

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New415
Fresh101
Picked000
Done000
Total516
Accurracy
100.0%
Counts
6 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 x (*.f64 4 (*.f64 y z)))
100.0%
(-.f64 x (*.f64 4 (*.f64 y z)))
Compiler

Compiled 20 to 14 computations (30% saved)

localize163.0ms (11%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(*.f64 4 (*.f64 y z))
Compiler

Compiled 23 to 11 computations (52.2% saved)

series3.0ms (0.2%)

Counts
1 → 0
Calls

6 calls:

TimeVariablePointExpression
1.0ms
z
@0
(*.f64 4 (*.f64 y z))
1.0ms
y
@0
(*.f64 4 (*.f64 y z))
1.0ms
y
@inf
(*.f64 4 (*.f64 y z))
0.0ms
z
@inf
(*.f64 4 (*.f64 y z))
0.0ms
z
@-inf
(*.f64 4 (*.f64 y z))

rewrite131.0ms (8.9%)

Algorithm
batch-egg-rewrite
Rules
1298×pow1
1194×add-exp-log
1194×log1p-expm1-u
1194×expm1-log1p-u
1168×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
114213
2163313
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 4 (*.f64 y z))
Outputs
(-.f64 (+.f64 1 (*.f64 4 (*.f64 y z))) 1)
(pow.f64 (*.f64 4 (*.f64 y z)) 1)
(pow.f64 (cbrt.f64 (*.f64 4 (*.f64 y z))) 3)
(pow.f64 (pow.f64 (*.f64 4 (*.f64 y z)) 3) 1/3)
(pow.f64 (*.f64 (sqrt.f64 (*.f64 y z)) 2) 2)
(sqrt.f64 (*.f64 (pow.f64 (*.f64 y z) 2) 16))
(log.f64 (pow.f64 (exp.f64 (*.f64 4 y)) z))
(cbrt.f64 (pow.f64 (*.f64 4 (*.f64 y z)) 3))
(expm1.f64 (log1p.f64 (*.f64 4 (*.f64 y z))))
(exp.f64 (log.f64 (*.f64 4 (*.f64 y z))))
(log1p.f64 (expm1.f64 (*.f64 4 (*.f64 y z))))

simplify58.0ms (3.9%)

Algorithm
egg-herbie
Rules
2480×log-prod
1246×distribute-rgt-in
1232×distribute-lft-in
974×associate-*r*
842×associate-*l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
037275
192209
2339143
32455143
47773143
Stop Event
node limit
Counts
11 → 14
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (*.f64 4 (*.f64 y z))) 1)
(pow.f64 (*.f64 4 (*.f64 y z)) 1)
(pow.f64 (cbrt.f64 (*.f64 4 (*.f64 y z))) 3)
(pow.f64 (pow.f64 (*.f64 4 (*.f64 y z)) 3) 1/3)
(pow.f64 (*.f64 (sqrt.f64 (*.f64 y z)) 2) 2)
(sqrt.f64 (*.f64 (pow.f64 (*.f64 y z) 2) 16))
(log.f64 (pow.f64 (exp.f64 (*.f64 4 y)) z))
(cbrt.f64 (pow.f64 (*.f64 4 (*.f64 y z)) 3))
(expm1.f64 (log1p.f64 (*.f64 4 (*.f64 y z))))
(exp.f64 (log.f64 (*.f64 4 (*.f64 y z))))
(log1p.f64 (expm1.f64 (*.f64 4 (*.f64 y z))))
Outputs
(-.f64 (+.f64 1 (*.f64 4 (*.f64 y z))) 1)
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(pow.f64 (*.f64 4 (*.f64 y z)) 1)
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(pow.f64 (cbrt.f64 (*.f64 4 (*.f64 y z))) 3)
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(pow.f64 (pow.f64 (*.f64 4 (*.f64 y z)) 3) 1/3)
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(pow.f64 (*.f64 (sqrt.f64 (*.f64 y z)) 2) 2)
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(sqrt.f64 (*.f64 (pow.f64 (*.f64 y z) 2) 16))
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(log.f64 (pow.f64 (exp.f64 (*.f64 4 y)) z))
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(cbrt.f64 (pow.f64 (*.f64 4 (*.f64 y z)) 3))
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(expm1.f64 (log1p.f64 (*.f64 4 (*.f64 y z))))
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(exp.f64 (log.f64 (*.f64 4 (*.f64 y z))))
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))
(log1p.f64 (expm1.f64 (*.f64 4 (*.f64 y z))))
(+.f64 1 (-.f64 (*.f64 4 (*.f64 y z)) 1))
(+.f64 (*.f64 4 (*.f64 y z)) 0)
(*.f64 4 (*.f64 y z))

eval3.0ms (0.2%)

Compiler

Compiled 137 to 83 computations (39.4% saved)

prune3.0ms (0.2%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New14014
Fresh000
Picked011
Done000
Total14115
Accurracy
100.0%
Counts
15 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 x (*.f64 4 (*.f64 y z)))
Compiler

Compiled 27 to 18 computations (33.3% saved)

regimes60.0ms (4.1%)

Accuracy

Total -0.2b remaining (-∞%)

Threshold costs -0.2b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(-.f64 x (*.f64 4 (*.f64 y z)))
(-.f64 x (*.f64 (*.f64 y 4) z))
Outputs
(-.f64 x (*.f64 4 (*.f64 y z)))
Calls

6 calls:

47.0ms
z
3.0ms
(*.f64 y 4)
3.0ms
y
3.0ms
(-.f64 x (*.f64 (*.f64 y 4) z))
3.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1(-.f64 x (*.f64 (*.f64 y 4) z))
100.0%1(*.f64 (*.f64 y 4) z)
100.0%1(*.f64 y 4)
Compiler

Compiled 53 to 38 computations (28.3% saved)

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Rules
14×*-commutative
12×sub-neg
12×+-commutative
10×neg-mul-1
10×neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
11719
22919
34119
44919
55419
65619
Stop Event
done
saturated
Calls
Call 1
Inputs
(-.f64 x (*.f64 4 (*.f64 y z)))
Outputs
(-.f64 x (*.f64 4 (*.f64 y z)))
Compiler

Compiled 10 to 7 computations (30% saved)

soundness45.0ms (3%)

Rules
738×fma-def
90×cancel-sign-sub-inv
86×distribute-lft-neg-in
54×sub-neg
46×fma-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0919
11919
24915
310715
415915
522015
631415
738715
851315
972515
1081115
1182315
Stop Event
saturated
Compiler

Compiled 24 to 15 computations (37.5% saved)

end0.0ms (0%)

preprocess69.0ms (4.7%)

Remove

(sort y z)

Compiler

Compiled 60 to 42 computations (30% saved)

Profiling

Loading profile data...