Documentation

Cedar.TPE.Evaluator

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Cedar.TPE.instDecidableEqError.decEq (x✝ x✝¹ : Error) :
      Decidable (x✝ = x✝¹)
      Equations
      Instances For
        Equations
        Instances For
          Equations
          Instances For
            Equations
            Instances For
              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
                      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
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                @[irreducible]
                                Equations
                                Instances For

                                  Partially evaluating a policy. Note that this function actually evaluates a type-lifted version of TypedExpr produced by the type checker, as opposed to evaluating the expression directly. This design is to simplify proofs otherwise we need to prove theorems that state type-lifting (i.e, TypedExpr.liftBoolTypes) do not change the results of evaluating residuals. The soundness theorem still holds. That is, reauthorizing the residuals produces the same outcome as authorizing the input expressions with consistent requests/entities. It is just that the types in the residuals are all lifted. We essentially trade efficiency for ease of proofs, which I (Shaobo) think is fine because the Lean model is a reference model not used in production.

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