Thursday, May 2, 2019

Алгебра предикатов для задач 18 с ДЕЛ() ЕГЭ Информатика versus Информатик БУ Видео Ролики

 Прослушаем и посмотрим сначала
 https://www.youtube.com/watch?time_continue=17&v=tLjdVS9UfR4


   Решение той же задачи при ясном понимании определеия предиката

    D(a,x) ={ 1 : x mod a = 0; 
                  0 : x mod a !=0 }

Решение

Я опускаю квантор всеобщности и зависимости D(k,x)
предикатов от х используя знак тождества "≡"
 
  D(18) => (¬D(A) => ¬D(12)) ≡ 1
¬D(18) + D(A) + ¬D(12) ≡ 1
¬(D(2)*D(3^2)) + D(A) + ¬(D(2^2)*D(3)) ≡ 1
¬D(2) + ¬D(3^2) + D(A) + ¬D(2^2) + ¬D(3) ≡ 1


Заметим, что ¬D(2^2) очевидно поглощает ¬D(2),
 a   ¬D(3^2) очевидно поглощает ¬D(3).


Поглощение предикатов типа  ¬D( ) из одного базиса
в дизъюнкции и подавление предикатов типа D( ) из 
одного базиса в конъюнции ( смотри, например ,
https://mapping-metod.blogspot.com/2019/04/shooting-domogarovs-problem-with-d5940.html  )
делает исчисление, построенное Еленой А. Мирончик универсальным подходом, конвертирующим задачу на ДЕЛ()
любой сложности в простое уравнение в ДЕЛ() предикатах
( смотри, например, https://mapping-metod.blogspot.com/2019/04/basic-predicates-technique-developed-by.html  )


Получаем
¬D(3^2) + D(A) + ¬D(2^2) ≡ 1
¬(D(9)*D(4)) + D(A)  ≡ 1
¬D(36) + D(A) ≡ 1
D(36) => D(A) ≡ 1
Таким Образом
А(min) = 36

Wednesday, May 1, 2019

Mixing predicates of the type DEL() and E() in the Unified State Exam's Informatics problem №18 based on the most recent work of Helen Mironchick



The tasks formulated below use the identity linking the predicates 
D(k,x) and E(k,x) as follows: - 

D(2^k) + E(2^k - 1) ≡ 1

No. 142 (Clone) Let us denote by DEL (n, m) the statement “a natural number n divisible by a natural number m”. For what is the smallest natural number And the formula
(DEL (A, x)^¬E (15,x)) => (E (15, x) v DEL(24, x))
is identically true (that is, it takes the value 1 for any natural value of the variable x)?

No. 144 (Clone) Let us denote by DEL (n, m) the statement “a natural number n divisible by a natural number m”. For what is the smallest natural number And the formula
(DEL(A, x)^DEL(24, x)^E (15, x)) => ¬DEL(A, x)
is identically true (that is, it takes the value 1 for any natural value of the variable x)?



******************
Solve one new
******************
Denote by DEL (n, m) the statement "a natural number n is divided without a remainder by a positive integer m". For what is the smallest natural number And the formula   

(¬E(15, x)^¬D(56, x)) => (¬D(A, x) v E(15, x)) ≡ 1
is identically true (that is, it takes the value 1 for any natural value of the variable x)?


Solution
(¬E (15)^¬D (56)) => (¬D (A) v E (15)) ≡ 1
Since D (16) = ¬E (15) we get
(D (16)^¬D (56)) => (¬D (A) v ¬D (16) 1
¬D (2^4) v D (2^3)^D (7) + ¬D (A) 1
(D (2^4) => D (2^3) ^ (¬D (2^4) v D (7)) + ¬D (A) 1
¬D (2^4) v D (7) + ¬D (A) ≡ 1
Thus  A (min) = 7


Consider a new clone of an original sample proposed by the development lead just this afternoon.  

Find the smallest A providing the identical truth of   

¬E(64) v D (64) ^ ¬D (128) v E (A) ≡ 1

Notice that
¬D(128)=E(127)=E(64) v E(63)
and proceed as follows

¬E(64) v ¬E(63)^(E(64) v E(63)) v E(A) ≡ 1
¬E(64) v ¬E(63)^E(64) v E(A) ≡ 1
Suppress Е(64) in conjunction above

¬E(64) v ¬E(63) v E(A) ≡ 1
Thus А(min) = 63 

One more sample 

 Find the largest A providing the identical
 the truth of  E(1023) v D(1024)^
¬E(A) ≡ 1
    (E(1023) v D(1024))^(E(1023) v ¬E(A)) ≡ 1
   E(1023) v ¬E(A) ≡ 1
Thus A(max) =1023

Mixing predicates of the type DEL() and E() in the Unified State Exam's Informatics problem №18 based on the most recent work of Helen Mironchick (Informatics at school №3 2019)

  Задачи сформулированные далее используют тождество связывающее предикаты D(k,x) и E(k,x) следующим образом  : -   D(2^k) + E(2^k - 1) ≡ 1


№ 142 (Clone) Обозначим через ДЕЛ(n, m) утверждение «натуральное число n делится без остатка на натуральное число m». Для какого наименьшего натурального числа А формула

(ДЕЛ(А,x) ^ ¬E(15, x)) =>  (E(15,x) v ДЕЛ(24,x))
тождественно истинна (то есть принимает значение 1 при любом натуральном значении переменной х)?

№ 144(Clone) Обозначим через ДЕЛ(n, m) утверждение «натуральное число n делится без остатка на натуральное число m». Для какого наименьшего натурального числа А формула

(ДЕЛ(A,x) ^ ДЕЛ(24,x) ^ E(15,x)) =>  ¬ДЕЛ(A,x)
тождественно истинна (то есть принимает значение 1 при любом натуральном значении переменной х)?
*******************************
Решим одну новую
*******************************
Обозначим через ДЕЛ(n, m) утверждение «натуральное число n делится без остатка на натуральное число m». Для какого наименьшего натурального числа А формула
                (¬E(15,x) ^ ¬D(56,x)) => (¬D(A,x) v E(15,x)) ≡ 1
тождественно истинна (то есть принимает значение 1 при любом натуральном значении переменной х)?

Решение


(¬E(15) ^ ¬D(56)) => (¬D(A) v E(15)) ≡ 1

Поскольку D(16) = ¬E(15) получаем

(D(16) ^ ¬D(56)) => (¬D(A) v ¬D(16) ≡ 1

¬D(2^4) v D(2^3)^D(7) + ¬D(A) ≡ 1

(D(2^4) => D(2^3)^( ¬D(2^4) v D(7)) + ¬D(A) ≡ 1

¬D(2^4) v D(7) + ¬D(A) ≡ 1

Откуда A(min) = 7

Consider a new clone of an original
sample proposed by the development lead
just this afternoon 
Find the smallest A providing the identical
the truth of ¬E(64) v D (64) ^ ¬D (128) v E (A) ≡ 1

Notice that
¬D(128)=E(127)=E(64) v E(63)
and proceed as follows

¬E(64) v ¬E(63)^(E(64) v E(63)) v E(A) ≡ 1
¬E(64) v ¬E(63)^E(64) v E(A) ≡ 1
Suppress Е(64) in conjunction above

¬E(64) v ¬E(63) v E(A) ≡ 1
Thus А(min) = 63 

One more sample 

 Find the largest A providing the identical
 the truth of 
E(1023) v D(1024)^
¬E(A) ≡ 1

(E(1023) v D(1024))^(E(1023) v ¬E(A)) ≡ 1
E(1023) v ¬E(A) ≡ 1

Thus A(max) =1023



Tuesday, April 30, 2019

Solution of challenging equation with mixed basic predicates of type E() && DEL() via technique proposed by Helen Mironchick

Posting as common article with Helen Mironchick.

Denote by DEL (n, m) the statement "a natural number n is divided without a remainder by a positive integer m". For what is the smallest natural number A, the formula
    (D(34)⊕D(51) => ¬D(A)^D(272)) v Е(15) ≡ 1  
is identically true (that is, it takes the value 1 for any natural value of the variable x)?


Further notice belongs to Helen :-

D(16) = ¬E(1)*¬E(2)*¬E(4)*¬E(8) = 
   =  ¬(E(1) v E(2) v E(4) v E(8)) = ¬E(15)
E(15)=¬D(16)

Convert original equation from implication to disjunction

(D(34)≡D(51)) v ¬D(A)^D(272)) v ¬D(16) ≡ 1
D(34)^D(51) v ¬D(34)^¬D(51) v ¬D(A)^D(272)) v ¬D(16) ≡ 1

D(34)^D(51) v ¬D(34)^¬D(51) v ¬D(A)^D(17)^D(16) v ¬D(16) ≡ 1

Suppress D(17) in first and fourth terms via ¬D(17),
then suppress D(2^4) via ¬D(2^4) in fourth term


D(34) = D(2)^D(17)
D(51) = D(3)^D(17)
D(31)^D(51) = D(2)^D(3)^D(17)

¬D(34) = (¬D(2) v ¬D(17))
¬D(51) = (¬D(3) v ¬D(17))

¬D(34)^¬D(51) = ¬D(2)^¬D(3) v ¬D(17)

D(2)^D(3)^D(17) v ¬D(2)^¬D(3) v ¬D(17) v 

  v  ¬D(A)^D(17)^D(2^4) v ¬D(2^4) ≡ 1

D(6) v ¬D(2)^¬D(3) v ¬D(17) v ¬D(A) v ¬D(2^4) ≡ 1

Thus A(min) = 6

Refences 
1. A. Mironchik, ALGEBRA OF PREDICATES AND RELATED GEOMETRIC MODELS CREATION IN REGARDS OF UNIFIED STATE EXAMINATION IN INFORMATICS (RUSSIAN EGE) ,
Informatics at school №3 , 2019

Saturday, April 27, 2019

Basic predicates technique developed by Helen Mironchick for problem #18 of DEL(X) type

Denote by DEL (n, m) the statement "a natural number n is divided without a remainder by a positive integer m". For what is the smallest natural number A, the formula
    (D(34)⊕D(51) => ¬D(A)^D(425)) v ¬D(125) ≡ 1  
is identically true (that is, it takes the value 1 for any natural value of the variable x)?


Convert original equation from implication to disjunction

(D(34)≡D(51)) v ¬D(A)^D(425)) v ¬D(125) ≡ 1
D(34)^D(51) v ¬D(34)^¬D(51) v ¬D(A)^D(425)) v ¬D(125) ≡ 1

Supress D(17) in first and fourth terms via ¬D(17),
then supress D(5^2) via ¬D(5^3) in fourth term


D(34) = D(2)^D(17)
D(51) = D(3)^D(17)
D(31)*D(51) = D(2)^D(3)^D(17)

¬D(34) = (¬D(2) v ¬D(17))
¬D(51) = (¬D(3) v ¬D(17))

¬D(34)*¬D(34) = ¬D(2)*¬D(3) v ¬D(17)

D(2)^D(3)^D(17) v ¬D(2)^¬D(3) v ¬D(17) v 

  v  ¬D(A)^D(17)^D(5^2) v ¬D(5^3) ≡ 1

D(6) v ¬D(2)^¬D(3) v ¬D(17) v ¬D(A) v ¬D(5^3) ≡ 1

Thus A(min) = 6

 




Friday, April 26, 2019

Shooting Domogarov's problem with D(5940) via techique of expansion into basic predicates developed by Helen A. Mironchick

Key features of the technique are the suppression of
factors in conjunction having type D(k^n) and the absorption
of a logic factors of the same type or a logical terms
in disjunction of the type ¬D(k^s), when factors or terms 
belong to the same basic class
 

See for details "Informatics at School №3 2019"


Just remind core Helen's definition :-
Define predicate 
 D(a,x) ={ 1 : x mod a = 0; 
                0 : x mod a !=0 }

Notice that when n >= m we get
   ¬D(k^n) + D(k^m)*Whatever =

     (D(k^n)=>D(k^m)*(¬D(k^n) + Whatever) =
    ¬D(k^n) + Whatever

I omit the universal quantifier and the predicate's 
dependence on "x", due to using the sign of the identity  "≡"

Now proceed as follows 
¬D(6300) + D(5940) + ¬D(A) ≡ 1
¬(D(2^2)*D(3^2)*D(5^2)*D(7))  + 

            D(2^2)*D(3^3)*D(5)*D(11) + ¬D(A) ≡ 1

Apply De Morgan rules to  ¬(D(2^2)*D(3^2)*D(5^2)*D(7))
¬D(2^2) + ¬D(3^2) + ¬D(5^2) + ¬D(7) +
         + D(2^2)*D(3^3)*D(5)*D(11) + ¬D(A) ≡ 1

Here we clearly see that factor D(3^3) cannot be suppressed
Suppress D(2^2)*D(5) in conjunction D(2^2)*D(3^3)*D(5)*D(11)
Finally obtain :-
¬D(2^2) + ¬D(3^2) + ¬D(5^2) + ¬D(5)) + ¬D(7) + 

           + D(3^3)*D(11) + ¬D(A) ≡ 1
¬D(2^2) + ¬D(3^2) + ¬D(5^2) + ¬D(5)) + ¬D(7) + D(297) + ¬D(A) ≡ 1
(D(A) => D(297) + . . . . .  ≡ 1

Thus A(min) =297


Сравни с http://информатика23.рф/wp-content/uploads/2017/05/232-1.pdf 

Wednesday, April 24, 2019

Решение системы булевских уравнений №122 (файл ege23.pdf) методом отображений



Исходная система


(x1vx2)^(x1^x2=>x3)^¬(x1^y1) =1
(x2vx3)^(x2^x3=>x4)^¬(x2^y2) =1
(x3vx4)^(x3^x4=>x5)^¬(x3^y3) =1
(x4vx5)^(x4^x5=>x6)^¬(x4^y4) =1
(x5vx6)^(x5^x6=>x7)^¬(x5^y5) =1
(x6vx7)^¬(x6^y6) =1
x7^y7 =0

(x1vx2)^(x1^x2=>x3)^¬(x1^y1) =1
(x2vx3)^(x2^x3=>x4)^¬(x2^y2) =1
(x3vx4)^(x3^x4=>x5)^¬(x3^y3) =1
(x4vx5)^(x4^x5=>x6)^¬(x4^y4) =1
(x5vx6)^(x5^x6=>x7)^¬(x5^y5) =1
(x6vx7)^¬(x6^y6)^¬(x7^y7)   =1



   Оригинальная идея этого подхода  принадлежит Е.А. Мирончик
   Смотри Р-27 решение Е.А. Мирончик файл ege23.doc

    Контроль по Полякову