| VFS_PAGE_SIZE = n0 + n2, files0[m0] = mkfile(m, md0, # links(m0, dirs), content0), n2 < VFS_PAGE_SIZE, afs-cons(dirs, files0), m0 ∈ files0, m1 ∈ content0 ⊦ [asynced := ?] ( ((content0.stream to m1 * VFS_PAGE_SIZE + n2) + (σ⊥ to n0) to VFS_PAGE_SIZE * m1 + VFS_PAGE_SIZE) + σ⊥ to n1 + m1 * VFS_PAGE_SIZE + n2 = (content0.stream to m1 * VFS_PAGE_SIZE + n2) + (σ⊥ to n1)), n0 = 0, n1 = 0, n2 = 0, #((content0.stream to m1 * VFS_PAGE_SIZE + n2) + (σ⊥ to n0)) < ⌜VFS_PAGE_SIZE * m1 + VFS_PAGE_SIZE⌝ |
VFS_PAGE_SIZE = n0 + n2, files0[m0] = mkfile(m, md0, # links(m0, dirs), content0), n0 ≠ 0, n1 ≠ 0, n2 ≠ 0, n2 < VFS_PAGE_SIZE, afs-cons(dirs, files0), m0 ∈ files0, m1 ∈ content0 ⊦ [asynced := ?] ( ((content0.stream to m1 * VFS_PAGE_SIZE + n2) + (σ⊥ to n0) to VFS_PAGE_SIZE * m1 + VFS_PAGE_SIZE) + σ⊥ to n1 + m1 * VFS_PAGE_SIZE + n2 = (content0.stream to m1 * VFS_PAGE_SIZE + n2) + (σ⊥ to n1))
Used simplifier rules: ⊦ m ≤ m; (s)%fle: ⊦ m < n ∧ n ≤ n0 → m < n0; (forward) from specification nat%add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf%add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf% ⊦ m < n ↔ ¬ n ≤ m; (ss)% ⊦ ⌜n⌝ + ⌜m⌝ < ⌜n0⌝ ↔ n + m < n0; (s)% ⊦ ⌜n⌝ + n∞1 < ⌜n⌝ + n∞2 ↔ n∞1 < n∞2; (s)%mult-c: ⊦ m * n = n * m; from specification nat-mult%append-assoc: ⊦ (σ0 + σ3) + σ4 = σ0 + σ3 + σ4; from specification stream[buffer-inf]% ⊦ # σ⊥ = ∞; (s)%¬ # σ0 < ⌜n⌝ ⊦ #(σ0 to n) = ⌜n⌝ ; (s)% ⊦ ¬ ∞ < n∞; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ ⌜m + n⌝ = ⌜m⌝ + ⌜n⌝ ; (s)% ⊦ # content.stream = ∞; (s)% ⊦ #(σ0 + σ2) = # σ0 + # σ2; (s)