Def adjl-obj{\\\\v:l,i:l}(A) == mkgraphobj( x,y. x =A= y, ext{assert_eq_adjl}(A), f,s,x. adjl-edge-accum(A;s',x'.f(s',x');s;x), ext{adjl_DASH_edge_DASH_accum_DASH_properties}{i:l}(A), f,s. adjl-vertex-accum(A;s',x'.f(s',x');s), ext{adjl_DASH_vertex_DASH_accum_DASH_properties}{i:l}(A), ) | [adjl-obj] |
Def adjl-graph(G) == < vertices = G.size, edges = x: G.size ||G.out(x)||, incidence = e. < 1of(e),(G.out(1of(e)))[2of(e)] > > | [adjl-graph] |
Def adjm-obj{\\\\v:l,i:l}(M) == mkgraphobj( x,y. x =M= y, ext{assert_eq_adjm}(M), f,s,x. adjm-edge-accum(M;s',x'.f(s',x');s;x), ext{adjm_DASH_edge_DASH_accum_DASH_properties}{i:l}(M), f,s. adjm-vertex-accum(M;s',x'.f(s',x');s), ext{adjm_DASH_vertex_DASH_accum_DASH_properties}{i:l}(M), ) | [adjm-obj] |
Def adjm-graph(A) == < vertices = A.size, edges = {p:( A.size A.size)| (A.adj(1of(p),2of(p))) }, incidence = e.e > | [adjm-graph] |