Documentation

Lean.Meta.Tactic.BVDecide.EPR.Basic

This module defines many-sorted EPR problems and their BitVec encoding.

Identifies a sort in a many-sorted EPR problem.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      Instances For

        Information about a particular sort in a many-sorted EPR problem.

        • type : Expr

          The Lean level type of the elements in this sort.

        • level : Level

          The Level u of type : Type u.

        • elements : Array Expr

          The elements of the sort as expressions. Every element is expected to have syntactically the same Lean type.

          We would usually expect these to be free variables from the goal but this is not guaranteed.

        Instances For
          @[inline]

          Cardinality of the sort, i.e. the amount of elements it carries.

          Equations
          Instances For
            @[inline]

            An expression representing the Nat cardinality value of the sort.

            Equations
            Instances For
              @[inline]

              The default element of the sort.

              Equations
              Instances For

                Information about a particular predicate in a many-sorted EPR problem.

                • argumentSorts : Array SortId

                  For each of the predicate's arguments the sort it belongs to.

                • encoding : PredEncoding

                  Whether the predicate goes to Prop or Bool.

                Instances For

                  A quantified fact in a many-sorted EPR problem.

                  • The fact itself, we expect that it has boundSorts.size leading universal quantifiers, followed by an unquantified body.

                  • boundSorts : Array SortId

                    For each of the leading quantifiers the sort it belongs to.

                  Instances For
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        A many-sorted EPR problem.

                        • Information about the sorts participating in the problem.

                        • A map from sort element expressions to their associated sort.

                        • Information about the predicates participating in the problem.

                        • groundFacts : Array Normalize.Hyp

                          The ground facts participating in the problem.

                        • quantifiedFacts : Array QuantifiedFact

                          The quantified facts participating in the problem. Expected to start with some amount of leading ∀ followed by a quantifier free body.

                        Instances For

                          Information about a BitVec encoded sort in a many-sorted EPR problem.

                          Instances For
                            @[inline]

                            The BitVec type associated with the sort described by info.

                            Equations
                            Instances For
                              @[inline]

                              Apply the sorts BitVec injection to e.

                              Equations
                              Instances For

                                A BitVec encoded many-sorted EPR problem.

                                Instances For