LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how to build a "theorem prover" in Excel

My objective is to teach formal logic (some theorems of propositional logic)
to people who may know the Excel basic functions and have some knowledge of
logic.

My idea is to use a very simple true table, so I can give it in a beginners
class.

Example : I want to prove the formula : (A^ B) - B

1st STEP (done!)
column A is associated to the function "A", in Excel
column B is associated to the function "B", in Excel
columns A, B., have the logic values of A and B
column C has the formula to prove

TABLE
A B (A^ B ) - B
1 0 0 = OR ((A*B) <= B) +0
2 1 0 = OR ((A*B) <= B) +0
3 0 1 = OR ((A*B) <= B) +0
4 1 1 = OR ((A*B) <= B) +0

result
A B (A^ B ) - B
1 0 0 1
2 1 0 1
3 0 1 1
4 1 1 1

So the given formula is true for all the values of A and B.

2nd STEP
It is given the formula (A^ B) - B written in cell C1,
and the true table must verify it automatically.
I tried the text functions, but it does not work

A B C
1 (A*B ) =< B
2 0 0 = ?
3 1 0 = ?
4 0 1 = ?
5 1 1 = ?

expected result
A B C
1 (A*B ) =< B
2 0 0 1
3 1 0 1
4 0 1 1
5 1 1 1

Any ideas ?

sorry for my English

Regards
Alvaro


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the column heading in Excel to display "A" "B" "C Thai New Users to Excel 1 November 30th 07 08:06 PM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Help!!! Enter "7" in a cell and Excel changes the "7" to "11" immediately!!! [email protected] Excel Discussion (Misc queries) 3 January 5th 07 02:18 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 05:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"