Details

Time bar (total: 13.3s)

sample18.0ms

Algorithm
intervals
Results
8.0ms317×body80valid

simplify5.5s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1229
2459
31129
42119
53249
64709
79649
847589
done50009

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.4b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite63.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:
44.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series76.0ms

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

simplify1.8s

Counts
57 → 57
Iterations

Useful iterations: 3 (743.0ms)

IterNodesCost
098645
1262625
2862531
34245520
done5001520

prune136.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* (/ x z) (+ 1.0 y)) x)
3.3b
(* (/ 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))

series84.0ms

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

simplify2.1s

Counts
67 → 67
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
0133793
1407709
21192654
34968645
done5000645

prune163.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

2.8b
(fma (/ x z) (+ 1.0 y) (- x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (/ x z) (+ 1.0 y) (- x))

series37.0ms

Counts
1 → 3
Calls
1 calls:
36.0ms
(fma (/ x z) (+ 1.0 y) (- x))

simplify827.0ms

Counts
13 → 13
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
023166
143166
284136
3266136
41357136
done5001136

prune38.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 80
Calls
2 calls:
32.0ms
(/ (+ (- y z) 1.0) z)
44.0ms
(* x (/ (+ (- y z) 1.0) z))

series69.0ms

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

simplify1.4s

Counts
86 → 86
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01111039
1275987
2768899
32800882
done5000881

prune166.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes67.0ms

Accuracy

61.9% (0.5b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 1.4b

bsearch65.0ms

Steps
ItersRangePoint
5
9.519812131773987e-194
1.9845217767196287e-193
1.5249655170051624e-193
10
-6.994196683941643e-239
-4.623060837562868e-253
-3.9021083944700275e-239

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02037
12829
done2829

end0.0ms

sample473.0ms

Algorithm
intervals
Results
263.0ms10098×body80valid