theory Scratch imports Main begin (* Define addition via fixed point *) definition add :: "nat ⇒ nat ⇒ nat" where "add ≡ fix (λadd n m. if n = 0 then m else add (n-1) (m+1))"
isabelle extreme This opens a theory file with the extension .ext . Here’s a minimal example:
end