Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/notation-no-interp
/
.
/
tests
/
elab
/
decideNativePanic.lean
blob: 93a25569da5ad1f8aaf1a35024362ebc0109eee8 [
file
] [
edit
]
/-!
Panic
during evaluation
-/
set_option trustEvalAsAxioms
true
inductive
ItsTrue2
:
Prop
|
mk
instance
:
Decidable
ItsTrue2
:=
have
:
Inhabited
(
Decidable
ItsTrue2
)
:=
⟨
isTrue
.
mk
⟩
panic
!
"oh no"
example
:
ItsTrue2
:=
by
native_decide