Skip to content

Commit e9f5bdc

Browse files
author
GBathie
committed
Simplify proofs
1 parent 1f20be4 commit e9f5bdc

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

BoltLean/Ltl/UpperBound.lean

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -265,16 +265,12 @@ theorem UpperBound (pos: List (Trace n)) (neg: List (Trace n)) (h: ∀ t ∈ pos
265265
. intro t ht he
266266
unfold UpperBoundFormula at he
267267
simp at he
268-
have h1 := foldr_or_aux_rev (List.map Trace.exact pos) t he
269-
match h1 with
270-
| ⟨f, hf⟩ =>
271-
have hf2 : ∃ t ∈ pos, f = t.exact := by
272-
apply list_map_contains
273-
exact hf.left
274-
match hf2 with
275-
| ⟨t', ht'⟩ =>
276-
have hf3 := hf.right
277-
rw [ht'.right] at hf3
278-
rw [Trace.exact_correct] at hf3
279-
apply h t' ht'.left t ht
280-
exact hf3
268+
have ⟨f, hf⟩ := foldr_or_aux_rev (List.map Trace.exact pos) t he
269+
have ⟨t', ht'⟩ : ∃ t ∈ pos, f = t.exact := by
270+
apply list_map_contains
271+
exact hf.left
272+
have hf3 := hf.right
273+
rw [ht'.right] at hf3
274+
rw [Trace.exact_correct] at hf3
275+
apply h t' ht'.left t ht
276+
exact hf3

0 commit comments

Comments
 (0)