Details

Time bar (total: 9.0s)

sample50.0ms

Algorithm
intervals
Results
23.0ms331×body80valid

simplify93.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11612
22912
33812
44512
55112
65412
done5412

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.4b

localize21.0ms

Local error

Found 3 expressions with local error:

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

rewrite168.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:
29.0ms
(/ (+ x 4.0) y)
108.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
28.0ms
(* (/ x y) z)

series143.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(/ (+ x 4.0) y)
61.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
32.0ms
(* (/ x y) z)

simplify1.2s

Counts
88 → 88
Iterations

Useful iterations: 2 (325.0ms)

IterNodesCost
0142904
1351859
21679785
done5002785

prune283.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize22.0ms

Local error

Found 3 expressions with local error:

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

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
89×times-frac
67×*-un-lft-identity
54×add-sqr-sqrt add-cube-cbrt
16×associate-/r*
10×add-exp-log add-cbrt-cube
associate-/l*
div-inv
distribute-lft-out add-log-exp
cbrt-undiv div-exp
pow1 frac-sub
frac-2neg clear-num associate-/l/ distribute-lft-out--
frac-times sub-neg flip3-- flip3-+ diff-log associate-*r/ associate-*l/ associate-/r/ flip-- flip-+
Counts
3 → 120
Calls
3 calls:
19.0ms
(/ (+ x 4.0) y)
72.0ms
(- (/ (+ x 4.0) y) (* (/ 1 1) (/ x (/ y z))))
21.0ms
(/ x (/ y z))

series144.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ (+ x 4.0) y)
59.0ms
(- (/ (+ x 4.0) y) (* (/ 1 1) (/ x (/ y z))))
46.0ms
(/ x (/ y z))

simplify2.7s

Counts
129 → 129
Iterations

Useful iterations: 2 (578.0ms)

IterNodesCost
02391664
16471477
241071391
done50001391

prune540.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*r*
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:
21.0ms
(/ (+ x 4.0) y)
66.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
27.0ms
(* x (/ z y))

series99.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(/ (+ x 4.0) y)
46.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
21.0ms
(* x (/ z y))

simplify878.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (225.0ms)

IterNodesCost
0142920
1369867
21511797
done5000797

prune254.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 1 expressions with local error:

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

rewrite93.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:
92.0ms
(/ (- (+ x 4.0) (* x z)) y)

series59.0ms

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

simplify562.0ms

Counts
33 → 33
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
068516
1171503
2664461
done5001461

prune122.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes106.0ms

Accuracy

96.5% (0.1b remaining)

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

bsearch103.0ms

Steps
ItersRangePoint
9
0.001549950382843741
122798.17944922931
4.452832877986661
7
-1.5843314335962344e+52
-5.251409787917608e+50
-5.323311533620367e+50

simplify5.0ms

Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
02746
13344
23542
done3542

end0.0ms

sample1.1s

Algorithm
intervals
Results
643.0ms10108×body80valid