lean-ja / lean-ja/lean-by-example
実際には axiom コマンドで公理を追加しているのに、追加していないように見せることができる
Open
Nobody has claimed this yet.
メモ
- Dominant language
- Lean
- Stars
- 188
- Forks
- 15
- Avg merge
- 9h 8m
- Merged PRs (30d)
- 6
Description
def one := 1
def bad_one := 2
axiom cheating : False
@[csimp] theorem oops : one = bad_one := cheating.elim
theorem ohno : one = 2 := by native_decide
/-- info: 'ohno' depends on axioms: [Lean.ofReduceBool] -/
#guard_msgs in
#print axioms ohno
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the supplied Lean snippet and inspect the interaction between axiom cheating, the [csimp] theorem oops, native_decide, and #print axioms ohno. Determine whether the reported output can hide the axiom dependency; done means the expected behavior and scope of any correction are established.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100