Documentation

Cedar.Thm.TPE.Soundness.GetAttr

theorem Cedar.Thm.partial_evaluate_is_sound_get_attr {env : Validation.TypeEnv} {x₁ : Spec.Residual} {req : Spec.Request} {es : Spec.Entities} {preq : TPE.PartialRequest} {pes : TPE.PartialEntities} {attr : Spec.Attr} {ty : Validation.CedarType} (h₄ : RequestAndEntitiesRefine req es preq pes) (hᵢ₁ : Except.toOption (x₁.evaluate req es) = Except.toOption ((TPE.evaluate env x₁ preq pes).evaluate req es)) :
Except.toOption ((x₁.getAttr attr ty).evaluate req es) = Except.toOption ((TPE.evaluate env (x₁.getAttr attr ty) preq pes).evaluate req es)