Documentation

Cedar.Thm.Validation.Slice.Reachable.Record

theorem Cedar.Thm.checked_eval_entity_reachable_record {request : Spec.Request} {nmax : Nat} {v : Spec.Value} {euid : Spec.EntityUID} {rxs : List (Spec.Attr × Spec.Expr)} {n : Nat} {c c' : Validation.Capabilities} {tx : Validation.TypedExpr} {env : Validation.TypeEnv} {entities : Spec.Entities} {path : List Spec.Attr} (hc : CapabilitiesInvariant c request entities) (hr : InstanceOfWellFormedEnvironment request entities env) (ht : Validation.typeOf (Spec.Expr.record rxs) c env = Except.ok (tx, c')) (hl : Validation.TypedExpr.EntityAccessAtLevel env tx n nmax path) (he : Spec.evaluate (Spec.Expr.record rxs) request entities = Except.ok v) (ha : Value.EuidViaPath v path euid) (hf : Data.Map.contains entities euid = true) (ih : ∀ (a : Spec.Attr) (x : Spec.Expr), (Data.Map.make rxs).find? a = some xCheckedEvalEntityReachable x) :
ReachableIn entities request.sliceEUIDs euid (n + 1)