Prova:

{ true } [if(expBool(igual, ide(x), num(0)), [atribui(x, num(1))], [skip])] { true } { ( true and ( x = 0 ) ) } [atribui(x, num(1))] { true } ( ( true and ( x = 0 ) ) => true ) { true } [atribui(x, num(1))] { true } { ( true and not ( x = 0 ) ) } [skip] { true } { ( true and not ( x = 0 ) ) } [skip] { ( true and not ( x = 0 ) ) } ( ( true and not ( x = 0 ) ) => true )

Sentenças a serem provadas:

( ( true and not ( x = 0 ) ) => true ) ( ( true and ( x = 0 ) ) => true )

Prova:

{ true } [if(expBool(igual, ide(x), num(0)), [atribui(x, num(1))], [skip])] { true } ( true => not ( x = 0 ) ) { not ( x = 0 ) } [if(expBool(igual, ide(x), num(0)), [atribui(x, num(1))], [skip])] { true } { ( not ( x = 0 ) and ( x = 0 ) ) } [atribui(x, num(1))] { true } ( ( not ( x = 0 ) and ( x = 0 ) ) => true ) { true } [atribui(x, num(1))] { true } { ( not ( x = 0 ) and not ( x = 0 ) ) } [skip] { true } { ( not ( x = 0 ) and not ( x = 0 ) ) } [skip] { ( not ( x = 0 ) and not ( x = 0 ) ) } ( ( not ( x = 0 ) and not ( x = 0 ) ) => true )

Sentenças a serem provadas:

( true => not ( x = 0 ) ) ( ( not ( x = 0 ) and not ( x = 0 ) ) => true ) ( ( not ( x = 0 ) and ( x = 0 ) ) => true )

Prova:

{ true } [if(expBool(igual, ide(x), num(0)), [atribui(x, num(1))], [skip])] { true } ( true => ( x = 0 ) ) { ( x = 0 ) } [if(expBool(igual, ide(x), num(0)), [atribui(x, num(1))], [skip])] { true } { ( ( x = 0 ) and ( x = 0 ) ) } [atribui(x, num(1))] { true } ( ( ( x = 0 ) and ( x = 0 ) ) => true ) { true } [atribui(x, num(1))] { true } { ( ( x = 0 ) and not ( x = 0 ) ) } [skip] { true } { ( ( x = 0 ) and not ( x = 0 ) ) } [skip] { ( ( x = 0 ) and not ( x = 0 ) ) } ( ( ( x = 0 ) and not ( x = 0 ) ) => true )

Sentenças a serem provadas:

( true => ( x = 0 ) ) ( ( ( x = 0 ) and not ( x = 0 ) ) => true ) ( ( ( x = 0 ) and ( x = 0 ) ) => true )