Details

Time bar (total: 3.7s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0368
11528
25018
321538
450018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.8b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.1b
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
19.6b
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
60×frac-times flip3-+ flip-+
31×add-exp-log add-cbrt-cube
30×associate-*l/
27×*-un-lft-identity
26×associate-/r/
18×associate-*r/
15×pow1
13×prod-exp cbrt-unprod
11×add-sqr-sqrt
associate-*r* distribute-lft-out
add-cube-cbrt
cbrt-undiv swap-sqr div-exp
associate-*l*
pow-prod-down
add-log-exp
distribute-rgt-in distribute-lft-in *-commutative unswap-sqr
pow2 frac-2neg times-frac pow-plus clear-num associate-/r* pow-sqr pow-prod-up div-inv associate-/l*
Counts
3 → 140
Calls
3 calls:
8.0ms
(* (+ x y) (+ x y))
19.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
17.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

series213.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(* (+ x y) (+ x y))
39.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
160.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09161489
150011351

prune304.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 8.6b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.0b
(/ y (+ (+ x y) 1.0))
0.1b
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
19.9b
(/ x (* (+ x y) (+ x y)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity
43×add-sqr-sqrt
40×times-frac
34×add-exp-log add-cbrt-cube
31×add-cube-cbrt
27×distribute-lft-out
25×associate-*r*
20×flip3-+ associate-/r/ flip-+
19×associate-*l*
13×pow1 frac-times
10×cbrt-undiv div-exp prod-exp cbrt-unprod
associate-*r/ associate-*l/
swap-sqr associate-/r* associate-/l*
unswap-sqr
div-inv add-log-exp
frac-2neg pow-prod-down clear-num *-commutative
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-sqr pow-prod-up
Counts
4 → 170
Calls
4 calls:
8.0ms
(* (+ x y) (+ x y))
7.0ms
(/ y (+ (+ x y) 1.0))
23.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
9.0ms
(/ x (* (+ x y) (+ x y)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (+ x y) (+ x y))
49.0ms
(/ y (+ (+ x y) 1.0))
162.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
62.0ms
(/ x (* (+ x y) (+ x y)))

simplify92.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06611282
135911138
250011127

prune343.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ (+ x y) 1.0))
0.1b
(/ (/ x (+ x y)) (+ x y))
0.1b
(* (/ (/ x (+ x y)) (+ x y)) (/ y (+ (+ x y) 1.0)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
295×*-un-lft-identity
291×times-frac
153×add-sqr-sqrt
132×add-cube-cbrt
85×distribute-lft-out
78×associate-*l*
31×add-exp-log add-cbrt-cube
26×associate-/r/
21×associate-*r* associate-/l*
13×cbrt-undiv flip3-+ div-exp flip-+ div-inv
associate-/r*
prod-exp cbrt-unprod unswap-sqr
pow1
add-log-exp
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
3 → 277
Calls
3 calls:
7.0ms
(/ y (+ (+ x y) 1.0))
10.0ms
(/ (/ x (+ x y)) (+ x y))
45.0ms
(* (/ (/ x (+ x y)) (+ x y)) (/ y (+ (+ x y) 1.0)))

series274.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(/ y (+ (+ x y) 1.0))
60.0ms
(/ (/ x (+ x y)) (+ x y))
163.0ms
(* (/ (/ x (+ x y)) (+ x y)) (/ y (+ (+ x y) 1.0)))

simplify106.0ms

Algorithm
egg-herbie
Counts
286 → 286
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
09812594
145582399
250032391

prune528.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ x y))
0.0b
(/ y (+ (+ x y) 1.0))
0.1b
(* (/ 1 (+ x y)) (/ x (+ x y)))
0.1b
(* (* (/ 1 (+ x y)) (/ x (+ x y))) (/ y (+ (+ x y) 1.0)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
105×add-exp-log *-un-lft-identity
73×times-frac
65×add-sqr-sqrt
61×add-cbrt-cube
48×add-cube-cbrt
42×prod-exp
39×associate-*r*
36×div-exp
31×distribute-lft-out
22×cbrt-unprod
19×cbrt-undiv associate-*l*
12×pow1
10×associate-/r/
associate-/r*
rec-exp 1-exp
frac-times associate-*l/ associate-/l* unswap-sqr
flip3-+ flip-+ div-inv
associate-*r/ pow-prod-down add-log-exp
frac-2neg clear-num *-commutative
pow-flip inv-pow
Counts
4 → 207
Calls
4 calls:
6.0ms
(/ 1 (+ x y))
7.0ms
(/ y (+ (+ x y) 1.0))
17.0ms
(* (/ 1 (+ x y)) (/ x (+ x y)))
21.0ms
(* (* (/ 1 (+ x y)) (/ x (+ x y))) (/ y (+ (+ x y) 1.0)))

series317.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1 (+ x y))
51.0ms
(/ y (+ (+ x y) 1.0))
67.0ms
(* (/ 1 (+ x y)) (/ x (+ x y)))
166.0ms
(* (* (/ 1 (+ x y)) (/ x (+ x y))) (/ y (+ (+ x y) 1.0)))

simplify110.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
08241633
146131342
250011316

prune337.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes52.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0128
1128

end0.0ms

sample369.0ms

Algorithm
intervals
Results
237.0ms8000×body80valid