Details

Time bar (total: 14.9s)

sample29.0ms

Algorithm
intervals
Results
14.0ms304×body80valid

simplify118.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11612
22912
34212
44912
55512
66012
76212
done6212

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.0b

localize22.0ms

Local error

Found 3 expressions with local error:

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

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r* associate-*l/ associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod 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 → 117
Calls
3 calls:
86.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
34.0ms
(/ (+ x 4.0) y)
32.0ms
(* (/ x y) z)

series132.0ms

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

simplify3.0s

Counts
126 → 126
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01651542
13981481
211551348
337411275
done50001256

prune455.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite287.0ms

Algorithm
rewrite-expression-head
Rules
304×times-frac
226×*-un-lft-identity
163×add-sqr-sqrt
158×add-cube-cbrt
59×fma-neg prod-diff
34×distribute-lft-out
25×associate-/r/
22×add-exp-log associate-/r*
16×add-cbrt-cube
15×div-inv
13×associate-*l*
11×flip3-+ flip-+
div-exp
pow1
associate-/l* add-log-exp
cbrt-undiv
expm1-log1p-u log1p-expm1-u
associate-*r*
rec-exp frac-2neg 1-exp associate-*l/ prod-exp clear-num cbrt-unprod unswap-sqr
sub-neg flip3-- pow-flip diff-log pow-prod-down *-commutative frac-sub flip-- inv-pow
Counts
4 → 300
Calls
4 calls:
20.0ms
(/ y (+ x 4.0))
190.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
25.0ms
(/ 1 (/ y (+ x 4.0)))
15.0ms
(* (/ x y) z)

series200.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ y (+ x 4.0))
74.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
38.0ms
(/ 1 (/ y (+ x 4.0)))
35.0ms
(* (/ x y) z)

simplify1.3s

Counts
312 → 312
Iterations

Useful iterations: done (1.3s)

IterNodesCost
03365044
17944471
218903842
done50013673

prune891.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 3 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
22×*-un-lft-identity
21×times-frac
19×add-cube-cbrt
17×add-exp-log associate-*l*
16×associate-*r*
13×associate-*l/ add-cbrt-cube
pow1
prod-exp frac-sub
add-log-exp unswap-sqr
frac-times flip3-+ cbrt-unprod flip-+
expm1-log1p-u associate-*r/ div-exp un-div-inv log1p-expm1-u
cbrt-undiv pow-prod-down *-commutative div-inv sub-div
sub-neg rec-exp flip3-- fma-neg diff-log 1-exp prod-diff flip-- distribute-lft-out
Counts
3 → 101
Calls
3 calls:
32.0ms
(- (* (+ x 4.0) (/ 1 y)) (* (/ x y) z))
47.0ms
(* (+ x 4.0) (/ 1 y))
30.0ms
(* (/ x y) z)

series110.0ms

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

simplify1.6s

Counts
110 → 110
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02011312
15241101
21625989
done5000974

prune426.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize32.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (/ x y)) (cbrt (/ x y)))
7.8b
(cbrt (/ x y))
7.8b
(cbrt (/ x y))
7.8b
(cbrt (/ x y))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
103×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
16×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
cbrt-div div-inv
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 152
Calls
4 calls:
33.0ms
(* (cbrt (/ x y)) (cbrt (/ x y)))
2.0ms
(cbrt (/ x y))
4.0ms
(cbrt (/ x y))
5.0ms
(cbrt (/ x y))

series328.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (cbrt (/ x y)) (cbrt (/ x y)))
73.0ms
(cbrt (/ x y))
72.0ms
(cbrt (/ x y))
78.0ms
(cbrt (/ x y))

simplify3.1s

Counts
164 → 164
Iterations

Useful iterations: done (3.1s)

IterNodesCost
01651926
12651797
26721725
313631647
432341562
done50011476

prune729.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes126.0ms

Accuracy

76.1% (0.4b remaining)

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

bsearch73.0ms

Steps
ItersRangePoint
7
84517967325.35463
1810750790637.4219
214190368136.35208
5
-2.294626366488831e+97
-1.033466382081211e+97
-1.1091102582946148e+97

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02744
13344
done3344

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.1s10019×body80valid