Skip to content

Commit d37c385

Browse files
committed
Update README
1 parent 16ac893 commit d37c385

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

README.md

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

972
```bash

0 commit comments

Comments
 (0)