Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
why3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nils Fitinghoff
why3
Commits
7bd6ab03
Commit
7bd6ab03
authored
Jun 23, 2018
by
Guillaume Melquiond
Browse files
Options
Downloads
Patches
Plain Diff
Remove some old-syntax attributes from examples.
parent
89f20f29
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/whyml.tex
+3
-3
3 additions, 3 deletions
doc/whyml.tex
with
3 additions
and
3 deletions
doc/whyml.tex
+
3
−
3
View file @
7bd6ab03
...
@@ -132,7 +132,7 @@ end
...
@@ -132,7 +132,7 @@ end
We now start a new theory,
\texttt
{
Einstein
}
, which will contain all
We now start a new theory,
\texttt
{
Einstein
}
, which will contain all
the individuals of the problem.
the individuals of the problem.
\begin{whycode}
\begin{whycode}
theory Einstein
"Einstein's problem"
theory Einstein
\end{whycode}
\end{whycode}
First, we introduce enumeration types for houses, colors, persons,
First, we introduce enumeration types for houses, colors, persons,
drinks, cigars, and pets.
drinks, cigars, and pets.
...
@@ -194,7 +194,7 @@ end
...
@@ -194,7 +194,7 @@ end
The next theory contains the 15 hypotheses. It starts by importing
The next theory contains the 15 hypotheses. It starts by importing
theory
\texttt
{
Einstein
}
.
theory
\texttt
{
Einstein
}
.
\begin{whycode}
\begin{whycode}
theory EinsteinHints
"Hints"
theory EinsteinHints
use import Einstein
use import Einstein
\end{whycode}
\end{whycode}
Then each hypothesis is stated in terms of
\texttt
{
to
\_
}
and
\texttt
{
of
}
Then each hypothesis is stated in terms of
\texttt
{
to
\_
}
and
\texttt
{
of
}
...
@@ -214,7 +214,7 @@ end
...
@@ -214,7 +214,7 @@ end
\end{whycode}
\end{whycode}
Finally, we declare the goal in a fourth theory:
Finally, we declare the goal in a fourth theory:
\begin{whycode}
\begin{whycode}
theory Problem
"Goal of Einstein's problem"
theory Problem
use import Einstein
use import Einstein
use import EinsteinHints
use import EinsteinHints
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment