Details

Time bar (total: 8.3s)

sample28.0ms

Algorithm
intervals
Results
12.0ms323×body80valid

simplify31.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01012
11612
22812
33912
44612
55212
65512
done5512

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.0b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.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:
9.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(/ (+ x 4.0) y)
7.0ms
(* (/ x y) z)

series20.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
4.0ms
(/ (+ x 4.0) y)
6.0ms
(* (/ x y) z)

simplify2.0s

Counts
88 → 88
Iterations

Useful iterations: 3 (958.0ms)

IterNodesCost
0143904
1342859
2980791
33167785
done5000785

prune136.0ms

Filtered
66 candidates to 88 candidates (-33.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82688
Fresh000
Picked101
Done000
Total83689

Merged error: 0b

Counts
89 → 6

localize10.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)))
4.0b
(* (/ x y) z)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
124×times-frac
104×*-un-lft-identity
77×add-sqr-sqrt
72×add-cube-cbrt
22×add-exp-log associate-/r*
16×add-cbrt-cube distribute-lft-out
13×associate-*l*
11×associate-/r/
div-exp
pow1 div-inv
associate-/l* add-log-exp
cbrt-undiv flip3-+ flip-+
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 → 174
Calls
4 calls:
6.0ms
(/ y (+ x 4.0))
20.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
9.0ms
(/ 1 (/ y (+ x 4.0)))
7.0ms
(* (/ x y) z)

series29.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ y (+ x 4.0))
13.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
5.0ms
(/ 1 (/ y (+ x 4.0)))
6.0ms
(* (/ x y) z)

simplify1.2s

Counts
186 → 186
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02762441
16412106
216081847
done50001825

prune193.0ms

Filtered
105 candidates to 186 candidates (-77.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1851186
Fresh145
Picked011
Done000
Total1866192

Merged error: 0b

Counts
192 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (/ z (/ y x)))
4.4b
(/ z (/ y x))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
100×times-frac
75×add-sqr-sqrt
73×*-un-lft-identity
54×add-cube-cbrt
16×associate-/r*
10×add-exp-log add-cbrt-cube
associate-/l*
div-inv difference-of-squares
distribute-lft-out add-log-exp
cbrt-undiv div-exp
pow1 distribute-lft-out--
frac-2neg clear-num associate-/l/
sub-neg flip3-- flip3-+ diff-log associate-/r/ frac-sub flip-- flip-+
Counts
3 → 125
Calls
3 calls:
6.0ms
(/ (+ x 4.0) y)
39.0ms
(- (/ (+ x 4.0) y) (/ z (/ y x)))
6.0ms
(/ z (/ y x))

series20.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ (+ x 4.0) y)
10.0ms
(- (/ (+ x 4.0) y) (/ z (/ y x)))
6.0ms
(/ z (/ y x))

simplify919.0ms

Counts
134 → 134
Iterations

Useful iterations: 2 (247.0ms)

IterNodesCost
02371725
15311618
214491544
done50011544

prune170.0ms

Filtered
104 candidates to 134 candidates (-28.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh134
Picked101
Done011
Total1355140

Merged error: 0b

Counts
140 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
159×times-frac
105×add-sqr-sqrt
101×*-un-lft-identity
91×add-cube-cbrt
44×associate-*r*
36×add-exp-log
20×add-cbrt-cube
16×associate-/r*
15×div-exp
10×div-inv
pow1 cbrt-undiv prod-exp associate-/l*
add-log-exp
unswap-sqr
rec-exp 1-exp distribute-lft-out
associate-*l* cbrt-unprod
frac-2neg associate-*r/ clear-num associate-/r/ un-div-inv frac-sub associate-/l/
sub-neg flip3-- pow-flip flip3-+ diff-log pow-prod-down *-commutative flip-- flip-+ inv-pow
Counts
4 → 196
Calls
4 calls:
10.0ms
(- (/ (+ x 4.0) y) (* z (/ 1 (/ y x))))
6.0ms
(/ (+ x 4.0) y)
7.0ms
(/ 1 (/ y x))
17.0ms
(* z (/ 1 (/ y x)))

series23.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (/ (+ x 4.0) y) (* z (/ 1 (/ y x))))
4.0ms
(/ (+ x 4.0) y)
3.0ms
(/ 1 (/ y x))
6.0ms
(* z (/ 1 (/ y x)))

simplify2.2s

Counts
208 → 208
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
02902428
17061888
214491651
343651627
done50001627

prune189.0ms

Filtered
125 candidates to 208 candidates (-66.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2080208
Fresh033
Picked011
Done011
Total2085213

Merged error: 0b

Counts
213 → 5

regimes167.0ms

Accuracy

62.6% (0.6b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 1.7b

bsearch45.0ms

Steps
ItersRangePoint
9
5.405663935890789e-124
9.656341012194637e-119
6.179403708429142e-119
10
-2.235340457316152e+91
-4.0587864488788856e+74
-6.358633502866834e+78

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02644
13244
done3244

end0.0ms

sample768.0ms

Algorithm
intervals
Results
385.0ms10198×body80valid

Profiling

Loading profile data...