Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiyu Yang authored Apr 26, 2024
1 parent 060e67d commit 3d68aef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ for tac in tactic_candidates:
```

The expected output is shown below. `<a>` and `</a>` are markers of premises in generated tactics. You should remove them when using the tactics.
```
rw [<a>Nat.gcd_comm</a>, <a>Nat.gcd_eq_left</a>]
```lean
rw [<a>Nat.gcd_comm</a>]
rw [<a>Nat.gcd_comm</a>]
rw [<a>Nat.gcd_comm</a>, <a>Nat.gcd_eq_left</a>]
rw [<a>Nat.gcd_comm</a>, <a>Nat.gcd_self_right</a>]
simp [<a>Nat.gcd_comm</a>]
rw [<a>Nat.gcd_comm</a>, <a>Nat.gcd_1</a>]
rw [<a>Nat.gcd_comm</a>, <a>Nat.gcd_rec</a>]
rw [<a>Nat.gcd_comm</a>, <a>Nat.gcd_gcd_self_left_right</a>]
```


Expand Down Expand Up @@ -144,7 +144,7 @@ for p in retrieve(state, premises, k=4):
```

Expected output:
```
```lean
def <a>Nat.gcd</a> : Nat → Nat → Nat
| 0 y := y
| (succ x) y := have y % succ x < succ x, from mod_lt _ $ succ_pos _,
Expand Down

0 comments on commit 3d68aef

Please sign in to comment.