theorem abstain_builds_a_silent_rule :
(abstain "him" on "/logs").outcome = .notApplicable := ⊢ { equivalent := fun req => req.user == "him" && req.resource == "/logs", outcome := Decision.notApplicable }.outcome =
Decision.notApplicable
All goals completed! 🐙
theorem inline_abstain_is_silent :
evaluate [abstain "him" on "/logs"] ⟨"him", "read", "/logs"⟩ = .notApplicable := ⊢ evaluate [{ equivalent := fun req => req.user == "him" && req.resource == "/logs", outcome := Decision.notApplicable }]
{ user := "him", action := "read", resource := "/logs" } =
Decision.notApplicable
All goals completed! 🐙