Details

Time bar (total: 9.4s)

sample17.0ms

Algorithm
intervals
Results
7.0ms297×body80valid

simplify210.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11911
22911
34411
45511
56911
68111
711411
812911
913511
1013911
1114911
1215311
1315511
done15511

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.9b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite81.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:
49.0ms
(* x (+ (/ x y) 1.0))
30.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series78.0ms

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

simplify2.4s

Counts
60 → 60
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
0107759
1302728
21120632
34510629
done5000629

prune127.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize7.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))

rewrite83.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:
38.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
37.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series121.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
75.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify994.0ms

Counts
156 → 156
Iterations

Useful iterations: done (988.0ms)

IterNodesCost
02113002
14892812
217202698
done50002685

prune296.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite197.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
27×*-un-lft-identity
23×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×prod-diff
13×associate-*l*
12×distribute-rgt-in distribute-lft-in
associate-*r*
pow1 times-frac
associate-*r/ prod-exp cbrt-unprod add-log-exp
flip3-- flip-- difference-of-squares
cbrt-undiv expm1-log1p-u div-exp associate-/r* associate-/r/ log1p-expm1-u
sub-neg
frac-times flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ unswap-sqr
frac-2neg fma-neg diff-log associate-*l/ clear-num distribute-lft-out associate-/l* distribute-lft-out--
Counts
4 → 131
Calls
4 calls:
8.0ms
(- (* x x) (* 1.0 1.0))
48.0ms
(* x (+ (/ x y) 1.0))
104.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
32.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

series233.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* x x) (* 1.0 1.0))
31.0ms
(* x (+ (/ x y) 1.0))
79.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
80.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify1.3s

Counts
143 → 143
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02413250
16612988
226202624
done50002587

prune292.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

7.3b
(/ (pow x 2) y)
8.2b
(/ (+ (/ (pow x 2) y) (* 1.0 x)) (+ x 1.0))

rewrite93.0ms

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

series68.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(/ (pow x 2) y)
47.0ms
(/ (+ (/ (pow x 2) y) (* 1.0 x)) (+ x 1.0))

simplify2.1s

Counts
94 → 94
Iterations

Useful iterations: 3 (816.0ms)

IterNodesCost
01691369
13561297
29751117
331071116
done50001116

prune215.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes35.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

sample422.0ms

Algorithm
intervals
Results
228.0ms9192×body80valid