summaryrefslogtreecommitdiff
path: root/test/golden/prooffix/parsing.golden
blob: 87c3f9df6773bdabbd1a4c5b54f9ff99a4db807f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[ BlockClaim Proposition
    ( Location
        { locFile = "test/examples/prooffix.tex"
        , locLine = 1
        , locColumn = 1
        }
    ) Nothing
    ( Marker "assumetest" )
    ( Claim []
        ( SymbolicQuantified
            { loc = Location
                { locFile = "test/examples/prooffix.tex"
                , locLine = 2
                , locColumn = 5
                }
            , quant = Universally
            , vars = NamedVar "x" :| []
            , b = Unbounded
            , suchThat = Nothing
            , stmt = StmtFormula
                { formula = FormulaChain
                    ( ChainBase
                        ( ExprVar
                            ( NamedVar "x" ) :| []
                        ) Positive
                        ( Relation
                            ( Location
                                { locFile = "test/examples/prooffix.tex"
                                , locLine = 2
                                , locColumn = 28
                                }
                            )
                            ( RelationSymbol
                                ( Symbol "=" )
                                ( ParameterArity 0 )
                                ( Marker "eq" )
                            ) []
                        )
                        ( ExprVar
                            ( NamedVar "x" ) :| []
                        )
                    )
                }
            }
        )
    )
, BlockProof
    ( Location
        { locFile = "test/examples/prooffix.tex"
        , locLine = 4
        , locColumn = 1
        }
    )
    ( FixSymbolic
        ( Location
            { locFile = "test/examples/prooffix.tex"
            , locLine = 5
            , locColumn = 5
            }
        )
        ( NamedVar "x" :| [] ) Unbounded
        ( Have
            ( Location
                { locFile = "test/examples/prooffix.tex"
                , locLine = 6
                , locColumn = 5
                }
            ) Nothing
            ( StmtFormula
                { formula = FormulaChain
                    ( ChainBase
                        ( ExprVar
                            ( NamedVar "x" ) :| []
                        ) Positive
                        ( Relation
                            ( Location
                                { locFile = "test/examples/prooffix.tex"
                                , locLine = 6
                                , locColumn = 13
                                }
                            )
                            ( RelationSymbol
                                ( Symbol "=" )
                                ( ParameterArity 0 )
                                ( Marker "eq" )
                            ) []
                        )
                        ( ExprVar
                            ( NamedVar "x" ) :| []
                        )
                    )
                }
            ) JustificationEmpty ( Qed Nothing JustificationEmpty )
        )
    )
    ( Location
        { locFile = "test/examples/prooffix.tex"
        , locLine = 7
        , locColumn = 1
        }
    )
]