Skip to content

Commit ed6b0f1

Browse files
committed
Update README
1 parent 16ac893 commit ed6b0f1

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

README.md

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

970
```bash

0 commit comments

Comments
 (0)