Skip to content

Commit b279c87

Browse files
committed
Update README
1 parent 16ac893 commit b279c87

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

README.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,65 @@ This repository contains an implementation of Alpha Geometry, a system for devel
44

55
This implementation uses [Ascent](https://github.com/s-arash/ascent/tree/master), a logic programming language (similar to Datalog) embedded in Rust, for the deductive database component.
66

7+
## Example Problems
8+
9+
==> problems/contri_sas
10+
Initial Predicates:
11+
eqangle C A B F D E
12+
cong A B D E
13+
cong A B G H
14+
cong C A I G
15+
eqangle C A B H G I
16+
cong C A F D
17+
18+
Goals:
19+
contri1 A B C D E F
20+
contri2 A B C G H I
21+
22+
=== Iteration 1 ===
23+
Predicates known: 6 / Goals Known: 0 / Goals: 2
24+
Missing Goals: contri1 A B C D E F contri2 A B C G H I
25+
<span style="color:orange">Found: contri1 D E F A B C via sas_cong</span>
26+
<span style="color:green">Found: contri2 A B C G H I via sas_cong</span>
27+
Added 2020 new predicates
28+
29+
============================================================
30+
[1] eqangle C A B F D E | axiom
31+
[2] cong A B D E | axiom
32+
[3] cong A B G H | axiom
33+
[4] cong C A I G | axiom
34+
[5] eqangle C A B H G I | axiom
35+
[6] cong C A F D | axiom
36+
[7] contri2 G H I A B C | sas_cong [4],[3],[5]
37+
[8] eqangle I G H B A C | sub_deduction [7]
38+
<span style="color:green">[9] contri1 A C B D F E | sas_cong [1],[6],[2]</span>
39+
[10] eqangle B A C E D F | sub_deduction [9]
40+
<span style="color:green">[11] contri2 A B C G H I | sas_cong [8],[4],[3]</span>
41+
[12] contri2 A B C G H I | sas_cong [6],[10],[2]
42+
<span style="color:green">Solved!</span>
43+
44+
45+
==&gt; problems/para_trans
46+
/Users/geo/Documents/prgm/alphageometry-ascent/temp_ggb_extraction/geogebra.xml
47+
Initial Predicates:
48+
para A B C D
49+
para A B E F
50+
51+
Goals:
52+
para C D E F
53+
54+
=== Iteration 1 ===
55+
Predicates known: 2 / Goals Known: 0 / Goals: 1
56+
Missing Goals: para C D E F
57+
<span style="color:orange">Found: para C D F E via AR</span>
58+
Added 491 new predicates
59+
60+
============================================================
61+
[1] para A B C D | axiom
62+
[2] para A B E F | axiom
63+
<span style="color:green">[3] para C D F E | AR [1],[2]</span>
64+
<span style="color:green">Solved!</span>
65+
766
To run all the problems in this repository use [`uv`](https://docs.astral.sh/uv/) to run:
867

968
```bash

0 commit comments

Comments
 (0)