The probability of ∃x y, R(x) ∧ S(x, y) is easy
Lax794877.HierarchicalQueryInFP · concepts/Lax794877/HierarchicalQueryInFP.lean · lax-794877
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
On the same weighted instances, the numerator of the probability of the hierarchical query is in FP. Given which -facts are present, the query fails when no present has a present , a condition on each -fact separately, so the weight of the worlds in which it fails is a product over , times the total weight of the -facts. The weight of the worlds in which it holds is computed the same way, without a subtraction, as a term of quantitative first-order logic.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
Builds on
Used by
none
From Mathlib
Mathlib.Algebra.BigOperators.FieldMathlib.Algebra.BigOperators.FinMathlib.Algebra.BigOperators.FinprodMathlib.Algebra.BigOperators.Group.Finset.BasicMathlib.Algebra.BigOperators.PiMathlib.Algebra.BigOperators.Ring.FinsetMathlib.Algebra.Group.Action.DefsMathlib.Algebra.Order.BigOperators.Group.FinsetMathlib.Algebra.Order.BigOperators.Ring.FinsetMathlib.Algebra.Order.Field.BasicMathlib.Algebra.Order.Ring.RatMathlib.Data.Finite.SigmaMathlib.Data.Finset.MaxMathlib.Data.Fintype.BigOperatorsMathlib.Data.Fintype.CardMathlib.Data.Fintype.EquivFinMathlib.Data.Fintype.LatticeMathlib.Data.Fintype.PiMathlib.Data.Fintype.PigeonholeMathlib.Data.Fintype.SortMathlib.Data.Nat.BitwiseMathlib.Data.Prod.LexMathlib.Data.Set.CardMathlib.Data.Set.Finite.LemmasMathlib.Dynamics.FixedPoints.BasicMathlib.Logic.Equiv.Fin.BasicMathlib.Logic.Equiv.ProdMathlib.ModelTheory.ComplexityMathlib.ModelTheory.GraphMathlib.ModelTheory.OrderMathlib.ModelTheory.SemanticsMathlib.ModelTheory.SyntaxMathlib.Order.Hom.SetMathlib.Order.Lattice.NatMathlib.Order.PiLexMathlib.SetTheory.Cardinal.FiniteMathlib.Tactic.FieldSimpMathlib.Tactic.FinCasesMathlib.Tactic.LinarithMathlib.Tactic.Ring
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments