This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Lean | |
import Lean.Util.CollectAxioms | |
open Lean | |
initialize intuitionisticAttr : TagAttribute โ | |
registerTagAttribute `intuitionistic "Tag attribute for intuitionistic prop" | |
fun decl => | |
do | |
let axioms โ collectAxioms decl | |
let invalid_axioms := axioms.filter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Context์ state๊ฐ ์๋ ํ๋ก๊ทธ๋๋ฐ ์ธ์ด๋ฅผ ์ ํํํ๊ณ ์ ํฉ๋๋ค. | |
ํ๋ก๊ทธ๋๋ฐ ๋ณ์๋ก๋ De Brujin index๋ฅผ ์ฌ์ฉํ ๊ฒ์ด๋ฉฐ, | |
๋ฐ๋ผ์ context๋ ๋จ์ํ ๋ฐ์ดํฐ ํ์ ๋ค์ ๋ฆฌ์คํธ ์ ๋๋ค. | |
(์๋ฅผ ๋ค์ด์ int :: int :: boolean :: nil ์ด ํ๋์ context์ ๋๋ค. | |
๋ฆฌ์คํธ๋ฅผ ์ฌ์ฉํด์ ์๊ธฐ๋ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํด ๋ด ์๋ค. | |
16 April 2023 -- Sewon Park *) | |
Require Import List. |