recognition /
Complexity /
Complexity.SAT.Backprop /
explainer
No prose has been written for this declaration yet. The Lean source and graph data below render
without it.
generate prose now
formal statement (Lean)
47 def valueOfXOR {n} (σ : PartialAssignment n) (X : XORConstraint n) : Option Bool :=
proof body
Definition body.
48 if X.vars.all (fun v => (σ v).isSome) then
49 some (X.vars.foldl (fun acc v => Bool.xor acc ((σ v).getD false)) false)
50 else
51 none
52
53 /-- If exactly one variable of an XOR constraint is unknown, return that variable and the
54 value needed to satisfy the parity given the known variables. -/
depends on (23)
Lean names referenced from this declaration's body.
all
in IndisputableMonolith.Aesthetics.NarrativeGeodesic
decl_use
all
in IndisputableMonolith.Anthropology.KinshipGraphCohomology
decl_use
of
in IndisputableMonolith.Astrophysics.NucleosynthesisTiers
decl_use
PartialAssignment
in IndisputableMonolith.Complexity.SAT.Backprop
decl_use
XORConstraint
in IndisputableMonolith.Complexity.SAT.XOR
decl_use
all
in IndisputableMonolith.Engineering.AsteroidOreSpectroscopy
decl_use
of
in IndisputableMonolith.Foundation.DAlembert.LedgerFactorization
decl_use
one
in IndisputableMonolith.Foundation.IntegersFromLogic
decl_use
is
in IndisputableMonolith.Foundation.OptionAEmpiricalProgram
decl_use
of
in IndisputableMonolith.Foundation.PhiForcingDerived
decl_use
one
in IndisputableMonolith.Foundation.RationalsFromLogic
decl_use
is
in IndisputableMonolith.Foundation.SimplicialLedger.EdgeLengthFromPsi
decl_use
of
in IndisputableMonolith.Foundation.SpectralEmergence
decl_use
is
in IndisputableMonolith.GameTheory.MechanismDesignFromSigma
decl_use
of
in IndisputableMonolith.Information.PhysicsComplexityStructure
decl_use
parity
in IndisputableMonolith.LedgerPostingAdjacency
decl_use
is
in IndisputableMonolith.Mathematics.RamanujanBridge.MockThetaPhantom
decl_use
all
in IndisputableMonolith.Musicology.ModalPreferenceFromPhi
decl_use
and
in IndisputableMonolith.NumberTheory.CirclePhaseLift
decl_use
that
in IndisputableMonolith.NumberTheory.PhiLadderLattice
decl_use
one
in IndisputableMonolith.QFT.SpinStatistics
decl_use
value
in IndisputableMonolith.QFT.SpinStatistics
decl_use
one
in IndisputableMonolith.RecogSpec.Core
decl_use