Tree of Knowledge is an inspectable Java logic project for education and experimentation. Its original logic-tree work was developed by JAnica Tesla Zrinski as part of a university diploma project at PMF Zagreb (2002–2004). This repository preserves the author’s source, attribution, origin material, and licensing notice.
TreeOfKnowledge.eu is maintained separately as a static website. This repository contains the Java source, not the website project.
The checked-in Java source contains three desktop calculator applications:
- First-order logic —
firstorder.Calc - SIMPLE propositional tree —
propositional.Calc - Propositional minimization —
propMinimization.Calc
The propositional packages build formula trees and include parsing, normal-form transformations, and minimization code. The applications use Swing interfaces. The source is the authority for current behavior; descriptions of historical or intended behavior elsewhere are not proof that every case works today.
The repository also preserves written reviews, use-case material, and a recorded use-case result. These are separate documents and evidence, not modules or integrations in the TREE Java runtime. See the use case and the technical review.
Documents discussing OMNIX, Fidacy, or SignalLink describe proposed boundaries or synthetic examples only. This repository does not establish a native runtime integration, partnership, endorsement, or production deployment. See the proposed TREE–OMNIX boundary clarification and project status.
- Java Development Kit (JDK) 21 or newer. The Maven configuration targets Java 21.
- A graphical desktop environment to run the Swing calculators.
- Maven is optional for the direct compile-and-run steps below; no third-party Java dependencies are declared.
Run these commands from the repository root.
New-Item -ItemType Directory -Force .\out | Out-Null
$sources = Get-ChildItem .\java -Recurse -Filter *.java |
ForEach-Object { '"{0}"' -f $_.FullName.Replace('\', '/') }
$sources | Set-Content -Encoding ascii .\sources.txt
javac -d .\out '@sources.txt'
Remove-Item .\sources.txtLaunch one calculator:
java -cp .\out firstorder.Calc
java -cp .\out propositional.Calc
java -cp .\out propMinimization.Calcmkdir -p out
find java -name '*.java' -print > sources.txt
javac -d out @sources.txt
rm sources.txtLaunch one calculator:
java -cp out firstorder.Calc
java -cp out propositional.Calc
java -cp out propMinimization.CalcThese are desktop GUI applications, not command-line formula evaluators. A graphical environment is required to interact with them.
The parser’s active operator set in UIStrings.java includes negation (¬), conjunction (∧), disjunction (∨), implication (⇒), and equivalence (⇔). The alternate arrow glyphs → and ↔ appear only in comments and are not listed as active parser operators. XOR is not listed as a native operator.
De Morgan comparison (two equivalent formulas, not one expression to copy into the calculator):
- Original formula:
¬(P ∧ Q) - Transformed formula:
¬P ∨ ¬Q
The minimization code currently defines the propositional variables P, Q, R, and S. This is a current implementation limit, not a claim that the logic itself is limited to four propositions. See the development roadmap for planned work and evidence status.
For orientation, see the propositional quick start.
- This is a legacy desktop codebase; the repository does not currently provide a service API or a supported headless interface.
- The source and screenshots do not prove that every documented example or edge case has been tested. Consult the roadmap for the current state of open questions.
- The propositional minimization variables and native operators are limited to those present in the source.
- A logic result applies to supplied formulas and premises; TREE does not independently establish external facts, authority, or permission to act.
- No completed native integration with OMNIX, Fidacy, or SignalLink is claimed.
- The SignalLink review guide links to the preserved Drew Phillips / SignalLink Protocol LLC package and clearly separates its report-reported tests, manifest verification, and lack of an independent rerun. It remains a separate collaborator material, not a native TREE integration.
- Documentation index — curated entry points and evidence boundaries.
- Project status — current project and collaboration context.
- Existing assets — inventory of checked-in software and material.
- Development roadmap — prioritized technical work, with confirmed and unconfirmed items separated.
- Contributing — how to report and propose changes.
- Origin and licensing notice — preserve and read before reuse or redistribution.
java/— Java source;screenshots/— application screenshots.AllSourceCode4UPloadToAI-TreeOfKnowledge-1.0.0.zip— source bundle supplied with the repository.
Focused documentation corrections, reproducible bug reports, and bounded code proposals are welcome. Read CONTRIBUTING.md and the documentation index first. Use the repository’s GitHub Issue templates for bug reports and feature suggestions. Keep proposed architecture distinct from implemented TREE behavior, and preserve the license, original source, and attribution.