Details

Time bar (total: 10.4s)

sample32.0ms

Algorithm
intervals
Results
15.0ms293×body80valid

simplify2.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11911
23011
34511
46011
57411
68611
711911
814611
917111
1018711
1129411
1261211
13157811
14451711
done500011

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.1b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 times-frac associate-*r/ associate-*r* associate-/r*
flip3-+ associate-*l* flip-+ distribute-lft-out
cbrt-undiv expm1-log1p-u div-exp prod-exp associate-/r/ cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 54
Calls
2 calls:
68.0ms
(* x (+ (/ x y) 1.0))
46.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series75.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(* x (+ (/ x y) 1.0))
45.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify1.2s

Counts
60 → 60
Iterations

Useful iterations: 2 (360.0ms)

IterNodesCost
0107759
1334731
22019643
done5000643

prune146.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
155×*-un-lft-identity
146×times-frac
71×add-sqr-sqrt add-cube-cbrt
42×distribute-lft-out
26×associate-/r*
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
2 → 150
Calls
2 calls:
72.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
58.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series143.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
86.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify1.5s

Counts
156 → 156
Iterations

Useful iterations: 2 (464.0ms)

IterNodesCost
02113002
15752840
232692706
done50012706

prune352.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1.0 x (/ (pow x 2) y))
7.6b
(/ (fma 1.0 x (/ (pow x 2) y)) (+ x 1.0))
7.6b
(/ (pow x 2) y)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
36×times-frac
29×add-sqr-sqrt add-cube-cbrt
12×unpow-prod-down
11×associate-/l*
10×add-exp-log
associate-/r* add-cbrt-cube
div-exp distribute-lft-out unpow2 sqr-pow
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg clear-num associate-/r/ div-inv
pow-to-exp flip3-+ pow-exp flip-+ fma-udef
Counts
3 → 96
Calls
3 calls:
0.0ms
(fma 1.0 x (/ (pow x 2) y))
17.0ms
(/ (fma 1.0 x (/ (pow x 2) y)) (+ x 1.0))
10.0ms
(/ (pow x 2) y)

series144.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(fma 1.0 x (/ (pow x 2) y))
68.0ms
(/ (fma 1.0 x (/ (pow x 2) y)) (+ x 1.0))
22.0ms
(/ (pow x 2) y)

simplify811.0ms

Counts
105 → 105
Iterations

Useful iterations: done (805.0ms)

IterNodesCost
01661410
13311341
213961200
done50001199

prune331.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ x (log1p (expm1 (/ (+ x 1.0) (+ (/ x y) 1.0)))))
0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))
0.3b
(log1p (expm1 (/ (+ x 1.0) (+ (/ x y) 1.0))))
0.4b
(expm1 (/ (+ x 1.0) (+ (/ x y) 1.0)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
25×times-frac
22×add-sqr-sqrt add-cube-cbrt
10×distribute-lft-out
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
log1p-expm1-u
pow1 expm1-log1p-u add-log-exp
cbrt-undiv frac-2neg flip3-+ div-exp clear-num associate-/r/ flip-+ div-inv associate-/l/
log1p-udef expm1-log1p log1p-expm1 expm1-udef
Counts
4 → 93
Calls
4 calls:
5.0ms
(/ x (log1p (expm1 (/ (+ x 1.0) (+ (/ x y) 1.0)))))
41.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
0.0ms
(log1p (expm1 (/ (+ x 1.0) (+ (/ x y) 1.0))))
1.0ms
(expm1 (/ (+ x 1.0) (+ (/ x y) 1.0)))

series683.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(/ x (log1p (expm1 (/ (+ x 1.0) (+ (/ x y) 1.0)))))
86.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
189.0ms
(log1p (expm1 (/ (+ x 1.0) (+ (/ x y) 1.0))))
280.0ms
(expm1 (/ (+ x 1.0) (+ (/ x y) 1.0)))

simplify964.0ms

Counts
105 → 105
Iterations

Useful iterations: done (959.0ms)

IterNodesCost
01571637
13621482
216511364
done50011360

prune289.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes95.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11011
done1011

end0.0ms

sample1.1s

Algorithm
intervals
Results
828.0ms9124×body80valid