Turns the non-identifiable directions of a symmetryDetection() result into a
parameter transformation that removes them. A scaling fixes one coordinate to 1.
A general direction is replaced by the invariants of that direction, held by new parameters
q_<k>, searched up to the degree bounds dPoly, dDarboux and dExp. The
computation runs in the Python package symident.
Usage
symmetryReduction(
object,
fixed = NULL,
positive = NULL,
dPoly = 3L,
dDarboux = 2L,
dExp = 2L,
separable = TRUE,
reportZeroCompatibility = FALSE,
alternatives = FALSE,
timeout = 600,
allowOpen = TRUE,
allowChecked = TRUE,
check = TRUE,
workCap = 4000L,
branch = NULL,
...
)Arguments
- object
A
symmetrydetectionresult fromsymmetryDetection().- fixed
Coordinates with known values; scalings they remove are dropped.
NULL(default) uses the gauge ofobject.- positive
Coordinates known to be positive:
TRUE(all),FALSE(none) or a character vector.NULL(default) takes the declaration of the detection inobject.- dPoly
Degree bound of polynomial and rational invariants. Defaults to 3.
- dDarboux
Degree bound of the Darboux polynomials. Defaults to 2.
- dExp
Numerator degree bound of exponential factors;
0skips them. Defaults to 2.- separable
Logical. Solve separable blocks by quadratures. Defaults to
TRUE.- reportZeroCompatibility
Logical. Report which coordinates each block can drive to 0. Defaults to
FALSE.- alternatives
Logical. Also return the charts of the other valid pins in
$alternatives. Defaults toFALSE.- timeout
Wall time in seconds for the section search of one block; a block not solved in time keeps the invariants (
"invariant_only") and is named inlimits.Inflets the search run to its end. UnlikeworkCap, it depends on the load of the machine. Defaults to 600.- allowOpen
Logical. Reduce the directions with a closed form and leave those of level
"open"in place with a warning;FALSEmakes such a direction an error. A direction of level"verified", and a section claim left unproven, give a warning. Defaults toTRUE.- allowChecked
Logical. Reduce also on a direction of level
"checked", which holds at random points but has no proof, and on a result whose saturation check failed, with a warning;FALSEmakes either an error. Defaults toTRUE.- check
Logical. Run the detection again on the model with the trafo applied and record in
checks$loopwhether exactly the remaining directions are left. Defaults toTRUE; large models may turn it off.- branch
With a discrete symmetry of
symmetryDetection(mode = "global"): the side of its fixed set as an inequality, e.g."k01 > k12", whose chart becomes the trafo: free values in the positive orthant map one to one onto that side, chained with the section. Without it every branch is in$alternatives;$discrete$brancheslists them withinjective,reach,unprovenand theboundary. Defaults toNULL.- workCap
Number of candidate sections the search of one block may try; reaching it is an entry in
limits. Defaults to 4000.- ...
Not used.
Value
An object of class symmetryreduction:
blocksone entry per set of coupled directions, with
invariants,section,newParameters(the invariant eachq_<k>holds),solvedDomain,coverageandstatus("fixed","reduced","invariant_only"or"unresolved"),level,generatorLevel(the lowest level of the directions in the block),unproven(the claims of the section that are not proven) and, for a curved block,count("exact"or"upper bound"),injectiveandreach. A section on a face (face) holdsfaceWhy, why the model is not shown continuous up to the face (NULLwhen it is), andfaceLevel,"checked"when the resting state underequilibrateis checked at random points only.levelhow far the reduction is established, the lowest over the reduced blocks:
"exact","verified"or"checked"(a direction rests on a closed form verified with an error bound, or checked without one, or a face on a checked resting state) or"open"(a claim of a section is not proven, named underunproven).assumptionswhat the reduction assumes:
domain(the declared positive coordinates) andstarts(the sides of switches declared at the start), witherrorBound, the probability that a verified closed form is wrong.limitsthe work budgets and time limits that stopped a section or invariant search.
checkspinsandinvariants, whether every pin holds under the trafo and every invariant of a block maps to the matching new parameter over Q,failed, and withcheck = TRUEloop: thedirectionsthe reduced model has, the numberexpected,rank,dimandrankStatus, andok.zeroCompatibilitywith
reportZeroCompatibility = TRUE, the sets of coordinates that can vanish together and theconditionfor it.trafoan eqnvec over all coordinates for
P()orsymmetryDetection(trafo = );NULLif nothing was reduced.familythe valid gauges of each reduced block.
removed,remaininglabels of the directions.
dependentlabels of directions that depend on the others and need no reduction.
partiallabels of removed directions whose chart covers only part of the positive orthant.
alternativesthe other charts, each with
trafo,removed,remaining,rationalandpins.discretewith discrete symmetries in
object(seediscreteSymmetries()): thesymmetriesthat can map a point of the domain into it, thefundamentalDomain, inequalities that keep one point of each of their orbits, and thecoordinatesthey are stated in, the reduced model's for a model with directions.coordinates,fixed,settings,callprovenance.
print() shows the verdict, the trafo, the new parameters and the sections,
summary() also one line per block. Both take width, summary() also
verbose and detailed, which explains each section.
Details
A chart is returned only if it is valid on the domain declared by
positive. A q_<k> that takes both signs is marked [real-valued] and is
estimated on a linear scale; a chart valid only for positive values of the q_<k> has
coverage = "partial". print() lists the invariant behind each q_<k>.
Examples
f <- eqnvec(m = "ktx - dm*m", p = "ktl*m - dp*p")
g <- eqnvec(y = "p")
res <- symmetryDetection(f, g, reconstruct = TRUE, verbose = FALSE)
red <- symmetryReduction(res)
red
#> Reduced 1 of 1 direction.
#>
#> Trafo (non-identity entries)
#> ktl = 1
#>
#> Sections:
#> {X₁} ktl = 1
#> summary(x, detailed = TRUE) explains each section.
#>
#> Discrete symmetries: 0
red$trafo
#> Idx Inner <- Outer
#> 1 dm <- dm
#> 2 dp <- dp
#> 3 ktl <- 1
#> 4 ktx <- ktx
#> 5 m <- m
#> 6 p <- p
symmetryDetection(f, g, trafo = red$trafo, verbose = FALSE)$identifiable
#> [1] TRUE