Intelligible semi-automated reasoning (Isar) is an approach to human readable formal proof documents (as opposed to state-based scripting).
Questions tagged [isar]
95 questions
0
votes
1 answer
How to streamline a proof of a function property on a datatype?
I have created a small proof with the intention of creating an example for using next on proof cases:
theory RedGreen
imports Main
begin
datatype color = RED | GREEN
fun green :: "color => color"
where
"green RED = GREEN"
| "green…

Gergely
- 6,879
- 6
- 25
- 35
0
votes
2 answers
What is a good way to define a finite multiplication table in Isar?
Suppose I have a binary operator f :: "sT => sT => sT". I want to define f so that it implements a 4x4 multiplication table for the Klein four group, shown here on the Wiki:
http://en.wikipedia.org/wiki/Klein_four-group
Here, all I'm attempting to…
user2190811
-1
votes
1 answer
Watching a list triggers FutureProvider endlessly
I'm using Riverpod alongside Isar databases. I've wrapped an Isar query (Future
- >) with a FutureProvider so I may watch this query for changes. However, my widgets keep on building over and over again from what I believe is the provider…

Microbob
- 672
- 5
- 20
-1
votes
1 answer
What does depth refer to in Isar Virtual Machine output?
Here is a proof:
theory Example
imports Main
begin
datatype natural = Zero | Succ natural
lemma "⋀ n. n = Succ m ⟹ n ≠ Zero"
proof -
fix n
assume "n = Succ m"
from this show "n ≠ Zero" by (metis natural.distinct(2))
qed
end
The depth value…

Gergely
- 6,879
- 6
- 25
- 35
-4
votes
1 answer
Limit of c^n (with ¦c¦<1) is 0 (Isabelle)
Does anyone know a rule for showing
"¦c¦<1 ==> (λn. c^n) ---> 0"
in the reals?
I have found the following rules using the 'query' panel:
Limits.LIMSEQ_rabs_realpow_zero2: ¦?c¦ < 1 ⟹ op ^ ?c ---> 0
Limits.LIMSEQ_rabs_realpow_zero: ¦?c¦ < 1 ⟹ op ^…

IIM
- 533
- 3
- 11