Documentation

Auto.Translation.LamUtils

@[reducible, inline]
abbrev Auto.LamCstrD.Nat.modEq (n a b : Nat) :
Equations
Instances For
    @[reducible, inline]
    abbrev Auto.LamCstrD.Nat.ge (x y : Nat) :
    Equations
    Instances For
      @[reducible, inline]
      abbrev Auto.LamCstrD.Nat.gt (x y : Nat) :
      Equations
      Instances For
        @[reducible, inline]
        abbrev Auto.LamCstrD.Nat.max (x y : Nat) :
        Equations
        Instances For
          @[reducible, inline]
          abbrev Auto.LamCstrD.Nat.min (x y : Nat) :
          Equations
          Instances For
            @[reducible, inline]
            abbrev Auto.LamCstrD.Int.modEq (n a b : Int) :
            Equations
            Instances For
              @[reducible, inline]
              abbrev Auto.LamCstrD.Int.ge (a b : Int) :
              Equations
              Instances For
                @[reducible, inline]
                abbrev Auto.LamCstrD.Int.gt (a b : Int) :
                Equations
                Instances For
                  @[reducible, inline]
                  abbrev Auto.LamCstrD.Int.max (x y : Int) :
                  Equations
                  Instances For
                    @[reducible, inline]
                    abbrev Auto.LamCstrD.Int.min (x y : Int) :
                    Equations
                    Instances For
                      @[reducible, inline]
                      Equations
                      Instances For
                        @[reducible, inline]
                        Equations
                        Instances For
                          @[reducible, inline]
                          abbrev Auto.LamCstrD.BitVec.uge {n : Nat} (a b : BitVec n) :
                          Equations
                          Instances For
                            @[reducible, inline]
                            abbrev Auto.LamCstrD.BitVec.ugt {n : Nat} (a b : BitVec n) :
                            Equations
                            Instances For
                              @[reducible, inline]
                              abbrev Auto.LamCstrD.BitVec.sge {n : Nat} (a b : BitVec n) :
                              Equations
                              Instances For
                                @[reducible, inline]
                                abbrev Auto.LamCstrD.BitVec.sgt {n : Nat} (a b : BitVec n) :
                                Equations
                                Instances For
                                  @[reducible, inline]
                                  Equations
                                  Instances For
                                    @[reducible, inline]
                                    Equations
                                    Instances For
                                      @[reducible, inline]
                                      Equations
                                      Instances For
                                        @[reducible, inline]
                                        Equations
                                        Instances For
                                          @[reducible, inline]
                                          Equations
                                          Instances For
                                            @[reducible, inline]
                                            Equations
                                            Instances For
                                              @[reducible, inline]
                                              Equations
                                              Instances For
                                                @[reducible, inline]
                                                Equations
                                                Instances For
                                                  @[reducible, inline]
                                                  abbrev Auto.LamCstrD.BitVec.smtHshiftLeft {n m : Nat} (a : BitVec n) (b : BitVec m) :
                                                  Equations
                                                  Instances For
                                                    @[reducible, inline]
                                                    abbrev Auto.LamCstrD.BitVec.smtHushiftRight {n m : Nat} (a : BitVec n) (b : BitVec m) :
                                                    Equations
                                                    Instances For
                                                      @[reducible, inline]
                                                      abbrev Auto.LamCstrD.BitVec.smtHsshiftRight {n m : Nat} (a : BitVec n) (b : BitVec m) :
                                                      Equations
                                                      Instances For
                                                        Equations
                                                        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

                                                              Collect type atoms in a LamBaseTerm

                                                              Equations
                                                              Instances For

                                                                The first hashset is the type atoms The second hashset is the term atoms The third hashset is the term etoms This function is called when we're trying to export terms from λ to external provers, e.g. Lean/Duper Therefore, we expect that eqI, forallEI, existEI and ``ite'does not occur in theLamTerm`

                                                                Equations
                                                                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
                                                                      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
                                                                          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
                                                                              Equations
                                                                              Instances For
                                                                                Equations
                                                                                Instances For

                                                                                  Takes a s : LamSort and produces the un-lifted version of s.interp (note that s.interp is lifted)

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

                                                                                      Takes a t : LamTerm and produces the un-lifted version of t.interp. lctx is for pretty printing

                                                                                      Note that etoms generated by the verified checker do not directly correspond to Lean expressions. Therefore, we need to introduce new free variables to represent etoms.

                                                                                      Equations
                                                                                      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
                                                                                            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
                                                                                                Equations
                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                Instances For