Skip to content

Commit

Permalink
fix DUP in subgraph_iso
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyongkiam committed Nov 10, 2023
1 parent 8dab346 commit d4b8eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/pseudo_bool/graph_encoding/subgraph_isoScript.sml
Expand Up @@ -152,7 +152,7 @@ Proof
intLib.ARITH_TAC
QED

Theorem iSUM_sub_b2i_geq_0:
Theorem iSUM_sub_b2i_geq_0_all:
(∀x. MEM x ls ⇒ ∃y. x = 1 - b2i y) ⇒
(iSUM ls ≥ &(LENGTH ls) ⇔
∀i. i < LENGTH ls ⇒ EL i ls = 1)
Expand Down Expand Up @@ -187,7 +187,7 @@ Proof
Cases_on`y`>>fs[]>>
simp[GSYM integerTheory.INT_ADD,intLib.COOPER_PROVE``!n:int. n +1 -1 = n``]
>- (
DEP_REWRITE_TAC[iSUM_sub_b2i_geq_0] >>
DEP_REWRITE_TAC[iSUM_sub_b2i_geq_0_all] >>
CONJ_TAC >- metis_tac[]>>
rw[EQ_IMP_THM]
>- (
Expand Down

0 comments on commit d4b8eea

Please sign in to comment.