| isroot(g)(a), haspathanylength(g)(a), ∀ x. x ≠ [] ∧ pathp(g)(⌜x⌝ ) ∧ haspathanylength(g)(x.last) → (∃ b. cf(x) = x + b ') ∧ pathp(g)(⌜cf(x)⌝ ) ∧ haspathanylength(g)(cf(x).last) ⊦ # ((cf ^ n))(a ') = n + 1 ∧ haspathanylength(g)(((cf ^ n))(a ').last) ∧ pathp(g)(⌜((cf ^ n))(a ')⌝ ) |
isroot(g)(a), haspathanylength(g)(a), ∀ x. x ≠ [] ∧ pathp(g)(⌜x⌝ ) ∧ haspathanylength(g)(x.last) → (∃ b. cf(x) = x + b ') ∧ pathp(g)(⌜cf(x)⌝ ) ∧ haspathanylength(g)(cf(x).last) ⊦ # ((cf ^ 0))(a ') = 0 + 1 ∧ haspathanylength(g)(((cf ^ 0))(a ').last) ∧ pathp(g)(⌜((cf ^ 0))(a ')⌝ )
∀ g, a, cf. isroot(g)(a) ∧ haspathanylength(g)(a) ∧ (∀ x. x ≠ [] ∧ pathp(g)(⌜x⌝ ) ∧ haspathanylength(g)(x.last) → (∃ b. cf(x) = x + b ') ∧ pathp(g)(⌜cf(x)⌝ ) ∧ haspathanylength(g)(cf(x).last)) → # ((cf ^ m))(a ') = m + 1 ∧ haspathanylength(g)(((cf ^ m))(a ').last) ∧ pathp(g)(⌜((cf ^ m))(a ')⌝ ), isroot(g)(a), haspathanylength(g)(a), ∀ x. x ≠ [] ∧ pathp(g)(⌜x⌝ ) ∧ haspathanylength(g)(x.last) → (∃ b. cf(x) = x + b ') ∧ pathp(g)(⌜cf(x)⌝ ) ∧ haspathanylength(g)(cf(x).last) ⊦ # ((cf ^ m +1))(a ') = m +1 + 1 ∧ haspathanylength(g)(((cf ^ m +1))(a ').last) ∧ pathp(g)(⌜((cf ^ m +1))(a ')⌝ )
Used simplifier rules: nat freely generated by 0, +1;;