/* Given a string containing only letters 'A', prove that it cannot contain letter 'B'. The generation function F processes the string from the beginning. The Check function processes its argument from the end. This test is a slightly modified test_ba1.ref. */ /***********************************************/ /* the input program */ /***********************************************/ $ENTRY Go { e.x = >; } F { = ; t.x e.y = 'A' ; } Check { = 'T'; e.y 'B' = 'F'; e.Z t.y = ; } /***********************************************/ /* the residual program */ /***********************************************/ /* $ENTRY Go { e.x1 = ; } Check_13_0 { = 'T'; e.x1 'A' = ; } Check_0 { (e.x1) () = ; (e.x1) (t.y1 e.x2) = ; } */