Skip to content

Commit

Permalink
[fsgraph] Improved proof of fsgedges_members by INSERT2_lemma
Browse files Browse the repository at this point in the history
  • Loading branch information
binghe committed Aug 13, 2023
1 parent 14c7760 commit f0312fc
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions examples/generic_finite_graphs/fsgraphScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -313,15 +313,7 @@ Theorem fsgedges_members :
Proof
rpt GEN_TAC >> STRIP_TAC
>> POP_ASSUM (STRIP_ASSUME_TAC o (MATCH_MP alledges_valid))
>> Cases_on ‘x = a’
>- (Q.PAT_X_ASSUM ‘{x;y} = {a;b}’ MP_TAC \\
rw [Once EXTENSION] >> METIS_TAC [])
>> Cases_on ‘x = b’
>- (Q.PAT_X_ASSUM ‘{x;y} = {a;b}’ MP_TAC \\
rw [Once EXTENSION] >> METIS_TAC [])
>> Q.PAT_X_ASSUM ‘{x;y} = {a;b}’ MP_TAC
>> rw [Once EXTENSION]
>> METIS_TAC []
>> fs [INSERT2_lemma]
QED

Theorem fsgedges_fsgAddEdge[simp] :
Expand Down

0 comments on commit f0312fc

Please sign in to comment.