Details

Time bar (total: 16.0s)

sample24.0ms

Algorithm
intervals
Results
13.0ms355×body80valid

simplify6.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1229
2459
31129
42159
53289
64749
79689
848309
done50009

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.7b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.0b
(/ (* x (+ (- y z) 1.0)) z)

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 51
Calls
2 calls:
39.0ms
(* x (+ (- y z) 1.0))
24.0ms
(/ (* x (+ (- y z) 1.0)) z)

series72.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(* x (+ (- y z) 1.0))
42.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify1.8s

Counts
57 → 57
Iterations

Useful iterations: 3 (744.0ms)

IterNodesCost
098645
1262625
2862531
34251520
done5000520

prune121.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* (/ x z) (+ 1.0 y)) x)
2.5b
(* (/ x z) (+ 1.0 y))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
11×add-cube-cbrt
10×times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
prod-diff
distribute-rgt-in expm1-log1p-u frac-times distribute-lft-in flip3-+ associate-*r/ prod-exp associate--l+ cbrt-unprod flip-+ log1p-expm1-u unswap-sqr
cbrt-undiv sub-neg flip3-- fma-neg diff-log div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv distribute-lft-out
Counts
2 → 61
Calls
2 calls:
8.0ms
(- (* (/ x z) (+ 1.0 y)) x)
15.0ms
(* (/ x z) (+ 1.0 y))

series83.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(- (* (/ x z) (+ 1.0 y)) x)
39.0ms
(* (/ x z) (+ 1.0 y))

simplify2.4s

Counts
67 → 67
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
0133793
1411709
21197654
34997645
done5000645

prune154.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
1.7b
(* (/ (cbrt x) z) (+ 1.0 y))
2.1b
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) z) (+ 1.0 y)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
66×add-exp-log
35×add-cbrt-cube
33×prod-exp
30×add-sqr-sqrt
29×associate-*l*
24×*-un-lft-identity
23×times-frac
22×add-cube-cbrt
20×cbrt-unprod
18×div-exp
16×cbrt-prod
11×pow1 frac-times associate-*r/
10×cbrt-undiv
flip3-+ 1-exp flip-+
distribute-rgt-in distribute-lft-in associate-*r*
expm1-log1p-u pow-prod-down associate-*l/ log1p-expm1-u add-log-exp
unswap-sqr
pow1/3 *-commutative div-inv
distribute-lft-out
Counts
4 → 136
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
21.0ms
(* (/ (cbrt x) z) (+ 1.0 y))
34.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) z) (+ 1.0 y)))

series592.0ms

Counts
4 → 12
Calls
4 calls:
192.0ms
(cbrt x)
180.0ms
(cbrt x)
151.0ms
(* (/ (cbrt x) z) (+ 1.0 y))
69.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) z) (+ 1.0 y)))

simplify1.2s

Counts
148 → 148
Iterations

Useful iterations: 2 (421.0ms)

IterNodesCost
02252182
17711935
228441429
done50001429

prune393.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ 1.0 y) z)
0.0b
(- (* x (/ (+ 1.0 y) z)) x)
3.3b
(* x (/ (+ 1.0 y) z))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
27×add-sqr-sqrt
25×times-frac
22×add-cube-cbrt
16×associate-*r*
10×add-exp-log add-cbrt-cube
distribute-lft-out
pow1 add-log-exp
associate-/l*
expm1-log1p-u associate-*l* prod-diff associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ fma-neg diff-log associate-*r/ pow-prod-down clear-num *-commutative flip-- flip-+
Counts
3 → 90
Calls
3 calls:
9.0ms
(/ (+ 1.0 y) z)
6.0ms
(- (* x (/ (+ 1.0 y) z)) x)
15.0ms
(* x (/ (+ 1.0 y) z))

series108.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (+ 1.0 y) z)
39.0ms
(- (* x (/ (+ 1.0 y) z)) x)
42.0ms
(* x (/ (+ 1.0 y) z))

simplify1.8s

Counts
99 → 99
Iterations

Useful iterations: 3 (746.0ms)

IterNodesCost
01431092
1333998
2881916
32964890
done5001890

prune200.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes81.0ms

Accuracy

80.3% (0.3b remaining)

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

bsearch66.0ms

Steps
ItersRangePoint
9
1.953506508507719e-177
2.393685370591107e-168
1.1260173767428208e-171
7
-2.719134053944714e-94
-6.484467777019858e-96
-1.217426222156136e-94

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02037
13029
done3029

end0.0ms

sample463.0ms

Algorithm
intervals
Results
252.0ms10129×body80valid