[ BlockAxiom ( Location { locFile = "test/examples/replace.tex" , locLine = 1 , locColumn = 1 } ) Nothing ( Marker "cons" ) ( Axiom [] ( StmtConnected { conn = Equivalence , mloc = Nothing , stmt1 = StmtFormula { formula = FormulaChain ( ChainBase ( ExprVar ( NamedVar "x" ) :| [] ) Positive ( Relation ( Location { locFile = "test/examples/replace.tex" , locLine = 2 , locColumn = 7 } ) ( RelationSymbol ( Command "in" ) ( ParameterArity 0 ) ( Marker "elem" ) ) [] ) ( ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 2 , locColumn = 11 } ) ( MixfixItem ( TokenCons ( Command "cons" ) ( TokenCons InvisibleBraceL ( HoleCons ( TokenCons InvisibleBraceR ( TokenCons InvisibleBraceL ( HoleCons ( TokenCons InvisibleBraceR End ) ) ) ) ) ) ) ( Marker "cons" ) NonAssoc ) [ ExprVar ( NamedVar "y" ) , ExprVar ( NamedVar "X" ) ] :| [] ) ) } , stmt2 = StmtConnected { conn = Disjunction , mloc = Nothing , stmt1 = StmtFormula { formula = FormulaChain ( ChainBase ( ExprVar ( NamedVar "x" ) :| [] ) Positive ( Relation ( Location { locFile = "test/examples/replace.tex" , locLine = 2 , locColumn = 31 } ) ( RelationSymbol ( Symbol "=" ) ( ParameterArity 0 ) ( Marker "eq" ) ) [] ) ( ExprVar ( NamedVar "y" ) :| [] ) ) } , stmt2 = StmtFormula { formula = FormulaChain ( ChainBase ( ExprVar ( NamedVar "x" ) :| [] ) Positive ( Relation ( Location { locFile = "test/examples/replace.tex" , locLine = 2 , locColumn = 41 } ) ( RelationSymbol ( Command "in" ) ( ParameterArity 0 ) ( Marker "elem" ) ) [] ) ( ExprVar ( NamedVar "X" ) :| [] ) ) } } } ) ) , BlockDefn ( Location { locFile = "test/examples/replace.tex" , locLine = 5 , locColumn = 1 } ) Nothing ( Marker "times" ) ( DefnOp ( SymbolPattern ( MixfixItem ( HoleCons ( TokenCons ( Command "times" ) ( HoleCons End ) ) ) ( Marker "times" ) RightAssoc ) [ NamedVar "A" , NamedVar "B" ] ) ( ExprReplace ( Location { locFile = "test/examples/replace.tex" , locLine = 6 , locColumn = 18 } ) ( ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 6 , locColumn = 21 } ) ( MixfixItem ( TokenCons ( Command "pair" ) ( TokenCons InvisibleBraceL ( HoleCons ( TokenCons InvisibleBraceR ( TokenCons InvisibleBraceL ( HoleCons ( TokenCons InvisibleBraceR End ) ) ) ) ) ) ) ( Marker "pair" ) NonAssoc ) [ ExprVar ( NamedVar "a" ) , ExprVar ( NamedVar "b" ) ] ) ( ( NamedVar "a" , ExprVar ( NamedVar "A" ) ) :| [ ( NamedVar "b" , ExprVar ( NamedVar "B" ) ) ] ) Nothing ) ) , BlockDefn ( Location { locFile = "test/examples/replace.tex" , locLine = 9 , locColumn = 1 } ) Nothing ( Marker "unit" ) ( DefnOp ( SymbolPattern ( MixfixItem ( TokenCons ( Command "unit" ) End ) ( Marker "unit" ) NonAssoc ) [] ) ( ExprFiniteSet ( Location { locFile = "test/examples/replace.tex" , locLine = 10 , locColumn = 14 } ) ( ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 10 , locColumn = 16 } ) ( MixfixItem ( TokenCons ( Command "emptyset" ) End ) ( Marker "emptyset" ) NonAssoc ) [] :| [] ) ) ) , BlockClaim Proposition ( Location { locFile = "test/examples/replace.tex" , locLine = 13 , locColumn = 1 } ) Nothing ( Marker "pair_emptyset_in_times_unit" ) ( Claim [] ( StmtFormula { formula = FormulaChain ( ChainBase ( ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 14 , locColumn = 6 } ) ( MixfixItem ( TokenCons ( Command "pair" ) ( TokenCons InvisibleBraceL ( HoleCons ( TokenCons InvisibleBraceR ( TokenCons InvisibleBraceL ( HoleCons ( TokenCons InvisibleBraceR End ) ) ) ) ) ) ) ( Marker "pair" ) NonAssoc ) [ ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 14 , locColumn = 7 } ) ( MixfixItem ( TokenCons ( Command "emptyset" ) End ) ( Marker "emptyset" ) NonAssoc ) [] , ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 14 , locColumn = 17 } ) ( MixfixItem ( TokenCons ( Command "emptyset" ) End ) ( Marker "emptyset" ) NonAssoc ) [] ] :| [] ) Positive ( Relation ( Location { locFile = "test/examples/replace.tex" , locLine = 14 , locColumn = 27 } ) ( RelationSymbol ( Command "in" ) ( ParameterArity 0 ) ( Marker "elem" ) ) [] ) ( ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 14 , locColumn = 31 } ) ( MixfixItem ( HoleCons ( TokenCons ( Command "times" ) ( HoleCons End ) ) ) ( Marker "times" ) RightAssoc ) [ ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 14 , locColumn = 31 } ) ( MixfixItem ( TokenCons ( Command "unit" ) End ) ( Marker "unit" ) NonAssoc ) [] , ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 14 , locColumn = 42 } ) ( MixfixItem ( TokenCons ( Command "unit" ) End ) ( Marker "unit" ) NonAssoc ) [] ] :| [] ) ) } ) ) , BlockDefn ( Location { locFile = "test/examples/replace.tex" , locLine = 19 , locColumn = 1 } ) Nothing ( Marker "suc" ) ( DefnOp ( SymbolPattern ( MixfixItem ( TokenCons ( Command "suc" ) ( TokenCons InvisibleBraceL ( HoleCons ( TokenCons InvisibleBraceR End ) ) ) ) ( Marker "suc" ) NonAssoc ) [ NamedVar "a" ] ) ( ExprReplacePred ( Location { locFile = "test/examples/replace.tex" , locLine = 20 , locColumn = 16 } ) ( NamedVar "y" ) ( NamedVar "x" ) ( ExprVar ( NamedVar "a" ) ) ( StmtFormula { formula = FormulaChain ( ChainBase ( ExprVar ( NamedVar "y" ) :| [] ) Positive ( Relation ( Location { locFile = "test/examples/replace.tex" , locLine = 20 , locColumn = 44 } ) ( RelationSymbol ( Symbol "=" ) ( ParameterArity 0 ) ( Marker "eq" ) ) [] ) ( ExprFiniteSet ( Location { locFile = "test/examples/replace.tex" , locLine = 20 , locColumn = 46 } ) ( ExprVar ( NamedVar "x" ) :| [] ) :| [] ) ) } ) ) ) , BlockClaim Proposition ( Location { locFile = "test/examples/replace.tex" , locLine = 25 , locColumn = 1 } ) Nothing ( Marker "times_replacement_test" ) ( Claim [] ( StmtFormula { formula = FormulaChain ( ChainBase ( ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 26 , locColumn = 6 } ) ( MixfixItem ( HoleCons ( TokenCons ( Command "times" ) ( HoleCons End ) ) ) ( Marker "times" ) RightAssoc ) [ ExprVar ( NamedVar "A" ) , ExprVar ( NamedVar "B" ) ] :| [] ) Positive ( Relation ( Location { locFile = "test/examples/replace.tex" , locLine = 26 , locColumn = 16 } ) ( RelationSymbol ( Symbol "=" ) ( ParameterArity 0 ) ( Marker "eq" ) ) [] ) ( ExprReplace ( Location { locFile = "test/examples/replace.tex" , locLine = 26 , locColumn = 18 } ) ( ExprOp ( Location { locFile = "test/examples/replace.tex" , locLine = 26 , locColumn = 21 } ) ( MixfixItem ( TokenCons ( Command "pair" ) ( TokenCons InvisibleBraceL ( HoleCons ( TokenCons InvisibleBraceR ( TokenCons InvisibleBraceL ( HoleCons ( TokenCons InvisibleBraceR End ) ) ) ) ) ) ) ( Marker "pair" ) NonAssoc ) [ ExprVar ( NamedVar "a" ) , ExprVar ( NamedVar "b" ) ] ) ( ( NamedVar "a" , ExprVar ( NamedVar "A" ) ) :| [ ( NamedVar "b" , ExprVar ( NamedVar "B" ) ) ] ) Nothing :| [] ) ) } ) ) ]