Details

Time bar (total: 2.2s)

sample23.0ms

Algorithm
intervals
Results
9.0ms321×body80valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546
done546

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.4b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
2.8b
(* (/ x y) z)

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*l*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r* associate-*l/ associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
18.0ms
(/ (+ x 4.0) y)
51.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
14.0ms
(* (/ x y) z)

series98.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (+ x 4.0) y)
48.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
22.0ms
(* (/ x y) z)

simplify110.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0341425
11212395
24978394
35002394
done5002394

prune183.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
2.7b
(* (/ x y) (- 1 z))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
11×associate-*r/
10×add-cube-cbrt times-frac frac-add
add-exp-log add-cbrt-cube
frac-times flip3-- associate-*r* flip--
un-div-inv
pow1 distribute-rgt-in sub-neg associate-+l+ distribute-lft-in add-log-exp
associate-*l/
prod-exp cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv distribute-lft-out--
Counts
2 → 68
Calls
2 calls:
20.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
30.0ms
(* (/ x y) (- 1 z))

series90.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
42.0ms
(* (/ x y) (- 1 z))

simplify45.0ms

Counts
74 → 74
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0416496
11863440
25001435
done5001435

prune152.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

2.0b
(/ (- (+ x 4.0) (* x z)) y)

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/l/
pow1 cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- div-inv add-log-exp
Counts
1 → 30
Calls
1 calls:
67.0ms
(/ (- (+ x 4.0) (* x z)) y)

series47.0ms

Counts
1 → 3
Calls
1 calls:
47.0ms
(/ (- (+ x 4.0) (* x z)) y)

simplify58.0ms

Counts
33 → 33
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0166252
1579234
22446234
35002234
done5002234

prune77.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

2.0b
(* (- (+ x 4.0) (* x z)) (/ 1 y))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×associate-*r*
11×times-frac
10×add-exp-log *-un-lft-identity
add-cube-cbrt
add-cbrt-cube
prod-exp
pow1 associate-*l* unswap-sqr
frac-times flip3-- div-exp associate-*l/ flip-- cbrt-unprod
cbrt-undiv rec-exp 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv add-log-exp
Counts
1 → 40
Calls
1 calls:
111.0ms
(* (- (+ x 4.0) (* x z)) (/ 1 y))

series49.0ms

Counts
1 → 3
Calls
1 calls:
49.0ms
(* (- (+ x 4.0) (* x z)) (/ 1 y))

simplify35.0ms

Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0265328
11328286
25001274
done5001274

prune89.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes77.0ms

Accuracy

45.7% (0.9b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 1.6b

bsearch62.0ms

Steps
ItersRangePoint
6
2.0703028315319625e-190
2.5580695402228783e-189
1.5490942266720705e-189
8
-5.309103864954449e+112
-1.0187590636892086e+110
-5.9574134192244055e+110

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03312
13312
done3312

end0.0ms

sample619.0ms

Algorithm
intervals
Results
294.0ms10214×body80valid