[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 12 from proof right-trim-app (previous step)

str1.last ∈ str, char0 ∈ str1.butlast, ∀ char. char ∈ str1 → char ∈ str, ∀ str0, str, str2. # str2 < # str1 → (∀ char. char ∈ str2 → char ∈ str) → string-right-trim(str, str0 + str2) = string-right-trim(str, str0) ⊦ str1 = "", str0 + str1 = "", string-right-trim(str, str0 + str1.butlast) = string-right-trim(str, str0), char0 ∈ str

User applied rule all left

And closed the goal!

Rule argument

pos: left 3 terms: char0 abort: F discard: F computed: T

Additional information

Used simplifier rules: butlast-in: ⊦ ¬ char ∈ str ∧ str ≠ "" → ¬ char ∈ str.butlast; Used terms: char0