Details

Time bar (total: 15.3s)

sample46.0ms

Algorithm
intervals
Results
20.0ms329×body80valid

simplify95.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11612
22912
33812
44512
55112
65312
done5312

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.1b

localize22.0ms

Local error

Found 3 expressions with local error:

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

rewrite157.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:
36.0ms
(/ (+ x 4.0) y)
82.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
31.0ms
(* (/ x y) z)

series173.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(/ (+ x 4.0) y)
88.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
41.0ms
(* (/ x y) z)

simplify2.9s

Counts
88 → 88
Iterations

Useful iterations: 2 (249.0ms)

IterNodesCost
0142904
1340859
2979785
32991785
done5001785

prune305.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 2 expressions with local error:

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

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
10×add-cube-cbrt times-frac
add-exp-log add-cbrt-cube
associate-*r*
frac-add
pow1 distribute-rgt-in frac-times sub-neg associate-+l+ flip3-- distribute-lft-in associate-*r/ flip-- 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 → 63
Calls
2 calls:
25.0ms
(+ (* (/ x y) (- 1 z)) (/ 4.0 y))
70.0ms
(* (/ x y) (- 1 z))

series142.0ms

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

simplify3.1s

Counts
69 → 69
Iterations

Useful iterations: 3 (1.9s)

IterNodesCost
0142925
1381854
21168774
34292768
done5001768

prune198.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
17×times-frac
14×add-sqr-sqrt add-cube-cbrt
10×add-exp-log add-cbrt-cube
associate-/r*
distribute-lft-out associate-/l* add-log-exp
pow1 cbrt-undiv div-exp frac-sub
frac-2neg associate-*r/ clear-num div-inv associate-/l/ distribute-lft-out--
frac-times sub-neg flip3-- flip3-+ diff-log associate-*l/ prod-exp flip-- cbrt-unprod flip-+ sub-div
Counts
3 → 72
Calls
3 calls:
21.0ms
(/ (+ x 4.0) y)
70.0ms
(- (/ (+ x 4.0) y) (* (/ 1 1) (/ (* x z) y)))
12.0ms
(/ (* x z) y)

series128.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ (+ x 4.0) y)
67.0ms
(- (/ (+ x 4.0) y) (* (/ 1 1) (/ (* x z) y)))
26.0ms
(/ (* x z) y)

simplify3.5s

Counts
81 → 81
Iterations

Useful iterations: 2 (274.0ms)

IterNodesCost
0138977
1325830
21073762
34790762
done5001762

prune221.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize14.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))))
5.9b
(/ x (/ y z))

rewrite163.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:
37.0ms
(/ (+ x 4.0) y)
106.0ms
(- (/ (+ x 4.0) y) (* (/ 1 1) (/ x (/ y z))))
10.0ms
(/ x (/ y z))

series151.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(/ (+ x 4.0) y)
76.0ms
(- (/ (+ x 4.0) y) (* (/ 1 1) (/ x (/ y z))))
26.0ms
(/ x (/ y z))

simplify1.5s

Counts
129 → 129
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02391664
15221461
216321387
done50011385

prune426.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes104.0ms

Accuracy

92.5% (0.1b remaining)

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

bsearch132.0ms

Steps
ItersRangePoint
8
5.479897258819267e-46
2.066802385698259e-41
1.766269789257878e-45
9
-8.574655782360099e-11
-1.0768941215937482e-16
-7.216452171217796e-13

simplify6.0ms

Iterations

Useful iterations: done (6.0ms)

IterNodesCost
02762
13643
done3639

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.1s10105×body80valid