create account

Tauchain: Analysis of Proof Extraction by dana-edwards

View this thread on: hive.blogpeakd.comecency.com
· @dana-edwards · (edited)
$28.37
Tauchain: Analysis of Proof Extraction
Recently Ohad made significant progress in Github by implementing a proof extraction which allows negation. This is something I didn't even think was possible but apparently the code is beginning to work. Some are now asking what proof extract is and why it's so important. I'm ready to dive into the "what is proof extraction" rather than "why is proof extraction necessary". It would seem for those technically inclined that proof extraction is necessary for an optimization purpose because BDDs seem to require this step, but I'm not intimate with the code base to give the precise reasoning as to why Ohad is making that decision other than from an observer making an educated guess.

What is a Proof Tree?
----


To understand what proof extraction is we first need to understand what a proof tree is. A proof tree is a sort of data structure while a proof extraction is a sort of compressed representation of the data within a proof tree. A proof tree is like a propositional logic tree for those who would like to try and visualize.

- A proof tree is a tree with nodes, where each node can be a logical formula.
- Prolog (an ancestor language of Datalog and TML) uses the concepts of proof trees and proof search.


Useful quote:

> The idea here is that a proof is a finite tree. Each node of the tree is labelled by some assertion, and the proof is a proof of the assertion at the bottom-most node (which is the root of the tree, so these trees are drawn upside down compared to the trees in Chapter 1 of The Mathematics of Logic, or if you prefer the right way up compared to real biological trees). The pre-conditions required to make a proof step are the labels of the immediately preceding node or nodes, and there will be finitely many of these.

One of the key points in this quote is that a proof can be represented as a "finite" tree. TML and in specific Tauchain is based on partial fixed point logic which can deal with finite rather than infinite. Binary decision diagrams or BDDs are efficient means of representing the data in a way which is more friendly to  computer processing, but these BDDs seem to be in a compressed form. That is there could be information which might be lost (don't quote me on this because I'm no expert), but this lossiness possibility could be why proof extraction becomes a necessary step.

Proof extraction from BDDs
---

So if we know BDDs have proofs in them then we would need a way to extract them as necessary for certain optimizations or processing tasks. Proof extraction would then be a method of extracting proofs or "proof trees" from a BDD. BDD for those who need a  refresh are binary decision diagrams which essentially contain the same kind of data as proof trees but in a different form, and this data must be extracted to be translated or transformed or used for something else.

Proofs can be thought of as logic programs, more specifically TML programs. If there are more questions about this I can work on a follow up post and additionally you can directly ask Ohad for the next Monthly update Q/A.



References

------
1. https://github.com/IDNI/TML/commits/master
2. http://web.mat.bham.ac.uk/R.W.Kaye/logic/prooftrees.html
3. https://riptutorial.com/prolog/example/10551/proof-tree
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 93 others
properties (23)
authordana-edwards
permlinktauchain-analysis-of-proof-extraction
categorytauchain
json_metadata{"tags":["tauchain","crypto","tau","crypto-news"],"links":["https://github.com/IDNI/TML/commits/master","http://web.mat.bham.ac.uk/R.W.Kaye/logic/prooftrees.html","https://riptutorial.com/prolog/example/10551/proof-tree"],"app":"steemit/0.1","format":"markdown"}
created2019-09-16 20:26:48
last_update2019-09-16 20:32:27
depth0
children3
last_payout2019-09-23 20:26:48
cashout_time1969-12-31 23:59:59
total_payout_value14.311 HBD
curator_payout_value14.059 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,257
author_reputation353,623,611,191,427
root_title"Tauchain: Analysis of Proof Extraction"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,643,128
net_rshares70,377,624,522,766
author_curate_reward""
vote details (157)
@frankbacon ·
Highly rEsteemed!
properties (22)
authorfrankbacon
permlinkpxzqlq
categorytauchain
json_metadata{"tags":["tauchain"],"app":"steemit/0.1"}
created2019-09-17 19:39:27
last_update2019-09-17 19:39:27
depth1
children0
last_payout2019-09-24 19:39:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length17
author_reputation38,509,879,409,111
root_title"Tauchain: Analysis of Proof Extraction"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,674,184
net_rshares0
@smartsteem ·
👍
~Smartsteem Curation Team
properties (22)
authorsmartsteem
permlinkpxxyjv
categorytauchain
json_metadata{"tags":["tauchain"],"app":"steemit/0.1"}
created2019-09-16 20:35:54
last_update2019-09-16 20:35:54
depth1
children0
last_payout2019-09-23 20:35:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length27
author_reputation157,838,860,587,218
root_title"Tauchain: Analysis of Proof Extraction"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,643,375
net_rshares0
@tts ·
To listen to the audio version of this article click on the play image.
[![](https://s18.postimg.org/51o0kpijd/play200x46.png)](http://ec2-52-72-169-104.compute-1.amazonaws.com/dana-edwards__tauchain-analysis-of-proof-extraction.mp3)
Brought to you by [@tts](https://steemit.com/tts/@tts/introduction). If you find it useful please consider upvoting this reply.
properties (22)
authortts
permlinkre-tauchain-analysis-of-proof-extraction-20190916t204113
categorytauchain
json_metadata""
created2019-09-16 20:41:15
last_update2019-09-16 20:41:15
depth1
children0
last_payout2019-09-23 20:41:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length361
author_reputation-4,535,154,553,995
root_title"Tauchain: Analysis of Proof Extraction"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,643,510
net_rshares0